Re: [Anygui-users] Errors in __init__
Brought to you by:
mlh
|
From: N. W. <nic...@ya...> - 2002-10-27 00:24:43
|
- ma...@he... :
> > File "/usr/lib/python2.2/site-packages/anygui/__init__.py", line 9,
> > in application raise RuntimeError, 'no application exists'
> > RuntimeError: no application exists
>
> This error is the problem. With the current CVS version you can't
> create Windows unless there is an Application object in existence. Try
> to move
>
> app = Application()
>
> to the top of your code and see if that helps.
Thank you very much, it works !
I've also discovered that this version of anygui (2.0) use Tkinter
instead of Gtk by default when the version 1.1 use Gtk (on my computer
of course).
I know of the wishlist thing, but maybe you want to know of this
behaviour...
Regards,
Nicholas
P.S. I've noticed the cc ... If you want I can send my questions to the
devel ml.
--
(__) | Nicholas Wieland | - ------------
(oo) | nic...@ya... | - | There's no |
/------\/ | Debian GNU/Linux / Mac OS X | - | place like |
/ | || ----------------------------- - | *GNOME(2)* |
* /\---/\ ...."Have you mooed today?".... - ------------
|