MantisBT - ParaView
View Issue Details
0012078ParaViewBugpublic2011-04-13 10:252012-02-08 17:26
Stephane P 
Kyle Lutz 
urgentminoralways
closedfixed 
3.10 
3.12 
ParaViS
12078-python-exec-script-with-trace
0012078: python script no running when python trace active
Attached is a simple python script (you will have to adapt the filename within, it refers to a file in ParaViewData/Data) :

This script can be loaded without pb from the python shell if the trace is not started. But if the trace is started, it raises a lot of errors.
No tags attached.
? loadexfile.py (1,296) 2011-04-13 10:25
https://www.vtk.org/Bug/file/8812/loadexfile.py
Issue History
2011-04-13 10:25Stephane PNew Issue
2011-04-13 10:25Stephane PFile Added: loadexfile.py
2011-04-13 10:27Utkarsh AyachitTarget Version => 3.12
2011-06-23 11:43Utkarsh AyachitProject => ParaViS
2011-07-08 10:45Utkarsh AyachitAssigned To => Utkarsh Ayachit
2011-07-08 10:45Utkarsh AyachitStatusbacklog => todo
2011-08-15 11:30Utkarsh AyachitAssigned ToUtkarsh Ayachit => Kyle Lutz
2011-08-15 11:46Kyle LutzStatustodo => active development
2011-08-15 12:57Kyle LutzTopic Name => 12078-python-exec-script-with-trace
2011-08-15 12:57Kyle LutzNote Added: 0027360
2011-08-15 12:57Kyle LutzStatusactive development => gatekeeper review
2011-08-15 12:57Kyle LutzFixed in Version => 3.12
2011-08-15 12:57Kyle LutzResolutionopen => fixed
2011-08-18 09:11Utkarsh AyachitNote Added: 0027388
2011-08-18 09:11Utkarsh AyachitStatusgatekeeper review => todo
2011-08-18 16:54Kyle LutzStatustodo => active development
2011-08-19 10:07Kyle LutzStatusactive development => gatekeeper review
2011-08-19 10:07Kyle LutzNote Added: 0027393
2011-08-19 16:49Utkarsh AyachitStatusgatekeeper review => customer review
2011-08-19 16:49Utkarsh AyachitNote Added: 0027398
2011-08-22 09:47Kyle LutzStatuscustomer review => todo
2011-08-22 09:47Kyle LutzStatustodo => active development
2011-08-22 09:47Kyle LutzNote Added: 0027407
2011-08-22 09:47Kyle LutzStatusactive development => gatekeeper review
2011-08-26 11:33Stephane PNote Added: 0027429
2011-08-26 11:33Stephane PNote Deleted: 0027429
2011-08-26 15:57Utkarsh AyachitStatusgatekeeper review => customer review
2011-08-29 14:41Kyle LutzStatuscustomer review => todo
2011-08-29 14:41Kyle LutzStatustodo => active development
2011-08-29 17:21Kyle LutzNote Added: 0027433
2011-08-29 17:21Kyle LutzStatusactive development => gatekeeper review
2011-09-02 13:43Utkarsh AyachitNote Added: 0027449
2011-09-02 13:43Utkarsh AyachitStatusgatekeeper review => customer review
2011-09-02 13:43Utkarsh AyachitFixed in Version3.12 => git-master
2011-11-11 17:03Utkarsh AyachitFixed in Versiongit-master => 3.12
2012-02-08 17:26Utkarsh AyachitStatuscustomer review => closed
2012-02-08 17:26Utkarsh AyachitNote Added: 0028161

Notes
(0027360)
Kyle Lutz   
2011-08-15 12:57   
Merge topic '12078-python-exec-script-with-trace' into next

ab2e7b6 Fix errors caused when running a python script while tracing
(0027388)
Utkarsh Ayachit   
2011-08-18 09:11   
"Instead of using "execfile(...)" in the generated trace when executing a marco, could you copy the content of the file with the python marco in the generated trace?
The advantage is that the generated python trace is self-sufficient (does not reference other files, does not have path in it...), making it easier to distribute or share etc..."
(0027393)
Kyle Lutz   
2011-08-19 10:07   
Merge topic '12078-python-exec-script-with-trace' into next

1af202d Insert python code into trace instead of calling execfile()
(0027398)
Utkarsh Ayachit   
2011-08-19 16:49   
merged into master.
(0027407)
Kyle Lutz   
2011-08-22 09:47   
Merge topic '12078-python-exec-script-with-trace' into next

84e3e1e Add CMAKE_CURRENT_SOURCE_DIR to python include directories
(0027433)
Kyle Lutz   
2011-08-29 17:21   
Merge topic '12078-python-exec-script-with-trace' into next

9592e44 Change python execute script to use exec()
(0027449)
Utkarsh Ayachit   
2011-09-02 13:43   
Merged update into master.
(0028161)
Utkarsh Ayachit   
2012-02-08 17:26   
closing bugs sitting in "customer review" for a long time.