MantisBT - ParaView
View Issue Details
0014263ParaView(No Category)public2013-09-05 19:482015-01-11 08:23
Alan Scott 
Utkarsh Ayachit 
highminorhave not tried
closedfixed 
git-master 
4.14.1 
Sandia
14263_fix_python_in_installs
incorrect functionality
0014263: Trace recorder is broken
Master, Linux, local server.

Start ParaView.
Tools/ Start Trace. Error.
This needs to be fixed ASAP.

Error: Could not import vtkCommonComputationalGeometryPython
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/projects/viz/paraview/ParaView/4.1.0-alan2/Linux-eng-sci-rhel6-x86_64/lib/paraview-4.0/site-packages/paraview/smtrace.py", line 2, in <module>
    import simple
  File "/projects/viz/paraview/ParaView/4.1.0-alan2/Linux-eng-sci-rhel6-x86_64/lib/paraview-4.0/site-packages/paraview/simple.py", line 41, in <module>
    import servermanager
  File "/projects/viz/paraview/ParaView/4.1.0-alan2/Linux-eng-sci-rhel6-x86_64/lib/paraview-4.0/site-packages/paraview/servermanager.py", line 48, in <module>
    import paraview, re, os, os.path, new, sys, atexit, vtk
  File "/projects/viz/paraview/ParaView/4.1.0-alan2/Linux-eng-sci-rhel6-x86_64/lib/paraview-4.0/site-packages/paraview/vtk/__init__.py", line 7, in <module>
    from vtkCommonCorePython import *
ImportError: No module named vtkCommonCorePython
No tags attached.
Issue History
2013-09-05 19:48Alan ScottNew Issue
2013-09-12 14:47Utkarsh AyachitNote Added: 0031566
2013-09-12 14:47Utkarsh AyachitAssigned To => Dave DeMarle
2013-10-21 07:47Utkarsh AyachitAssigned ToDave DeMarle => Utkarsh Ayachit
2013-10-21 07:48Utkarsh AyachitTarget Version => 4.1
2013-10-22 11:02Utkarsh AyachitTopic Name => 14263_fix_python_in_installs
2013-10-22 11:02Utkarsh AyachitNote Added: 0031714
2013-10-22 11:02Utkarsh AyachitStatusbacklog => gatekeeper review
2013-10-22 11:02Utkarsh AyachitFixed in Version => git-next
2013-10-22 11:02Utkarsh AyachitResolutionopen => fixed
2013-10-24 08:37Utkarsh AyachitFixed in Versiongit-next => git-master
2013-10-24 08:37Utkarsh AyachitStatusgatekeeper review => customer review
2013-10-24 08:37Utkarsh AyachitNote Added: 0031723
2013-10-28 20:19Alan ScottNote Added: 0031760
2013-10-28 20:19Alan ScottStatuscustomer review => closed
2013-11-01 13:17Utkarsh AyachitFixed in Versiongit-master => 4.1
2013-11-06 10:06Utkarsh AyachitNote Added: 0031839
2013-11-06 10:06Utkarsh AyachitStatusclosed => backlog
2013-11-06 10:06Utkarsh AyachitResolutionfixed => reopened
2013-11-06 10:15Utkarsh AyachitNote Added: 0031840
2013-11-06 10:15Utkarsh AyachitStatusbacklog => gatekeeper review
2013-11-06 10:15Utkarsh AyachitResolutionreopened => fixed
2013-11-07 09:38Utkarsh AyachitNote Added: 0031843
2013-11-07 09:38Utkarsh AyachitStatusgatekeeper review => customer review
2013-11-13 19:47Alan ScottNote Added: 0031851
2013-11-13 19:47Alan ScottStatuscustomer review => closed
2015-01-11 08:22Utkarsh AyachitSource_changeset_attached => ParaView master 974fbb5d
2015-01-11 08:22Utkarsh AyachitSource_changeset_attached => ParaView master f27b51c2
2015-01-11 08:23Utkarsh AyachitSource_changeset_attached => ParaView master fd432157
2015-01-11 08:23Utkarsh AyachitSource_changeset_attached => ParaView master 34134514

Notes
(0031566)
Utkarsh Ayachit   
2013-09-12 14:47   
Alan,

This issue is stemming for the fact that the Python installation rules in VTk/ParaView are currently in a flux. These will be fixed soon.

In the mean time, don't using Python from installed versions of ParaView based on git-master.

Utkarsh
(0031714)
Utkarsh Ayachit   
2013-10-22 11:02   
commit 341345142b115380afd393f51a891b076bc7795c
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Oct 22 10:59:12 2013 -0400

    BUG 0014263: Fix pvpython in installed ParaView.
    
    Fixes the issue commit 8bd0620b attempted to fix. We need to add the location of
    *Python.so files to sys.path since they are no longer in the same place as the
    ParaView shared libraries. Fixed that by correcting the typo in commit
    8bd0620b.
    
    Change-Id: Ic5b7618e09a5423d9ae8d89bf0f51e80861883d0
(0031723)
Utkarsh Ayachit   
2013-10-24 08:37   
SUMMARY
---------------------------------------------
Topics merged into master:
        14186_fix_point_sprite_issues
        14263_fix_python_in_installs
        14336_fix_examples
        14337_delete_pipeline_error
        14338_fix_build_issues
        14339_fix_elevation_filter
        14343_fix_tile_display_hang
        add-visitbridge-private-linking
(VTK) hardware-selector-pv-bug
        pvweb-virtualgl-doc
        smaller-catalyst-editions
        sqplugin-topo-mapper-gui
(VTK) update_vtk_master

(0031760)
Alan Scott   
2013-10-28 20:19   
Nice, fixed. Tested Linux, master, local server.
(0031839)
Utkarsh Ayachit   
2013-11-06 10:06   
reopening since the same problem happens with Windows installers too. To test simply download the nightly binary for ParaView on Windows and open the Python shell or "Start Trace" as reported in this bug.
(0031840)
Utkarsh Ayachit   
2013-11-06 10:15   
commit f27b51c2183eea0b5b4d4063cb89ce9e854b3ef2
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Wed Nov 6 10:13:57 2013 -0500

    BUG 0014263. Fix Python path issue with Windows installers.
    
    We need to add the location of *Python.so files to sys.path since they are no
    longer in the same place as the ParaView shared libraries.
    
    Change-Id: I21342df664c7a2e7948c8cb015ee5a100848a582
(0031843)
Utkarsh Ayachit   
2013-11-07 09:38   
SUMMARY
---------------------------------------------
Topics merged into master:
        14263_fix_python_in_installs
        fix_examples
(VTK) pvweb-file-loader-with-group
        pvweb-fix-video-link
(VTK) update_vtk_master

(0031851)
Alan Scott   
2013-11-13 19:47   
Previously tested.