2012/8/15 C Anthony Risinger <[email protected]>

> On Tue, Aug 14, 2012 at 6:11 AM, Cesare Di Mauro
> <[email protected]> wrote:
> > Yes, translating in javascript doesn't give problems (at a first look).
> >
> > It's the pyjs desktop version which doesn't work with the v8 neither the
> > v8.1 (downloaded from the git repo this morning).
> >
> > With v8 I found a bug in mshtml.py at line 451: it's calling
> > traceback.print_exc instead of traceback.format_exc. But pyjd won't work
> > even after correcting this. It raises the same COMError: (-2147024809,
> > 'Incorrect parameter.').
> >
> > v8.1 is in a worse condition. Even the helloworld example doesn't work
> with
> > the desktop version, which is broken right now.
> > The first problem is at line 41 of importers.py, which tries to access
> the
> > "engine" attribute of pyjd.
> > Commenting this line solved it, but raised another problem at line 245 of
> > mshtmlevents.py, which has the same issue of v8.
> > So I replaced traceback.print_exc() with traceback.format_exc, and added
> > result = None at line 245, otherwise I'll got a fault at line 248 (the
> > result variable is only set / exists when the try/except does not raise
> > exceptions).
>
> this is all with the latest git?
>
> i moved some stuff around but i've no idea how the problems you're
> describing could be related ... i've never actually ran the windows
> runtime to date, so i suppose i'll have to find a way to do that ...
>
> --
>
> C Anthony
>
> --
>
>
>
>  Yes, I did it again a few minutes ago with the last repo (
https://github.com/pyjs/pyjs/zipball/master ) and the situation is exactly
the same I have already described.

Applying my patches let the hello world example to run, but stderr gives
out a lot of stack traces every time that the mouse moves over a widget.

stdout dumps a lot of identifiers when the application starts. I can give
you a complete dump of the console, if needed.

Cesare

-- 



Reply via email to