[INSTRM-825] plotTool crashes on curve configuration? Created: 23/Nov/19  Updated: 25/Mar/21  Resolved: 25/Mar/21

Status: Done
Project: Instrument control development
Component/s: ics_sps_engineering_plotData
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: SM1PD-2020 A

 Description   

Something similar to this has happened to me a couple of times. I think I was renaming a curve. That or moving a curve between plots.

<weakref at 0x7fca197ef818; to 'AxesSubplot' at 0x7fca19948fd0>
'bool' object has no attribute 'get_label'
/software/mhs/products/Linux64/ics_sps_engineering_plotData/1.1.0/python/sps_engineering_plotData/graph.py:161: UserWarning: Attempting to set identical bottom == top == 0.0 results in singular transformations; automatically expanding.
  ax.set_ylim(ymin, ymax)
Traceback (most recent call last):
  File "/software/conda/lib/python3.6/site-packages/matplotlib/backends/qt_editor/_formlayout.py", line 480, in apply
    self.apply_callback(self.formwidget.get())
  File "/software/conda/lib/python3.6/site-packages/matplotlib/backends/qt_editor/figureoptions.py", line 207, in apply_callback
    axes.xaxis.set_units(xunits)
  File "/software/conda/lib/python3.6/site-packages/matplotlib/axis.py", line 1575, in set_units
    self.callbacks.process('units')
  File "/software/conda/lib/python3.6/site-packages/matplotlib/cbook/__init__.py", line 212, in process
    for cid, ref in list(self.callbacks.get(s, {}).items()):
RuntimeError: dictionary changed size during iteration

[2]+  Aborted                 python python/sps_engineering_plotData/main.py --host=tron --password=2394f4s3d



 Comments   
Comment by arnaud.lefur [ 17/Jan/20 ]

Seems to append when you click on Apply using matplotlib toolbar.

I've failed to reproduce the bug so far...

If you have other inputs please add them here . 

Comment by hassan [ 13/Feb/20 ]

Not reproducible so far. Will put this ticket as low-priority until it re-appears and we have more information as to the problem.

Comment by arnaud.lefur [ 25/Mar/21 ]

I believe it's now fixed

Generated at Sat Feb 10 16:29:02 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.