Ticket #1230 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

LoadRaw makes data up if a network load is interupted

Reported by: Nick Draper Owned by: Roman Tolchenov
Priority: major Milestone: Iteration 23
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Steps to reproduce

  1. LoadRaw for a file on the archive that will take a few seconds (perhaps SANS2D).
  2. Part way through the download pull out the network cable.
  3. The progress will pause for a few seconds
  4. Then without reinserting the cable the progress will restart and the algorithm complete successfully.
  5. The 'magic' section of the workspace is just the same spectra repeated again.

In a failure and time out like this the algorithm should fail gracefully with an error to the log, not make data up.

Change History

comment:1 Changed 10 years ago by Roman Tolchenov

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Roman Tolchenov

(In [4395]) LoadRaw throws exception if it cannot read the data. re #1230

comment:3 Changed 10 years ago by Roman Tolchenov

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

comment:4 Changed 10 years ago by Anders Markvardsen

  • Status changed from testing to closed

If unpluging network cable get message:

Error in execution of algorithm LoadRaw: Error reading raw file

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2077

Note: See TracTickets for help on using tickets.