1. Ian Bicking
  2. silverlining
  3. Issues
Issue #27 new

Cannot resolve relative uri

Nate Aune
created an issue

When I try to serve up the app using silver serve, the following error occurs:

{{{

$ silver serve . Traceback (most recent call last): File "/home/nate/silver/src/silverlining/silverlining/devel-runner.py", line 146, in app self._app, self.writable_root = get_app(self.base_path) File "/home/nate/silver/src/silverlining/silverlining/devel-runner.py", line 91, in get_app found_app = app_config.get_app_from_runner() File "/home/nate/silver/src/silverlining/silversupport/appconfig.py", line 326, in get_app_from_runner global_conf=global_conf) File "/home/nate/simple-wsgi-zope/lib/python/../../eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py", line 203, in loadapp return loadobj(APP, uri, name=name, **kw) File "/home/nate/simple-wsgi-zope/lib/python/../../eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py", line 223, in loadobj global_conf=global_conf) File "/home/nate/simple-wsgi-zope/lib/python/../../eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py", line 247, in loadcontext global_conf=global_conf) File "/home/nate/simple-wsgi-zope/lib/python/../../eggs/PasteDeploy-1.3.4-py2.6.egg/paste/deploy/loadwsgi.py", line 258, in _loadconfig "argument given" % uri) ValueError: Cannot resolve relative uri 'config:./zope2.ini'; no relative_to keyword argument given

serving on http://127.0.0.1:8080 }}}

Do I need to specify a relative path somewhere, so that silver can find the zope2.ini file?

Comments (1)

  1. Log in to comment