Ticket #3298 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Log and display errors.

Reported by: Owen Arnold Owned by: Michael Reuter
Priority: critical Milestone: Iteration 30
Component: VATES Keywords:
Cc: Blocked By:
Blocking: Tester: Peter Parker

Description

As part of stabilising and improving our current prototypes, a very useful feature in the simple gui would be a way to catch and view/log exceptions thrown as part of the program execution. We can't do this for the full PV approach, but we can for the simple gui. This would help user/testers report bugs and make them much easier to find and fix.

Change History

comment:1 Changed 9 years ago by Michael Reuter

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Michael Reuter

In [13742]:

Creating and using wrapper class to handle exception notification. This refs #3298.

comment:3 Changed 9 years ago by Michael Reuter

In [13761]:

Adding extra traps in main program. This refs #3298.

comment:4 Changed 9 years ago by Michael Reuter

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

In [13762]:

Adding logging capability. This fixes #3298.

comment:5 Changed 9 years ago by Michael Reuter

To test the new feature, copy any file that is not VATES readable and give it an extension of .sqw or .nxs. Then, try and open the file in the VatesSimpleGui. The program will crash due to the corrupt file, but now one will see a dialog with the exception info and Mantid log messages as well.

comment:6 Changed 9 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester set to Peter Parker

comment:7 Changed 9 years ago by Peter Parker

  • Status changed from verifying to closed

VatesSimpleGui seem to hang for a while, but the dialog does appear after a short time when you ask it to open a file that is unreadable. Details of the error are included in the dialog.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4145

Note: See TracTickets for help on using tickets.