View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015923 | ParaView | (No Category) | public | 2016-01-11 09:01 | 2016-07-25 22:16 | ||||
Reporter | Paul Melis | ||||||||
Assigned To | Cory Quammen | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.0 | ||||||||
Target Version | Fixed in Version | 5.1 | |||||||
Summary | 0015923: Syntax error when adding Python Calculator | ||||||||
Description | Steps: 0. This is with the official 5.0.0 Linux 64-bit binaries 1. Start Paraview 2. Add any source (e.g. wavelet, line, load data), press Apply 3. Add a Python Calculator, press Apply Traceback (most recent call last): File "<string>", line 4, in <module> File "/home/paulm/software/ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.0/site-packages/paraview/calculator.py", line 102, in execute retVal = compute(inputs, expression, ns=variables) File "/home/paulm/software/ParaView-5.0.0-Qt4-OpenGL2-MPI-Linux-64bit/lib/paraview-5.0/site-packages/paraview/calculator.py", line 74, in compute retVal = eval(expression, globals(), mylocals) File "<string>", line 0 ^ SyntaxError: unexpected EOF while parsing | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Topic Name | |||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035645) Paul Melis (reporter) 2016-01-11 09:04 |
Sigh, I'm not paying attention am I... Okay, so the syntax error is due to not filling in any Python expression. |
(0036100) Cory Quammen (developer) 2016-06-23 18:42 |
This is indeed an issue when you have "Auto Apply" on. It should be fixed to handle empty expressions gracefully. |
(0036104) Cory Quammen (developer) 2016-06-26 08:06 |
Proposed fix for handling empty expressions is posted at: https://gitlab.kitware.com/paraview/paraview/merge_requests/852 [^] |
(0036113) Cory Quammen (developer) 2016-06-27 13:22 |
Merged in master. |
(0036590) Alan Scott (manager) 2016-07-25 22:16 |
Tested master, Linux, local server. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-11 09:01 | Paul Melis | New Issue | |
2016-01-11 09:04 | Paul Melis | Note Added: 0035645 | |
2016-06-23 18:42 | Cory Quammen | Note Added: 0036100 | |
2016-06-26 08:06 | Cory Quammen | Note Added: 0036104 | |
2016-06-26 17:09 | Cory Quammen | Assigned To | => Cory Quammen |
2016-06-26 17:09 | Cory Quammen | Status | backlog => active development |
2016-06-27 13:22 | Cory Quammen | Note Added: 0036113 | |
2016-06-27 13:22 | Cory Quammen | Status | active development => gatekeeper review |
2016-06-27 13:22 | Cory Quammen | Fixed in Version | => 5.2 |
2016-06-27 13:22 | Cory Quammen | Resolution | open => fixed |
2016-07-25 14:52 | Cory Quammen | Status | gatekeeper review => customer review |
2016-07-25 14:52 | Cory Quammen | Fixed in Version | 5.2 => 5.1 |
2016-07-25 22:16 | Alan Scott | Note Added: 0036590 | |
2016-07-25 22:16 | Alan Scott | Status | customer review => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |