[Cubicweb] Unable to install cw 3.14.7 on Ubuntiu11.10 (oneric)

John Major john.major at locusdev.net
Fri Jul 20 20:26:06 CEST 2012


I've started from a fresh Ubuntu 11.10 VM.  Cubicweb is still not
installing.  Here are the commands I'm running:

->hg clone -u stable http://hg.logilab.org/cubicweb
->python cubicweb/bin/clone_deps.py
-> export PYTHONPATH=/home/jmajor/development/cubic/test1
->sudo apt-get install mysql-server
->sudo emacs /etc/mysql/my.cnf (and added the lines to the file as directed
in the docs)
   max_allowed_packet = 128M
->python cubicweb/bin/cubicweb-ctl create blog myblog
(FAILS with missing lxml package)
->sudo apt-get install python-lxml
->python cubicweb/bin/cubicweb-ctl create blog myblog
(FAILS with cubicweb errors.. missing yapps.runtime )
->Install yapps:
->Install other pacakges not in the mercurial depot:
  152  sudo apt-get install python pygraphviz
  153  sudo apt-get install python-pygraphviz
  154  sudo apt-get install python-simplejson
  155  sudo apt-get install python-docutils
  156  sudo apt-get install python-twisted
  157  sudo apt-get install logilab-common
->python cubicweb/bin/cubicweb-ctl create blog myblog
(FAILS... no module named passlib.utils)
!! I don't see any reference to this package in the required dependencies
->install passlib:
->python cubicweb/bin/cubicweb-ctl create blog myblog

Thanks... It looks like there is a combination of my having some old
packages installed and the docs being a bit out of date.

~If installing from mercurial is the most stable/desired route... This
option should be presented first.
~Add passlib to the list of required packages.

Thanks for your help!


On Thu, Jul 19, 2012 at 11:06 PM, Adrien Di Mascio <
adrien.dimascio at logilab.fr> wrote:

> Hi,
> On 20/07/2012 02:01, John Major wrote:
>> "/usr/local/lib/python2.7/**dist-packages/cubicweb-3.14.2-**
>> py2.7.egg/cubicweb/schema.py",
>> line 1247, in <module>
>>      RichString = class_moved(RichString)
>>    File
>> "/home/jmajor/development/**cubic/test2/logilab/common/**deprecation.py",
>> line 72, in class_moved
>>      return class_renamed(old_name, new_class, message)
>>    File
>> "/home/jmajor/development/**cubic/test2/logilab/common/**deprecation.py",
>> line 54, in class_renamed
>>      class DeprecatedClass(new_class):
>> TypeError: Error when calling the metaclass bases
>>      function() argument 1 must be code, not str
> You seem to use incompatible versions of ``yams`` and ``cubicweb``. I've
> just tested the clone_deps version, i.e :
>   hg clone -u stable http://hg.logilab.org/cubicweb
>   python cubicweb/bin/clone_deps.py
> and then created a blog instance with no problem. I suspect you made a
> subsequent ``hg up`` in the `cubicweb`` repository. Maybe did you try the
> ``hg update cubicweb-version-3.12.2`` described in the documentation ? It's
> only an example, the 3.12 version being a somewhat old version of cubicweb.
> You should update your repository to the last version :
>   hg up cubicweb-version-3.15.1
> It should solve your problem.
> --
> Adrien Di Mascio - LOGILAB, Paris (France).
> Tél:
> Formations - http://www.logilab.fr/**formations<http://www.logilab.fr/formations>
> Développements - http://www.logilab.fr/services
> Gestion de connaissances - http://www.cubicweb.org/
> ______________________________**_________________
> Cubicweb mailing list
> Cubicweb at lists.cubicweb.org
> http://lists.cubicweb.org/**mailman/listinfo/cubicweb<http://lists.cubicweb.org/mailman/listinfo/cubicweb>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20120720/fa7ba24f/attachment-0186.html>

More information about the Cubicweb mailing list