On Fri, Apr 6, 2012 at 7:33 PM, Steve Spicklemire <[email protected]> wrote:
> Hmm.. dang. I tried to follow the instructions:
>
> http://pyjs.org/wiki/pyjamasubuntuwebkitgtk/
>
> thinking that "debian" ~=~ "ubuntu"

 approximately enough, yes.

> 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?

 shouldn't be.  let's do some google searches on that, eh? :)  (btw
you do *not* need pywebkitgtk package identified in debian by the name
"python-webkit))

 
http://www.linuxquestions.org/questions/programming-9/getting-gtk-to-work-with-python-504717/

 ok - you've probably got some packages missing.  i have these - they
won't all be needed:

 ii  python-gtk2                              2.24.0-3
        Python bindings for the GTK+ widget set
ii  python-gtk2-dev                          2.24.0-2
       GTK+ bindings: devel files
ii  python-gtk2-doc                          2.17.0-2                         Py
ii  python-gi                                3.1.0-2
       Python 2.x bindings for gobject-introspection libraries
ii  python-gobject                           3.1.0-2
       Python 2.x bindings for GObject - transitional package
ii  python-gobject-2                         2.28.6-10
       deprecated static Python bindings for the GObject library
ii  python-gobject-cairo                     2.28.4-1
       Python Cairo bindings for the GObject library
ii  python-gobject-dev                       2.28.6-5
       Development headers for the GObject Python bindings

Reply via email to