When i try to upload a gif picture with JUpload, the above error message appears.
Here the debug output:
Quote08:26:41.045 [DEBUG] Action : Hochladen
08:26:41.045 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
08:26:41.045 [DEBUG] Timer started
08:26:41.045 [DEBUG] Resizing factor (scale): 833.3333333333334
08:26:41.045 [DEBUG] Foud one reader for gif extension
08:26:41.045 [DEBUG] Nb images in ausrufezeichen_klein.gif: 1
08:26:41.045 [DEBUG] Using transformed temp file C:\DOKUME~1\xyz\LOKALE~1\Temp\jupload_23707.tmp for ausrufezeichen_klein.gif
08:26:41.076 [DEBUG] PicturePanel.paint(): offscreenImage is null
08:26:47.906 [ERROR] [wjhk.jupload2.exception.JUploadIOException] No writer for the 'gif' picture format. (No writer for the 'gif' picture format.)
08:26:47.906 [DEBUG] PicturePanel.paint(): offscreenImage is null
08:26:47.906 wjhk.jupload2.exception.JUploadIOException: No writer for the 'gif' picture format.
08:26:47.906 at wjhk.jupload2.filedata.helper.ImageReaderWriterHelper.initImageWriter(ImageReaderWriterHelper.java:361)
08:26:47.906 at wjhk.jupload2.filedata.helper.ImageReaderWriterHelper.setOutput(ImageReaderWriterHelper.java:137)
08:26:47.906 at wjhk.jupload2.filedata.PictureFileData.createTranformedPictureFile(PictureFileData.java:552)
08:26:47.906 at wjhk.jupload2.filedata.PictureFileData.initTransformedPictureFile(PictureFileData.java:525)
08:26:47.906 at wjhk.jupload2.filedata.PictureFileData.beforeUpload(PictureFileData.java:258)
08:26:47.906 at wjhk.jupload2.upload.UploadFileData.beforeUpload(UploadFileData.java:234)
08:26:47.906 at wjhk.jupload2.upload.DefaultFileUploadThread.beforeUpload(DefaultFileUploadThread.java:257)
08:26:47.906 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:456)
08:26:47.906 [DEBUG] FileUploadThread: within run().finally
08:26:47.906 [WARN] Temporary file not deleted
08:26:48.750 [DEBUG] PicturePanel.paint(): offscreenImage is null
08:26:48.812 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
08:26:48.812 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
Hi,
I'm back after some good days off !
:)
Your problem is stange. So a question here: what Java version do you use ?
If it's sun and a recent release, can you give me the full debug output.
Etienne
NB: In the next release, I'll remove this intermediate output, that has no interest, out of ... loosing time by asking for the full one.
I just tested it with Java 6 Update 7 and it worked ??? I'll test this on another PC (where the error appears) later and will post my result.
Java 5 Update 14 is running on the PC where the error appears. The strange thing is, that java doesn't start (I can't see it in the task manager), but the applet loads as always and I can upload e.g. 'jpg' without problems.
I'll check this on another machine later on.
Result of final test:
- Clean machine with Java 5: "No writer for the 'gif' picture format."
- Update to java version 6: successful upload of gif file
So the instructions for JUpload should mention the minimum requirements on the Java version, although it's always a good idea to keep the Java version up-to-date anyway.
Right ... and strange enough.
Upload of gif pictures used to work with gif picture and java 1.5, at least ... AFAIR
I'll update my doc.
Etienne