All,
I thank you all very much for your help today, I believe that the 105
error bug is fixed. This was one of the more brutal bugs I've ever
encountered, and my belief is that it was related to underlying file system
differences in operating systems. I was never able to reproduce it on my
machine, and many people never saw it, but others got it on almost every
download. For a detailed explanation of what the problem was, see below.
So, version 1.2.5 is up.
* Error 105 fixed
* You'll now be able to see the version of Furthur that other hosts are
running. (Versions prior to 1.2.4 will appear as Unknown)
* Percentages should update correctly while a show is downloading in the
partials tab
* If your IP address changes (dynamic IP), Furthur will know within a few
minutes.
Extra thanks to Steve McIlree for the super detailed description of the
bug that led me to the problem.
Extra Info
--------------
If Java writes a file to the disk, closes it, then immediately calls the
"get file length" method, the file length comes back from the OS as
zero. If you sleep the thread for a second, then it gets the size
correctly. I found a better solution than sleeping the thread, however,
isn't this strange behavior? I never once got the 105 error on my 2000
machine, which leads me to believe that Windows 98 and below have this
quirky delay before they figure out the file size. Anyone ever encounter
anything like this?
------------ [ [EMAIL PROTECTED] ] ------------
The Furthur Development List
Questions, Comments: [EMAIL PROTECTED]
http://cyberial.com/furthur
--------------------------------------------------