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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1620300

Title:
  [SRU] Spyder won't start (ImportError: No module named QtWebKit)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spyder/+bug/1620300/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to