View Single Post
  #27 (permalink)  
Old July 6th, 2003
jum's Avatar
jum jum is offline
Latest svn User
 
Join Date: April 6th, 2002
Location: Germany
Posts: 174
jum is flying high
Default

Quote:
Originally posted by sberlin
FYI,

I just merged in a change to provide better backup support for the downloads.dat file. It goes through the following steps:

Before writing downloads.dat, rename the existing one to downloads.bak. If writing the file fails at any time, delete the current downloads.dat and copy the old downloads.bak to downloads.dat.

When starting up, if reading the downloads.dat file fails for any reason, it will try to read downloads.bak. If that succeeds, it will copy downloads.bak to downloads.dat.
I have just lost another downloads.dat file even though nothing appeared wrong upon quitting LimeWire. I copied away the .bak file and looked what might caused the problem. Upon attempting to read in that file I have found that the following exception is thrown:

java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.limegroup.gnutella.messages.QueryReply$PushPro xyContainer

I would suspect that there is something wrong with storing downloads via push proxies.