On Tue, Jan 31, 2012 at 7:24 PM, Rob Peters
<[email protected]> wrote:
> Hi everyone,
>
> As I alluded to in my earlier email, I was having success in my project with
> PYJD, but not with PYJS.
>
> I'm using Windows 7 64bit,

 ahh... you're using python 2.7 32-bit, right?

> my pyjs is pulled from git and is relatively up
> to date (pulled a few days ago).

 ok - can you try again? (git pull; git clean -f) then "python
bootstrap.py" - actually do that from a CMD.EXE prompt in the
directory (or better yet install git-win32 and use the bash shell, i
know that works fine).


> Python version is 2.7. I installed Pyjamas
> by running "bootstrap.py" and nothing more. The pyjamas/ folder's parent is
> on the system path, as is pyjamas/bin/.
>
> When I take the following code as ProcessTrain.py
>
> import pyjd
> from pyjamas.ui.RootPanel import RootPanel
> from pyjamas.ui.Label import Label
>
>
> class ProcessTrain(object):
>
>     def __init__(self):
>         pass
>
>
> if __name__ == '__main__':
>     pyjd.setup("./public/ProcessTrain.html")
>
>     root = RootPanel()
>     root.add(Label("Test"))
>
>     pyjd.run()

 nothing wrong with that, to my eyes.  it's near-identical to the
helloworld example.

 hmmm... after clearing everything out, can you please check the
helloworld example but use "./build.sh -d" (yes you'll need git-win32
to do that, or just run ../../bin/pyjsbuild -d Hello directly)

 l.

Reply via email to