1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Trouble exporting as quicktime

Posted by Dethe Elza on Aug 21, 2010

Hi folks,

I am trying to use the export as Quicktime feature, but running into a variety of problems, from random crashes to "AttributeError: 'NoneType' object has no attribute 'window'" to something about "no attribute 'saveFile:atomically:'.

Using NodeBox 1.9.5 on Snow Leopard (10.6.4) on a Macbook with 4 GB RAM and not importing any modules (straight NodeBox and Python).

I was trying to use the CoreImage module earlier and got the weirdest crash I've ever seen: instantly logged out with all apps killed, but the computer itself kept running without a hiccup. Since I stopped using CoreImage that problem has gone away at least.


 
Posted by Dethe Elza on Aug 21, 2010

Stacktrace:

Aug 21 10:53:41 TinfoilBeanie NodeBox[93035]: An exception has occured:
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: Traceback (most recent call last):
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: File "/Applications/ Programming/NodeBox/NodeBox.app/Contents/Resources/__boot__.py", line 71, in
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: _run('macboot.py')
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: File "/Applications/ Programming/NodeBox/NodeBox.app/Contents/Resources/__boot__.py", line 47, in _run
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: execfile(path, globals(), globals())
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: File "/Applications/ Programming/NodeBox/NodeBox.app/Contents/Resources/macboot.py", line 10, in
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: AppHelper.runEventLoop()
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: File "PyObjCTools/AppHelper.pyo", line 235, in runEventLoop
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: File "nodebox/gui/mac/__init__.pyo", line 589, in qtPanelDidEnd_returnCode_contextInfo_
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: File "nodebox/gui/mac/__init__.pyo", line 610, in doExportAsMovie
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: File "nodebox/gui/mac/__init__.pyo", line 155, in cleanRun
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: File "nodebox/gui/mac/__init__.pyo", line 201, in fastRun
Aug 21 10:53:41 TinfoilBeanie [0x0-0x902902].net.nodebox.NodeBox[93035]: AttributeError: 'NoneType' object has no attribute 'window'
Aug 21 10:53:42 TinfoilBeanie NodeBox[93035]: NodeBox Error
Aug 21 10:53:42 TinfoilBeanie NodeBox[93035]: NodeBox Error\nAn unexpected error has occurred during execution of the main script\n\nAttributeError: 'NoneType' object has no attribute 'window'
Aug 21 10:53:43 TinfoilBeanie com.apple.launchd.peruser.501[181] ([0x0-0x902902].net.nodebox.NodeBox[93035]): Exited with exit code: 255



Posted by Dethe Elza on Oct 03, 2010

I figured it out. The program always crashed when memory exceeded what could be managed by a 32-bit system. I tried building a 64-bit version of Nodebox, but had too many errors. Ended up making the movie by exporting every frame as a PNG, then combining them all in iMovie. Not an ideal workflow, but it got the results I wanted.

Also submitted movie to the Vancouver Visual Verse competition and was accepted. Yay!