tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/5708-nodebox-3-ubuntu-errorNodeBox: Discussion 2016-05-14T10:19:01Ztag:support.nodebox.net,2012-11-01:Comment/398730132016-05-13T04:50:01Z2016-05-13T04:50:02ZNodebox 3 Ubuntu error<div><p>When I create a polygon, it gives this error:</p>
<p>Traceback (most recent call last):<br>
File
"/home/mkoptur/Masa�st�/nodebox/nodebox/libraries/corevector/pyvector.py",
line 2, in from random import seed as _seed, uniform File
"/home/mkoptur/Masa�st�/nodebox/nodebox/lib/python.zip/random.py",
line 41, in File
"/home/mkoptur/Masa�st�/nodebox/nodebox/lib/python.zip/warnings.py",
line 7, in File
"/home/mkoptur/Masa�st�/nodebox/nodebox/lib/python.zip/linecache.py",
line 9, in File
"/home/mkoptur/Masa�st�/nodebox/nodebox/lib/python.zip/os.py",
line 118, in ImportError: no os specific module found</p>
<pre>
<code>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)</code>
</pre>
<p>Thanks for help.</p></div>Murat Kopturtag:support.nodebox.net,2012-11-01:Comment/398730132016-05-13T07:56:20Z2016-05-13T07:56:20ZNodebox 3 Ubuntu error<div><p>Could you try moving NodeBox to another directory than the
desktop (Masaüstü)? The accented characters might be an
issue.</p>
<p>Let me know if this helps, so we can look further into it and
hopefully fix it.</p>
<p>Teşekkürler!</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/398730132016-05-13T08:15:34Z2016-05-13T08:15:35ZNodebox 3 Ubuntu error<div><p>Still gives same error. And I just noticed, when I ran "ant run"
command, console output is:<br>
Buildfile: /home/mkoptur/nodebox/build.xml<br>
[taskdef] Could not load definitions from resource
com/sun/javafx/tools/ant/antlib.xml. It could not be found.</p>
<p>properties:</p>
<p>init:<br>
[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</p>
<p>compile:<br>
[javac] Compiling 230 source files to
/home/mkoptur/nodebox/build/prod [copy] Copying 40 files to
/home/mkoptur/nodebox/build/prod</p>
<p>bindir-unix:</p>
<p>bindir-win:</p>
<p>bindir:</p>
<p>run:</p>
<p>"[taskdef] Could not load definitions from resource
com/sun/javafx/tools/ant/antlib.xml. It could not be found." does
this error cause problem?</p></div>Murat Kopturtag:support.nodebox.net,2012-11-01:Comment/398730132016-05-13T09:41:43Z2016-05-13T09:41:43ZNodebox 3 Ubuntu error<div><p>It looks like it is related to this: <a href="http://stackoverflow.com/questions/27965630/jython-inside-ide-ok-outside-ide-no-os-specific-module-found">
http://stackoverflow.com/questions/27965630/jython-inside-ide-ok-ou...</a></p>
<p>I think we've upgraded Jython but forgot to upgrade the
dependencies.</p>
<p>I've now upgraded Jython to an internal "standalone" version
which should avoid this error. Please <code>git pull</code> again
and try running.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/398730132016-05-13T09:52:14Z2016-05-13T09:52:14ZNodebox 3 Ubuntu error<div><p>It works!! Thanks for everything,</p></div>Murat Kopturtag:support.nodebox.net,2012-11-01:Comment/398730132016-05-14T10:18:45Z2016-05-14T10:19:01ZNodebox 3 Ubuntu error<div><p>Thanks for letting me know. The fix also makes things easier on
our side.</p></div>Frederik De Bleser