AboutDownloadsDocumentsForumsSource CodeIssuesNews
Date:
2009-06-17 22:26
Priority:
3
State:
Open
Submitted by:
Samuel Flores (sam)
Assigned to:
Samuel Flores (sam)
Summary:
File writing on Swedish Vista

Detailed description
This is to document a problem that has only been observed on Bjorn Skarpas's laptop, which runs Swedish Windows Vista. The problem does not appear on Randy Radmer's U.S. Vista. The problem affects RNABuilder and VMD.

Symptoms:

When the April 10th binary release of RNABuilder is installed in c:\Program Files\RNABuilder:

1. When -d flag is NOT used:
RNABuilder runs fine, but VMD will only display the first version of trajectory.?.pdb ever created, not the latest version. The trajectory.?.pdb files can be inspected to verify that the files themselves reflect the latest RNABuilder run.
2. When -d flag is used:
RNABuilder appears to make correct trajectory.?.pdb files, but last.?.pdb is incorrect. Time stamp is updated, but contents are wrong.

When RNABuilder is installed in c:\RNABuilder:

1. When -d flag is NOT used:
Everything is OK.
2. When -d flag is used:
RNABuilder appears to make correct trajectory.?.pdb files, but last.?.pdb is incorrect. Time stamp is updated, but contents are wrong.

Background:

A web search revealed that many users have had trouble with the file system in Swedish and perhaps other foreign language versions of Vista. This is because while US Vista has a "Program Files" directory, Swedish has simply "Programs." The underlying directory name is still "Program Files" in both cases, but the foreign versions are set to display a foreign language version of the directory name in Explorer and other programs.

Corrective action:

I found that the trajectory.?.pdb and last.?.pdb files are not being closed in Repel.h. I therefore added the following lines to that file:

1153 ofs.close();
1154 output.close();

I have committed this change as revisions 192 and 193 on branches/v1_0, and :

1140 ofs.close();
1141 output.close();

as revision 142 on trunk.

Status:

Open. We have not verified that this actually removes the problem on Swedish vista, since that will have to wait for a new Windows binary distribution.

Planned future action:

After the next binary distribution, ask Bjorn Skarpas to test. Some time is likely to pass before this happens.


Sam

Add A Comment: Notepad

No Comments Have Been Posted

No Changes Have Been Made to This Item

Feedback