Comment 41 for bug 1620300

Revision history for this message
a! (a-guenther) wrote :

I run Kubuntu 16.10 with Spyder 3.0.2, and got back Spyder running after this fix here.

But one of my scripts crashes which was running under Kubuntu 16.04, I think it is due to the missing dependencies mentioned above (e.g. #35) when calling a matplotlib-function:

When doing "fig, ax = plt.subplots(figsize=(8, 6))"
I get:

QObject::connect: Cannot connect NavigationToolbar2QT::message(QString) to (null)::_show_message()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/spyder/utils/site/sitecustomize.py", line 866, in runfile
    execfile(filename, namespace)
  File "/usr/lib/python3/dist-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)
  File "/usr/lib/python3/dist-packages/spyder/utils/site/sitecustomize.py", line 594, in <module>
    @monkeypatch_method(pdb.Pdb, 'Pdb')
  File "/usr/lib/python3/dist-packages/spyder/utils/site/sitecustomize.py", line 589, in decorator
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3/dist-packages/spyder/widgets/externalshell/monitor.py", line 506, in run
    already_pickled=True)
  File "/usr/lib/python3/dist-packages/spyder/utils/bsdsocket.py", line 51, in write_packet
    nsend -= temp_fail_retry(socket.error, sock.send, sent_data)
  File "/usr/lib/python3/dist-packages/spyder/utils/bsdsocket.py", line 31, in temp_fail_retry
    return fun(*args)
BrokenPipeError: [Errno 32] Broken pipe

Could you confirm this is indeed related to the missing dependencies, and if yes, any idea how to fix it?