-
Notifications
You must be signed in to change notification settings - Fork 46
Win (7 & 10 at least): Taurus4 applications crashes at exiting #709
Comments
By using the following dependencies, the crashes does not happen anymore. However the prompt is not returned to the user at the exit of the applications: Dependencies installed with pip: |
The fact of not returning the prompt when closing the application can be related somehow with Tango/PyTango. If we set TANGO_HOST (to controlsxx:10000 for example), the prompt is not returned when closing the applications (e.g. taurustrend) ; however, if TANGO_HOST is not set and we only use eval (e.g taurustrend "eval:Q(rand(),'mm')"), then the application exits and the prompt is returned correctly. |
The step up/down feature of TaurusValueLineEdit (e.g. using the up/down keys or the arrows of a TaurusValueSpinBox) was broken when merging #669 which implemented fragments support in TaurusValueLineEdit for allowing the display of the wvalue without units Now we see that supporting fragments generically in TaurusValueLineEdit is problematic (e.g. it makes little sense to use "rvalue" as a fragment since "wvalue" will be modified when eventually applying). Therefore for now limit the fragment support in line edits to the "wvalue.magnitude" case. Also fix a hook error introduced in some previous merge.
Reproduced with
When trying to close the main window I get a dialog Python as stopped working (see attached image) Looks like a bug in PyTango or Tango C++ |
It would be niceif we could reproduce it with a PyQt+PyTango script (without taurus) in order to report it to (Py)Tango |
This may be related to tango-controls/cppTango#699 . It would be nice to try with cpptango >= 9.3.4-rc5 and pytango >= 9.3.2 (not yet available in conda for windows) |
Another candidate to to suspect is this one: tango-controls/pytango#390. |
We could try this hint: tango-controls/pytango#390 (comment) (the part of the client). |
Call APIUtil.cleanup() at exit in order to avoid client application crashes on Windows - see PyTango#390 for more details. Avoid calling it for servers cause it hangs the server at exit. Fixes taurus-org#709.
Win 7: Taurus4 applications crashes at exiting in many cases.
Reproduced using a Vagrant virtualbox VM and a normal virtualbox VM.
Reproduced in Taurus 4.1.1 and Taurus 4.3.0
The text was updated successfully, but these errors were encountered: