Ticket #914 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Using relative paths with the new save property on Algorithms causes an exception

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Iteration 20
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

This is a problem with Poco I think. It tends to throw exceptions when null string are passed to Poco::File.

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Owner set to Martyn Gigg

comment:2 Changed 11 years ago by Martyn Gigg

  • Status changed from new to closed
  • Resolution set to fixed

(In [3259]) Fix for windows-style path issues within the property file. Fixes #914 and #935

comment:3 Changed 11 years ago by Nick Draper

  • Status changed from closed to reopened
  • Resolution fixed deleted

nexus\bob.nxs fails in SaveNexus if the directory does not exist. A very misleading error message is outout.

Unable to open file c:\MantidInstall\data\nexus\bob.nxs

We should create the directory automatically and also improve the error reporting.

comment:4 Changed 11 years ago by Martyn Gigg

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [3427]) Fixed FileProperty when trying to save a file to a directory that does not exist. It now creates it. Fixes #914

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1762

Note: See TracTickets for help on using tickets.