<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" dir="auto">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">So I downloaded the nightly build and installed it. I relinked the www directory as modules/pvw/public/import and got nothing. I replaced this directory with the tar file that Zach
sent me yesterday. I know try to get a paraview visualization but get a timeout waiting to bind to port 9000 again. Looking at dev.log I see the following error and warning:<br>
<br>
2013-11-07 12:12:15 CRIT (2): Fatal Error: Array<br>
(<br>
[type] => 1<br>
[message] => AppController::isDynamicHelp(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "UserDao" of the object you are trying to operate on was loaded _before_ unserialize()
gets called or provide a __autoload() function to load the class definition <br>
[file] => /usr/local/src/Midas3/core/AppController.php<br>
[line] => 424<br>
[typeText] => E_ERROR<br>
)<br>
<br>
<br>
URL: http://155.100.62.165/midas/modules/pvw/public/import/lib/js/vtkweb-all.min.js<br>
<br>
Server IP: 155.100.62.165<br>
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36<br>
Server time: 2013-11-07 12:12:15<br>
Referer: http://155.100.62.165/midas/pvw/paraview/volume?itemId=1<br>
Parameters (post): Array<br>
(<br>
)<br>
<br>
Brian<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF695040"><font face="Tahoma" color="#000000" size="2"><b>From:</b> midas-bounces@public.kitware.com [midas-bounces@public.kitware.com] on behalf of BRIAN E CHAPMAN [Brian.Chapman@utah.edu]<br>
<b>Sent:</b> Wednesday, November 06, 2013 6:41 PM<br>
<b>To:</b> Zach Mullen<br>
<b>Cc:</b> midas@public.kitware.com<br>
<b>Subject:</b> Re: [Midas] ParaView Web support for Midas<br>
</font><br>
</div>
<div></div>
<div>
<div>It was the release. I'll try the nightly release tomorrow.</div>
<div><br>
</div>
<div>Brian<br>
<br>
Brian
<div><br>
</div>
<div>Sent from my mobile device</div>
</div>
<div><br>
On Nov 6, 2013, at 5:28 PM, "Zach Mullen" <<a href="mailto:zach.mullen@kitware.com" target="_blank">zach.mullen@kitware.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Did you get the latest nightly package, or a release package? You will need to download the nightly one, since there have been Python API changes since the most recent official release.</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Nov 6, 2013 at 7:25 PM, BRIAN E CHAPMAN <span dir="ltr">
<<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div style="font-size:14px; font-family:Calibri,sans-serif; word-wrap:break-word">
<div>Looking at the paraview python source files ParaView-4.0.1-Linux-64bit/lib/paraview-4.0/site-packages/paraview/web.py, there is no “protocols” to import. Do we have a version mismatch between what Midas is expecting and the binary Paraview download?</div>
<div><br>
</div>
<div>Brian</div>
<div><br>
</div>
<div><br>
</div>
<span>
<div style="border-right:medium none; padding-right:0in; padding-left:0in; padding-top:3pt; text-align:left; font-size:11pt; border-bottom:medium none; font-family:Calibri; border-top:#b5c4df 1pt solid; padding-bottom:0in; border-left:medium none">
<span style="font-weight:bold">From: </span>Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, November 6, 2013 at 12:02 PM<br>
<span style="font-weight:bold">To: </span>Brian Chapman <<a href="mailto:brian.chapman@utah.edu" target="_blank">brian.chapman@utah.edu</a>><br>
<span style="font-weight:bold">Cc: </span>Zach Mullen <<a href="mailto:zach.mullen@kitware.com" target="_blank">zach.mullen@kitware.com</a>>, "<a href="mailto:midas@public.kitware.com" target="_blank">midas@public.kitware.com</a>" <<a href="mailto:midas@public.kitware.com" target="_blank">midas@public.kitware.com</a>>
<div>
<div class="h5"><br>
<span style="font-weight:bold">Subject: </span>Re: [Midas] ParaView Web support for Midas<br>
</div>
</div>
</div>
<div>
<div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">The issue might be related to the fact that you should add the "-f" argument to the command line as Jetty may think that the process is not started yet.
<div>The -f will force to flush the output of the python process. This was added lately to prevent the +++++ to show up when running from the command line.</div>
<div><br>
</div>
<div>Hope that helps.</div>
<div><br>
</div>
<div>Seb</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Nov 6, 2013 at 11:56 AM, BRIAN E CHAPMAN <span dir="ltr">
<<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
Progress but not quite there. I do now actually get an attempt to launch<br>
Paraview but a timeout occurs:<br>
<br>
Starting ParaviewWeb instance<br>
<br>
Waiting for binding on port 9000...<br>
Instance creation failed: Instance did not bind to port within 5 seconds.<br>
<br>
Log content: Traceback (most recent call last):<br>
File "/usr/local/src/Midas3/modules/pvw/apps/midas.py", line 19, in<br>
from paraview.web import protocols, wamp<br>
ImportError: cannot import name protocols<br>
<br>
<br>
I’ll have to check configuration this afternoon.<br>
<span><font color="#888888"><br>
Brian<br>
</font></span>
<div>
<div><br>
<br>
On 11/6/13, 11:04 AM, "Zach Mullen" <<a href="mailto:zach.mullen@kitware.com" target="_blank">zach.mullen@kitware.com</a>> wrote:<br>
<br>
>Ok, good to know. I packaged up the correct www dir and attached it to<br>
>this email, dump that directory into the module's public dir as a<br>
>directory named "import" (apps, ext, and lib should be directly<br>
>underneath import). That should hopefully fix the issue.<br>
><br>
>Thanks,<br>
><br>
>Zach<br>
><br>
>On Wed, Nov 6, 2013 at 1:00 PM, BRIAN E CHAPMAN <<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>><br>
>wrote:<br>
>> Yes. I¹m using the packaged binary. I was having a difficult time<br>
>>getting<br>
>> Paraview to compile on my machine.<br>
>><br>
>> Brian<br>
>><br>
>> On 11/6/13, 10:56 AM, "Zach Mullen" <<a href="mailto:zach.mullen@kitware.com" target="_blank">zach.mullen@kitware.com</a>> wrote:<br>
>><br>
>>>After looking into it, it looks like this is actually only the case<br>
>>>with the packaged version of ParaView, not one built from source.<br>
>>>Brian, are you using the downloaded paraview package or building from<br>
>>>source?<br>
>>><br>
>>>On Wed, Nov 6, 2013 at 7:10 AM, Zach Mullen <<a href="mailto:zach.mullen@kitware.com" target="_blank">zach.mullen@kitware.com</a>><br>
>>>wrote:<br>
>>>> This is indeed the issue I discovered yesterday. Some files were moved<br>
>>>> within ParaView and it broke compatibility with the Midas plugin. I<br>
>>>>should<br>
>>>> have a fix committed to next branch this morning.<br>
>>>><br>
>>>> Thanks,<br>
>>>><br>
>>>> Zach<br>
>>>><br>
>>>><br>
>>>> On Tue, Nov 5, 2013 at 11:32 PM, Patrick Reynolds<br>
>>>> <<a href="mailto:patrick.reynolds@kitware.com" target="_blank">patrick.reynolds@kitware.com</a>> wrote:<br>
>>>>><br>
>>>>> Brian,<br>
>>>>><br>
>>>>> This looks like it could be related to the symbolic link of the<br>
>>>>>vtkweb<br>
>>>>> javascript. This may be related to an issue that Zach is tracking.<br>
>>>>><br>
>>>>> --<br>
>>>>> Patrick Reynolds<br>
>>>>> Technical Leader<br>
>>>>> Kitware, Inc.<br>
>>>>> <a href="tel:919%20869%208848" value="+19198698848" target="_blank">919 869 8848</a><br>
>>>>><br>
>>>>> On Tuesday, October 29, 2013 at 5:15 PM, BRIAN E CHAPMAN wrote:<br>
>>>>><br>
>>>>> Patrick,<br>
>>>>><br>
>>>>> I've been toggling the dynamic help and looking at the logs (apache<br>
>>>>>and<br>
>>>>> midas/log/dev.log). Here is what I am getting without and with<br>
>>>>>dynamic<br>
>>>>>help<br>
>>>>> turned on<br>
>>>>><br>
>>>>> Dynamic help off:<br>
>>>>><br>
>>>>> [Tue Oct 29 15:06:08.706120 2013] [:error] [pid 25319] [client<br>
>>>>> <a href="http://155.100.62.145:54950" target="_blank">155.100.62.145:54950</a>] PHP Warning: Unknown: function 'NULL' not<br>
>>>>>found<br>
>>>>>or<br>
>>>>> invalid function name in Unknown on line 0,<br>
>>>>> referer:<a href="http://155.100.62.142/midas/pvw/paraview/volume?itemId=1" target="_blank">http://155.100.62.142/midas/pvw/paraview/volume?itemId=1</a><br>
>>>>><br>
>>>>> 2013-10-29 17:06:08 WARN (4): URL:<br>
>>>>><br>
>>>>><a href="http://155.100.62.142/midas/modules/pvw/public/import/lib/js/vtkweb-al" target="_blank">http://155.100.62.142/midas/modules/pvw/public/import/lib/js/vtkweb-al</a><br>
>>>>>l.<br>
>>>>>min.js<br>
>>>>> Server IP: 155.100.62.142<br>
>>>>> Client IP: 155.100.62.145<br>
>>>>> User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5)<br>
>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101<br>
>>>>>Safari/537.36<br>
>>>>> Server time: 2013-10-29 17:06:08<br>
>>>>> RequestURI: /midas/modules/pvw/public/import/lib/js/vtkweb-all.min.js<br>
>>>>> Referer: <a href="http://155.100.62.142/midas/pvw/paraview/volume?itemId=1" target="_blank">
http://155.100.62.142/midas/pvw/paraview/volume?itemId=1</a><br>
>>>>> <b>Message: Invalid controller specified (modules)</b><br>
>>>>><br>
>>>>> Trace:<br>
>>>>> #0 /usr/local/src/Midas3/library/Zend/Controller/Front.php(954):<br>
>>>>><br>
>>>>>Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_R<br>
>>>>>eq<br>
>>>>>uest_Http),<br>
>>>>> Object(Zend_Controller_Response_Http))<br>
>>>>> #1<br>
>>>>><br>
>>>>>/usr/local/src/Midas3/library/Zend/Application/Bootstrap/Bootstrap.php<br>
>>>>>(9<br>
>>>>>7):<br>
>>>>> Zend_Controller_Front->dispatch()<br>
>>>>> #2 /usr/local/src/Midas3/library/Zend/Application.php(366):<br>
>>>>> Zend_Application_Bootstrap_Bootstrap->run()<br>
>>>>> #3 /usr/local/src/Midas3/index.php(73): Zend_Application->run()<br>
>>>>> #4 {main}<br>
>>>>><br>
>>>>> Request data: array (<br>
>>>>> 'controller' => 'modules',<br>
>>>>> 'action' => 'pvw',<br>
>>>>> 'public' => 'import',<br>
>>>>> 'lib' => 'js',<br>
>>>>> 'module' => 'default',<br>
>>>>> )<br>
>>>>><br>
>>>>> Session data:<br>
>>>>> Dao: __PHP_Incomplete_Class::__set_state(array(<br>
>>>>> '__PHP_Incomplete_Class_Name' => 'UserDao',<br>
>>>>> '_model' => 'User',<br>
>>>>> 'key' => NULL,<br>
>>>>> '_key' => 'user_id',<br>
>>>>> 'saved' => true,<br>
>>>>> 'user_id' => '1',<br>
>>>>> 'firstname' => 'Brian',<br>
>>>>> 'lastname' => 'Chapman',<br>
>>>>> 'email' => '<a href="mailto:brian.chapman@utah.edu" target="_blank">brian.chapman@utah.edu</a>',<br>
>>>>> 'thumbnail' => NULL,<br>
>>>>> 'company' => NULL,<br>
>>>>> 'hash_alg' => 'sha256',<br>
>>>>> 'salt' => 'uirWyLLLBDcN9udgEy2o0ZwZulN17z8s',<br>
>>>>> 'creation' => '2013-10-24 14:09:40',<br>
>>>>> 'folder_id' => '1',<br>
>>>>> 'admin' => '1',<br>
>>>>> 'privacy' => '0',<br>
>>>>> 'view' => '0',<br>
>>>>> 'uuid' => '52696264c0b08ca6ba63fc546fe5b950545d654ae59cc',<br>
>>>>> 'city' => '',<br>
>>>>> 'country' => '',<br>
>>>>> 'website' => '',<br>
>>>>> 'biography' => '',<br>
>>>>> 'dynamichelp' => '1',<br>
>>>>> ))<br>
>>>>><br>
>>>>> Last database query: SELECT `setting`.* FROM `setting` WHERE (name =<br>
>>>>> 'temp_directory') AND (module = 'core') LIMIT 1<br>
>>>>><br>
>>>>><br>
>>>>> Dynamic Help ON:<br>
>>>>><br>
>>>>> [Tue Oct 29 15:10:44.885671 2013] [:error] [pid 25321] [client<br>
>>>>> <a href="http://155.100.62.145:55013" target="_blank">155.100.62.145:55013</a>] PHP Warning: Unknown: function 'NULL' not<br>
>>>>>found<br>
>>>>>or<br>
>>>>> invalid function name in Unknown on line 0,<br>
>>>>> referer:<a href="http://155.100.62.142/midas/pvw/paraview/volume?itemId=1" target="_blank">http://155.100.62.142/midas/pvw/paraview/volume?itemId=1</a><br>
>>>>> [Tue Oct 29 15:10:44.894376 2013] [:error] [pid 25319] [client<br>
>>>>> <a href="http://155.100.62.145:55006" target="_blank">155.100.62.145:55006</a>] PHP Fatal error:<br>
>>>>>AppController::isDynamicHelp(): The<br>
>>>>> script tried to execute a method or access a property of an<br>
>>>>>incomplete<br>
>>>>> object. Please ensure that the class definition "UserDao"<br>
>>>>>of<br>
>>>>>the<br>
>>>>> object you are trying to operate on was loaded _before_ unserialize()<br>
>>>>>gets<br>
>>>>> called or provide a __autoload() function to load the class<br>
>>>>>definition<br>
>>>>> in<br>
>>>>> /usr/local/src/Midas3/core/AppController.php on line 424,<br>
>>>>> referer:<a href="http://155.100.62.142/midas/pvw/paraview/volume?itemId=1" target="_blank">http://155.100.62.142/midas/pvw/paraview/volume?itemId=1</a><br>
>>>>><br>
>>>>> 2013-10-29 17:10:44 CRIT (2): Fatal Error: Array<br>
>>>>> (<br>
>>>>> [type] => 1<br>
>>>>> [message] => AppController::isDynamicHelp(): The script tried to<br>
>>>>> execute a method or access a property of an incomplete object. Please<br>
>>>>>ensure<br>
>>>>> that the class definition "UserDao" of the object you are<br>
>>>>>trying<br>
>>>>> to operate on was loaded _before_ unserialize() gets called or<br>
>>>>>provide<br>
>>>>>a<br>
>>>>> __autoload() function to load the class definition<br>
>>>>> [file] => /usr/local/src/Midas3/core/AppController.php<br>
>>>>> [line] => 424<br>
>>>>> [typeText] => E_ERROR<br>
>>>>> )<br>
>>>>><br>
>>>>><br>
>>>>> URL:<br>
>>>>><br>
>>>>><a href="http://155.100.62.142/midas/modules/pvw/public/import/lib/js/vtkweb-al" target="_blank">http://155.100.62.142/midas/modules/pvw/public/import/lib/js/vtkweb-al</a><br>
>>>>>l.<br>
>>>>>min.js<br>
>>>>><br>
>>>>> Server IP: 155.100.62.142<br>
>>>>> User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5)<br>
>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101<br>
>>>>>Safari/537.36<br>
>>>>> Server time: 2013-10-29 17:10:44<br>
>>>>> Referer: <a href="http://155.100.62.142/midas/pvw/paraview/volume?itemId=1" target="_blank">
http://155.100.62.142/midas/pvw/paraview/volume?itemId=1</a><br>
>>>>> Parameters (post): Array<br>
>>>>> (<br>
>>>>> )<br>
>>>>> Parameters (get): Array<br>
>>>>> (<br>
>>>>> )<br>
>>>>><br>
>>>>><br>
>>>>> Brian E. Chapman, Ph.D.<br>
>>>>> Associate Professor<br>
>>>>> Department of Radiology<br>
>>>>> University of Utah<br>
>>>>><br>
>>>>><br>
>>>>> From: Patrick Reynolds <<a href="mailto:patrick.reynolds@kitware.com" target="_blank">patrick.reynolds@kitware.com</a>><br>
>>>>> Date: Tuesday, October 29, 2013 1:28 PM<br>
>>>>> To: Brian Chapman <<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>><br>
>>>>> Cc: "<a href="mailto:midas@public.kitware.com" target="_blank">midas@public.kitware.com</a>" <<a href="mailto:midas@public.kitware.com" target="_blank">midas@public.kitware.com</a>><br>
>>>>> Subject: Re: [Midas] ParaView Web support for Midas<br>
>>>>><br>
>>>>> Brian,<br>
>>>>><br>
>>>>> Are you able to get to the admin page and disable dynamic help?<br>
>>>>><br>
>>>>> That should yield an improved error message.<br>
>>>>><br>
>>>>> --<br>
>>>>> Patrick Reynolds<br>
>>>>> Technical Leader<br>
>>>>> Kitware, Inc.<br>
>>>>> <a href="tel:919%20869%208848" value="+19198698848" target="_blank">919 869 8848</a><br>
>>>>><br>
>>>>> On Thursday, October 24, 2013 at 6:58 PM, BRIAN E CHAPMAN wrote:<br>
>>>>><br>
>>>>> Hi Zach, et al.,<br>
>>>>><br>
>>>>> I'm making progress here. I looked at Sebastien's suggestion of using<br>
>>>>> VirtualGL but decided to go back and build a VM with X11 support.<br>
>>>>>I've<br>
>>>>>got<br>
>>>>> Midas running and ParaView web configured as per the web site and<br>
>>>>>Zach's<br>
>>>>> instructions. When I got to view an object (a 3D CT stored in .mha<br>
>>>>>format) I<br>
>>>>> get a blank canvas with "Volume rendering: pe0017s4.mha" on the top<br>
>>>>>and a<br>
>>>>> bunch of control widgets on the right.<br>
>>>>><br>
>>>>> When I look at the apache2 logs I see the following.<br>
>>>>><br>
>>>>> acces.log: 111.222.33.444 - - [24/Oct/2013:16:38:02 -0600] "GET<br>
>>>>> /midas/modules/pvw/public/import/lib/js/vtkweb-all.min.js HTTP/1.1"<br>
>>>>>500 936<br>
>>>>> "<a href="http://111.222.33.555/midas/pvw/paraview/volume?itemId=1" target="_blank">http://111.222.33.555/midas/pvw/paraview/volume?itemId=1</a>"<br>
>>>>>"Mozilla/5.0<br>
>>>>> (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0"<br>
>>>>><br>
>>>>> error.log [Thu Oct 24 16:38:02.468812 2013] [:error] [pid 7303]<br>
>>>>>[client<br>
>>>>> 111.222.33.444:34502] PHP Fatal error:<br>
>>>>>AppController::isDynamicHelp(): The<br>
>>>>> script tried to execute a method or access a property of an<br>
>>>>>incomplete<br>
>>>>> object. Please ensure that the class definition "UserDao"<br>
>>>>>of<br>
>>>>>the<br>
>>>>> object you are trying to operate on was loaded _before_ unserialize()<br>
>>>>>gets<br>
>>>>> cal<br>
>>>>><br>
>>>>> The midas log file is as follows:<br>
>>>>><br>
>>>>> dev.log<br>
>>>>> Referer: <a href="http://111.222.33.555/midas/pvw/paraview/volume?itemId=1" target="_blank">
http://111.222.33.555/midas/pvw/paraview/volume?itemId=1</a><br>
>>>>> Parameters (post): Array<br>
>>>>> (<br>
>>>>> )<br>
>>>>> Parameters (get): Array<br>
>>>>> (<br>
>>>>> )<br>
>>>>><br>
>>>>> Any ideas as to what is going wrong?<br>
>>>>><br>
>>>>> Brian<br>
>>>>><br>
>>>>> Brian E. Chapman, Ph.D.<br>
>>>>> Associate Professor<br>
>>>>> Department of Radiology<br>
>>>>> University of Utah<br>
>>>>><br>
>>>>><br>
>>>>> From: Zach Mullen <<a href="mailto:zach.mullen@kitware.com" target="_blank">zach.mullen@kitware.com</a>><br>
>>>>> Date: Thursday, October 17, 2013 11:54 AM<br>
>>>>> To: Brian Chapman <<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>><br>
>>>>> Cc: Patrick Reynolds <<a href="mailto:patrick.reynolds@kitware.com" target="_blank">patrick.reynolds@kitware.com</a>>,<br>
>>>>> "<a href="mailto:midas@public.kitware.com" target="_blank">midas@public.kitware.com</a>" <<a href="mailto:midas@public.kitware.com" target="_blank">midas@public.kitware.com</a>><br>
>>>>> Subject: Re: [Midas] ParaView Web support for Midas<br>
>>>>><br>
>>>>> Hi Brian,<br>
>>>>><br>
>>>>> Answered your questions inline.<br>
>>>>><br>
>>>>><br>
>>>>> On Thu, Oct 17, 2013 at 1:49 PM, BRIAN E CHAPMAN<br>
>>>>><<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>><br>
>>>>> wrote:<br>
>>>>><br>
>>>>> Patrick,<br>
>>>>><br>
>>>>> That saved a lot of time! A couple of dummy questions. In<br>
>>>>> /var/www/midas/modules there is already a pvw directory. So where am<br>
>>>>>I<br>
>>>>> supposed to create the symbolic link to<br>
>>>>>$PARAVIEW_ROOT/lib/paraview-4.0/www?<br>
>>>>><br>
>>>>><br>
>>>>> You should create a symlink at<br>
>>>>>/var/www/midas/modules/pvw/public/import,<br>
>>>>> and it should point to the paraview-4.0/www dir.<br>
>>>>><br>
>>>>><br>
>>>>> Also, just because I'm kind of dense, do I need to set the DISPLAY<br>
>>>>> environment variable. The pop-up help says "If the DISPLAY env var<br>
>>>>>should be<br>
>>>>> setŠ" I don't know if it should be.<br>
>>>>><br>
>>>>> It depends what environment you are running in. If you plan on<br>
>>>>>running<br>
>>>>> this headlessly as a server, you will probably need to set the<br>
>>>>>environment<br>
>>>>> variable. If you are running the server within an already existing X<br>
>>>>> environment, you probably won't need to set it. If you open a<br>
>>>>>terminal<br>
>>>>>and<br>
>>>>> type<br>
>>>>><br>
>>>>> echo $DISPLAY<br>
>>>>><br>
>>>>> It will show you the current value of your display ID.<br>
>>>>><br>
>>>>><br>
>>>>> Finally, is there a tutorial or demo for the Midas/ParaView<br>
>>>>>interface?<br>
>>>>><br>
>>>>><br>
>>>>> We just finished transitioning the demo application to the latest<br>
>>>>>version<br>
>>>>> of ParaViewWeb. The demo of the old capabilities is here:<br>
>>>>><br>
>>>>><a href="http://50.58.123.185/external/midas/visualize/paraview/volume?itemId=4" target="_blank">http://50.58.123.185/external/midas/visualize/paraview/volume?itemId=4</a><br>
>>>>>4<br>
>>>>><br>
>>>>> There isn't much currently in the way of developer-oriented<br>
>>>>>documentation<br>
>>>>> for the module; for that you might have to just consult us with your<br>
>>>>> questions :)<br>
>>>>><br>
>>>>> Thanks,<br>
>>>>><br>
>>>>><br>
>>>>> Thanks for the help.<br>
>>>>><br>
>>>>> Brian<br>
>>>>><br>
>>>>><br>
>>>>> From: Patrick Reynolds <<a href="mailto:patrick.reynolds@kitware.com" target="_blank">patrick.reynolds@kitware.com</a>><br>
>>>>> Date: Thursday, October 17, 2013 11:12 AM<br>
>>>>> To: Brian Chapman <<a href="mailto:Brian.Chapman@utah.edu" target="_blank">Brian.Chapman@utah.edu</a>><br>
>>>>> Cc: "<a href="mailto:midas@public.kitware.com" target="_blank">midas@public.kitware.com</a>" <<a href="mailto:midas@public.kitware.com" target="_blank">midas@public.kitware.com</a>><br>
>>>>> Subject: Re: [Midas] ParaView Web support for Midas<br>
>>>>><br>
>>>>> Brian,<br>
>>>>><br>
>>>>> You'll need to build Paraview Web from Source or download binaries.<br>
>>>>>It<br>
>>>>> comes with paraview, so you should be able to follow the instructions<br>
>>>>> stemming from this wiki page:<br>
>>>>><br>
>>>>> <a href="http://www.paraview.org/Wiki/ParaViewWeb" target="_blank">http://www.paraview.org/Wiki/ParaViewWeb</a><br>
>>>>><br>
>>>>> HTH.<br>
>>>>><br>
>>>>> --<br>
>>>>> Patrick Reynolds<br>
>>>>> Technical Leader<br>
>>>>> Kitware, Inc.<br>
>>>>> <a href="tel:919%20869%208848" value="+19198698848" target="_blank">919 869 8848</a><br>
>>>>><br>
>>>>> On Thursday, October 17, 2013 at 12:56 PM, BRIAN E CHAPMAN wrote:<br>
>>>>><br>
>>>>> Hello Midas World,<br>
>>>>><br>
>>>>> I'm trying to build an instance of Midas with ParaviewWeb enabled.<br>
>>>>>I'm<br>
>>>>> working on an Ubuntu 12.04 instance. Midas built fine, but I'm<br>
>>>>>having a<br>
>>>>> difficult time getting Paraview to build. Just curious if the<br>
>>>>> paraview-python package that is available in the ubuntu distribution<br>
>>>>>is<br>
>>>>> sufficient for this purpose? If it is, curious about the details of<br>
>>>>>the<br>
>>>>> configuration for the instructions: "Make sure to symlink the www<br>
>>>>>directory<br>
>>>>> of your ParView build directoryŠ"<br>
>>>>><br>
>>>>> I'm suspicious of the package since when I try to run pvpython I get<br>
>>>>>an<br>
>>>>> error:<br>
>>>>><br>
>>>>> "Error converting executable file "/usr/bin/../lib/paraview/pvpython"<br>
>>>>>to<br>
>>>>> real path: no such file or directory"<br>
>>>>><br>
>>>>><br>
>>>>> Brian E. Chapman, Ph.D.<br>
>>>>> Associate Professor<br>
>>>>> Department of Radiology<br>
>>>>> University of Utah<br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> Midas mailing list<br>
>>>>> <a href="mailto:Midas@public.kitware.com" target="_blank">Midas@public.kitware.com</a><br>
>>>>> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">
http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> Midas mailing list<br>
>>>>> <a href="mailto:Midas@public.kitware.com" target="_blank">Midas@public.kitware.com</a><br>
>>>>> <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">
http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Zach Mullen<br>
>>>>> R & D Engineer<br>
>>>>> Kitware Inc.<br>
>>>>> <a href="tel:919-869-8858" value="+19198698858" target="_blank">919-869-8858</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> Zach Mullen<br>
>>>> R & D Engineer<br>
>>>> Kitware Inc.<br>
>>>> <a href="tel:919-869-8858" value="+19198698858" target="_blank">919-869-8858</a><br>
>>><br>
>>><br>
>>><br>
>>>--<br>
>>>Zach Mullen<br>
>>>R & D Engineer<br>
>>>Kitware Inc.<br>
>>><a href="tel:919-869-8858" value="+19198698858" target="_blank">919-869-8858</a><br>
>><br>
><br>
><br>
><br>
>--<br>
>Zach Mullen<br>
>R & D Engineer<br>
>Kitware Inc.<br>
><a href="tel:919-869-8858" value="+19198698858" target="_blank">919-869-8858</a><br>
<br>
_______________________________________________<br>
Midas mailing list<br>
<a href="mailto:Midas@public.kitware.com" target="_blank">Midas@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Zach Mullen<br>
R & D Engineer<br>
Kitware Inc.<br>
919-869-8858 </div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Midas mailing list</span><br>
<span><a href="mailto:Midas@public.kitware.com" target="_blank">Midas@public.kitware.com</a></span><br>
<span><a href="http://public.kitware.com/cgi-bin/mailman/listinfo/midas" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/midas</a></span><br>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>