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
Under the 'ModelEditor' section of the notebook Generating_XML_Models, the command "%system modeleditor" fails to open the tool. The error message indicates that python cannot import the ds9 module.
Currently investigating further.
The text was updated successfully, but these errors were encountered:
OK, I found the issue and figured out a solution. The source of the problem is that ds9, which modeleditor uses, is installed a bit differently in the Docker container. We are using pyds9 in the container instead of plain-old ds9, which makes the following module fail when it tries to import the latter:
So, the best solution seems to be editing DS9Connector.py to look for pyds9, like so:
change this line:
from ds9 import *
to this:
try:
from ds9 import *
except Exception:
from pyds9 import *
Now modeleditor opens without issue. A patch file seems to be the best way to address this (i.e. overwrite the existing DS9Connector.py file with a fixed one).
Under the 'ModelEditor' section of the notebook Generating_XML_Models, the command "%system modeleditor" fails to open the tool. The error message indicates that python cannot import the ds9 module.
Currently investigating further.
The text was updated successfully, but these errors were encountered: