<div dir="ltr">Daniel, <div><br></div><div style>I pushed a fix to master. Can you try again? </div><div style><br></div><div style>- Aashish</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Sep 11, 2013 at 5:29 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Ok.. I replicated the issue. Let me push a fix soon. <div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 5:20 PM, Daniel K. O. <span dir="ltr"><<a href="mailto:dkosmari@gmail.com" target="_blank">dkosmari@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just tried with updated master, same thing happens:<br>
<div><br>
<br>
--8<----8<----8<----8<----8<--<br>
</div>[11/Sep/2013:17:18:05] Traceback (most recent call last):<br>
<div> File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line<br>
102, in run<br>
hook()<br>
File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line<br>
62, in __call__<br>
return self.callback(**self.kwargs)<br>
File "/usr/lib/python2.7/site-packages/cherrypy/_cptools.py", line<br>
176, in _wrapper<br>
if self.callable(**kwargs):<br>
File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line<br>
319, in staticdir<br>
handled = _attempt(filename, content_types)<br>
File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line<br>
246, in _attempt<br>
serve_file(filename, content_type=content_type, debug=debug)<br>
File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line<br>
47, in serve_file<br>
raise ValueError(msg)<br>
ValueError: 'geoweb.current_dir/web/' is not an absolute path.<br>
<br>
</div>[11/Sep/2013:17:18:05] HTTP Traceback (most recent call last):<br>
File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line<br>
653, in respond<br>
self.hooks.run('before_handler')<br>
File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line<br>
112, in run<br>
raise exc<br>
<div>ValueError: 'geoweb.current_dir/web/' is not an absolute path.<br>
-->8---->8---->8---->8---->8--<br>
<br>
<br>
</div>--<br>
Daniel K. O.<br>
<div><br>
<br>
On 09/11/2013 05:06 PM, Aashish Chaudhary wrote:<br>
> This is fixed in master. Try pulling in latest changes and do a clean<br>
> build.<br>
><br>
> You will be asked to setup VTK_DIR and VisTrails_DIR as we configure<br>
> runtime during build now.<br>
><br>
> Also use run.sh under depoy to run it.<br>
><br>
> - Aashish<br>
><br>
><br>
><br>
> On Wed, Sep 11, 2013 at 5:02 PM, Daniel K. O. <<a href="mailto:dkosmari@gmail.com" target="_blank">dkosmari@gmail.com</a><br>
</div><div>> <mailto:<a href="mailto:dkosmari@gmail.com" target="_blank">dkosmari@gmail.com</a>>> wrote:<br>
><br>
> Commit 5b923b15d054febad6f7aa192dcf83c8a56a40ed added quotes in<br>
</div>> cmake/<a href="http://server.conf.in" target="_blank">server.conf.in</a> <<a href="http://server.conf.in" target="_blank">http://server.conf.in</a>>:<br>
<div><div>><br>
> --8<----8<----8<----8<----8<--<br>
> [/]<br>
> -tools.staticdir.root: @STATICDIR_ROOT@<br>
> +tools.staticdir.root: '@STATICDIR_ROOT@'<br>
> -->8---->8---->8---->8---->8--<br>
><br>
><br>
><br>
> Now when I the server I get this printed out:<br>
> --8<----8<----8<----8<----8<--<br>
> 'geoweb.current_dir/web' is not an absolute path.<br>
> 'geoweb.current_dir/web' (root + dir) is not an existing filesystem<br>
> path.<br>
> section: [/ws]<br>
> root: 'geoweb.current_dir'<br>
> dir: 'web'<br>
> -->8---->8---->8---->8---->8--<br>
><br>
><br>
> And the error log says this while trying to load the main page:<br>
><br>
><br>
> --8<----8<----8<----8<----8<--<br>
> [11/Sep/2013:16:48:15] Traceback (most recent call last):<br>
> File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line<br>
> 102, in run<br>
> hook()<br>
> File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line<br>
> 62, in __call__<br>
> return self.callback(**self.kwargs)<br>
> File "/usr/lib/python2.7/site-packages/cherrypy/_cptools.py", line<br>
> 176, in _wrapper<br>
> if self.callable(**kwargs):<br>
> File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line<br>
> 319, in staticdir<br>
> handled = _attempt(filename, content_types)<br>
> File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line<br>
> 246, in _attempt<br>
> serve_file(filename, content_type=content_type, debug=debug)<br>
> File "/usr/lib/python2.7/site-packages/cherrypy/lib/static.py", line<br>
> 47, in serve_file<br>
> raise ValueError(msg)<br>
> ValueError: 'geoweb.current_dir/web/' is not an absolute path.<br>
> -->8---->8---->8---->8---->8--<br>
><br>
><br>
> Removing the quotes makes it work again without error. Does anyone know<br>
> what could be wrong?<br>
><br>
><br>
> --<br>
> Daniel K. O.<br>
><br>
><br>
> _______________________________________________<br>
> Opengeoscience-developers mailing list<br>
> <a href="mailto:Opengeoscience-developers@public.kitware.com" target="_blank">Opengeoscience-developers@public.kitware.com</a><br>
</div></div>> <mailto:<a href="mailto:Opengeoscience-developers@public.kitware.com" target="_blank">Opengeoscience-developers@public.kitware.com</a>><br>
<div>> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers</a><br>
><br>
><br>
><br>
><br>
> --<br>
> | Aashish Chaudhary<br>
> | R&D Engineer<br>
> | Kitware Inc.<br>
</div>> | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><br>
<br>
<br>
<br>
<br>_______________________________________________<br>
Opengeoscience-developers mailing list<br>
<a href="mailto:Opengeoscience-developers@public.kitware.com" target="_blank">Opengeoscience-developers@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com">www.kitware.com</a>
</div>