Problems of plot.plot() on Ubuntu16.1

Asked by Henry

I have complied the Yade on Ubuntu16.1 successfully. However, there are some problems when using plot.plot().
Anyone can help me?
Thanks a lot!
Henry

Errors as follows:

QObject::connect: Cannot connect NavigationToolbar2QT::message(QString) to (null)::_show_message()
Traceback (most recent call last):
  File "/usr/local/bin/yade", line 182, in runScript
    execfile(script,globals())
  File "uniax.py", line 173, in <module>
    plot.plot(subPlots=False)
  File "/usr/local/lib/x86_64-linux-gnu/yade-2017-01-04.git-8801250/py/yade/plot.py", line 592, in plot
    createPlots(subPlots=subPlots)
  File "/usr/local/lib/x86_64-linux-gnu/yade-2017-01-04.git-8801250/py/yade/plot.py", line 380, in createPlots
    if not subPlots: pylab.figure()
  File "/usr/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 527, in figure
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5agg.py", line 43, in new_figure_manager
    return new_figure_manager_given_figure(num, thisFig)
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5agg.py", line 51, in new_figure_manager_given_figure
    return FigureManagerQT(canvas, num)
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_qt5.py", line 465, in __init__
    self.toolbar.message.connect(self._show_message)
TypeError: connect() failed between NavigationToolbar2QT.message[str] and _show_message()

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hi Henry,
what version of Yade dod you compile? Would it be possible to send output
of cmake and make commands (@Anton, something else?)?
cheers
Jan

Can you help with this problem?

Provide an answer of your own, or ask Henry for more information if necessary.

To post a message you must log in.