View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0005956 | ParaView | (No Category) | public | 2007-10-25 13:25 | 2007-11-28 19:25 | ||||
Reporter | Robert Maynard | ||||||||
Assigned To | Clinton Stimpson | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005956: Python Shell not reloading Objects defined in scripts | ||||||||
Description | If a python object is loaded into the python shell by using the run script button, it cannot be reloaded if you open the file again. The easiest way to test this is load a object with a run time error, fix the error and reload the script. While the error has been removed, the python interperter seems to still use the old pyc file. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Topic Name | |||||||||
Type | |||||||||
Attached Files | Changes.zip [^] (35,861 bytes) 2007-11-08 13:27 | ||||||||
Relationships | |
Relationships |
Notes | |
(0009654) Robert Maynard (developer) 2007-11-08 13:28 |
I have uploaded a zip of the files I modified to fix this problem. How I fixed this problem was that I added a Reset button to the pythonDialog, and than made it emit a signal that I listened for inside pqMainWindowCore. |
(0009658) Clinton Stimpson (developer) 2007-11-08 16:11 |
Do you mind modifying your patch a bit more? Move the resetPythonInterpretor() to pqPythonDialog. Then add a signal to pqPythonDialog that is connected to pqMainWindowCore::initPythonInterpretor(). Thanks. |
(0009659) Robert Maynard (developer) 2007-11-08 16:22 |
the resetPythonInterpretor() emitter is already in pqPythonDialog, so I am a bit confused on what you are asking. Are you asking that the restartInterpretor call be in pqPythonDialog? |
(0009661) Clinton Stimpson (developer) 2007-11-09 19:06 |
Fixed. Reset button added. /cvsroot/ParaView3/ParaView3/Qt/Components/pqMainWindowCore.cxx,v <-- pqMainWindowCore.cxx new revision: 1.237; previous revision: 1.236 /cvsroot/ParaView3/ParaView3/Qt/Components/pqMainWindowCore.h,v <-- pqMainWindowCore.h new revision: 1.82; previous revision: 1.81 /cvsroot/ParaView3/ParaView3/Qt/Python/CMakeLists.txt,v <-- CMakeLists.txt new revision: 1.9; previous revision: 1.8 /cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonDialog.cxx,v <-- pqPythonDialog.cxx new revision: 1.14; previous revision: 1.13 /cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonDialog.h,v <-- pqPythonDialog.h new revision: 1.8; previous revision: 1.7 /cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonDialog.ui,v <-- pqPythonDialog.ui new revision: 1.4; previous revision: 1.3 /cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonShell.cxx,v <-- pqPythonShell.cxx new revision: 1.15; previous revision: 1.14 /cvsroot/ParaView3/ParaView3/Qt/Python/pqPythonShell.h,v <-- pqPythonShell.h new revision: 1.8; previous revision: 1.7 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2007-10-25 13:25 | Robert Maynard | New Issue | |
2007-11-08 13:27 | Robert Maynard | File Added: Changes.zip | |
2007-11-08 13:28 | Robert Maynard | Note Added: 0009654 | |
2007-11-08 16:11 | Clinton Stimpson | Note Added: 0009658 | |
2007-11-08 16:22 | Robert Maynard | Note Added: 0009659 | |
2007-11-09 19:06 | Clinton Stimpson | Status | backlog => tabled |
2007-11-09 19:06 | Clinton Stimpson | Assigned To | => Clinton Stimpson |
2007-11-09 19:06 | Clinton Stimpson | Status | tabled => @80@ |
2007-11-09 19:06 | Clinton Stimpson | Resolution | open => fixed |
2007-11-09 19:06 | Clinton Stimpson | Note Added: 0009661 | |
2007-11-28 19:25 | Alan Scott | Status | @80@ => closed |
2011-06-16 13:10 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |