start-script picks wrong yade libraries in ubuntu 14.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Fix Released
|
Critical
|
Unassigned |
Bug Description
If yade is compiled on 14.04 where yade stable is also installed, yade-mine executable will import the stable libraries present in /usr/lib/python2.7.
It makes it impossible to use compiled version (maybe also problems to expect if different binary packages are installed).
bchareyre@ubuntu:~$ yade/bin/yade-trunk
Welcome to Yade 2013-11-
TCP python prompt on localhost:9000, auth cookie `cessad'
XMLRPC info provider on http://
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for showing help), F10 both, F9 generator, F8 plot. ]]
Yade [1]: yade.config.
-> [1]: '0.97.0'
Yade [2]: sys.modules['yade']
-> [2]: <module 'yade' from '/usr/lib/
Changed in yade: | |
importance: | Undecided → Critical |
Took me a while to figure out the problem. The reason is the split of yade package into different subpackages I think. Not sure about best solution.
Should it be fixed on the packaging side or code side?