Ticket #7936 (closed: worksforme)
Bug in script window
Reported by: | Owen Arnold | Owned by: | Dan Nixon |
---|---|---|---|
Priority: | critical | Milestone: | Release 3.3 |
Component: | Python | Keywords: | |
Cc: | martyn.gigg@… | Blocked By: | |
Blocking: | Tester: | Andrei Savici |
Description
Line numbers for errors seem to come out wrong when you execute a selection. This is a note made by Martyn during the Python in Mantid training course 10/Sept/2013.
Change History
comment:3 Changed 6 years ago by Dan Nixon
This seems to be fixed.
The following was a selection which stars on line 17 of a valid script:
d = Load("GEM38370_Focussed_Legacy..nxs") print type(d)
Which gives the following error when the two lines were run as a selection:
ValueError: Invalid value for property Filename (list of str lists) "GEM38370_Focussed_Legacy..nxs": File "GEM38370_Focussed_Legacy..nxs" not found at line 17 in 'New script' caused by line 91 in '/home/dan/mantid-build/bin/mantid/simpleapi.py'
The error quotes line 17 which matches the line numbers in the script window.
comment:4 Changed 6 years ago by Dan Nixon
- Status changed from assigned to verify
- Resolution set to worksforme
comment:5 Changed 6 years ago by Peter Peterson
- Milestone changed from Backlog to Release 3.3
Should be on the current release
comment:6 Changed 6 years ago by Andrei Savici
- Status changed from verify to verifying
- Tester set to Andrei Savici
Note: See
TracTickets for help on using
tickets.
Bulk move to assigned at the introduction of the triage step