[Cubicweb] Problem with Orbui on Ubuntu 10.04

Yann Cointepas yann at cointepas.net
Thu Dec 6 11:58:40 CET 2012


Hi,

How to install Orbui on Ubuntu 10.04 ? I have an import error when I try to
create an instance using Orbui.

I am working on Ubuntu 10.04 (not my choice). I installed CubicWeb from
Logilab's packages. I downloaded Orbui from
orbui.com(crealibre-orbui-1b99543f9986.tar.gz) and put the content of
the archive in
my cubes directory. When I want to create a cube depending on Orbui, I have
the following error:

Initializing the system database
--------------------------------
-> creating tables  [....................]
-> inserting default user and default groups.
Traceback (most recent call last):
  File "/usr/bin/cubicweb-ctl", line 4, in <module>
    run(sys.argv[1:])
  File "/usr/lib/python2.6/dist-packages/cubicweb/cwctl.py", line 1001, in
run
    CWCTL.run(args)
  File "/usr/lib/pymodules/python2.6/logilab/common/clcommands.py", line
134, in run
    sys.exit(command.main_run(args, rcfile))
  File "/usr/lib/pymodules/python2.6/logilab/common/clcommands.py", line
263, in main_run
    self.run(args)
  File "/usr/lib/python2.6/dist-packages/cubicweb/cwctl.py", line 416, in
run
    helper.postcreate(self.config.automatic)
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/serverctl.py",
line 196, in postcreate
    CWCTL.run(['db-create', '--automatic', self.config.appid])
  File "/usr/lib/pymodules/python2.6/logilab/common/clcommands.py", line
134, in run
    sys.exit(command.main_run(args, rcfile))
  File "/usr/lib/pymodules/python2.6/logilab/common/clcommands.py", line
263, in main_run
    self.run(args)
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/serverctl.py",
line 392, in run
    config.appid])
  File "/usr/lib/pymodules/python2.6/logilab/common/clcommands.py", line
134, in run
    sys.exit(command.main_run(args, rcfile))
  File "/usr/lib/pymodules/python2.6/logilab/common/clcommands.py", line
263, in main_run
    self.run(args)
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/serverctl.py",
line 454, in run
    init_repository(config, drop=self.config.drop)
  File "/usr/lib/python2.6/dist-packages/cubicweb/server/__init__.py", line
209, in init_repository
    repo.vreg.set_schema(repo.schema)
  File "/usr/lib/python2.6/dist-packages/cubicweb/cwvreg.py", line 548, in
set_schema
    self.reload(self.config.vregistry_path(), force_reload=False)
  File "/usr/lib/python2.6/dist-packages/cubicweb/cwvreg.py", line 576, in
reload
    self.register_objects(path)
  File "/usr/lib/python2.6/dist-packages/cubicweb/cwvreg.py", line 634, in
register_objects
    path, self.config.extrapath)
  File "/usr/lib/python2.6/dist-packages/cubicweb/vregistry.py", line 378,
in register_objects
    self.load_file(filepath, modname)
  File "/usr/lib/python2.6/dist-packages/cubicweb/vregistry.py", line 433,
in load_file
    module = load_module_from_name(modname)
  File "/usr/lib/pymodules/python2.6/logilab/common/modutils.py", line 116,
in load_module_from_name
    return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
  File "/usr/lib/pymodules/python2.6/logilab/common/modutils.py", line 156,
in load_module_from_modpath
    module = load_module(curname, mp_file, mp_filename, mp_desc)
  File "/home/yc176684/cubicweb/cubes/orbui/views/debug.py", line 16, in
<module>
    from cubicweb.predicates import none_rset, match_user_groups
ImportError: No module named predicates

Best regards,

      Yann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20121206/b8021514/attachment-0164.html>


More information about the Cubicweb mailing list