[Opengeoscience-developers] Broken server.conf?
Daniel K. O.
dkosmari at gmail.com
Wed Sep 11 17:02:29 EDT 2013
Commit 5b923b15d054febad6f7aa192dcf83c8a56a40ed added quotes in
cmake/server.conf.in:
--8<----8<----8<----8<----8<--
[/]
-tools.staticdir.root: @STATICDIR_ROOT@
+tools.staticdir.root: '@STATICDIR_ROOT@'
-->8---->8---->8---->8---->8--
Now when I the server I get this printed out:
--8<----8<----8<----8<----8<--
'geoweb.current_dir/web' is not an absolute path.
'geoweb.current_dir/web' (root + dir) is not an existing filesystem path.
section: [/ws]
root: 'geoweb.current_dir'
dir: 'web'
-->8---->8---->8---->8---->8--
And the error log says this while trying to load the main page:
--8<----8<----8<----8<----8<--
[11/Sep/2013:16:48:15] Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line
102, in run
hook()
File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line
62, in __call__
return self.callback(**self.kwargs)
File "/usr/lib/python2.7/site-packages/cherrypy/_cptools.py", line
176, in _wrapper
if self.callable(**kwargs):
File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line
319, in staticdir
handled = _attempt(filename, content_types)
File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line
246, in _attempt
serve_file(filename, content_type=content_type, debug=debug)
File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line
47, in serve_file
raise ValueError(msg)
ValueError: 'geoweb.current_dir/web/' is not an absolute path.
-->8---->8---->8---->8---->8--
Removing the quotes makes it work again without error. Does anyone know
what could be wrong?
--
Daniel K. O.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130911/77fe311f/attachment.sig>
More information about the Opengeoscience-developers
mailing list