Forte Free Agent error saving database file ("rename primary: File already exists") X-Bugzilla-Reason: AssignedTo
http://bugs.winehq.org/show_bug.cgi?id=2287
Summary: Error updating Free Agent message list ("rename primary: File already exists") Forte Free Agent error saving database file ("rename primary: File already exists") Product: Wine Version: 20040505 Platform: PC URL: http://www.forteinc.com/agent/download.php OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: m.d.nagy@worldnet.att.net
When Free Agent downloads new message headers, it sometimes produces an error dialog with a message of the form "Unable to save changes to database file [something.IDX, depending on the newsgroup being updated] (rename primary: File already exists)". The error seems to occur more often when the application has been open for a long time and/or in relatively heavy use. The message list for the group generally appears corrupted afterward, and usually can't be updated successfully after the error occurs unless the application is first restarted. This happens with Wine 20040408 and 20040505 on Fedora Core 2; it doesn't appear to happen with Wine 20040309 or Fedora Core 1.
I generated a log file documenting one instance of the error; the steps used (YMMV, unfortunately) were:
(1) Started Free Agent on FC2, using Wine 20040505 compiled with a patch that allows the use of the F12 key to toggle tracing (the error occurs without the patch, but the log file is too large then). Specifically, the following commands were entered on a KDE Konsole command line, in the directory containing agent.exe:
export WINEDELAY=1 export WINEDEBUG=+relay setarch i686 wine agent.exe &> wine.log
(2) Downloaded all message headers for alt.os.linux.redhat, alt.usenet.offline-reader.forte-agent, comp.emulators.ms-windows.wine, and linux.redhat.misc.
(3) Marked all the headers in the above four groups for retrieval, pressed the "get marked message bodies" button, and waited for the messages to download.
(4) Posted a couple of messages.
(5) Pressed F12 to turn on tracing; then selected Free Agent's option to retrieve new messages for the four groups. Shortly afterward, the error dialog appeared.
(6) Pressed F12 again to turn off logging.
Besides the error message dialog, the other strange thing I noticed was this line in the directory listing (output of "ls -l"), which was there after the test but not before:
?--------- ? ? ? ? ? 000011b1.bid
All the other lines output by "ls -l" showed apparently normal attributes instead of question marks.