Re: [Yade-users] [Question #216157]: Ubuntu 12.10

2013-03-19 Thread Anton Gladky
Question #216157 on Yade changed:
https://answers.launchpad.net/yade/+question/216157

Anton Gladky proposed the following answer:
Ok, please, commit.

Anton

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #216157]: Ubuntu 12.10

2013-03-19 Thread Kneib François
Question #216157 on Yade changed:
https://answers.launchpad.net/yade/+question/216157

Kneib François proposed the following answer:
Ok I just found a workaround to compile and launch Yade (trunk) on 12.10.
-> download and compile Yade normally via git/cmake
-> edit the yade "binary" file (the one you launch) and edit the first 
importation line (L 5) to add "_io" :
from "import sys,os,os.path,time" to "import sys,os,os.path,time,_io"
Then it should works.

NB : Anton, if you agree with this workaround we could intregrate it
directly into the sources.

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #216157]: Ubuntu 12.10

2013-03-05 Thread Kneib François
Question #216157 on Yade changed:
https://answers.launchpad.net/yade/+question/216157

Kneib François posted a new comment:
Hi Anton,

I've got the same error, only on 12.10. Here is the complete error
message :

franz@XPS15z:~/yade/bins/bin$ ./yade
Welcome to Yade 2013-03-04.git-d574863
Traceback (most recent call last):
  File "./yade", line 101, in 
import yade
  File "/home/franz/yade/bins/lib/yade/py/yade/__init__.py", line 67, in 

import system
  File "/home/franz/yade/bins/lib/yade/py/yade/system.py", line 10, in 
from yade import runtime
  File "/home/franz/yade/bins/lib/yade/py/yade/runtime.py", line 8, in 
import IPython
  File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line 46, in 

from .frontend.terminal.embed import embed
  File "/usr/lib/python2.7/dist-packages/IPython/frontend/terminal/embed.py", 
line 38, in 
from IPython.core.magic import Magics, magics_class, line_magic
  File "/usr/lib/python2.7/dist-packages/IPython/core/magic.py", line 26, in 

from IPython.core import oinspect
  File "/usr/lib/python2.7/dist-packages/IPython/core/oinspect.py", line 33, in 

from IPython.core import page
  File "/usr/lib/python2.7/dist-packages/IPython/core/page.py", line 34, in 

from io import UnsupportedOperation
  File "/usr/lib/python2.7/io.py", line 51, in 
import _io
TypeError: type '_io._IOBase' participates in gc and is a base type but has 
inappropriate tp_free slot
Erreur de segmentation (core dumped)

I tried the packaged version and this one works well.

Cheers,

François

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #216157]: Ubuntu 12.10

2012-12-06 Thread Anton Gladky
Question #216157 on Yade changed:
https://answers.launchpad.net/yade/+question/216157

Status: Open => Answered

Anton Gladky proposed the following answer:
Hi,

please, try to install Yade from packages and tell us, whether it works:

https://answers.launchpad.net/yade/+faq/1727
https://answers.launchpad.net/yade/+faq/1789

Cheers,

Anton

-- 
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 : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp