<div dir="ltr"><div><div><div><div>Hi Daniel,<br><br></div><div>   I have several thoughts after reading your email, though I'm not sure how helpful they may be.  First, the error you reported doesn't sound (to me) like the typical error you might see when you do not have your graphics environment configured properly.  I assume that even without a display you are setting up an X server and making sure to set the DISPLAY environment variable before running the script?  Even though you are not using EC2, some of the information at the link below could pertain to your situation:<br><br><a href="http://kitware.github.io/paraviewweb/docs/guides/graphics_on_ec2_g2.html">http://kitware.github.io/paraviewweb/docs/guides/graphics_on_ec2_g2.html</a><br><br></div><div>hopefully that gets you pointed in the right direction.<br><br></div><div>   Another thing to note: I don't believe that the pv_web_visualizer python script is included in ParaView anymore, though I don't recall exactly when that moved (it appears you are using version 5 or above).  Now the web side of ParaView has moved into various other github repositories:<br><br></div><div>Core Libraries: <a href="https://github.com/Kitware/paraviewweb">https://github.com/Kitware/paraviewweb</a><br></div><div>Web Visualizer Application: <a href="https://github.com/Kitware/visualizer">https://github.com/Kitware/visualizer</a><br><br>   These days you will find the equivalent of the pv_web_visualizer.py script in the above repo (located under "server/pvw-visualizer.py").<br><br></div><div>   However, if you do indeed have the python script in the location stated in your email, then I'm not sure what could be causing the apparent json error you mentioned.  Normally though, one might have provided some arguments to that python script in the use case it seems you are targeting, although perhaps you just left them out when composing your email.  For example, if you did not provide a "--content" argument, specifying the path to the static content you are serving, are you managing that another way?<br></div><br></div>   Feel free to post more information such as the complete command line you are invoking, how you are connecting from your browser (assuming you get that far), or perhaps more error output if there is any.<br><br></div>   Hope this helps.<br><br></div><div>Cheers,<br></div>Scott<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 6:17 AM, Daniel Zuidinga <span dir="ltr"><<a href="mailto:info@seoaachen.de" target="_blank">info@seoaachen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I try to get pvweb to run on my server without monitor (but intel graphics card). Seems not as easy as I thought. I run e.g. the visualizer:<br>
<br>
/root/salome_meca/V2016/prereq<wbr>uisites/Paraview-v501_EDF/bin/<wbr>pvpython /root/salome_meca/V2016/prereq<wbr>uisites/Paraview-v501_EDF/lib/<wbr>paraview-5.0/site-packages/<wbr>paraview/web/pv_web_visualizer<wbr>.py<br>
<br>
and I get the error:<br>
<br>
terminate called after throwing an instance of 'Json::LogicError'<br>
  what():  in Json::Value::find(key, end, found): requires objectValue or nullValue<br>
<br>
<br>
any ideas?<br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
</blockquote></div><br></div>