coppermine-gallery.com/forum

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 JUpload by etienne_sf => Topic started by: Αndré on August 14, 2008, 08:27:12 AM

Title: No writer for the 'gif' picture format.
Post by: Αndré on August 14, 2008, 08:27:12 AM
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)
Title: Re: No writer for the 'gif' picture format.
Post by: etienne_sf on August 31, 2008, 11:11:30 PM
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.
Title: Re: No writer for the 'gif' picture format.
Post by: Αndré on September 01, 2008, 06:43:28 AM
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.
Title: Re: No writer for the 'gif' picture format.
Post by: Αndré on September 01, 2008, 08:16:42 AM
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.
Title: Re: No writer for the 'gif' picture format.
Post by: Αndré on September 01, 2008, 08:37:05 AM
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
Title: Re: No writer for the 'gif' picture format.
Post by: Joachim Müller on September 01, 2008, 09:01:19 AM
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.
Title: Re: No writer for the 'gif' picture format.
Post by: etienne_sf on September 01, 2008, 12:02:40 PM
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