DiamondLightSource / SuRVoS

(Su)per (R)egion (Vo)lume (S)egmentaton workbench
Apache License 2.0
25 stars 5 forks source link

SuRVoS crashes when attempting to press the pensil button #108

Open DimitriosBellos opened 3 years ago

DimitriosBellos commented 3 years ago

Hi, I recently installed SuRVoS and I attemtped to segment some data, however when I pressed the pensil (Draw ground truth seeds) button (this button is in the Slice Viewer tab) SuRVoS crashed Specifically I got the following

  File "/home/psxdb3/anaconda3/envs/survos-env/lib/python3.6/site-packages/survos/widgets/slice_viewer.py", line 61, in gt
    if self._active == 'GT':
AttributeError: 'NavigationToolbar' object has no attribute '_active'

I don't know what is the issue. But I also get some empty/blank buttons in the Slice Viewer that if I press them SuRVoS also crashes with the same prompt.

OllyK commented 3 years ago

Hi @DimitriosBellos Sorry to hear that, you're the second person to report it (see #107 ). Perhaps something has changed with pyQt I'll look into it and get back to you. Are you using Windows or Linux?

Olly

DimitriosBellos commented 3 years ago

I run it on our servers in Nottingham and they have Linux, CentOS to be exact


From: Olly King notifications@github.com Sent: 12 October 2020 16:12 To: DiamondLightSource/SuRVoS SuRVoS@noreply.github.com Cc: Dimitrios Bellos psxdb3@exmail.nottingham.ac.uk; Mention mention@noreply.github.com Subject: Re: [DiamondLightSource/SuRVoS] SuRVoS crashes when attempting to press the pensil button (#108)

Hi @DimitriosBelloshttps://github.com/DimitriosBellos Sorry to hear that, you're the second person to report it (see #107https://github.com/DiamondLightSource/SuRVoS/issues/107 ). Perhaps something has changed with pyQt I'll look into it and get back to you. Are you using Windows or Linux?

Olly

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/DiamondLightSource/SuRVoS/issues/108#issuecomment-707179533, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIEE4H5WLYPTFRI5E4IIU3TSKMMEVANCNFSM4SM5NYBA.

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please contact the sender and delete the email and attachment.

Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. Email communications with the University of Nottingham may be monitored where permitted by law.

DimitriosBellos commented 3 years ago

Also here is a screenshot with the blank buttons I mentioned Screenshot from 2020-10-12 16-18-12

OllyK commented 3 years ago

Hi again @DimitriosBellos As a temporary fix can you down grade matplotlib by using conda install matplotlib-base==3.2.2 in the conda environment that you created for SuRVoS. It appears that something in matplotlib 3.3.2 is breaking things. I'll look into a more permanent fix.

Olly