[Cubicweb] Troubles with cubicweb-ctl

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Feb 18 07:45:14 CET 2010


On 18 février 02:21, Hubert Bielenia wrote:
> > You should not see this error on a proper environment. I suspect the
> > usage of local installation being responsible, unless you've defined
> > a custom CW_CUBES_PATH which contains an unexistant directory. To fix
> > this:
> >
> > * export CW_MODE=user
> > * mkdir /home/hb/cubicweb/lib/python2.6/site-packages/cubes
> > * touch /home/hb/cubicweb/lib/python2.6/site-packages/cubes/__init__.py
> > * eventually, export CW_CUBES_PATH=an_existant_directory_with_your_own_cubes
> >
> Thanks for your help. On the other hand: though my python skills are
> rather limited, I think I could produce a script that would streamline
> and simplify environment setup, much like the one used by Pylons folks
> (another python web framework I recently played with). The catch is,
> it relies on standard egg-based module install system, which would
> require fixing cw's dependencies. Would you accept patches, or you'd
> rather not rely on distutils more than now?

patches are welcome, but I'm afraid cw is not 'egg ready'. But enhancing
support for bare distutils installation in user home is something we 
definitly want.

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org




More information about the Cubicweb mailing list