[Opengeoscience-developers] Broken server.conf?

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Sep 11 17:06:39 EDT 2013


This is fixed in master. Try pulling in latest changes and do a clean
build.

You will be asked to setup VTK_DIR and VisTrails_DIR as we configure
runtime during build now.

Also use run.sh under depoy to run it.

- Aashish



On Wed, Sep 11, 2013 at 5:02 PM, Daniel K. O. <dkosmari at gmail.com> wrote:

> 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.
>
>
> _______________________________________________
> Opengeoscience-developers mailing list
> Opengeoscience-developers at public.kitware.com
>
> http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130911/9c122f4d/attachment.html>


More information about the Opengeoscience-developers mailing list