[vtkusers] vtk/web/wamp.py and vtk/web/server.py

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Aug 15 16:50:54 EDT 2017


The name of that method has changed: GetLastStillRenderToMTime

On Tue, Aug 15, 2017 at 2:42 PM, Aron Helser <aron.helser at kitware.com>
wrote:

> No, the VTK version does not. The server is returning an exception via
> RPC, and it is not reported to the console, only in the network trace:
>
>    1. error:{code: -32001, message: "Exception raised", data: {method:
>    "viewport.image.render",…}}
>       1. code:-32001
>       2. data:{method: "viewport.image.render",…}
>          1. exception:"AttributeError("'vtkWebCorePython.vtkWebApplication'
>          object has no attribute 'GetLastStillRenderToMTime'",)"
>
>
> This is due to a change in ParaView, and a parallel change is needed in
> vtkWebApplication. I will look into it.
> The pv_web_cone.py script does work for me.
>
> On Tue, Aug 15, 2017 at 3:45 PM, Dan Lipsa <dan.lipsa at kitware.com> wrote:
>
>> Aron,
>> Note the problem I am seeing is with the VTK version of the server
>> script. Does it work for you?
>> Thanks,
>> Dan
>>
>>
>> On Tue, Aug 15, 2017 at 2:36 PM, Dan Lipsa <dan.lipsa at kitware.com> wrote:
>>
>>> Thanks Aron,
>>> I moved forward, but I am not there yet.
>>>
>>> Now the client connects, to the server, I can see the cone moving in the
>>> server window, but no image is sent back to the browser.
>>> I tried both Chrome and Firefox and I see the same behavior. Any ideas?
>>>
>>> Thanks,
>>> Dan
>>>
>>>
>>> On Tue, Aug 15, 2017 at 2:17 PM, Aron Helser <aron.helser at kitware.com>
>>> wrote:
>>>
>>>> I thought I remembered fixing things....
>>>> The paraviewweb repository was updated July 24th with the correct
>>>> source changes and example code - for some reason the automatic publication
>>>> to the website has not kept up.
>>>>
>>>> Seb, for some reason Travis is not updating  https://kitware.github.io/
>>>> paraviewweb ?
>>>>
>>>> Dan, if you checkout paraviewweb: https://github.co
>>>> m/kitware/paraviewweb
>>>> and do 'npm install', ' npm run doc:www -- RemoteRenderer'
>>>> you should get a local webserver that has that example working.
>>>>
>>>> Hope that works,
>>>> Aron
>>>>
>>>> On Tue, Aug 15, 2017 at 1:55 PM, Dan Lipsa <dan.lipsa at kitware.com>
>>>> wrote:
>>>>
>>>>> This error is in
>>>>> https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html
>>>>>
>>>>> Thanks,
>>>>> Dan
>>>>>
>>>>>
>>>>> On Tue, Aug 15, 2017 at 1:50 PM, Dan Lipsa <dan.lipsa at kitware.com>
>>>>> wrote:
>>>>>
>>>>>> Aron,
>>>>>> Anything else needs to change on the client? I get:
>>>>>>
>>>>>> WebSocket connection to 'ws://localhost:1234/ws' failed: Error during
>>>>>> WebSocket handshake: Sent non-empty 'Sec-WebSocket-Protocol' header but no
>>>>>> response was received
>>>>>> RemoteRenderer.js:32312
>>>>>>
>>>>>> On Tue, Aug 15, 2017 at 11:31 AM, Dan Lipsa <dan.lipsa at kitware.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Great, Thanks Aron.
>>>>>>>
>>>>>>> Dan
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Aug 15, 2017 at 10:35 AM, Aron Helser <
>>>>>>> aron.helser at kitware.com> wrote:
>>>>>>>
>>>>>>>> I seem to have updated the example locally and not committed the
>>>>>>>> documentation modification. Sorry about that!
>>>>>>>> Those files have been renamed/moved into wslink:
>>>>>>>> https://github.com/kitware/wslink
>>>>>>>>
>>>>>>>> Here are the updated example scripts for vtk and paraview - I will
>>>>>>>> change the documented example to match.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Aron
>>>>>>>>
>>>>>>>> On Tue, Aug 15, 2017 at 10:04 AM, Dan Lipsa <dan.lipsa at kitware.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>> The above two files were (re)moved from the vtk/web directory.
>>>>>>>>>
>>>>>>>>> What is the updated version for the following example:
>>>>>>>>>
>>>>>>>>> https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Dan
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170815/d476d591/attachment.html>


More information about the vtkusers mailing list