MantisBT - ParaView | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013456 | ParaView | (No Category) | public | 2012-09-14 10:51 | 2012-10-29 17:04 |
| Reporter | Ian Curington | ||||
| Assigned To | Utkarsh Ayachit | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 3.14.1 | ||||
| Target Version | Fixed in Version | 3.98.0 | |||
| Project | TBD | ||||
| Topic Name | |||||
| Type | incorrect functionality | ||||
| Summary | 0013456: Extend pqPythonManager to execute pvpython from memory buffer rather than file (patch supplied) | ||||
| Description | Summary: Request to extend python manager API to execute scripts from string buffer, rather than exclusively from external python file. Why? Within other plugins, filters, C++ programs, can be helpful to execute some small script. Currently, such small script must first be written to file, then executed, then removed. Patch Submission: Added executeRawScript() routine to pqPythonManager class to allow easy execution of pvpython scripts from memory-buffer, without needing to output them to external file first. patched files: pqPythonManager.[h,cxx] action: copy pqPythonManager.[h,cxx] to ParaView-3.14.1/Qt/Python DESCRIPTION: CHANGES: To make this patch, following changes were made (ParaView source patch): - Added declaration of added routine executeRawScript(...) to pqPythonManager.h Ln 136, - Added additional header files to pqPythonManager.cxx Ln 34-38 and - Added implementation of new routine executeRawScript(...) to pqPythonManager.cxx Ln 223-283. Patch available for both 3.12 and 3.14.1. Tested and currently in production in application. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/9279/pqPythonManager.patch https://www.vtk.org/Bug/file/9280/pqPythonManager.h https://www.vtk.org/Bug/file/9281/pqPythonManager.cxx | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-09-14 10:51 | Ian Curington | New Issue | |||
| 2012-09-14 10:51 | Ian Curington | File Added: pqPythonManager.patch | |||
| 2012-09-14 10:53 | Ian Curington | File Added: pqPythonManager.h | |||
| 2012-09-14 10:54 | Ian Curington | File Added: pqPythonManager.cxx | |||
| 2012-09-14 14:34 | Pat Marion | Note Added: 0029212 | |||
| 2012-09-18 10:25 | Utkarsh Ayachit | Assigned To | => Utkarsh Ayachit | ||
| 2012-09-18 10:28 | Utkarsh Ayachit | Note Added: 0029216 | |||
| 2012-09-18 10:28 | Utkarsh Ayachit | Status | backlog => gatekeeper review | ||
| 2012-09-18 10:28 | Utkarsh Ayachit | Fixed in Version | => git-master | ||
| 2012-09-18 10:28 | Utkarsh Ayachit | Resolution | open => fixed | ||
| 2012-09-18 10:28 | Utkarsh Ayachit | Status | gatekeeper review => customer review | ||
| 2012-09-20 20:46 | Alan Scott | Note Added: 0029248 | |||
| 2012-09-20 20:46 | Alan Scott | Status | customer review => closed | ||
| 2012-10-29 17:04 | Utkarsh Ayachit | Fixed in Version | git-master => 3.98.0 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||