Closed ash09 closed 5 years ago
Are you on a notebook or console?
I use only console (bash).
Thanks. To confirm, I can replicate this issue also in notebook. This will get some priority (even though it does not effect working of Talos directly) as it silently effects other things. Good catch.
This had to do with the way the backends were loaded for matplotlib. It is now fixed from v.0.6 onwards. Closing here.
Hi everybody,
before I create a new issue I want to ask if this is the same issue as mine: My code runs fine under Kubuntu 18.04. I want to run the same code and model on a raspberry pi and I'm connected via SSH. On Raspi I get an error as soon "import talos as ta" is called:
`Unable to init server: Could not connect: Connection refused Unable to init server: Verbindung ist gescheitert:Connection refused
(predictor.py:18596): Gdk-CRITICAL **: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
Traceback (most recent call last):
File "/home/pi/git/repo/predictor.py", line 2, in
Seems this is a problem like this: https://stackoverflow.com/questions/31328436/typeerror-constructor-returned-null-while-importing-pyplot-in-ssh
Is talos build to run on servers or only on PC's with an UI? Is this the same problem, or should I create a new Issue?
@freezly this is not the same issue, can you create new ticket and we shall handle it there.
Thanks for fast response. I'll create a new issue.
Python version: 3.6.8 OS: Archlinux
plt.show() stops working as soon as talos is imported. This also impacts code that does not use talos at all. To demonstrate, I took an example from matplotlib documentation and only added
import talos
:The figure is saved in a file but not shown. The program exits normally and there's no output.
Any help would be appreciated.