View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014148ParaView(No Category)public2013-06-26 10:292016-08-12 09:59
ReporterUtkarsh Ayachit 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0014148: fix ParaView modules path on OsX when executable run from PATH.
DescriptionRefer to this mail on mailing list for details:

http://www.paraview.org/pipermail/paraview/2013-June/028689.html [^]
TagsNo tags attached.
ProjectTBD
Topic Name14148_fix_path_issues
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0031089)
Utkarsh Ayachit (administrator)
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 (administrator)
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 (manager)
2013-08-14 19:12

Since I don't have a Mac build, trusting that this is correct.
(0033656)
Miklem (reporter)
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 (reporter)
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 (administrator)
2014-11-27 10:07

Note on OsX LD_LIBRARY_PATH is not used. You need to use DYLD_LIBRARY_PATH.
(0038414)
Kitware Robot (administrator)
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.

 Issue History
Date Modified Username Field Change
2013-06-26 10:29 Utkarsh Ayachit New Issue
2013-06-27 10:56 Utkarsh Ayachit Topic Name => 14148_fix_path_issues
2013-06-27 10:56 Utkarsh Ayachit Note Added: 0031089
2013-06-27 10:56 Utkarsh Ayachit Status backlog => gatekeeper review
2013-06-27 10:56 Utkarsh Ayachit Fixed in Version => git-next
2013-06-27 10:56 Utkarsh Ayachit Resolution open => fixed
2013-06-27 10:56 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2013-06-28 08:38 Utkarsh Ayachit Fixed in Version git-next => git-master
2013-06-28 08:39 Utkarsh Ayachit Note Added: 0031094
2013-06-28 08:39 Utkarsh Ayachit Status gatekeeper review => customer review
2013-08-14 19:12 Alan Scott Note Added: 0031455
2013-08-14 19:12 Alan Scott Status customer review => closed
2013-11-01 13:18 Utkarsh Ayachit Fixed in Version git-master => 4.1
2014-10-16 13:59 Miklem Note Added: 0033656
2014-10-16 13:59 Miklem Status closed => backlog
2014-10-16 13:59 Miklem Resolution fixed => reopened
2014-11-25 10:41 Joe Borg Note Added: 0033845
2014-11-27 10:07 Utkarsh Ayachit Note Added: 0033853
2015-01-11 08:24 Utkarsh Ayachit Source_changeset_attached => ParaView master e9452087
2015-01-11 08:24 Utkarsh Ayachit Source_changeset_attached => ParaView master de7bc247
2016-08-12 09:59 Kitware Robot Note Added: 0038414
2016-08-12 09:59 Kitware Robot Status backlog => closed
2016-08-12 09:59 Kitware Robot Fixed in Version 4.1 =>
2016-08-12 09:59 Kitware Robot Resolution reopened => moved


Copyright © 2000 - 2018 MantisBT Team