-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odd crash, apparently unicode-related. #17
Comments
That... should be fixed? Make sure you have the latest versions of everything? The version of Tk bundled with anaconda was incompatible with Python3 due to a lack of support for mouse scroll events which was fixed at some point. I think.
On Wed, Aug 9, 2017 at 10:22 PM -0400, "Marshall Perrin" <[email protected]<mailto:[email protected]>> wrote:
Twice just now I've had the CTVT crash and die for no apparent reason. The crashes occurred once when I was clicking in the window to position the companion at a given roll angle, and once when I clicked on the 'zoom to fit' button.
The error traceback is pretty unhelpful:
jwst-coronagraph-visibility-gui
Traceback (most recent call last):
File "/Users/mperrin/software/miniconda3/envs/astroconda/bin/jwst-coronagraph-visibility-gui", line 11, in <module>
load_entry_point('jwst-coronagraph-visibility==0.3.0', 'gui_scripts', 'jwst-coronagraph-visibility-gui')()
File "/Users/mperrin/software/miniconda3/envs/astroconda/lib/python3.5/site-packages/jwst_coronagraph_visibility/gui.py", line 1257, in run
app.start()
File "/Users/mperrin/software/miniconda3/envs/astroconda/lib/python3.5/site-packages/jwst_coronagraph_visibility/gui.py", line 335, in start
self.root.mainloop()
File "/Users/mperrin/software/miniconda3/envs/astroconda/lib/python3.5/tkinter/__init__.py", line 1140, in mainloop
self.tk.mainloop(n)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
This is on an iMac running Sierra, Python 3.5, tinter 0.3.1, with a pretty standard astroconda setup.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#17>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAKjVoIdxssibxFQd7Z78cpWDZ7x8VViks5sWmlngaJpZM4Oy3Pp>.
|
@juliengirard is it possible this is the crash you were seeing? |
@kjbrooks possible this is the crash you just saw? |
Yes, this is the crash I saw. |
Since I restarted to use the CVT in 2019, I haven't experienced any crash, have you? |
@juliengirard how are you running this? I barely remember doing this and when I tried to run it today, I got an error. It wasn't the same error as the one that Marshall posted above though. |
@kjbrooks in this case I use the MacOS app https://jwst-docs.stsci.edu/other-tools/target-visibility-tools/jwst-coronagraphic-visibility-tool-help
Download the double-clickable app archive (e.g. jwst_coronagraph_visibility_calculator_macos_v0.1.0.zip) from https://github.com/spacetelescope/jwst_coronagraph_visibility/releases/latest |
@juliengirard I cannot get the app to work for me. I double click on it but nothing happens. And, if I try running it from the command line with the
I fully recognize that this is probably an issue on my end at this point. If others can get it working, I am happy to have this issue closed and to sit down with you at some point to troubleshoot why it isn't working for me. (I also don't use this tool, really, ever, so I'm not sure if it even matters). |
It used to work in command line but not anymore... On python 3.5, I get ` On python 2.7, I have issues with Tkinter
|
The CVT gui is still crashing with Unicode errors in python 3.5. This happens sometimes when Traceback (most recent call last): |
Twice just now I've had the CTVT crash and die for no apparent reason. The crashes occurred once when I was clicking in the window to position the companion at a given roll angle, and once when I clicked on the 'zoom to fit' button.
The error traceback is pretty unhelpful:
This is on an iMac running Sierra, Python 3.5, tinter 0.3.1, with a pretty standard astroconda setup.
The text was updated successfully, but these errors were encountered: