[Cubicweb] error while configuring cube

Nicolas Chauvat nicolas.chauvat at logilab.fr
Mon Jul 13 15:06:37 CEST 2009


On Sun, Jul 12, 2009 at 12:17:33AM +0530, Dhaval Sharma wrote:
> Why would I get the below error?
> ERROR:cubicweb.configuration:while loading cube rosecube
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.6/dist-packages/cubicweb/cwconfig.py", line
> 394, in load_cwctl_plugins
>     __import__('cubes.%s' % cube)
> ImportError: No module named cubes.rosecube

You get that error because the cubes directory in not in the path of
the python interpreter that's running cubicweb, but you do not provide
enough information for us to help you out.

Are you running things from a system-wide install with 'apt-get
install' or from a development install with 'hg fclone' ?

What does the 'env' command print out if you type it in the same shell?

Did you try the following ?

$ python
>>> from cubes import rosecube

Did you read that section of the manual ?

Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  

More information about the Cubicweb mailing list