imexam icon indicating copy to clipboard operation
imexam copied to clipboard

ginga having issues with Tornado and QThread

Open sosey opened this issue 6 years ago • 4 comments

This hosed my terminal requiring a force quit

In [1]: import imexam In [2]: a=imexam.connect(viewer='ginga') In [3]: WARNING:tornado.access:404 GET /js/ginga_pg.css (::1) 1.09ms WARNING:tornado.access:404 GET /js/ginga_pg.css (::1) 0.43ms In [3]: In [3]: a.load_fits('iacs01t4q_flt.fits') In [4]: a.zoom(3) QObject::startTimer: Timers can only be used with threads started with QThread QObject::startTimer: Timers can only be used with threads started with QThread read: e at 506.25, 478.0 QObject::startTimer: Timers can only be used with threads started with QThread

on osx 10.13.6 Using /Users/sosey/miniconda3/envs/imexam-sprint/lib/python3.5/site-packages Finished processing dependencies for imexam==0.8.1.dev360

sosey avatar Dec 10 '18 21:12 sosey

Conda is pretty bad with managing Python 3.5. Do you have problem still with, say, Python 3.7?

pllim avatar Dec 10 '18 21:12 pllim

I'm currently testing all the pythons, I never trust condas package management

sosey avatar Dec 10 '18 21:12 sosey

notes for me: ....so this is due to a real threading difference between the ipython terminal and the kernel in the notebook. (the 404 access might be a template finding issue). qtconsole or jupyter notebook is a good alternative for the moment till I sort this out. Using qtconsole will print the figures to the console window. screen shot 2018-12-13 at 5 47 51 pm

sosey avatar Dec 13 '18 22:12 sosey

Comment by Megan Sosey: See https://github.com/spacetelescope/imexam/issues/154

stscijgbot avatar Feb 20 '19 13:02 stscijgbot