FWIW, I am seeing this same problem on OS X. So it seems that the Windows part of the equation may not be relevant.
I have some binary files not downloading completely out of trac: I have a couple of .jpg's and an .xls file that exhibit problems. Other jpegs (bigger, and smaller) work fine. So it seems to be something about the content of the file. I am using mod_wsgi 2.1, with Apache 1.3, and Trac 0.11 on OS X Tiger 10.4.11. Adding the change to the .wsgi file to eliminate the file wrapper fixed the problem. These are not very large files, and they seem to break in predictable ways - the download always stops at the same point - so it would seem to be something about the files themselves - but hexdumping the files, I don't see any suspect patterns in the data at or around the point where the download stops. (Although the first byte that isn't sent is 0x00 - but there are plenty of nulls in the file before that point). And as far as it gets, the broken file is identical to the original file. Interestingly perhaps (or perhaps not) the successfully downloaded part of the file is exactly 44kB. So perhaps it's something about the next chunk that stops it being sent?... Which of the steps above should I pick this up at to try and help debug? On Jul 30, 8:20 pm, "Graham Dumpleton" <[EMAIL PROTECTED]> wrote: > Since I haven't got any feedback about test I requested in relation to > this problem, am unable to pursue it further. Hopefully if someone > else sees issue they will help debug the problem, otherwise can do > nothing at this point as all the tests and checks I have done on a > UNIX system check out okay. I don't see why Windows would work any > differently provided that raw mode is used when opening original file. > > Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
