MantisBT - ParaView
View Issue Details
0014148ParaView(No Category)public2013-06-26 10:292016-08-12 09:59
Utkarsh Ayachit 
Utkarsh Ayachit 
normalminorhave not tried
closedmoved 
 
 
TBD
14148_fix_path_issues
incorrect functionality
0014148: fix ParaView modules path on OsX when executable run from PATH.
Refer to this mail on mailing list for details:

http://www.paraview.org/pipermail/paraview/2013-June/028689.html [^]
No tags attached.
Issue History
2013-06-26 10:29Utkarsh AyachitNew Issue
2013-06-27 10:56Utkarsh AyachitTopic Name => 14148_fix_path_issues
2013-06-27 10:56Utkarsh AyachitNote Added: 0031089
2013-06-27 10:56Utkarsh AyachitStatusbacklog => gatekeeper review
2013-06-27 10:56Utkarsh AyachitFixed in Version => git-next
2013-06-27 10:56Utkarsh AyachitResolutionopen => fixed
2013-06-27 10:56Utkarsh AyachitAssigned To => Utkarsh Ayachit
2013-06-28 08:38Utkarsh AyachitFixed in Versiongit-next => git-master
2013-06-28 08:39Utkarsh AyachitNote Added: 0031094
2013-06-28 08:39Utkarsh AyachitStatusgatekeeper review => customer review
2013-08-14 19:12Alan ScottNote Added: 0031455
2013-08-14 19:12Alan ScottStatuscustomer review => closed
2013-11-01 13:18Utkarsh AyachitFixed in Versiongit-master => 4.1
2014-10-16 13:59MiklemNote Added: 0033656
2014-10-16 13:59MiklemStatusclosed => backlog
2014-10-16 13:59MiklemResolutionfixed => reopened
2014-11-25 10:41Joe BorgNote Added: 0033845
2014-11-27 10:07Utkarsh AyachitNote Added: 0033853
2015-01-11 08:24Utkarsh AyachitSource_changeset_attached => ParaView master e9452087
2015-01-11 08:24Utkarsh AyachitSource_changeset_attached => ParaView master de7bc247
2016-08-12 09:59Kitware RobotNote Added: 0038414
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotFixed in Version4.1 =>
2016-08-12 09:59Kitware RobotResolutionreopened => moved

Notes
(0031089)
Utkarsh Ayachit   
2013-06-27 10:56   
commit de7bc247b3708e639e11384268853fa8b5579387
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Thu Jun 27 10:54:01 2013 -0400

    BUG 0014148. Fix location of executable path.
    
    When executable was run from PATH, we were not determining the executable path
    correctly which was messing up the logic to find Python module paths. This fixes
    that issue.
    
    Change-Id: I1db76f3f5ca9b4e9b9de26f02584332689ef7632
(0031094)
Utkarsh Ayachit   
2013-06-28 08:39   
SUMMARY
---------------------------------------------
Topics merged into master:
        13791_sliceview_hide_outline
        14148_fix_path_issues
        allow_request_data_to_fail
        block-icon-cache
        freeze_python
        pvw-extend-pipeline-manager
        pvw-fix-clip-widget
        pvw-python-friendly-processRMIs
        pvw-signal-handler-arg
        simple-py-lookup-tables
(VTK) table2structured_one_piece_extent_fix
        tecplot_extensions


---------------------------------------------
(0031455)
Alan Scott   
2013-08-14 19:12   
Since I don't have a Mac build, trusting that this is correct.
(0033656)
Miklem   
2014-10-16 13:59   
Hi, I just downloaded paraview 4.2 and have the same issues with python. For examle:
1) In home folder I ran python idle, and then 'import vtk', it's working, but if I ran 'from paraview.simple import *' it crashes with the error:
import paraview, re, os, os.path, new, sys, atexit, vtk
  File "home/ParaView-4.2.0-Linux-64bit/lib/paraview-4.2/site-packages/paraview/vtk/__init__.py", line 7, in <module>
    from vtkCommonCorePython import *
ImportError: No module named vtkCommonCorePython

2) if I go to home/ParaView-4.2.0-Linux-64bit/lib/paraview-4.2/site-packages/paraview, start python there and run 'import vtk' it crashes as well.

My config:
PYTHONPATH=/home/ParaView-4.2.0-Linux-64bit/lib/paraview-4.2/site-packages/:/home/ParaView-4.2.0-Linux-64bit/lib/paraview-4.2/:
LD_LIBRARY_PATH=/home/ParaView-4.2.0-Linux-64bit/lib/paraview-4.2/
(0033845)
Joe Borg   
2014-11-25 10:41   
@Miklem, have you tried adding

/home/ParaView-4.2.0-Linux-64bit/lib

to the PYTHONPATH? vtkCommonCorePython.so is in there.
(0033853)
Utkarsh Ayachit   
2014-11-27 10:07   
Note on OsX LD_LIBRARY_PATH is not used. You need to use DYLD_LIBRARY_PATH.
(0038414)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.