Opened 9 years ago

Closed 8 years ago

#277 closed defect (fixed)

Manual download to local of Model/TI/RI files fails

Reported by: titus_franzmann Owned by: demeler
Priority: normal Milestone: future
Component: ultrascan3 Version:
Keywords: review Cc:

Description

I tried to download model/ti/ri results from the db to local. The files are not downloaded and in the database/manage data-section they appear red.
This is on Windows 7 and Windows XP.

Change History (6)

comment:1 follow-up: Changed 9 years ago by gegorbet

  • Owner changed from bdubbs to gegorbet

If the data section in us_manage_data shows entries as red, then they have been downloaded to local. The red color indicates the record exists both in the DB and locally, but the two records have a different checksum. This happens on Windows, I believe, because the line termination locally (LF/CR) differs from that of the DB (LF).

I will have to study some more how to get around this discrepancy. But, I believe that downloads do work on Windows. The XML contents of the DB and local versions of records are materially identical; line termination does not affect the parameter information they carry.

comment:2 Changed 9 years ago by gegorbet

  • Status changed from new to assigned

comment:3 in reply to: ↑ 1 Changed 9 years ago by demeler

Replying to gegorbet:

...the two records have a different checksum. This happens on Windows, I believe, because the line termination locally (LF/CR) differs from that of the DB (LF).

Just a quick note: With Qt3 I had to use an IO flag to make sure Windows writes were working correctly:

myfile.open(IO_WriteOnly | IO_Translate)

maybe there is something similar in Qt4 that will prevent this difference?

comment:4 Changed 8 years ago by gegorbet

  • Keywords review added

Further study revealed that Conflict status (red entry) occurs most commonly because of very slight differences in model component or noise values between DB and local. The latest version of Manage Data now checks model and noise data that is initially marked as being in Conflict (i.e., checksums differ). If the only differences between DB/local data is slight (<0.001 %) differences in values, they are marked In Sync.

This ticket is review-ready.

comment:5 follow-up: Changed 8 years ago by gegorbet

  • Owner changed from gegorbet to demeler
  • Status changed from assigned to new

comment:6 in reply to: ↑ 5 Changed 8 years ago by demeler

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

Replying to gegorbet:
This seems to work correctly now - I didn't see this problem in any longer for any of the cases where I saw it before. I will close this ticket.

Note: See TracTickets for help on using tickets.