[Yt-dev] Reason crash

John Wise jwise at physics.gatech.edu
Tue Sep 27 07:07:42 PDT 2011


Hi everyone,

I'm trying to use Reason, and it's crashing when I try to create a 
projection or slice.  Viewing the grid data works perfectly fine.

I'm using a version that's installed without the install script.  I'm 
using a similar set of dependencies as the install script (Python 2.7.1, 
h5py 1.3.1, the ext* and PhiloGL files from enzotools.org) Everything 
else has been working fine with yt.

Here's the traceback:
-----
Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
     self.run()
   File 
"/usr/local/lib/python2.7/dist-packages/yt-2.3dev-py2.7-linux-x86_64.egg/yt/gui/reason/extdirect_repl.py", 
line 123, in run
     task['name'], task['widget_data_name'])
   File 
"/usr/local/lib/python2.7/dist-packages/yt-2.3dev-py2.7-linux-x86_64.egg/yt/gui/reason/extdirect_repl.py", 
line 451, in _add_widget
     payload['data'] = self.locals[widget_data_name]
KeyError: '_twidget_data'
-----

When I inspect the task variable, it has these fields.

(Pdb) p task
{'widget_data_name': '_twidget_data', 'type': 'add_widget', 'name': '_tpw'}

Here is my python session with me briefly looking around with pdb, but 
I'm not familiar enough with reason to properly debug this.  I also 
tried reducing max_threads to 1, and it didn't have any effect.

http://paste.enzotools.org/show/1828/

If you want to try to replicate this error, I've uploaded the dataset 
(50MB), but I have a feeling that it's not dataset's fault.

http://www.physics.gatech.edu/~jw254/scpics/DD0036.tgz

Has anyone had this error before?

Thanks!
John

-- 
John Wise
Assistant Professor of Physics
Center for Relativistic Astrophysics, Georgia Tech



More information about the yt-dev mailing list