Re: Errors in __init__

"N. Wieland" <[email protected]> Sun, 27 Oct 2002 02:26:02 +0000
Newsgroups gmane.comp.python.anygui.general
Message-ID <[email protected]>
- [email protected] :
> > 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)	      | [email protected]   |    -    | There's no |
   /------\/ 	      | Debian GNU/Linux / Mac OS X |    -    | place like |
  / |    ||  	       -----------------------------     -    | *GNOME(2)* |
 *  /\---/\           ...."Have you mooed today?"....    -     ------------


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com