When running gendoc the plotting in docs/aramis_cdt/example01 raises the following exception.
Running Sphinx v1.2.2
building [html]: targets for 11 source files that are out of date
updating environment: 11 added, 0 changed, 0 removed
reading sources... [ 9%] aramis/add_AD_channel_values
reading sources... [ 18%] aramis/aramis
reading sources... [ 27%] aramis/coord_export_settings
reading sources... [ 36%] aramis/default_export_settings
reading sources... [ 45%] aramis/displ_export_settings
reading sources... [ 54%] aramis/prepare_AD_data
reading sources... [ 63%] aramis_cdt/aramis_cdt
/usr/lib/pymodules/python2.7/matplotlib/init.py:1173: UserWarning: This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called before pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg)
Exception occurred in traits notification handler for object: <aramis_cdt.aramis_cdt.AramisCDT object at 0x7f4fccf78710>, trait: aramis_info_changed, old value: , new value: True
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/traits/trait_notifiers.py", line 511, in rebind_call_0
self.dispatch( getattr( self.object(), self.name ) )
File "/usr/lib/python2.7/dist-packages/traits/trait_notifiers.py", line 454, in dispatch
handler( *args )
File "/home/rch/git/aramis_cdt/aramis_cdt/aramis_cdt.py", line 74, in _crack_detect_idx
self.crack_detect_idx = int(np.argwhere(self.aramis_data.force == self.aramis_data.force.max())[0])
AttributeError: 'NoneType' object has no attribute 'force'
When running gendoc the plotting in docs/aramis_cdt/example01 raises the following exception.
Running Sphinx v1.2.2 building [html]: targets for 11 source files that are out of date updating environment: 11 added, 0 changed, 0 removed reading sources... [ 9%] aramis/add_AD_channel_values reading sources... [ 18%] aramis/aramis reading sources... [ 27%] aramis/coord_export_settings reading sources... [ 36%] aramis/default_export_settings reading sources... [ 45%] aramis/displ_export_settings reading sources... [ 54%] aramis/prepare_AD_data reading sources... [ 63%] aramis_cdt/aramis_cdt /usr/lib/pymodules/python2.7/matplotlib/init.py:1173: UserWarning: This call to matplotlib.use() has no effect because the backend has already been chosen; matplotlib.use() must be called before pylab, matplotlib.pyplot, or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg) Exception occurred in traits notification handler for object: <aramis_cdt.aramis_cdt.AramisCDT object at 0x7f4fccf78710>, trait: aramis_info_changed, old value:, new value: True
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/traits/trait_notifiers.py", line 511, in rebind_call_0
self.dispatch( getattr( self.object(), self.name ) )
File "/usr/lib/python2.7/dist-packages/traits/trait_notifiers.py", line 454, in dispatch
handler( *args )
File "/home/rch/git/aramis_cdt/aramis_cdt/aramis_cdt.py", line 74, in _crack_detect_idx
self.crack_detect_idx = int(np.argwhere(self.aramis_data.force == self.aramis_data.force.max())[0])
AttributeError: 'NoneType' object has no attribute 'force'