Hi Aditya,
Can you send me an example script that crashes NodeBox, along with the Console output?
Hi Tom,
I tried exporting an image from the colours example files. Try any example file. I'll send the console output as soon as I get back to my Mac.
Cheers,
Aditya
I'm having the exact same problem. Can export fine from anything but trying to export anything from the colors file crashes me :/
Hi Zach,
I need some more information to figure out what is going wrong.
1) Are you on Intel or PowerPC and what version of Mac OS X are you using?
2) Can you export an image from the following script:
colors = ximport("colors") background(0)3) After NodeBox crashes, can you mail me the output of the Console application?
4) In the colors library folder, what version does __init__.py mention?
Thanks
1/9/08 9:53:11 PM NodeBox[8053] An exception has occured:
1/9/08 9:53:11 PM NodeBox[8053] NodeBox Error
1/9/08 9:53:11 PM NodeBox[8053] NodeBox Error
An unexpected error has occurred during execution of the main script
AttributeError: 'NoneType' object has no attribute 'writeToFile_atomically_'
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] Traceback (most recent call last):
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] File "/Applications/NodeBox/NodeBox.app/Contents/Resources/__boot__.py", line 71, in
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] _run('macboot.py')
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] File "/Applications/NodeBox/NodeBox.app/Contents/Resources/__boot__.py", line 47, in _run
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] execfile(path, globals(), globals())
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] File "/Applications/NodeBox/NodeBox.app/Contents/Resources/macboot.py", line 10, in
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] AppHelper.runEventLoop()
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] File "PyObjCTools/AppHelper.pyo", line 237, in runEventLoop
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] File "nodebox/gui/mac/__init__.pyo", line 483, in exportPanelDidEnd_returnCode_contextInfo_
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] File "nodebox/gui/mac/__init__.pyo", line 503, in doExportAsImage
1/9/08 9:53:11 PM [0x0-0x369369].net.nodebox.NodeBox[8053] AttributeError: 'NoneType' object has no attribute 'writeToFile_atomically_'
1/9/08 9:53:19 PM com.apple.launchd[124] ([0x0-0x369369].net.nodebox.NodeBox[8053]) Exited with exit code: 255
with
__version__ = "1.9.2.1"
on 10.5.1
on 2 GHz Intel Core 2 Duo
sorry about taking so long to reply.
I cannot export the small script you provided.
also, im unsure of what console application you mean, but the error nodebox gives me is:
(AttributeError: 'NoneType' object has no attribute 'writeToFile_atomically_')
so it sounds like what Edwin posted above
I'm on a power pc running 10.5.1
__version__ = "1.9.2.1" from __init__.py
9:43:04 PM Zach: sorry about taking so long to reply.
I cannot export the small script you provided.
also, im unsure of what console application you mean, but the error nodebox gives me is:
(AttributeError: 'NoneType' object has no attribute 'writeToFile_atomically_')
so it sounds like what Edwin posted above
I'm on a power pc running 10.5.1
__version__ = "1.9.2.1" from __init__.py
Unable to export image when using Colours library
Posted by Aditya Sanghi on Nov 15, 2007Hello awesome people,
I recently discovered NodeBox and i'm floored. Many thanks!!
Using it to create some lovely wallpapers for myself.
I tried exporting images when writing a script that uses the colours library and it is crashing NodeBox without fail.
I'm on Leopard and using the latest version of NodeBox 1.9.2
This problem does not happen when i use other libraries or when writing simple scripts without using libraries.
If it helps i can send the console output etc. Would be happy to help get to the bottom of the problem if you want. Want me to create a ticket?
Many thanks anyway!!!
Cheers,
Aditya