Nodebox 3 Ubuntu error
When I create a polygon, it gives this error:
Traceback (most recent call last):
File "/home/mkoptur/Masa�st�/nodebox/nodebox/libraries/corevector/pyvector.py", line 2, in <module>
from random import seed as _seed, uniform
File "/home/mkoptur/Masa�st�/nodebox/nodebox/lib/python.zip/random.py", line 41, in <module>
File "/home/mkoptur/Masa�st�/nodebox/nodebox/lib/python.zip/warnings.py", line 7, in <module>
File "/home/mkoptur/Masa�st�/nodebox/nodebox/lib/python.zip/linecache.py", line 9, in <module>
File "/home/mkoptur/Masa�st�/nodebox/nodebox/lib/python.zip/os.py", line 118, in <module>
ImportError: no os specific module found
at org.python.core.PyException.doRaise(PyException.java:198)
at org.python.core.Py.makeException(Py.java:1266)
at org.python.core.Py.makeException(Py.java:1270)
at os$py.f$0(/home/mkoptur/Masaüstü/nodebox/nodebox/lib/python.zip/os.py:691)
at os$py.call_function(/home/mkoptur/Masaüstü/nodebox/nodebox/lib/python.zip/os.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:393)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:520)
at org.python.core.imp.find_module(imp.java:474)
at org.python.core.imp.import_next(imp.java:737)
at org.python.core.imp.import_module_level(imp.java:846)
at org.python.core.imp.importName(imp.java:936)
at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
at org.python.core.PyObject.__call__(PyObject.java:373)
at org.python.core.__builtin__.__import__(__builtin__.java:1231)
at org.python.core.imp.importOne(imp.java:955)
at linecache$py.f$0(/home/mkoptur/Masaüstü/nodebox/nodebox/lib/python.zip/linecache.py:68)
at linecache$py.call_function(/home/mkoptur/Masaüstü/nodebox/nodebox/lib/python.zip/linecache.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:393)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:520)
at org.python.core.imp.find_module(imp.java:474)
at org.python.core.imp.import_next(imp.java:737)
at org.python.core.imp.import_module_level(imp.java:846)
at org.python.core.imp.importName(imp.java:936)
at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
at org.python.core.PyObject.__call__(PyObject.java:373)
at org.python.core.__builtin__.__import__(__builtin__.java:1231)
at org.python.core.imp.importOne(imp.java:955)
at warnings$py.f$0(/home/mkoptur/Masaüstü/nodebox/nodebox/lib/python.zip/warnings.py:266)
at warnings$py.call_function(/home/mkoptur/Masaüstü/nodebox/nodebox/lib/python.zip/warnings.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:393)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:520)
at org.python.core.imp.find_module(imp.java:474)
at org.python.core.imp.import_next(imp.java:737)
at org.python.core.imp.import_module_level(imp.java:846)
at org.python.core.imp.importName(imp.java:936)
at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
at org.python.core.PyObject.__call__(PyObject.java:373)
at org.python.core.__builtin__.__import__(__builtin__.java:1231)
at org.python.core.imp.importFromAs(imp.java:1030)
at org.python.core.imp.importFrom(imp.java:1006)
at random$py.f$0(/home/mkoptur/Masaüstü/nodebox/nodebox/lib/python.zip/random.py:862)
at random$py.call_function(/home/mkoptur/Masaüstü/nodebox/nodebox/lib/python.zip/random.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.imp.createFromCode(imp.java:393)
at org.python.core.util.importer.importer_load_module(importer.java:109)
at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source)
at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
at org.python.core.imp.loadFromLoader(imp.java:520)
at org.python.core.imp.find_module(imp.java:474)
at org.python.core.imp.import_next(imp.java:737)
at org.python.core.imp.import_module_level(imp.java:846)
at org.python.core.imp.importName(imp.java:936)
at org.python.core.ImportFunction.__call__(__builtin__.java:1278)
at org.python.core.PyObject.__call__(PyObject.java:373)
at org.python.core.__builtin__.__import__(__builtin__.java:1231)
at org.python.core.imp.importFromAs(imp.java:1030)
at org.python.core.imp.importFrom(imp.java:1006)
at org.python.pycode._pyx0.f$0(/home/mkoptur/Masaüstü/nodebox/nodebox/libraries/corevector/pyvector.py:1115)
at org.python.pycode._pyx0.call_function(/home/mkoptur/Masaüstü/nodebox/nodebox/libraries/corevector/pyvector.py)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1302)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:518)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:225)
at nodebox.function.PythonLibrary$1.call(Unknown Source)
at nodebox.function.PythonLibrary$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.lang.Thread.run(Thread.java:745)
Thanks for help.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Frederik De Ble... on 13 May, 2016 07:56 AM
Could you try moving NodeBox to another directory than the desktop (Masaüstü)? The accented characters might be an issue.
Let me know if this helps, so we can look further into it and hopefully fix it.
Teşekkürler!
2 Posted by Murat Koptur on 13 May, 2016 08:15 AM
Still gives same error. And I just noticed, when I ran "ant run" command, console output is:
Buildfile: /home/mkoptur/nodebox/build.xml
[taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found.
properties:
init:
[mkdir] Created dir: /home/mkoptur/nodebox/build/prod
[mkdir] Created dir: /home/mkoptur/nodebox/build/test
[mkdir] Created dir: /home/mkoptur/nodebox/build/doc
[mkdir] Created dir: /home/mkoptur/nodebox/dist
[mkdir] Created dir: /home/mkoptur/nodebox/dist/resources
compile:
[javac] Compiling 230 source files to /home/mkoptur/nodebox/build/prod
[copy] Copying 40 files to /home/mkoptur/nodebox/build/prod
bindir-unix:
bindir-win:
bindir:
run:
"[taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found." does this error cause problem?
Support Staff 3 Posted by Frederik De Ble... on 13 May, 2016 09:41 AM
It looks like it is related to this: http://stackoverflow.com/questions/27965630/jython-inside-ide-ok-ou...
I think we've upgraded Jython but forgot to upgrade the dependencies.
I've now upgraded Jython to an internal "standalone" version which should avoid this error. Please
git pull
again and try running.4 Posted by Murat Koptur on 13 May, 2016 09:52 AM
It works!! Thanks for everything,
Support Staff 5 Posted by Frederik De Ble... on 14 May, 2016 10:18 AM
Thanks for letting me know. The fix also makes things easier on our side.