Hi everyone,
I’ve recently installed VeSPA and currently I’m running into some issues with using DataSim and Analysis. Both Pulse and Simulation work at the present moment, but whenever I attempt to import a previously created Experiment from Simulation into DataSim, I receive the following error:
Traceback (most recent call last):
File "C:\Users\warrenboschen\Miniconda3\envs\python37\Lib\site-packages\vespa\datasim\main.py", line 114, in on_new
self.notebook_datasims.add_datasim_tab(datasim=datasim)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\datasim\notebook_datasim.py", line 113, in add_datasim_tab
tab = tab_datasim.TabDatasim(self, self.top, datasim)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\datasim\tab_datasim.py", line 96, in __init__
self.populate_controls()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\datasim\tab_datasim.py", line 197, in populate_controls
dataset=ds)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\datasim\plot_panel_datasim.py", line 18, in __init__
plot_panel_spectrum.PlotPanelSpectrum.__init__( self, parent, **kwargs )
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 376, in __init__
self.update(set_scale=True)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 680, in update
self.update_plots()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 763, in update_plots
axes.lines = []
AttributeError: can't set attribute
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\exception_handler.py", line 138, in exception_hook
lines += ["*%s\t%s" % line for line in _debug_report()]
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\exception_handler.py", line 187, in _debug_report
lines += _get_version_info()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\exception_handler.py", line 279, in _get_version_info
head, tail = os.path.split(module.__file__)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\ntpath.py", line 183, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Original exception was:
Traceback (most recent call last):
File "C:\Users\warrenboschen\Miniconda3\envs\python37\Lib\site-packages\vespa\datasim\main.py", line 114, in on_new
self.notebook_datasims.add_datasim_tab(datasim=datasim)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\datasim\notebook_datasim.py", line 113, in add_datasim_tab
tab = tab_datasim.TabDatasim(self, self.top, datasim)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\datasim\tab_datasim.py", line 96, in __init__
self.populate_controls()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\datasim\tab_datasim.py", line 197, in populate_controls
dataset=ds)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\datasim\plot_panel_datasim.py", line 18, in __init__
plot_panel_spectrum.PlotPanelSpectrum.__init__( self, parent, **kwargs )
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 376, in __init__
self.update(set_scale=True)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 680, in update
self.update_plots()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 763, in update_plots
axes.lines = []
AttributeError: can't set attribute
Furthermore, when trying to run Analysis on a Philips .spar file I receive a shorter yet similar error:
Traceback (most recent call last):
File "C:\Users\warrenboschen\Miniconda3\envs\python37\Lib\site-packages\vespa\analysis\main.py", line 232, in on_import_user_item
self._import_file(reader(), ini_name)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\Lib\site-packages\vespa\analysis\main.py", line 534, in _import_file
self.notebook_datasets.add_dataset_tab(datasets)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\notebook_datasets.py", line 246, in add_dataset_tab
dtab = tab_dataset.TabDataset(self, self.top, name)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\tab_dataset.py", line 80, in __init__
self.populate_controls()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\tab_dataset.py", line 149, in populate_controls
tab = tab_spectral.TabSpectral(self, self.top, block)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\tab_spectral.py", line 286, in __init__
self.initialize_controls()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\tab_spectral.py", line 471, in initialize_controls
dataset=self.dataset,
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\plot_panel_spectral.py", line 26, in __init__
super().__init__(parent, **kwargs)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 376, in __init__
self.update(set_scale=True)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 680, in update
self.update_plots()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 763, in update_plots
axes.lines = []
AttributeError: can't set attribute
Error in sys.excepthook:
Traceback (most recent call last):
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\exception_handler.py", line 138, in exception_hook
lines += ["*%s\t%s" % line for line in _debug_report()]
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\exception_handler.py", line 187, in _debug_report
lines += _get_version_info()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\exception_handler.py", line 279, in _get_version_info
head, tail = os.path.split(module.__file__)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\ntpath.py", line 183, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Original exception was:
Traceback (most recent call last):
File "C:\Users\warrenboschen\Miniconda3\envs\python37\Lib\site-packages\vespa\analysis\main.py", line 232, in on_import_user_item
self._import_file(reader(), ini_name)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\Lib\site-packages\vespa\analysis\main.py", line 534, in _import_file
self.notebook_datasets.add_dataset_tab(datasets)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\notebook_datasets.py", line 246, in add_dataset_tab
dtab = tab_dataset.TabDataset(self, self.top, name)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\tab_dataset.py", line 80, in __init__
self.populate_controls()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\tab_dataset.py", line 149, in populate_controls
tab = tab_spectral.TabSpectral(self, self.top, block)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\tab_spectral.py", line 286, in __init__
self.initialize_controls()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\tab_spectral.py", line 471, in initialize_controls
dataset=self.dataset,
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\analysis\plot_panel_spectral.py", line 26, in __init__
super().__init__(parent, **kwargs)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 376, in __init__
self.update(set_scale=True)
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 680, in update
self.update_plots()
File "C:\Users\warrenboschen\Miniconda3\envs\python37\lib\site-packages\vespa\common\wx_gravy\plot_panel_spectrum.py", line 763, in update_plots
axes.lines = []
AttributeError: can't set attribute
Does anyone have any advice on how to resolve this issue? I’ve checked the listed file (plot_panel_spectrum.py) and nothing seems to be out of the ordinary.
Thank you in advance!
-Warren