Hmm.. dang. I tried to follow the instructions:

http://pyjs.org/wiki/pyjamasubuntuwebkitgtk/

thinking that "debian" ~=~ "ubuntu"

But I'm getting:

steve@debian:~/Development/pyjamas/examples/helloworld$ python Hello.py 
Traceback (most recent call last):
  File "Hello.py", line 15, in <module>
    pyjd.setup("public/Hello.html?fred=foo#me")
  File "/usr/local/lib/python2.6/dist-packages/pyjd/__init__.py", line 76, in 
setup
    _setup(*args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/pyjd/pywebkitgtknew.py", line 
334, in setup
    wv.load_app()
  File "/usr/local/lib/python2.6/dist-packages/pyjd/pywebkitgtknew.py", line 
156, in load_app
    if w.get_window_type() is gtk.WINDOW_TOPLEVEL:
AttributeError: 'gtk.Window' object has no attribute 'get_window_type'
steve@debian:~/Development/pyjamas/examples/helloworld$ 

is there a 'gtk' 'pywebkitgtk' version problem?

thanks,
-steve

On Apr 5, 2012, at 12:23 PM, lkcl luke wrote:

> On Thu, Apr 5, 2012 at 7:17 PM, Steve Spicklemire <[email protected]> wrote:
>> What's the most stable/trusted/always-works linux based method for running 
>> pyjd?
> 
> *sigh* it's now pythonwebkit.
> 
>> I've been futzing with Debian pyjamas-desktop off and on and it's still 
>> broken for me. ;-(
> 
> yeah i did some updates to get things to work with xulrunner 9, and
> they actually worked.  like... really, properly worked.  then i tried
> xulrunner 10 (the version that's in debian/testing) and it went
> completely to shit.
> 
> i've raised bugreports and the mozilla developers don't give a fuck.
> there are other teams of people using xulrunner 10 for embedded
> purposes (not just python-xpcom - people using c++ and java), and the
> mozilla developers _still_ don't give a fuck.
> 
> generally deeply unimpressive.  about the only way round this is to
> take xulrunner 9 source code and debian packaging, rename xulrunner-9
> to 
> workaround-for-fucking-morons-at-mozilla-who-dont-give-a-shit-about-anything-other-than-firefox-firefox-firefox-xulrunner-9,
> likewise for python-xpcom _and_ hulahop, and then make pyjamas-desktop
> depend on those.
> 
> and i really can't be bothered.  the OLPC team have given up on
> mozilla - ripped out xulrunner and hulahop and are now using
> pywebkitgtk, and have been really happy with it.
> 
> l.

Reply via email to