I have two nearly identical machine running Ubuntu 17.10.  The both have
the latest stable Paraview 5.4.1 from the download page installed in /opt.

I wrote a wrapper script like this:

--------------------------------------------------------------------------------------------------------------------

#!/bin/bash

# PVHOME=/opt/ParaView-5.4.1-822-g597adef-Qt5-MPI-Linux-64bit
PVHOME=/opt/ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit

export PATH=$PVHOME/bin
export LD_LIBRARY_PATH=$PVHOME/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PVHOME/lib/paraview-5.4/
export PYTHONPATH=$PVHOME/lib/python2.7/bin/
export PYTHONPATH=$PYTHONPATH:$PVHOME/lib/python2.7/site-packages/
export PYTHONPATH=$PYTHONPATH:$PVHOME/lib/python2.7/site-packages/vtk/
export PYTHONPATH=$PYTHONPATH:$PVHOME/lib/python2.7/site-packages/paraview/

$PVHOME/bin/paraview
--------------------------------------------------------------------------------------------------------------------

On each machine I start paraview and load a state that has a
programmable filter with the line:

d0 = inputs[0].PointSet['d']

One one machine, this works just fine.  On the other machine, I get the
following message in the Output:

--------------------------------------------------------------------------------------------------------------------

Traceback (most recent call last): File "", line 24, in File "", line 2,
in RequestData TypeError: 'NoneType' object has no attribute '__getitem__'

BTW, this is just a test; obviously, my real filter does something.

I assume that some module is not being loaded here, but I've tried
_everything_ I could think of and I'm not making progress.  Any ideas??

-- 
Martin Weinberg
6 Grass Hill Rd
West Whately, MA
010039


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to