[Cubicweb] cubic-ctl start -D is giving error

Dhaval Sharma dhavalsharma at gmail.com
Sat Jul 18 20:33:52 CEST 2009


When I start an instance I get following error.
cucbicweb-ctl start -D myrose

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
694, in run
    runApp(config)
  File "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line
23, in runApp
    _SomeApplicationRunner(config).run()
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
411, in run
    self.application = self.createOrGetApplication()
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
494, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
505, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/usr/lib/python2.5/site-packages/twisted/application/service.py",
line 390, in loadApplication
    application = sob.loadValueFromFile(filename, 'application', passphrase)
  File "/usr/lib/python2.5/site-packages/twisted/persisted/sob.py", line
215, in loadValueFromFile
    exec fileObj in d, d
  File "/home/dhaval/etc/cubicweb.d/myrose/myrose-all-in-one.py", line 3, in
<module>
    application = server.main('myrose', 'all-in-one')
  File "/home/dhaval/sample/cubicweb/cubicweb/cubicweb/etwist/server.py",
line 286, in main
    cubicweb = CubicWebRootResource(config, debug=True)
  File "/home/dhaval/sample/cubicweb/cubicweb/cubicweb/etwist/server.py",
line 86, in __init__
    self.appli = CubicWebPublisher(config, debug=debug)
  File "/home/dhaval/sample/cubicweb/cubicweb/cubicweb/web/application.py",
line 226, in __init__
    self.repo = config.repository(vreg)
  File "/home/dhaval/sample/cubicweb/cubicweb/cubicweb/web/webconfig.py",
line 224, in repository
    repo = get_repository('inmemory', vreg=vreg, config=self)
  File "/home/dhaval/sample/cubicweb/cubicweb/cubicweb/dbapi.py", line 45,
in get_repository
    return Repository(config, vreg=vreg)
  File
"/home/dhaval/sample/cubicweb/cubicweb/cubicweb/server/repository.py", line
184, in __init__
    self.fill_schema()
  File
"/home/dhaval/sample/cubicweb/cubicweb/cubicweb/server/repository.py", line
287, in fill_schema
    self.config.init_cubes(self.get_cubes())
  File
"/home/dhaval/sample/cubicweb/cubicweb/cubicweb/server/repository.py", line
458, in get_cubes
    versions = self.get_versions(not self.config.creating)
  File "/home/dhaval/sample/cubicweb/cubicweb/logilab/common/decorators.py",
line 65, in cache_wrapper3
    _cache[args] = callableobj(self, *args)
  File
"/home/dhaval/sample/cubicweb/cubicweb/cubicweb/server/repository.py", line
475, in get_versions
    'P pkey ~="system.version.%"', build_descr=False):
  File "/home/dhaval/sample/cubicweb/cubicweb/cubicweb/server/session.py",
line 260, in execute
    rset = self._execute(self, rql, kwargs, eid_key, build_descr)
  File "/home/dhaval/sample/cubicweb/cubicweb/cubicweb/server/querier.py",
line 618, in execute
    rqlst = self.parse(rql)
  File "/home/dhaval/sample/cubicweb/cubicweb/cubicweb/server/querier.py",
line 547, in parse
    return self._rqlhelper.parse(unicode(rql), annotate=annotate)
  File "/home/dhaval/sample/cubicweb/cubicweb/rql/__init__.py", line 78, in
parse
    self._checker.check(rqlst)
  File "/home/dhaval/sample/cubicweb/cubicweb/rql/stcheck.py", line 51, in
check
    raise BadRQLQuery('%s\n** %s' % (node, '\n** '.join(errors)))
rql._exceptions.BadRQLQuery: Any K,V WHERE P is CWProperty, P value V, P
pkey K, P pkey ILIKE "system.version.%"
** unknown entity type CWProperty
** unknown relation `value`
** unknown relation `pkey`
** unknown relation `pkey`

Failed to load application: Any K,V WHERE P is CWProperty, P value V, P pkey
K, P pkey ILIKE "system.version.%"
** unknown entity type CWProperty
** unknown relation `value`
** unknown relation `pkey`
** unknown relation `pkey`


-- 
With Warm Regards,
Dhaval
http://dsteps.blogspot.com
http://www.linkedin.com/in/dhavalsharma
http://carpoolkaro.appspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20090719/34fbcdd9/attachment-0047.html>


More information about the Cubicweb mailing list