Ticket #1745 (closed: fixed)
Problem with SaveNexus
Reported by: | Michael Whitty | Owned by: | Michael Whitty |
---|---|---|---|
Priority: | major | Milestone: | Iteration 25 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Martyn Gigg |
Description
Franz Demmel has reported a problem with SaveNexus, in that it fails on a throw of "tm unable to handle not-a-date-time value" which I have traced to being linked to the AlgorithmHistory::printSelf and DateAndTime::to_tm functions.
Unfortunately, it seems like this is some strange relic of Franz's setup (affects both his laptop and desktop) - but as his machine was setup in a standardised way by ISIS IT then it may become a more widespread problem on release, though I am unable to reproduce it in a development environment to provide more details.
Through trying different versions of the installer, I have narrowed down the introduction of this bug to between [6006] and [6046], so shortly after the last release.
Installers are not available for Win32 intervening period for some reason, but looking at the revision log it would seem that the most likely candidate for introducing it is [6022] (30/08).
Change History
comment:1 Changed 10 years ago by Nick Draper
- Status changed from new to assigned
- Owner changed from Nick Draper to Michael Whitty
comment:8 Changed 10 years ago by Michael Whitty
(In [7009]) re #1745 - stepping into unit tests highlighted another position where the to_tm function is called that didn't appear when stepping through the algorithm in debug mode from mantidplot. hopefully this should be more effective in addressing this issue.
however, think the unit test may need looking at - SaveNexusProcessedTest - testExecOnLoadraw - was getting messages in the log on saving outer4 about "logic error in execution of savenexusprocessed, tm unable to handle not-a-date-time value", but the test was passing.
comment:9 Changed 10 years ago by Michael Whitty
- Status changed from accepted to verify
- Resolution set to fixed
checked with Franz, issue resolved as of v [7026]
comment:10 Changed 10 years ago by Martyn Gigg
- Status changed from verify to verifying
- Tester set to Martyn Gigg
comment:12 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 2592
Try to make the conversion code as bomb proof as possible, perhaps use a date like 1-1-1900 as a proxy for the error message.