python 2.7 - NameError: global name 'e' is not defined(pyjamas) -
i installed pyjamas yum install pyjamas on fedora19
the following file executed
hello.py
from pyjamas.ui.rootpanel import rootpanel pyjamas.ui.label import label l = label('hello pyjs') rootpanel().add(l)
when building js file
pyjsbuild hello.py
i getting following error
building: hello pyjspath: ['/home/iton/desktop/night', '/usr/lib/python2.7/site-packages/pyjs-0.8.2-py2.7.egg/pyjswidgets', '/usr/lib/python2.7/site-packages/pyjs-0.8.2-py2.7.egg/pyjswaddons', '/usr/share/pyjamas/library', '/usr/share/pyjamas/addons'] traceback (most recent call last): file "/usr/bin/pyjsbuild", line 21, in <module> pyjs.browser.build_script() file "/usr/lib/python2.7/site-packages/pyjs-0.8.2-py2.7.egg/pyjs/browser.py", line 524, in build_script runtime_options, args) file "/usr/lib/python2.7/site-packages/pyjs-0.8.2-py2.7.egg/pyjs/browser.py", line 448, in build l() file "/usr/lib/python2.7/site-packages/pyjs-0.8.2-py2.7.egg/pyjs/linker.py", line 267, in __call__ except translator.translationerror( e ): nameerror: global name 'e' not defined
how resolve this?
probably broken last 2 commits. moved 2 commits build working.
git clone https://github.com/pyjs/pyjs cd pyjs git checkout 564cf5f
the working version on mar 20 2014.
Comments
Post a Comment