[Cubicweb] Unable to install cw 3.14.7 on Ubuntiu11.10 (oneric)
john.major at locusdev.net
Fri Jul 20 02:01:54 CEST 2012
I installed from stable mercurial distro, and ran 'python
I then added the cubicweb install path to my PYTHONPATH
->export CW_MODE=user (and created the correct ~/etc/cubicweb.d )
When I try to run:
-> python cubicweb/bin/cubicweb-ctl create blog myblog
The following error is thrown:
python cubicweb/bin/cubicweb-ctl create blog myblog
Traceback (most recent call last):
File "cubicweb/bin/cubicweb-ctl", line 4, in <module>
line 999, in run
line 642, in load_cwctl_plugins
line 197, in load_module_from_file
return load_module_from_modpath(modpath, path, use_sys)
line 163, in load_module_from_modpath
module = load_module(curname, mp_file, mp_filename, mp_desc)
line 41, in <module>
from cubicweb import CW_SOFTWARE_ROOT, schema, cwconfig
line 1247, in <module>
RichString = class_moved(RichString)
72, in class_moved
return class_renamed(old_name, new_class, message)
54, in class_renamed
TypeError: Error when calling the metaclass bases
function() argument 1 must be code, not str
Any ideas what is up here?
On Thu, Jul 19, 2012 at 4:28 PM, John Major <john.major at locusdev.net> wrote:
> Thanks for the prompt reply Nicholas! Answers are inline below:
> On Thu, Jul 19, 2012 at 1:20 PM, Nicolas Chauvat <
> nicolas.chauvat at logilab.fr> wrote:
>> On Thu, Jul 19, 2012 at 11:10:23AM -0700, John Major wrote:
>> > The blocking issue seems to be that for Ubuntu 11+ there is no
>> > library available.
>> > There is a libgecode27 library, which I did install.
>> If there is a mistake in the dependencies (depends on libgecode19 when
>> only libgecode27 is available), installing it by hand will not change
>> the broken package that will still refuse to be installed.
>> > E: Unable to correct problems, you have held broken packages.
>> See ?
>> > I also attempted to install via pip. This fails b/c some URLs
>> > to be fetched are not longer valid.
>> Unfortunately, I am not surprised.
>> > I also tried to install from source *tgz and mercurial. Both of these
>> > attempts also failed. It appears the problems here are :
>> > 1. libgecode9 is not avaialable
>> Who asks for it ?
> The instruction for installing from mercurial & source request that all
> dependencies are installed (
> http://docs.cubicweb.org/annexes/depends.html#installdependencies ) which
> inclue RQL. Attempting to install rql gives this error:
> The following packages have unmet dependencies:
> python-rql : Depends: python (< 2.7) but 2.7.2-7ubuntu2 is to be installed
> Depends: libgecode19 (>= 3.2.1) but it is not installable
> E: Unable to correct problems, you have held broken packages.
>> > 2. the library 'RQL' will not install b/c it requires python < 2.7
>> > and libgecode9.
>> It should work with python 2.7. Do you have it installed ? What is the
>> exact message/traceback you get ?
>> > Has anyone successfully installed on ubuntu 11.10 ?
>> http://docs.cubicweb.org/admin/setup.html#mercurialinstallation should
>> always work. Did you get the above error when running
>> `python cubicweb/bin/clone_deps.py` as documented ?
> When I run this command, I get what appears to be successful completion
> (links to docs for further setup). This looks promising!
>> Nicolas Chauvat
>> logilab.fr - services en informatique scientifique et gestion de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cubicweb