tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/6101-sometimes-old-projects-give-an-error-when-openingNodeBox: Discussion 2019-02-18T11:40:24Ztag:support.nodebox.net,2012-11-01:Comment/468167032019-01-17T11:17:02Z2019-01-17T11:17:02Zsometimes old projects give an error when opening<div><p>Often I cannot open some projects and see similar errors. How can you save these files?<br>
Help me please)</p></div>denis.zaporozhantag:support.nodebox.net,2012-11-01:Comment/468167032019-01-18T00:54:22Z2019-01-18T09:16:36Zsometimes old projects give an error when opening<div><p>Hi Denis,</p>
<p>I notice in the middle of that error: "Error while loading treemap.py: Library does not exist."</p>
<p>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.</p>
<p>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.</p>
<p>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:</p>
<p>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.</p>
<p>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.</p>
<p>John</p></div>johntag:support.nodebox.net,2012-11-01:Comment/468167032019-02-18T11:40:23Z2019-02-18T11:40:23Zsometimes old projects give an error when opening<div><p>Hi John!<br>
Thank you very much your answer helped!<br>
Library registration helped!</p></div>denis.zaporozhan