You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing this race condition with regards to "_conversion_factor" in the TimeArray. It's popped up under the nose tests (output pasted below), and when trying to build the examples in docs.
Recently updated MPL, so I'll see if reverting makes a difference.
nosetest output:
....................................................Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored
ERROR: nitime.tests.test_viz.test_plot_xcorr
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(_self.arg)
File "/Users/mike/workywork/nitime/nitime/tests/test_viz.py", line 41, in test_plot_xcorr
line_labels=['a', 'b'])
File "/Users/mike/workywork/nitime/nitime/viz.py", line 462, in plot_xcorr
label=this_labels.pop())
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axes.py", line 4137, in plot
for line in self._get_lines(_args, **kwargs):
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axes.py", line 317, in _grab_next_args
for seg in self._plot_args(remaining, kwargs):
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axes.py", line 295, in _plot_args
x, y = self._xy_from_xy(x, y)
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axes.py", line 213, in _xy_from_xy
bx = self.axes.xaxis.update_units(x)
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axis.py", line 1336, in update_units
converter = munits.registry.get_converter(data)
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/units.py", line 148, in get_converter
converter = self.get_converter(xravel[0])
<<< This repeats about ~100x >>>
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/units.py", line 148, in get_converter
converter = self.get_converter(xravel[0])
File "/Users/mike/workywork/nitime/nitime/timeseries.py", line 233, in getitem
return self[[key]].reshape(())
File "/Users/mike/workywork/nitime/nitime/timeseries.py", line 239, in getitem
return np.ndarray.getitem(self, key)
File "/Users/mike/workywork/nitime/nitime/timeseries.py", line 207, in array_finalize
if not hasattr(self, '_conversion_factor'):
AttributeError: 'TimeArray' object has no attribute '_conversion_factor'
The text was updated successfully, but these errors were encountered:
I'm seeing this race condition with regards to "_conversion_factor" in the TimeArray. It's popped up under the nose tests (output pasted below), and when trying to build the examples in docs.
Recently updated MPL, so I'll see if reverting makes a difference.
nosetest output:
....................................................Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored
ERROR: nitime.tests.test_viz.test_plot_xcorr
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/nose/case.py", line 197, in runTest
self.test(_self.arg)
File "/Users/mike/workywork/nitime/nitime/tests/test_viz.py", line 41, in test_plot_xcorr
line_labels=['a', 'b'])
File "/Users/mike/workywork/nitime/nitime/viz.py", line 462, in plot_xcorr
label=this_labels.pop())
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axes.py", line 4137, in plot
for line in self._get_lines(_args, **kwargs):
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axes.py", line 317, in _grab_next_args
for seg in self._plot_args(remaining, kwargs):
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axes.py", line 295, in _plot_args
x, y = self._xy_from_xy(x, y)
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axes.py", line 213, in _xy_from_xy
bx = self.axes.xaxis.update_units(x)
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/axis.py", line 1336, in update_units
converter = munits.registry.get_converter(data)
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/units.py", line 148, in get_converter
converter = self.get_converter(xravel[0])
<<< This repeats about ~100x >>>
File "/Users/mike/usr/lib/python2.6/site-packages/matplotlib-1.3.1rc2-py2.6-macosx-10.6-x86_64.egg/matplotlib/units.py", line 148, in get_converter
converter = self.get_converter(xravel[0])
File "/Users/mike/workywork/nitime/nitime/timeseries.py", line 233, in getitem
return self[[key]].reshape(())
File "/Users/mike/workywork/nitime/nitime/timeseries.py", line 239, in getitem
return np.ndarray.getitem(self, key)
File "/Users/mike/workywork/nitime/nitime/timeseries.py", line 207, in array_finalize
if not hasattr(self, '_conversion_factor'):
AttributeError: 'TimeArray' object has no attribute '_conversion_factor'
The text was updated successfully, but these errors were encountered: