Cannot launch Yade

Asked by Tao

Hi all,
I just updated Yade in my computer, but it doesn't work now. The error message is bellow:

Traceback (most recent call last):
  File "/home/tao/yade/YADEb2/bin/yade-b2", line 261, in <module>
    userSession(qt4=True,qapp=qapp)
  File "/home/tao/yade/YADEb2/bin/yade-b2", line 209, in userSession
    if yade.runtime.ipython_version==10:
AttributeError: 'module' object has no attribute 'ipython_version'
pure virtual method called
terminate called without an active exception
Aborted

Does anybody know how to fix it?

Thanks!

Tao

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Tao
Solved:
Last query:
Last reply:
Revision history for this message
Anton Gladky (gladky-anton) said :
#1

Hi,

what operating system do you use?
Do you have ipython installed?

Anton

On Sun, Apr 10, 2011 at 12:50 PM, Tao
<email address hidden> wrote:
> New question #152310 on Yade:
> https://answers.launchpad.net/yade/+question/152310
>
> Hi all,
> I just updated Yade in my computer, but it doesn't work now. The error message is bellow:
>
> Traceback (most recent call last):
>  File "/home/tao/yade/YADEb2/bin/yade-b2", line 261, in <module>
>    userSession(qt4=True,qapp=qapp)
>  File "/home/tao/yade/YADEb2/bin/yade-b2", line 209, in userSession
>    if yade.runtime.ipython_version==10:
> AttributeError: 'module' object has no attribute 'ipython_version'
> pure virtual method called
> terminate called without an active exception
> Aborted
>
> Does anybody know how to fix it?
>
> Thanks!
>
> Tao
>
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

Revision history for this message
Tao (aaronztao) said :
#2

Hi Anton,
I use Ubuntu 9.0 and I have ipython installed in my computer.
I just re-installed Yade again with the new version bzr2811. It works now. I think my previous problem is just about the Yade updating.

Thanks.

Tao

Revision history for this message
Yade Guide (yade-guide) said :
#3

Hello! As a helpful bot, I've compiled relevant threads and condensed their content for your convenience. Feel free to explore further by clicking on the provided links.

Title: "Problem while launching YADE"
Benoit had issues launching Yade after successful compilation, received assistance from Jerome and Anton, and resolved the problem by setting DINSTALL_PREFIX=/home/benoit/YADE/install or DINSTALL_PREFIX=$HOME/YADE/install. Starting from rev 6d9fdab6, it no longer matters whether to use a relative or absolute path.
https://answers.launchpad.net/yade/+question/204120

Title: "From yade import qt; ImportError: No module named qt"
The user's CMake encountered an issue due to missing GLUT library which was resolved by installing freeglut, as explained by Jan Stránský.
https://answers.launchpad.net/yade/+question/260386

Title: "how to run examples from a terminal"
The user faced issues running Yade examples on Ubuntu 2.6.32-34 after installing Yade 0.60.3 and Python 2.6.5, including an error with 'mill.py'. Christian suggested solutions which didn't work, but modifying the scons-profile file in the YADE folder with 'features=qt4' allowed successful running of examples. However, when trying to run funnel.py, a NameError occurred due to undefined 'VTKRecorder'. The user was advised to recompile with 'vtk' and successfully resolved the issue.
https://answers.launchpad.net/yade/+question/175073