MantisBT - ParaView
View Issue Details
0004322ParaView(No Category)public2007-01-16 10:432007-09-25 20:49
David Karelitz 
Utkarsh Ayachit 
highminoralways
closedfixed 
 
 
0004322: Programmable Filter stdout/stderr
On Windows there doesn't appear to be a way to see the stdout and stderr of the Programmable Filter. On linux the output goes to the console.
No tags attached.
Issue History
2007-08-13 16:18Berk GeveciAssigned ToDave DeMarle => Berk Geveci
2007-08-13 16:18Berk GeveciPrioritynormal => high
2007-08-23 17:10Berk GeveciCategory => 3.2
2007-09-17 11:52Berk GeveciAssigned ToBerk Geveci => Utkarsh Ayachit
2007-09-19 09:08Utkarsh AyachitStatustabled => @80@
2007-09-19 09:08Utkarsh AyachitResolutionopen => fixed
2007-09-19 09:08Utkarsh AyachitNote Added: 0009111
2007-09-25 20:49Alan ScottStatus@80@ => closed
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0006726)
Berk Geveci   
2007-03-12 14:12   
There is really no good solution to this. What if the python filter is running on the server? Are we supposed to somehow get the output from all nodes and bring it back to the client? The user should open a file (or multiple files) and write there or produce an array with the results.
(0006728)
Berk Geveci   
2007-03-12 14:32   
The problem really has to do with not seeing the python errors. On
linux, you can see stdout/stderr in the console of where the server is
run (or in the batch queue output files if running on a cluster). When
the server is being run on windows, you can't see the python errors, so
there's no way to know if your script is working or not.
(0006729)
Berk Geveci   
2007-03-12 14:32   
We should catch python errors and report them with vtkErrorMacro.
(0009111)
Utkarsh Ayachit   
2007-09-19 09:08   
Added support to vtkPVPythonInterpretor to capture stdout
and stderr messages. Also added new vtkPVPythonInteractiveInterpretor which
mimicks the standard python shell's read-eval-print loop.

Adding a new bug (BUG 0005748) to capture the delivering of server side messages to client.

/cvsroot/ParaView3/ParaView3/Utilities/VTKPythonWrapping/Executable/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.16; previous revision: 1.15
/cvsroot/ParaView3/ParaView3/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInteractiveInterpretor.cxx,v <-- vtkPVPythonInteractiveInterpretor.cxx
initial revision: 1.1
/cvsroot/ParaView3/ParaView3/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInteractiveInterpretor.h,v <-- vtkPVPythonInteractiveInterpretor.h
initial revision: 1.1
/cvsroot/ParaView3/ParaView3/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.cxx,v <-- vtkPVPythonInterpretor.cxx
new revision: 1.22; previous revision: 1.21
/cvsroot/ParaView3/ParaView3/Utilities/VTKPythonWrapping/Executable/vtkPVPythonInterpretor.h,v <-- vtkPVPythonInterpretor.h
new revision: 1.9; previous revision: 1.8
/cvsroot/ParaView3/ParaView3/Qt/Python/CMakeLists.txt,v <-- CMakeLists.txt
new revision: 1.8; previous revision: 1.7
/cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonShell.cxx,v <-- pqPythonShell.cxx
new revision: 1.10; previous revision: 1.9
/cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonShell.h,v <-- pqPythonShell.h
new revision: 1.6; previous revision: 1.5
/cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonStream.cxx,v <-- pqPythonStream.cxx
new revision: delete; previous revision: 1.3
/cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonStream.h,v <-- pqPythonStream.h
new revision: delete; previous revision: 1.2