Traceback on button-click (anygui 0.1.1, Linux, gtk) | CVS snapshot corrupt (40 bytes)

Andreas Neudecker <[email protected]> Mon, 22 Sep 2003 22:30:51 +0200
Newsgroups gmane.comp.python.anygui.general
Message-ID <[email protected]>
Hi.


I have just installed anygui (0.1.1) and started with the tutorial. The 
sample program (appendix A., copy-n-pasted to new file) doesn't work for 
me: When clicking the button I get [1] (see below):

I looked at the user mailing list archive and found a similar report for 
the windows version, but no solution.

So I tried retrieving the nightly CVS snapshot, but this did not work 
either. Then I tried checking out from CVS. But this failed due to 
repeated "Connection reset by peer." [2]

Any idea what I can do to get a working version of anygui? I am very 
eager to try it out.


	Perhaps someone can email me a current tarball?


Kind regards


Andreas





[1]:
me@pegasus:~$ python anygui-demo.py
Traceback (most recent call last):
   File "/usr/lib/python2.2/site-packages/gtk-1.2/gtk.py", line 127, in 
__call__
     ret = apply(self.func, a)
   File "/usr/lib/python2.2/site-packages/anygui/backends/gtkgui.py", 
line 95, in _gtk_clicked
     send(self, 'click')
   File "/usr/lib/python2.2/site-packages/anygui/Events.py", line 105, 
in send
     result = handler(**args)
   File "/usr/lib/python2.2/site-packages/anygui/References.py", line 
73, in __call__
     return self.func(*args, **kwds)
TypeError: handler() got an unexpected keyword argument 'source'


[2]
neudecke@pegasus:~$ cvs -d:pserver:[email protected]:/cvsroot/anygui 
login
Logging in to :pserver:[email protected]:2401/cvsroot/anygui
CVS password:
cvs [login aborted]: reading from server: Connection reset by peer
neudecke@pegasus:~$ cvs -d:pserver:[email protected]:/cvsroot/anygui 
login
Logging in to :pserver:[email protected]:2401/cvsroot/anygui
CVS password:
neudecke@pegasus:~$ cvs -d:pserver:[email protected]:/cvsroot/anygui 
co anygui
cvs [checkout aborted]: reading from server: Connection reset by peer
neudecke@pegasus:~$ cvs -d:pserver:[email protected]:/cvsroot/anygui 
co anygui
cvs [checkout aborted]: reading from server: Connection reset by peer
n

[...]






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf