> hey, don't tell me... you've got a reaaaally recent version of python2, right?

Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
[GCC 4.6.1] on linux2

That's the beast that ships with Ubuntu Oneiric.

> also can you double-check that you have ~/.pyjd/pyjdrc specifying
> pywebkitgtk as the engine?  you must have, else you wouldn't have got
> as far as you have, but please humour me so it can be ruled out.

$ cat ~/.pyjd/pyjdrc
[gui]
engine:pywebkitgtk

> actually, tell you what, if you look for sections that say
> "library/...../platform/Windowpywebkitgtk.py" or anything else with
> "platform" in it, then i'll know that the override system is working
> correctly.

Relevant "python -v Mail.py" output follows: (everything that includes
"pywebkit")

...
# /usr/local/lib/python2.7/dist-packages/pyjd/pywebkitgtknew.pyc
matches /usr/local/lib/python2.7/dist-packages/pyjd/pywebkitgtknew.py
import pyjd.pywebkitgtknew # precompiled from
/usr/local/lib/python2.7/dist-packages/pyjd/pywebkitgtknew.pyc
...
dlopen("/usr/local/lib/python2.7/dist-packages/pywebkitgtk.so", 2);
import pywebkitgtk # dynamically loaded from
/usr/local/lib/python2.7/dist-packages/pywebkitgtk.so
# /usr/local/lib/python2.7/dist-packages/pyjd/importers.pyc matches
/usr/local/lib/python2.7/dist-packages/pyjd/importers.py
import pyjd.importers # precompiled from
/usr/local/lib/python2.7/dist-packages/pyjd/importers.pyc
...
set_main_frame <pyjd.pywebkitgtknew.Browser instance at 0x17a1758>
Traceback (most recent call last):
  File "Mail.py", line 94, in <module>
    m.onModuleLoad()
  File "Mail.py", line 57, in onModuleLoad
    Window.enableScrolling(False)
  File "/home/pbittner/Development/30-percent/pyjamas/library/gwt/Window.py",
line 39, in enableScrolling
    doc().body.style.overflow = enable and 'auto' or 'hidden'
AttributeError: 'pywebkit.CSSStyleDeclaration' object has no attribute
'overflow'
# clear __builtin__._
...
# cleanup[2] pywebkitgtk
...
# cleanup[2] pyjd.pywebkitgtknew
...

Hmm, doesn't look like there is any snippet in there that you're
talking about, "platform" certainly doesn't occur ever.

> if it's missing then whoops, we have a problem with the platform
> override system, that'll be fun,fun,fun to investigate.

Anything I can do to help?

Peter

Reply via email to