glue-viz / glue

Linked Data Visualizations Across Multiple Files
http://glueviz.org
Other
736 stars 153 forks source link

astropy coordinates issue with session from December & double title #2126

Open aagoodman opened 4 years ago

aagoodman commented 4 years ago

As the image below shows, there is a problem loading the glue session at https://drive.google.com/open?id=17NRK3B4L1FvMUT0PiS3kiPuOlFM3JANZ (@astrofrog should have access) now, which has something to do with astropy units issue, I think. Also (see screen shot) the "double title" issue we saw in our glue meeting yesterday seems to be present at the top of the error log screen too.

image
aagoodman commented 4 years ago

Actually, this is pretty urgent now--most (all?) of the older RadWave files won't open in my version of glue. Glue: 0.16.0.dev242+ge8294eaf Python: 3.7.6 PyQt5: PyQt: 5.9.2 - Qt: 5.9.6 PySide2: Not installed qtpy: 1.9.0 setuptools: 45.2.0.post20200210 numpy: 1.18.1 bottleneck: 1.3.2 matplotlib: 3.1.3 pandas: 1.0.3 astropy: 4.0.1.post1 dill: 0.3.1.1 h5py: 2.10.0 xlrd: 1.2.0 mpl-scatter-density: 0.6 glue-core: 0.16.0.dev242+ge8294eaf glue-geospatial: 0.4.dev8+g437c2f2 glue-openspace: 0.1.dev14+g40560c2 glue-vispy-viewers: 0.13.dev29+g686f773 glue-wwt: 0.4.dev0 IPython: 7.13.0 qtconsole: 4.7.2 ipykernel: 5.1.4 traitlets: 4.3.3 pygments: 2.6.1 pyzmq: 18.1.1 scipy: 1.4.1 scikit-image: 0.16.2 PyAVM: Not installed spectral-cube: Not installed astrodendro: Not installed mock: Not installed pytest: 5.4.1 plotly: Not installed

Traceback (most recent call last): File "/opt/miniconda3/lib/python3.7/site-packages/glue/utils/qt/decorators.py", line 61, in decorated return f(*args, kwargs) File "/opt/miniconda3/lib/python3.7/site-packages/glue/app/qt/application.py", line 1266, in restore_session_and_close app = self.restore_session(path) File "/opt/miniconda3/lib/python3.7/site-packages/glue/app/qt/application.py", line 1132, in restore_session ga = Application.restore_session(path) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/application_base.py", line 157, in restore_session return state.object('main') File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/registry.py", line 89, in wrapper return func(*args, *kwargs) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state.py", line 508, in object obj = func(rec, self) File "/opt/miniconda3/lib/python3.7/site-packages/glue/app/qt/application.py", line 1422, in setgluestate self = super(GlueApplication, cls).setgluestate(rec, context) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/application_base.py", line 364, in setgluestate viewer = context.object(v) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/registry.py", line 89, in wrapper return func(args, kwargs) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state.py", line 508, in object obj = func(rec, self) File "/opt/miniconda3/lib/python3.7/site-packages/glue/viewers/common/qt/data_viewer.py", line 207, in setgluestate viewer = super(DataViewer, cls).setgluestate(rec, context) File "/opt/miniconda3/lib/python3.7/site-packages/glue/viewers/common/viewer.py", line 350, in setgluestate viewer_state = cls._state_cls.setgluestate(rec['state'], context) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state_objects.py", line 106, in setgluestate properties = dict((key, context.object(value)) for key, value in rec['values'].items()) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state_objects.py", line 106, in properties = dict((key, context.object(value)) for key, value in rec['values'].items()) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/registry.py", line 89, in wrapper return func(*args, *kwargs) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state.py", line 508, in object obj = func(rec, self) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state_objects.py", line 24, in _load_callback_list return [context.object(obj) for obj in rec['values']] File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state_objects.py", line 24, in return [context.object(obj) for obj in rec['values']] File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/registry.py", line 89, in wrapper return func(args, kwargs) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state.py", line 508, in object obj = func(rec, self) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state_objects.py", line 107, in setgluestate result = cls(properties) File "/opt/miniconda3/lib/python3.7/site-packages/glue_wwt/viewer/state.py", line 184, in init self.update_from_dict(kwargs) File "/opt/miniconda3/lib/python3.7/site-packages/glue/core/state_objects.py", line 72, in update_from_dict setattr(self, name, properties[name]) File "/opt/miniconda3/lib/python3.7/site-packages/glue/external/echo/core.py", line 262, in setattr super(HasCallbackProperties, self).setattr(attribute, value) File "/opt/miniconda3/lib/python3.7/site-packages/glue/external/echo/selection.py", line 36, in set raise ValueError('value {0} is not in valid choices: {1}'.format(value, choices)) ValueError: value Linear is not in valid choices: ['Fixed']