I am testing on a Windows machine, glue works fine, but
I tried installing cubeviz both with conda and pip but in both cases I have a startup error:
Nonetype has no attribute write
related to:
self._stderr_original.write(message)
Click for full traceback
```
Traceback (most recent call last):
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\utils\qt\decorators.py", line 63, in decorated
return f(*args, **kwargs)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\cubeviz.py", line 157, in main
app = create_app(datafiles, data_configs, data_configs_show)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\cubeviz.py", line 116, in create_app
ga.run_startup_action('cubeviz')
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\app\qt\application.py", line 354, in run_startup_action
startup_action.members[name](self.session, self.data_collection)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\startup.py", line 11, in cubeviz_setup
_manager = CubevizManager(session)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\listener.py", line 22, in __init__
self._empty_layout = self._app.add_fixed_layout_tab(CubeVizLayout)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\app\qt\application.py", line 965, in add_fixed_layout_tab
tab = tab_cls(session=self.session)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\layout.py", line 155, in __init__
SpecvizDataViewer(self.session, layout=self, include_line=True),
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\viewers\common\qt\data_viewer.py", line 29, in __call__
obj = type.__call__(cls, *args, **kwargs)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\third_party\glue\viewer.py", line 296, in __init__
self.current_workspace = Workspace()
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\widgets\workspace.py", line 128, in __init__
plugin.mount(self)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\core\plugin.py", line 151, in mount
plugin(workspace, filt=filt)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\core\plugin.py", line 189, in cls_wrapper
plugin = cls()
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\plugins\line_labels\linelists_window.py", line 125, in __init__
linelist.populate_linelists_cache()
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\plugins\line_labels\linelist.py", line 107, in populate_linelists_cache
linelist = get_from_file(linelist_path, yaml_filename)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\plugins\line_labels\linelist.py", line 74, in get_from_file
yaml_object = yaml.load(open(filename, 'r'))
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\yaml\__init__.py", line 109, in load
load_warning('load')
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\yaml\__init__.py", line 55, in load_warning
warnings.warn(message, YAMLLoadWarning, stacklevel=3)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\warnings.py", line 110, in _showwarnmsg
msg.file, msg.line)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\astropy\logger.py", line 170, in _showwarning
return self._showwarning_orig(*args, **kwargs)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\warnings.py", line 13, in showwarning
_showwarnmsg_impl(msg)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\warnings.py", line 30, in _showwarnmsg_impl
file.write(text)
File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\app\qt\application.py", line 152, in write
self._stderr_original.write(message)
AttributeError: 'NoneType' object has no attribute 'write'
```
I am testing on a Windows machine,
glue
works fine, but I tried installingcubeviz
both with conda and pip but in both cases I have a startup error:related to:
Click for full traceback
``` Traceback (most recent call last): File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\utils\qt\decorators.py", line 63, in decorated return f(*args, **kwargs) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\cubeviz.py", line 157, in main app = create_app(datafiles, data_configs, data_configs_show) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\cubeviz.py", line 116, in create_app ga.run_startup_action('cubeviz') File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\app\qt\application.py", line 354, in run_startup_action startup_action.members[name](self.session, self.data_collection) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\startup.py", line 11, in cubeviz_setup _manager = CubevizManager(session) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\listener.py", line 22, in __init__ self._empty_layout = self._app.add_fixed_layout_tab(CubeVizLayout) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\app\qt\application.py", line 965, in add_fixed_layout_tab tab = tab_cls(session=self.session) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\cubeviz\layout.py", line 155, in __init__ SpecvizDataViewer(self.session, layout=self, include_line=True), File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\viewers\common\qt\data_viewer.py", line 29, in __call__ obj = type.__call__(cls, *args, **kwargs) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\third_party\glue\viewer.py", line 296, in __init__ self.current_workspace = Workspace() File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\widgets\workspace.py", line 128, in __init__ plugin.mount(self) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\core\plugin.py", line 151, in mount plugin(workspace, filt=filt) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\core\plugin.py", line 189, in cls_wrapper plugin = cls() File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\plugins\line_labels\linelists_window.py", line 125, in __init__ linelist.populate_linelists_cache() File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\plugins\line_labels\linelist.py", line 107, in populate_linelists_cache linelist = get_from_file(linelist_path, yaml_filename) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\specviz\plugins\line_labels\linelist.py", line 74, in get_from_file yaml_object = yaml.load(open(filename, 'r')) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\yaml\__init__.py", line 109, in load load_warning('load') File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\yaml\__init__.py", line 55, in load_warning warnings.warn(message, YAMLLoadWarning, stacklevel=3) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\warnings.py", line 110, in _showwarnmsg msg.file, msg.line) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\astropy\logger.py", line 170, in _showwarning return self._showwarning_orig(*args, **kwargs) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\warnings.py", line 13, in showwarning _showwarnmsg_impl(msg) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\warnings.py", line 30, in _showwarnmsg_impl file.write(text) File "c:\users\zonca\anaconda3\envs\cubeviz030\lib\site-packages\glue\app\qt\application.py", line 152, in write self._stderr_original.write(message) AttributeError: 'NoneType' object has no attribute 'write' ```Do you have any suggestion on how to fix this?
Glueviz version information: