User talk:Dcoetzee

Howdy
Thanks for the bits, I'll try not to delete the main page too often. Sonia 06:16, 5 April 2012 (UTC)
 * Bad girl :-P Dcoetzee 06:18, 5 April 2012 (UTC)

Error message with SR2 file
Hi,

I got an error message while uploading a SR2 file. "The uploaded file contains errors: identify: /tmp/phpI0GMsF: TIFF directory is missing required "ImageLength" field. `MissingRequired' @ warning/tiff.c/TIFFErrors/493. no page data found in tiff directory!" This happens with 2 different files. Uploads do not work with Chrome and Mozilla, which is odd, but without any error message. Yann 06:32, 7 April 2012 (UTC)

I tried uploading by URL, and I got "Error fetching URL: Operation timed out after 25000 milliseconds with 7765624 out of 21035488 bytes received." Files are there:. These are the source for and. On second try, I have the same error as before "The uploaded file contains errors: identify: /tmp/URLcbhYr5: TIFF directory is missing required "ImageLength" field. `MissingRequired' @ warning/tiff.c/TIFFErrors/493." Same problems with 2 different browsers. Yann 10:28, 7 April 2012 (UTC)

I also tried uploading a simple JPEG file (File:Sculpture of elephant, Gwalior Fort, MP, India.jpg), and it works. Yann 10:45, 7 April 2012 (UTC)
 * I already set $wgVerifyMimeType = false, but apparently this isn't quite enough. I will investigate. Dcoetzee 11:00, 7 April 2012 (UTC)
 * Looks like this is an issue with the PagedTiffHandler extension - it tries to validate TIFF uploads on its own. I've set $wgTiffIdentifyRejectMessages to array and this should fix it. Give it another try now. Dcoetzee 11:03, 7 April 2012 (UTC)
 * I also fixed the issue with remote uploads timing out after 25 seconds. They should be able to run for over 14 hours now. Dcoetzee 20:28, 7 April 2012 (UTC)


 * Now I get "The uploaded file contains errors: no page data found in tiff directory!". Yann 05:01, 9 April 2012 (UTC)
 * Okay I hacked PagedTiffHandler to never reject an upload. Tested it with one of your files, it works fine now. Please give it another try. Dcoetzee 13:22, 9 April 2012 (UTC)
 * OK, it works now. Thanks, Yann 19:09, 21 April 2012 (UTC)