[Paraview-developers] paraview/web 4 pipeline

Sebastien Jourdain sebastien.jourdain at kitware.com
Wed Nov 13 09:24:02 EST 2013


I don't know, you tell me.

What is the exception when you run the command line directly in your
terminal?


On Wed, Nov 13, 2013 at 6:56 AM, kyr <akyrieleis at gmail.com> wrote:

> In a file AK_protocol.py (which is in same dir as protocol.py) I have
> defined
> a class with a dummy member:
>
>
> import types
> import logging
> import inspect
> from time import time
>
> # import RPC annotation
> from autobahn.wamp import exportRpc
>
> # import paraview modules.
> from paraview import simple, servermanager
> from paraview.web import helper
> from vtk.web import protocols as vtk_protocols
> from vtkWebCorePython import vtkWebInteractionEvent
> from paraview.web import protocols
>
> class ParaViewWebMapManip(ParaViewWebProtocol):
>
>  @exportRpc("mapManip")
>     def mapManip(self):
>         """
>         RPC callback to reset camera.
>         """
>         return false
>
>
>
> If I then import that in a modified pv_web_visualiser.py using
>
> from paraview.web import AK_protocol as AKprotocol
>
> and
>
>  self.registerVtkWebProtocol(AKprotocol.ParaViewWebMapManip())
>
> then I get an exception from Jetty when the page containing the rendered
> data is opened.
>
> What is wrong ?
>
> Many thanks
>
> k.
>
>
>
>
>
> --
> View this message in context:
> http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/paraview-web-4-pipeline-tp2618p2628.html
> Sent from the The Unofficial ParaView Developers Forum mailing list
> archive at Nabble.com.
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131113/f622427d/attachment.htm>


More information about the Paraview-developers mailing list