[vtkusers] VTK web application

Aron Helser aron.helser at kitware.com
Tue Dec 12 15:36:13 EST 2017


The older Autobahn had a number of issues with Python 3 - so I would expect
you to have problems. We were able to make it work with python 3 by
backporting a number of python3 fixes, but can you upgrade to VTK 8.1.0?
Then you can use the newest autobahn and twisted, with wslink.

launcher.py has migrated to wslink: https://github.com/
Kitware/wslink/blob/master/python/src/wslink/launcher.py
but it didn't change very much.

I don't know if we have a vtk-only example of migration, but the Visualizer
app migrated, including the launcher, I believe.

Aron


On Tue, Dec 12, 2017 at 8:36 AM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:

> VTK 8.1.0 will support Python 3 with our WSLink library.
> In order to migrate, you will have a couple of import to fix but the API
> should be almost the same if not the same.
>
> Aron should be able to give you some pointers on where to look for
> migration examples.
>
> Seb
>
> On Mon, Dec 11, 2017 at 7:33 PM, 沈庄明 <zhuangming.shen at sphic.org.cn> wrote:
>
>> ​Hi all,
>>
>>
>> I referred vtkweb/launcher.py in VTK 8.0.0 to write my own codes with
>> twisted 17.1.0 and autobahn 0.8.14, it can work using python 2.7. But when
>> I upgraded python to 3.4, it did not respond to http request, and in
>> front-end displayed "404 No such Resource". So I wonder if launcher.py can
>> support python 3.x? Need to modify something? Any suggestions are welcome.
>>
>>
>> BTW, I noticed that launcher.py has been removed in VTK 8.1.0. Does that
>> mean VTK web application use a new architecture?
>>
>>
>>
>> Regards,
>>
>>
>> Zhuangming Shen
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171212/db86decd/attachment.html>


More information about the vtkusers mailing list