Re: PictureFileData() Re: PictureFileData()
 

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]

Main Menu

Re: PictureFileData()

Started by donsenilo, June 02, 2009, 09:06:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

donsenilo

hello

i have the same problem. tried to upload some pictures (see attachment - this is one of them) and everytime i get that error.

donsenilo

hello again

i use now 3.5.2, but it freezes after uploading 1 picture without error.

etienne_sf

#2
Topic splitted, as it's a new question.

 May be relative, but needs to be check.  Please read recommandation on posting, about this...




Then, about your problem, can you add more info:
- Does it work 'from time to time' ?  Never ?
- Is the attached picture the exact picture in error (~105kb), or is the original one bigger ?

FYI: the original problem, in the thread you answered to, was that two pictures were too big.

Updated:
I know a problem that can occur in the applet, when an error occurs. Can you check in your temporary directory, and find the relevant jupload_nnnnnnnnnnnn_log.txt ?  It should contain interesting information.


Etienne

Arcon

Hy etienne,

This error occurs on my side if the ICC profile is sRGB.
When i save the pictures in e.g. "Adobe RGB" the applet works...

greetings going on
Arcon

etienne_sf

Quote from: Arcon on June 06, 2009, 10:41:24 AM
This error occurs on my side if the ICC profile is sRGB.
When i save the pictures in e.g. "Adobe RGB" the applet works...

Hum, hum, I have pictures in sRGB, resized by the applet, without problem. Are you sure, that, when transforming in "Adobe RGB" you don't do some additional modification (resizing, for instance)?

Can you give me an original pictures, that would freeze the applet ?


Etienne

Arcon

Hy & sry for my late answer!
I was on hollidays...

Attached you find the picture and here is the log file:

attached picture


Quote
An error occured in JUpload applet, for the user Heide (no user information).
Here is the debug output for his session within the applet:
18:42:25.015 [INFO] JUpload applet started, with wjhk.jupload2.policies.CoppermineUploadPolicy upload policy
18:42:25.015 [INFO] Debug level set to 0
18:42:25.031 [WARN] Invalid int value: true, using default value: 0
18:42:25.031 [WARN] DefaultUploadPolicy.setCurrentBrowsingDirectory():  doesn't exist.
18:42:25.218 [INFO] JUpload applet, version 4.3.2 [SVN-Rev: 735] (compiled: 05/05/2009 11:28 AM), available at http://jupload.sourceforge.net/
18:42:25.218 [INFO] maxFileSize: 10240000
18:42:26.187 [INFO] JUploadApplet is now started.
18:42:31.859 [WARN] Invalid int value: , using default value: 0
18:44:59.062 [INFO] Debug level set to 1
18:44:59.062 [INFO] JUpload applet, version 4.3.2 [SVN-Rev: 735] (compiled: 05/05/2009 11:28 AM), available at http://jupload.sourceforge.net/
18:44:59.062 [DEBUG] debugLevel: 1
18:44:59.062 [INFO] maxFileSize: 10240000
18:44:59.062 [ERROR] [wjhk.jupload2.exception.JUploadIOException:javax.imageio.IIOException] Invalid icc profile: bad sequence number (PictureFileData())
18:44:59.062 wjhk.jupload2.exception.JUploadIOException: PictureFileData()
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.initWidthAndHeight(PictureFileData.java:675)
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.getOriginalWidth(PictureFileData.java:778)
18:44:59.062    at wjhk.jupload2.filedata.helper.ImageHelper.initScale(ImageHelper.java:182)
18:44:59.062    at wjhk.jupload2.filedata.helper.ImageHelper.<init>(ImageHelper.java:168)
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.initTransformedPictureFile(PictureFileData.java:484)
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.beforeUpload(PictureFileData.java:229)
18:44:59.062    at wjhk.jupload2.upload.UploadFileData.beforeUpload(UploadFileData.java:254)
18:44:59.062    at wjhk.jupload2.upload.FileUploadManagerThread.prepareFiles(FileUploadManagerThread.java:1006)
18:44:59.062    at wjhk.jupload2.upload.FileUploadManagerThread.run(FileUploadManagerThread.java:302)
18:44:59.062 Caused by: javax.imageio.IIOException: Invalid icc profile: bad sequence number
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(Unknown Source)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(Unknown Source)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(Unknown Source)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(Unknown Source)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.getHeight(Unknown Source)
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.initWidthAndHeight(PictureFileData.java:670)
18:44:59.062    ... 8 more
18:44:59.062 Caused by:
18:44:59.062 javax.imageio.IIOException: Invalid icc profile: bad sequence number
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(Unknown Source)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(Unknown Source)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(Unknown Source)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(Unknown Source)
18:44:59.062    at com.sun.imageio.plugins.jpeg.JPEGImageReader.getHeight(Unknown Source)
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.initWidthAndHeight(PictureFileData.java:670)
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.getOriginalWidth(PictureFileData.java:778)
18:44:59.062    at wjhk.jupload2.filedata.helper.ImageHelper.initScale(ImageHelper.java:182)
18:44:59.062    at wjhk.jupload2.filedata.helper.ImageHelper.<init>(ImageHelper.java:168)
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.initTransformedPictureFile(PictureFileData.java:484)
18:44:59.062    at wjhk.jupload2.filedata.PictureFileData.beforeUpload(PictureFileData.java:229)
18:44:59.062    at wjhk.jupload2.upload.UploadFileData.beforeUpload(UploadFileData.java:254)
18:44:59.062    at wjhk.jupload2.upload.FileUploadManagerThread.prepareFiles(FileUploadManagerThread.java:1006)
18:44:59.062    at wjhk.jupload2.upload.FileUploadManagerThread.run(FileUploadManagerThread.java:302)
18:55:37.718 [INFO] Sending debug information to http://www.inno.at/gallery/index.php?file=jupload/jupload&action=log_error

etienne_sf

The standard answer is ... it works for me !
;)


Can you try the last release, still in candidate release state (but I guess it's fully correct) ?

Available in this forum, below this link:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=60165.0;attach=22038


Etienne

Arcon

hmm, strange behavior!
ok, i will try the new release!

thx for work!