R
Ron Croonenberg
ok, problem solved.
In the directory the plugin lives I have(had) a directory called
'backup' to save things just in case I mess up.
Guess what, RB apparently looks into that directory too and uses the
class, py file, it finds there instead of the one I am making changes to.
--
==================================================================
main(p){printf(p,34,p="main(p){printf(p,34,p=%c%s%c,34); }",34); }
==================================================================
Ron Croonenberg |
| Phone: 1 765 658 4761
Lab Instructor & | Fax: 1 765 658 4732
Technology Coordinator |
|
Department of Computer Science | e-mail: (e-mail address removed)
DePauw University |
275 Julian Science & Math Center |
602 South College Ave. |
Greencastle, IN 46135 |
==================================================================
In the directory the plugin lives I have(had) a directory called
'backup' to save things just in case I mess up.
Guess what, RB apparently looks into that directory too and uses the
class, py file, it finds there instead of the one I am making changes to.
Dave said:Please give the complete error traceback, and make sure it matches the
code you post. I'm guessing that the subset of the error message you're
quoting occurs when you define startView() as taking only self as a
parameter.
A quick caveat. I'm not familiar with GTK in particular, but I
recognize the paradigm. You're defining an event handler (startView).
And you define a certain set of parameters (not arguments), presently
called self, widge, shell, and se.
But you're not calling it, you're connecting it to an action. So when
that action triggers (or event happens), the GUI system will call your
event handler. You don't control the arguments it passes, and
apparently it passes 3. So you need to change the formal parameters in
your def to match.
More specifically what are those parameters ? I don't know, but you
should be able to tell from sample pyGTK sources, or somebody else can
chime in. And maybe I'm totally nuts here.
DaveA
--
==================================================================
main(p){printf(p,34,p="main(p){printf(p,34,p=%c%s%c,34); }",34); }
==================================================================
Ron Croonenberg |
| Phone: 1 765 658 4761
Lab Instructor & | Fax: 1 765 658 4732
Technology Coordinator |
|
Department of Computer Science | e-mail: (e-mail address removed)
DePauw University |
275 Julian Science & Math Center |
602 South College Ave. |
Greencastle, IN 46135 |
==================================================================