cubicweb #761484 ImportError on karmic install [deprecated]
# cubicweb-ctl status Traceback (most recent call last): File "/usr/bin/cubicweb-ctl", line 2, in <module> from cubicweb.cwctl import run ImportError: No module named cubicweb.cwctl ii cubicweb 3.7.0-1 the complete CubicWeb framework | |
priority | important |
---|---|
type | bug |
done in | <not specified> |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |
similar entities
- cubicweb #2329133 TypeError: add_eid_restriction() takes exactly 3 arguments (4 given)
- cubicweb #1875310 cubicweb upgrade fails on natty
- cubicweb #1808195 ImportError: No module named cubicweb.cwctl under Natty
- cubicweb #345470 compiled .mo files should be under /var, not /etc
- cubicweb #2632425 [doc] instances not restarted during Ubuntu package upgrades
[see all]
Comments
-
2010/03/26 07:50, written by sthenault
-
2010/03/31 13:22, written by alutz
-
2010/04/21 09:06, written by alutz
-
2010/06/08 10:29, written by alutz
-
2010/06/27 21:12, written by zerion
-
2010/07/08 13:02, written by alutz
-
2010/07/07 14:08, written by anon
-
2010/07/07 14:32, written by acampeas
add commentarthur, would you have deeper diagnostic of what's going on?
Is it not a question of distribution with pyshared, python-suport and pycentral ? I don't quite know which one is used, or if this is still an issue but maybe there is missing a symbolic link somewhere.
Here is the default paths
cubicweb-ctl (3.8.0-1) installed and I still have the problem.
cubicweb 3.8.3-1 installed... this still does not work...
may I propose a solution ?
ln -s /usr/share/pyshared/cubicweb /usr/lib/python2.6/cubicweb
and it works nice
thanks zerion, that works, hopefully in 3.8.7 we won't need a hack like the one you describe.
We should test if cubicweb is python2.6 compliant which is the default version in karmic. If yes, we have to change Python-Version: >= 2.5, << 2.6 to Python-Version: >= 2.5, <= 2.6
cw _is_ 2.6 compliant