Problem about Yade1.0

Asked by Henry

Hi,all
   I have compiled the Yade1.0 on my Ubuntu13.04. However, something is wrong when I run the file.

Welcome to Yade 2013-10-15.git-065f25f5
TCP python prompt on localhost:9001, auth cookie `eysaku'
XMLRPC info provider on http://localhost:21001
Running script periodic-grow.py
Traceback (most recent call last):
  File "/usr/local/bin/yade", line 174, in runScript
    execfile(script,globals())
  File "periodic-grow.py", line 25, in <module>
    from yade import qt
ImportError: cannot import name qt
[[ ^L clears screen, ^U kills line. F8 plot. ]]

Yade [1]:

Maybe something is wrong on the qt gui.
And there is no control fo F11 and F12
Thanks a lot
Henry

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Henry
Solved:
Last query:
Last reply:
Revision history for this message
Jérôme Duriez (jduriez) said :
#1

Hello,

Since F11 and F12 are equivalent to something like yade.qt.Controller() and yade.qt.View(), I think these issues are completely related.
First basic remark : did you compile with ENABLE_GUI option ?

Revision history for this message
Henry (wenjiexu) said :
#2

Yes, I have compiled with ENABLE_GUI option.
Thanks

Revision history for this message
Hien Nguyen (giahien) said :
#3

@Henry:
Do you still keep the log file of your cmake process? Missing python-gts and libgts-dev maybe cause this problem IMO.

Revision history for this message
Henry (wenjiexu) said :
#4

Thanks a lot.

The problem was cause for the missing libQGLViewer.

Thanks