Open katjaq opened 5 years ago
Thanks for the report @katjaq . Sounds mysterious.
@ingo-m & @MSchnei did you encounter this after the mac update?
@katjaq could you post the complete log?
Dear @katjaq ,
I think the issue that you are having is related to the matploblib backend. Which was TkAgg
by default. After reading some threads, I suspect that some Tkagg - Catalina interaction is somehow causing the crash (not Segmentator by itself).
Since I do not have access to a mac with catalina update, I do not know for sure whether your issue will be solved but try the following:
devel
branch and install it.--matplotlib_backend qt5agg
as an additional flagThere are other backends that you can try (see here). I think that either qt5agg
orqt4agg
will solve your issue.
Please let me know whether this works or not. Thanks a lot for your time and patience :).
hello dear @ofgulban , thanks so much for your replies. I only have system log, not a specific error log from segmentator though. When I call it, it stops right there and then everything crashes before it ever gets to print anything to the console. I will definitely try your suggestion and hope it runs :) Thanks !! I am still on Mojave... if it fails, I will update the Mac and try again ^^ and report back! :) Many thanks! very best katja
hello! Thanks for suggesting devel branch – I tried, and it crashes everything :.( BUT: it crashes after printing a few lines on console :D we are getting one step further here :D
I am on macOS Mojave v 10.14.6. I did the setup on devel branch using the 2 setup steps you specify in your ReadMe. They both look happy, no errors, first (requirments) tells me that everything is already satisfied, second one also no error message. Then launching segmentator with a nifti makes my computer crash. I see a few lines of output (normal stuff, no error messages); and then "building GUI" – and after that my system crashes. Any further ideas? I am on devel, not devel-entropy. Is that the good one to test my error?
Thank you so much for help. Stay safe!
Hi Katja, thanks for the report :) . Yes you tried the right branch. Can you send me the exact command you have used that causes the crash?
Sounds like a Matplotlib backend related problem. One thing comes to my mind is to try different matplotlib backend options with the following segmentator flag:
--matplotlib_backend tkagg
Change in case of issues during startup or visual
glitches. Some options are: wxagg, qt4agg, qt5agg,
agg, cairo.
@katjaq just a reminder in case if github notifications did not work :) :arrow_up:
Hello! Thank you, dear @ofgulban for reaching out to me again. As it crashes my entire system, it is not very often a convenient moment to test that – and get kicked out from anything else you are running :) I am sorry , that makes it a bit scattered that I get back to you only every once in a while :/ I haven't yet tried the options you proposed – just because I couldn't afford it yet ;) But I very much appreciate your support. I hope it is okay that I have long pauses in between my reports.. Will test above options asap. thanks again. <3
Hey @katjaq no worries I understand :) Test it whenever you can, no rush.
I suspect that this behavior comes from the matplotlib backend, so I wonder: Can you plot figures as usual using Matplotlib? This might give me some clue.
Hi @ofgulban – I'm having this same issue (also on 10.14.6 Mojave), and using the --matplotlib_backend
flag on the devel
branch has the same result.
As far as I know, matplotlib otherwise works fine on this machine.
@sitek thanks for the report. Can you try running segmentator with --matplotlib_backend Qt5Agg
?
Ah! once I installed PyQt5, --matplotlib_backend Qt5Agg
seems to work.
hello dear Faruk,
after lots of enjoyable work using your awesome segmentator, it now crashes my entire system when calling it. (and I see the login screen and my computer is completely restarted, all applications had been shot down) Have you come across this? It may have to do with a mac update? It happened using my old segmentator installation, and it also happens now that I downloaded and installed segmentator again. This is a part of the console log:
I can send you the complete log if more info is needed. Any idea?
Many many thanks for your awesome work! best katja