On Tue, Sep 11, 2012 at 5:53 PM, Michael Moore
<[email protected]> wrote:
>
> If anyone knows how to automagically make one function in a Tree class
> instantiation recognize objects from anothe class (buttons), maybe I can
> avoid giving some Java programmers a conniption by not using Python to put
> together a source file on the basis of number of layers or node levels in a
> tree and then exec'ing it before handing it over to pyjsbuild.

you'll need to whip up a small example highlighting the problem -- i'm
not sure i even know what you're asking.

in 99% of cases problems can be attributed to the application, and
every now and again is a bug in pyjs somewhere ... sadly, the errors
are not particularly clear, and even this depends on the build opts
used ...

... are you building with `--enable-strict`?  you may be using python
features in the application code but not enabling them in the build.

... are you building with `--enable-debug`? this can improve the
debugging experience, but it's value is subjective ...YMMV

... are you on Windows? download/install `comtypes` and use native
"pyjd" runners ... this will run your app code in a real python
interpreter, and is massively valuable for development.

^^^^ if you're not on Windows a new runner [giwebkit] "should" be
available in the coming days ... i had a deadline at work sucking up
all my time recently, but this weekend the family is out of town and i
intend to merge it, regardless of any remaining bugs (if any ;-)

-- 

C Anthony

-- 



Reply via email to