[Paraview] Paraview Web inside web app - pv is not defined

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Aug 29 12:53:35 EDT 2016


Did you figure out how to load everything by hand?

On Mon, Aug 29, 2016 at 4:47 AM, Daniel Zuidinga <info at seoaachen.de> wrote:

>
> I looked into it.
> Seems that I have to get rid of the vtkweb-loader.js and load the js, tpl
> and css myself.
>
>
>
>
> Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga:
>
> Hi,
>
> I try to get pv web visualizer to work inside an angular2 component.
>
> The window opens on server and connection object seems right. But I get pv
> is not defined when try to call
>
> pv.initializeVisualizer(...)
>
> . Any ideas why this could be?
>
>
> ReferenceError: pv is not defined
>     at start (http://localhost:24264/dist/main.js?v=
> xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18)
>     at q.connectionInfo.connection.onopen (http://localhost:24264/lib/
> core/vtkweb-all.min.js:30:556)
>     at w.b._session.onjoin (http://localhost:24264/ext/
> core/autobahn.min.js:29:210)
>     at Object.f._socket.onmessage (http://localhost:24264/ext/
> core/autobahn.min.js:95:330)
>     at WebSocket.window.b.onmessage (http://localhost:24264/ext/
> core/autobahn.min.js:114:422)
>
>
>
> _______________________________________________
> 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview
>
>
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160829/0415bc8f/attachment.html>


More information about the ParaView mailing list