Ticket #816 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Using log data from a file written by windows on Linux causes problems with splitting lines

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

Description

Pascal has reported that using the getLogData() function in Python returns a block of data seemingly correct but then using splitlines causes problems if the file was not written on the operating system that you are currently running on. (The log files were written on a windows machine and he was running Mantid on a linux machine). Basically it's a line ending issue

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 [3172]) Fix for line ending problems when using log files written on one system that are then read by another architecture. System has a new function that imitates std::getline but extracts any line ending it finds, not just the native system one. Fixes #816

comment:3 Changed 11 years ago by Martyn Gigg

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 11 years ago by Martyn Gigg

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

(In [3175]) Reverted poor design decision. Closes #816

comment:5 Changed 11 years ago by Martyn Gigg

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:6 Changed 11 years ago by Martyn Gigg

(In [3176]) Fix windows build. Re #816

comment:7 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 19 to Iteration 20

Moved as part of the end of Iteration 19

comment:8 Changed 11 years ago by Martyn Gigg

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

comment:9 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 20 to Iteration 19

included in iteration 19.1 bugfix release

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1664

Note: See TracTickets for help on using tickets.