You should run build.sh, not hello.py - thats my guess! G
On Fri, Jan 20, 2012 at 2:18 PM, dokondr <[email protected]> wrote: > Hi all, > Just installed pyjamas on Debian 6. > My newbie question: > Running - 'python Hello.py' - errors and warning. Is it normal? (see > output below) > > dokondr@debian:~/wks/pyjamas/examples/helloworld$ ls > build.sh Hello.py __main__.py public README > dokondr@debian:~/wks/pyjamas/examples/helloworld$ python Hello.py > Registering '@mozilla.org/module-loader/python;1' (libpyloader.so) > Registering '@mozilla.org/network/protocol/about;1?what=python' > (pyabout.pyo) > Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py) > returning /home/dokondr/.pyjd/prefs.js for key NS_APP_PREFS_50_FILE > loaded > set_main_frame <Browser object at 0x36a2eb0 (hulahop+webview+WebView at > 0x1eab8c0)> > _alert Hello, AJAX! > RuntimeError: called outside of a mainloop > /usr/local/lib/python2.6/dist-packages/pyjd/hula.py:272: Warning: invalid > uninstantiatable type `GSimpleAsyncResult' in cast to `GtkWidget' > gtk.main_iteration() > /usr/local/lib/python2.6/dist-packages/pyjd/hula.py:272: GtkWarning: > gtk_widget_hide: assertion `GTK_IS_WIDGET (widget)' failed > gtk.main_iteration() > /usr/local/lib/python2.6/dist-packages/pyjd/hula.py:272: GtkWarning: > gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed > gtk.main_iteration() > > ^CTraceback (most recent call last): > File "Hello.py", line 25, in <module> > pyjd.run() > File "/usr/local/lib/python2.6/dist-packages/pyjd/__init__.py", line 72, > in run > _run(*args, **kwargs) > File "/usr/local/lib/python2.6/dist-packages/pyjd/hula.py", line 272, in > run > gtk.main_iteration() > KeyboardInterrupt > dokondr@debian:~/wks/pyjamas/examples/helloworld$ > > > -- > All the best, > Dmitri O. Kondratiev > > "This is what keeps me going: discovery" > [email protected] > http://sites.google.com/site/dokondr/welcome > > -- ■ ■ ■ ■ ■ ■ ■ ■ ■ ■

