The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

Nodebox 3 Ubuntu error

5 replies Last reply

  1. 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.

    Copy link
  2. NodeBox team

    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!

    Copy link
  3. 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?

    Copy link
  4. It works!! Thanks for everything,

    Copy link
  5. NodeBox team

    Thanks for letting me know. The fix also makes things easier on our side.

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply