On Sun, Mar 4, 2012 at 5:26 AM, Jeffrey Van Voorst
<[email protected]> wrote:
> I have pywebkitgtk + pyjamas desktop sorta working on Mac OS 10.6.8.

 wha-hey!

 well marie's imac died and i've deleted macosx on mine and replaced
it with debian.  in a week or so marie's shiny new 2006 2nd-hand mac
mini should arrive, so if you can document on the wiki what it was
that you did - preferably with some shell-script commands that can
just be "run" - i can have a go.

> The hello and mail examples run, but there are two issues.  The first
> is they load the public/*.html as text in the window, and then display
> the app in the window (below the html) without applying any or only a
> limited set of CSS.  For example, the buttons work as expected, but it
> appears that most properties such as color, font, border, etc. are not
> applied.

 bizarre.  try loading it

> Here is the console output:
> mail> ../../bin/pyjd Mail.py
> Xlib:  extension "RANDR" missing on display "/tmp/launch-TysDLe/org.x:0".
> /Users/jvanvoorst/code/pyjamas/pyjd/imputil.py:329:
> DeprecationWarning: the sets module is deprecated
>  exec code in module.__dict__
> set_main_frame <pyjd.pywebkitgtknew.Browser instance at 0x103ff50e0>

 yep that's fine.

> Is there a good location to host screen shots (if someone would like
> to see them)?
>
> There could be an issue with some code I commented out -- for now the
> WebCore::createCanonicalUUIDString function has the Darwin section
> commented out and calls the NotImplemented() function (this is in the
> file: WebCore/platform/UUID.cpp).

 yeah you don't wanna do that.  that's fairly critical.

> I looked for that symbol in the pywebkitgtk library, and a few of the
> shared libraries loaded by pywebkitgtk, I didn't find a reference to a
> function with UUID in the name.

 find . | xargs grep createCanonicalUUIDString  - just running that
now... ok here you go:

./LayoutTests/ChangeLog:        Fix a problem in createCanonicalUUIDString that
causes the last digit
./WebCore/ChangeLog:        Fix a problem in createCanonicalUUIDString that caus
es the last digit
./WebCore/ChangeLog:        (WebCore::createCanonicalUUIDString):
./WebCore/fileapi/BlobURL.cpp:    urlString += createCanonicalUUIDString();
./WebCore/ChangeLog-2010-05-24:        (WebCore::createCanonicalUUIDString): Add
ed PLATFORM(QT) case.
./WebCore/ChangeLog-2010-05-24:        (WebCore::createCanonicalUUIDString):
./WebCore/ChangeLog-2010-05-24:        (WebCore::createCanonicalUUIDString):
./WebCore/platform/UUID.h:String createCanonicalUUIDString();
./WebCore/platform/UUID.cpp:String createCanonicalUUIDString()


so it's used in the fileapi.  fairly fundamental in other words.

> It could also be that I am missing something with respect to running
> pyjamas desktop as I haven't used it till now.

 i have pythonwebkit (gtk version) running fine, so that should be the
benchmark.  the only thing you have to remember is that XSS *still*
applies.

 l.

Reply via email to