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: Issue with some pictures, using latest build.  (Read 6860 times)

0 Members and 1 Guest are viewing this topic.

net

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 88
Issue with some pictures, using latest build.
« on: August 22, 2008, 01:40:35 am »

Hello,

I have a issue with some pictures, im thinking its related to the meta data inside the picture. Is it possible to make jupload skip to rewrite this data before upload? Since it works perfectly to resize & upload these pictures with the normal GD2.

Heres a log of the event (trying to drag&drop picture into the applet on your page)

Code: [Select]
01:40:45.671 [INFO] Debug level set to 0
01:40:45.671 [INFO] Current debug output file: C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_52830_log.txt
01:40:45.671 [WARN] Invalid int value: true, using default value: 0
01:40:45.781 [INFO] JUpload applet, version 3.4.2rc4 [SVN-Rev: 491] (compiled: 07/25/2008 08:37 AM), available at http://jupload.sourceforge.net/
01:40:45.781 [INFO] maxFileSize: 2000000
01:40:46.046 [WARN] Invalid int value: , using default value: 0
01:40:46.046 [INFO] JUpload plugin for coppermine version 3.2.3
01:41:18.250 [WARN] Invalid int value: , using default value: 0
01:41:24.218 [INFO] Debug level set to 1
01:41:24.218 [INFO] Current debug output file: C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_52830_log.txt
01:41:24.218 [INFO] JUpload applet, version 3.4.2rc4 [SVN-Rev: 491] (compiled: 07/25/2008 08:37 AM), available at http://jupload.sourceforge.net/
01:41:24.218 [DEBUG] debugLevel: 1 (debugfile: C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_52830_log.txt)
01:41:24.218 [INFO] maxFileSize: 2000000
01:41:25.421 [ERROR] [wjhk.jupload2.exception.JUploadIOException:javax.imageio.IIOException] Invalid icc profile: bad sequence number (PictureFileData())
01:41:25.421 wjhk.jupload2.exception.JUploadIOException: PictureFileData()
01:41:25.421 at wjhk.jupload2.filedata.PictureFileData.<init>(PictureFileData.java:200)
01:41:25.421 at wjhk.jupload2.policies.CoppermineUploadPolicy.createFileData(CoppermineUploadPolicy.java:122)
01:41:25.421 at wjhk.jupload2.gui.FilePanelDataModel2.addFile(FilePanelDataModel2.java:198)
01:41:25.421 at wjhk.jupload2.gui.FilePanelTableImp.addFileOnly(FilePanelTableImp.java:113)
01:41:25.421 at wjhk.jupload2.gui.FilePanelTableImp.addDirectoryFiles(FilePanelTableImp.java:96)
01:41:25.421 at wjhk.jupload2.gui.FilePanelTableImp.addFiles(FilePanelTableImp.java:88)
01:41:25.421 at wjhk.jupload2.gui.JUploadPanel.addFiles(JUploadPanel.java:329)
01:41:25.421 at wjhk.jupload2.gui.DnDListener.drop(DnDListener.java:107)
01:41:25.421 at java.awt.dnd.DropTarget.drop(Unknown Source)
01:41:25.421 at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
01:41:25.421 at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
01:41:25.421 at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
01:41:25.421 at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
01:41:25.421 at java.awt.Component.dispatchEventImpl(Unknown Source)
01:41:25.421 at java.awt.Container.dispatchEventImpl(Unknown Source)
01:41:25.421 at java.awt.Component.dispatchEvent(Unknown Source)
01:41:25.421 at java.awt.EventQueue.dispatchEvent(Unknown Source)
01:41:25.421 at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
01:41:25.421 at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
01:41:25.421 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
01:41:25.421 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
01:41:25.421 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
01:41:25.421 at java.awt.EventDispatchThread.run(Unknown Source)
01:41:25.421 Caused by: javax.imageio.IIOException: Invalid icc profile: bad sequence number
01:41:25.421 at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
01:41:25.421 at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(Unknown Source)
01:41:25.421 at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(Unknown Source)
01:41:25.421 at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(Unknown Source)
01:41:25.421 at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(Unknown Source)
01:41:25.421 at com.sun.imageio.plugins.jpeg.JPEGImageReader.getHeight(Unknown Source)
01:41:25.421 at wjhk.jupload2.filedata.PictureFileData.<init>(PictureFileData.java:195)
01:41:25.421 ... 22 more

Hope it helps!
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Issue with some pictures, using latest build.
« Reply #1 on: September 01, 2008, 12:03:30 pm »

Can you give me the original picture, so that I run some tests on it ?

Etienne
Logged

net

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 88
Re: Issue with some pictures, using latest build.
« Reply #2 on: September 02, 2008, 10:18:10 pm »

Sorry i lost it :/ if i find more ill hook you up, it was a meta data issue.... I used jhead to clean the meta data and it works perfectly, maybe considering a upload function that does not touch the meta data? (if that's possible) that should resolve all meta data issues?
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.