Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: No writer for the 'gif' picture format.  (Read 8450 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
No writer for the 'gif' picture format.
« 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:
Quote
08: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)
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: No writer for the 'gif' picture format.
« Reply #1 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: No writer for the 'gif' picture format.
« Reply #2 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: No writer for the 'gif' picture format.
« Reply #3 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: No writer for the 'gif' picture format.
« Reply #4 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: No writer for the 'gif' picture format.
« Reply #5 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.
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: No writer for the 'gif' picture format.
« Reply #6 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
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.