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

sometimes old projects give an error when opening

3 replies Last reply

  1. java.lang.RuntimeException: Could not load /Users/zaporozhan/Desktop/GAZ/gaz_08-10-18.ndbx
    at nodebox.client.NodeBoxDocument.load(NodeBoxDocument.java:211)
    at nodebox.client.Application.openDocument(Application.java:412)
    at nodebox.client.Application$1.done(Application.java:135)
    at javax.swing.SwingWorker$5.run(SwingWorker.java:737)
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
    at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
    at javax.swing.Timer.fireActionPerformed(Timer.java:313)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    Caused by: nodebox.util.LoadException: Error while loading treemap.py: Library does not exist.
    at nodebox.function.PythonLibrary.loadScript(PythonLibrary.java:84)
    at nodebox.function.PythonLibrary.loadScript(PythonLibrary.java:52)
    at nodebox.function.FunctionLibrary.load(FunctionLibrary.java:37)
    at nodebox.node.NodeLibrary.parseLink(NodeLibrary.java:453)
    at nodebox.node.NodeLibrary.parseNDBX(NodeLibrary.java:428)
    at nodebox.node.NodeLibrary.load(NodeLibrary.java:406)
    at nodebox.node.NodeLibrary.load(NodeLibrary.java:92)
    at nodebox.client.NodeBoxDocument.load(NodeBoxDocument.java:200)
    ... 22 more

    Copy link
  2. Often I cannot open some projects and see similar errors. How can you save these files?
    Help me please)

    Copy link
  3. Hi Denis,

    I notice in the middle of that error: "Error while loading treemap.py: Library does not exist."

    Is it possible you moved your project file so that it was no longer in the same folder at treemap.py"? If so, try moving a copy of treemap.py in the same folder and try relaunching.

    Usually when I get these errors its because there is some kind of mismatch between a custom node and files registered in the code library.

    If that doesn't work another thing you can try is opening the ndbx file in a text editor. If there are python files registered in the code library you should see lines near the top (just after the proper names which define the document size) which look like this:

    <link href="python:treemap.py" rel="functions"/>

    If you need to register a python file but can't open the project to add it to the code library you may be able to just add such a line to the ndbx file directly. Another technique is to remove all such lines, which will probably allow you to open the project; you can then add the correct python files back into the code library. Of course you should always make a backup copy before attempting to edit a ndbx file directly.

    Let me know if this helps. If you are desperate you can send me the nodebox file (zipped) and I can see if I can fix it.

    John

    Copy link
  4. Hi John!
    Thank you very much your answer helped!
    Library registration helped!

    Copy link

Know something that helps?

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

Sign in to reply