<div dir="ltr">Hi Brian,<div><br></div><div>For the first error, can you make sure the following file exists in your midas tree?</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">modules/pvw/public/</span><span style="font-family:arial,sans-serif;font-size:13px">import/lib/js/vtkweb-all.min.</span><span style="font-family:arial,sans-serif;font-size:13px">js</span><br>

</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div>As for the second error, it looks like maybe the bitstream path doesn't exist in the assetstore. I am unable to reproduce this issue on my end, so you will have to debug it on yours. You could try debugging it by writing the value of $src just before the line specified, and verifying that the file exists on your filesystem.</div>

<div><br></div><div>HTH,</div><div><br></div><div>Zach</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 22, 2013 at 4:48 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">Zach,<br>
<br>
I haven’t had any time recently to look into this, but I was wondering if<br>
these error messages helped you at all in diagnosing the problem I’m<br>
having in getting paraview to work with my Midas repository?<br>
<span class="HOEnZb"><font color="#888888"><br>
Brian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 11/7/13, 1:34 PM, "BRIAN E CHAPMAN" <<a href="mailto:Brian.Chapman@utah.edu">Brian.Chapman@utah.edu</a>> wrote:<br>
<br>
>Zach,<br>
><br>
>I've got the terminal set to :0 in the config, which is what it is for my<br>
>login on the virtual machine. I did finally get a more informative error<br>
>message in dev.log, pasted below:<br>
><br>
>2013-11-07 15:27:07 WARN (4): URL:<br>
><a href="http://155.100.62.165/midas/modules/pvw/public/import/lib/js/vtkweb-all.mi" target="_blank">http://155.100.62.165/midas/modules/pvw/public/import/lib/js/vtkweb-all.mi</a><br>
>n.js<br>
>Server IP: 155.100.62.165<br>
>Client IP: 155.100.62.66<br>
>User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0)<br>
>AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36<br>
>Server time: 2013-11-07 15:27:07<br>
>RequestURI: /midas/modules/pvw/public/import/lib/js/vtkweb-all.min.js<br>
>Referer: <a href="http://155.100.62.165/midas/pvw/paraview/volume?itemId=1" target="_blank">http://155.100.62.165/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>
>Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Reque<br>
>st_Http), Object(Zend_Controller_Response_Http))<br>
>#1<br>
>/usr/local/src/Midas3/library/Zend/Application/Bootstrap/Bootstrap.php(97)<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">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>
>2013-11-07 15:28:57 WARN (4): Warning: symlink(): No such file or<br>
>directory<br/><br>
> on line 222 in file<br>
>/usr/local/src/Midas3/modules/pvw/controllers/components/ParaviewComponent<br>
>.php<br/><br>
><br>
>________________________________________<br>
>From: Zach Mullen [<a href="mailto:zach.mullen@kitware.com">zach.mullen@kitware.com</a>]<br>
>Sent: Thursday, November 07, 2013 11:09 AM<br>
>To: BRIAN E CHAPMAN<br>
>Cc: <a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a><br>
>Subject: Re: [Midas] ParaView Web support for Midas<br>
><br>
>When you open a terminal and type `echo $DISPLAY` what is the value it<br>
>shows? Whatever that is is what you should set the config option to in<br>
>Midas.<br>
><br>
>On Thu, Nov 7, 2013 at 12:52 PM, BRIAN E CHAPMAN <<a href="mailto:Brian.Chapman@utah.edu">Brian.Chapman@utah.edu</a>><br>
>wrote:<br>
>> I now have dynamic help off, but am not getting more consistent error<br>
>>messages. Sometimes I see more details sometimes (usually) I don't. I<br>
>>did at one point see an error about bad display :0, so I've tried<br>
>>toggling the DISPLAY env var between :0 and nothing but that doesn't<br>
>>seem to make a difference. Also Midas tells me I've had errors but I<br>
>>can't view any errors through the admin web interface (just spins and<br>
>>spins). the dev.log in the Midas3 directory doesn't have any new errors<br>
>>although the apache error log does generate a new error when I try to<br>
>>visualize the file:<br>
>><br>
>> [Thu Nov 07 10:47:10.191552 2013] [:error] [pid 6788] [client<br>
>><a href="http://155.100.62.66:61675" target="_blank">155.100.62.66:61675</a>] PHP Warning:  Unknown: function 'NULL' not found or<br>
>>invalid function name in Unknown on line 0, referer:<br>
>><a href="http://155.100.62.165/midas/pvw/paraview/volume?itemId=1" target="_blank">http://155.100.62.165/midas/pvw/paraview/volume?itemId=1</a><br>
>><br>
>><br>
>><br>
>> ________________________________________<br>
>> From: Zach Mullen [<a href="mailto:zach.mullen@kitware.com">zach.mullen@kitware.com</a>]<br>
>> Sent: Thursday, November 07, 2013 10:33 AM<br>
>> To: BRIAN E CHAPMAN<br>
>> Cc: <a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a><br>
>> Subject: Re: [Midas] ParaView Web support for Midas<br>
>><br>
>> Did you turn the Dynamic Help option off in the admin page? I think<br>
>> that might be eating the true error message.<br>
>><br>
>> On Thu, Nov 7, 2013 at 12:30 PM, BRIAN E CHAPMAN<br>
>><<a href="mailto:Brian.Chapman@utah.edu">Brian.Chapman@utah.edu</a>> wrote:<br>
>>> So I downloaded the nightly build and installed it. I relinked the www<br>
>>> directory as modules/pvw/public/import and got nothing. I replaced this<br>
>>> directory with the tar file that Zach sent me yesterday. I know try to<br>
>>>get a<br>
>>> paraview visualization but get a timeout waiting to bind to port 9000<br>
>>>again.<br>
>>> 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>
>>> (<br>
>>>     [type] => 1<br>
>>>     [message] => AppController::isDynamicHelp(): The script tried to<br>
>>>execute<br>
>>> a method or access a property of an incomplete object. Please ensure<br>
>>>that<br>
>>> the class definition &quot;UserDao&quot; of the object you are trying<br>
>>>to<br>
>>> operate on was loaded _before_ unserialize() gets called or provide 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.165/midas/modules/pvw/public/import/lib/js/vtkweb-all" target="_blank">http://155.100.62.165/midas/modules/pvw/public/import/lib/js/vtkweb-all</a>.<br>
>>>min.js<br>
>>><br>
>>> Server IP: 155.100.62.165<br>
>>> User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0)<br>
>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101<br>
>>>Safari/537.36<br>
>>> Server time: 2013-11-07 12:12:15<br>
>>> Referer: <a href="http://155.100.62.165/midas/pvw/paraview/volume?itemId=1" target="_blank">http://155.100.62.165/midas/pvw/paraview/volume?itemId=1</a><br>
>>><br>
>>> Parameters (post): Array<br>
>>> (<br>
>>> )<br>
>>><br>
>>> Brian<br>
>>><br>
>>> ________________________________<br>
>>> From: <a href="mailto:midas-bounces@public.kitware.com">midas-bounces@public.kitware.com</a><br>
>>>[<a href="mailto:midas-bounces@public.kitware.com">midas-bounces@public.kitware.com</a>] on<br>
>>> behalf of BRIAN E CHAPMAN [<a href="mailto:Brian.Chapman@utah.edu">Brian.Chapman@utah.edu</a>]<br>
>>> Sent: Wednesday, November 06, 2013 6:41 PM<br>
>>> To: Zach Mullen<br>
>>> Cc: <a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a><br>
>>><br>
>>> Subject: Re: [Midas] ParaView Web support for Midas<br>
>>><br>
>>> It was the release. I'll try the nightly release tomorrow.<br>
>>><br>
>>> Brian<br>
>>><br>
>>> Brian<br>
>>><br>
>>> Sent from my mobile device<br>
>>><br>
>>> On Nov 6, 2013, at 5:28 PM, "Zach Mullen" <<a href="mailto:zach.mullen@kitware.com">zach.mullen@kitware.com</a>><br>
>>>wrote:<br>
>>><br>
>>> Did you get the latest nightly package, or a release package? You will<br>
>>>need<br>
>>> to download the nightly one, since there have been Python API changes<br>
>>>since<br>
>>> the most recent official release.<br>
>>><br>
>>><br>
>>> On Wed, Nov 6, 2013 at 7:25 PM, BRIAN E CHAPMAN<br>
>>><<a href="mailto:Brian.Chapman@utah.edu">Brian.Chapman@utah.edu</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Looking at the paraview python source files<br>
>>>><br>
>>>>ParaView-4.0.1-Linux-64bit/lib/paraview-4.0/site-packages/paraview/web.<br>
>>>>py,<br>
>>>> there is no “protocols” to import. Do we have a version mismatch<br>
>>>>between<br>
>>>> what Midas is expecting and the binary Paraview download?<br>
>>>><br>
>>>> Brian<br>
>>>><br>
>>>><br>
>>>> From: Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>><br>
>>>> Date: Wednesday, November 6, 2013 at 12:02 PM<br>
>>>> To: Brian Chapman <<a href="mailto:brian.chapman@utah.edu">brian.chapman@utah.edu</a>><br>
>>>> Cc: Zach Mullen <<a href="mailto:zach.mullen@kitware.com">zach.mullen@kitware.com</a>>, "<a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a>"<br>
>>>> <<a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a>><br>
>>>><br>
>>>> Subject: Re: [Midas] ParaView Web support for Midas<br>
>>>><br>
>>>> The issue might be related to the fact that you should add the "-f"<br>
>>>> argument to the command line as Jetty may think that the process is<br>
>>>>not<br>
>>>> started yet.<br>
>>>> The -f will force to flush the output of the python process. This was<br>
>>>> added lately to prevent the +++++ to show up when running from the<br>
>>>>command<br>
>>>> line.<br>
>>>><br>
>>>> Hope that helps.<br>
>>>><br>
>>>> Seb<br>
>>>><br>
>>>><br>
>>>> On Wed, Nov 6, 2013 at 11:56 AM, BRIAN E CHAPMAN<br>
>>>><<a href="mailto:Brian.Chapman@utah.edu">Brian.Chapman@utah.edu</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> Progress but not quite there. I do now actually get an attempt to<br>
>>>>>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<br>
>>>>>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>
>>>>><br>
>>>>> Brian<br>
>>>>><br>
>>>>><br>
>>>>> On 11/6/13, 11:04 AM, "Zach Mullen" <<a href="mailto:zach.mullen@kitware.com">zach.mullen@kitware.com</a>> wrote:<br>
>>>>><br>
>>>>> >Ok, good to know. I packaged up the correct www dir and attached it<br>
>>>>>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<br>
>>>>><<a href="mailto:Brian.Chapman@utah.edu">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">zach.mullen@kitware.com</a>><br>
>>>>>wrote:<br>
>>>>> >><br>
>>>>> >>>After looking into it, it looks like this is actually only the<br>
>>>>>case<br>
>>>>> >>>with the packaged version of ParaView, not one built from source.<br>
>>>>> >>>Brian, are you using the downloaded paraview package or building<br>
>>>>>from<br>
>>>>> >>>source?<br>
>>>>> >>><br>
>>>>> >>>On Wed, Nov 6, 2013 at 7:10 AM, Zach Mullen<br>
>>>>><<a href="mailto:zach.mullen@kitware.com">zach.mullen@kitware.com</a>><br>
>>>>> >>>wrote:<br>
>>>>> >>>> This is indeed the issue I discovered yesterday. Some files were<br>
>>>>> >>>> moved<br>
>>>>> >>>> within ParaView and it broke compatibility with the Midas<br>
>>>>>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">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<br>
>>>>>tracking.<br>
>>>>> >>>>><br>
>>>>> >>>>> --<br>
>>>>> >>>>> Patrick Reynolds<br>
>>>>> >>>>> Technical Leader<br>
>>>>> >>>>> Kitware, Inc.<br>
>>>>> >>>>> <a href="tel:919%20869%208848" value="+19198698848">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<br>
>>>>>(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'<br>
>>>>>not<br>
>>>>> >>>>>found<br>
>>>>> >>>>>or<br>
>>>>> >>>>> invalid function name in Unknown on line 0,<br>
>>>>> >>>>><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>
>>>>><br>
>>>>> >>>>><br>
>>>>>>>>>><a href="http://155.100.62.142/midas/modules/pvw/public/import/lib/js/vtkw" target="_blank">http://155.100.62.142/midas/modules/pvw/public/import/lib/js/vtkw</a><br>
>>>>>>>>>>eb-al<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:<br>
>>>>> >>>>> /midas/modules/pvw/public/import/lib/js/vtkweb-all.min.js<br>
>>>>> >>>>> Referer:<br>
>>>>><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<br>
>>>>>/usr/local/src/Midas3/library/Zend/Controller/Front.php(954):<br>
>>>>> >>>>><br>
>>>>><br>
>>>>> >>>>><br>
>>>>>>>>>>Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Control<br>
>>>>>>>>>>ler_R<br>
>>>>> >>>>>eq<br>
>>>>> >>>>>uest_Http),<br>
>>>>> >>>>> Object(Zend_Controller_Response_Http))<br>
>>>>> >>>>> #1<br>
>>>>> >>>>><br>
>>>>><br>
>>>>> >>>>><br>
>>>>>>>>>>/usr/local/src/Midas3/library/Zend/Application/Bootstrap/Bootstra<br>
>>>>>>>>>>p.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">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<br>
>>>>>(name<br>
>>>>> >>>>> =<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'<br>
>>>>>not<br>
>>>>> >>>>>found<br>
>>>>> >>>>>or<br>
>>>>> >>>>> invalid function name in Unknown on line 0,<br>
>>>>> >>>>><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<br>
>>>>>&quot;UserDao&quot;<br>
>>>>> >>>>>of<br>
>>>>> >>>>>the<br>
>>>>> >>>>> object you are trying to operate on was loaded _before_<br>
>>>>> >>>>> 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>
>>>>> >>>>><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<br>
>>>>>tried<br>
>>>>> >>>>> to<br>
>>>>> >>>>> execute a method or access a property of an incomplete object.<br>
>>>>> >>>>> Please<br>
>>>>> >>>>>ensure<br>
>>>>> >>>>> that the class definition &quot;UserDao&quot; of the object<br>
>>>>>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>
>>>>><br>
>>>>> >>>>><br>
>>>>>>>>>><a href="http://155.100.62.142/midas/modules/pvw/public/import/lib/js/vtkw" target="_blank">http://155.100.62.142/midas/modules/pvw/public/import/lib/js/vtkw</a><br>
>>>>>>>>>>eb-al<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:<br>
>>>>><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">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">Brian.Chapman@utah.edu</a>><br>
>>>>> >>>>> Cc: "<a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a>" <<a href="mailto:midas@public.kitware.com">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">919 869 8848</a><br>
>>>>> >>>>><br>
>>>>> >>>>> On Thursday, October 24, 2013 at 6:58 PM, BRIAN E CHAPMAN<br>
>>>>>wrote:<br>
>>>>> >>>>><br>
>>>>> >>>>> Hi Zach, et al.,<br>
>>>>> >>>>><br>
>>>>> >>>>> I'm making progress here. I looked at Sebastien's suggestion of<br>
>>>>> >>>>> using<br>
>>>>> >>>>> VirtualGL but decided to go back and build a VM with X11<br>
>>>>>support.<br>
>>>>> >>>>>I've<br>
>>>>> >>>>>got<br>
>>>>> >>>>> Midas running and ParaView web configured as per the web site<br>
>>>>>and<br>
>>>>> >>>>>Zach's<br>
>>>>> >>>>> instructions. When I got to view an object (a 3D CT stored in<br>
>>>>>.mha<br>
>>>>> >>>>>format) I<br>
>>>>> >>>>> get a blank canvas with "Volume rendering: pe0017s4.mha" on<br>
>>>>>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<br>
>>>>>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<br>
>>>>>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<br>
>>>>>&quot;UserDao&quot;<br>
>>>>> >>>>>of<br>
>>>>> >>>>>the<br>
>>>>> >>>>> object you are trying to operate on was loaded _before_<br>
>>>>> >>>>> unserialize()<br>
>>>>> >>>>>gets<br>
>>>>> >>>>> cal<br>
>>>>> >>>>><br>
>>>>> >>>>> The midas log file is as follows:<br>
>>>>> >>>>><br>
>>>>> >>>>> dev.log<br>
>>>>> >>>>> Referer:<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>
>>>>> >>>>> 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">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">Brian.Chapman@utah.edu</a>><br>
>>>>> >>>>> Cc: Patrick Reynolds <<a href="mailto:patrick.reynolds@kitware.com">patrick.reynolds@kitware.com</a>>,<br>
>>>>> >>>>> "<a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a>" <<a href="mailto:midas@public.kitware.com">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">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<br>
>>>>>where<br>
>>>>> >>>>> 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<br>
>>>>>DISPLAY<br>
>>>>> >>>>> environment variable. The pop-up help says "If the DISPLAY env<br>
>>>>>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<br>
>>>>>existing<br>
>>>>> >>>>> 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<br>
>>>>>latest<br>
>>>>> >>>>>version<br>
>>>>> >>>>> of ParaViewWeb. The demo of the old capabilities is here:<br>
>>>>> >>>>><br>
>>>>><br>
>>>>> >>>>><br>
>>>>>>>>>><a href="http://50.58.123.185/external/midas/visualize/paraview/volume?ite" target="_blank">http://50.58.123.185/external/midas/visualize/paraview/volume?ite</a><br>
>>>>>>>>>>mId=4<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<br>
>>>>> >>>>> 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">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">Brian.Chapman@utah.edu</a>><br>
>>>>> >>>>> Cc: "<a href="mailto:midas@public.kitware.com">midas@public.kitware.com</a>" <<a href="mailto:midas@public.kitware.com">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<br>
>>>>>binaries.<br>
>>>>> >>>>>It<br>
>>>>> >>>>> comes with paraview, so you should be able to follow the<br>
>>>>> >>>>> 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">919 869 8848</a><br>
>>>>> >>>>><br>
>>>>> >>>>> On Thursday, October 17, 2013 at 12:56 PM, BRIAN E CHAPMAN<br>
>>>>>wrote:<br>
>>>>> >>>>><br>
>>>>> >>>>> Hello Midas World,<br>
>>>>> >>>>><br>
>>>>> >>>>> I'm trying to build an instance of Midas with ParaviewWeb<br>
>>>>>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<br>
>>>>> >>>>> distribution<br>
>>>>> >>>>>is<br>
>>>>> >>>>> sufficient for this purpose? If it is, curious about the<br>
>>>>>details of<br>
>>>>> >>>>>the<br>
>>>>> >>>>> configuration for the instructions: "Make sure to symlink the<br>
>>>>>www<br>
>>>>> >>>>>directory<br>
>>>>> >>>>> of your ParView build directoryŠ"<br>
>>>>> >>>>><br>
>>>>> >>>>> I'm suspicious of the package since when I try to run pvpython<br>
>>>>>I<br>
>>>>> >>>>> get<br>
>>>>> >>>>>an<br>
>>>>> >>>>> error:<br>
>>>>> >>>>><br>
>>>>> >>>>> "Error converting executable file<br>
>>>>> >>>>> "/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">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">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">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">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">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">919-869-8858</a><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> Midas mailing list<br>
>>>>> <a href="mailto:Midas@public.kitware.com">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>
>>> --<br>
>>> Zach Mullen<br>
>>> R & D Engineer<br>
>>> Kitware Inc.<br>
>>> <a href="tel:919-869-8858" value="+19198698858">919-869-8858</a><br>
>>><br>
>>> _______________________________________________<br>
>>> Midas mailing list<br>
>>> <a href="mailto:Midas@public.kitware.com">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>
>> Zach Mullen<br>
>> R & D Engineer<br>
>> Kitware Inc.<br>
>> <a href="tel:919-869-8858" value="+19198698858">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">919-869-8858</a><br>
>_______________________________________________<br>
>Midas mailing list<br>
><a href="mailto:Midas@public.kitware.com">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>
</div></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>