Ticket #3048 (closed: worksforme)

Opened 9 years ago

Last modified 5 years ago

In Python, the error message given back when a file is not found is not clear

Reported by: Russell Taylor Owned by: Karl Palmen
Priority: major Milestone: Release 2.4
Component: Python Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

It says:

ValueError on line 56: "Malformed hint to FileFinderImpl::makeFileName: PG3_1993_event" in file 'mantidsimple.py' at line 1601

rather than saying that it can't find the file.

Change History

comment:1 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 29 to Iteration 30

"New" tickets moved at the code freeze of iteration 29

comment:2 Changed 9 years ago by Nick Draper

  • Status changed from new to assigned
  • Owner set to Anyone

comment:3 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:4 Changed 9 years ago by Mathieu Doucet

In [14949]:

Catch low-level exceptions so that the message user sees makes sense. Re #3048

comment:5 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:6 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:7 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:8 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:9 Changed 8 years ago by Karl Palmen

  • Status changed from assigned to accepted
  • Owner changed from Anyone to Karl Palmen

I tried it

Load('PG3_1993_event')

and get: ValueError Invalid value for property (list of str lists) "PG3_1993_event": Unable to parse runs: "Unable to find file matching the staring "PG3_1993_event", even after appending suggested file extensions."

I considwer this to be an acceptable improvement.

comment:10 Changed 8 years ago by Karl Palmen

  • Status changed from accepted to verify
  • Resolution set to worksforme

comment:11 Changed 8 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

Time, and other changes have obviously worked wonders.

comment:12 Changed 8 years ago by Nick Draper

  • Status changed from verifying to closed

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3895

Note: See TracTickets for help on using tickets.