Unable to rename JPEG's on Linux

View: New views
2 Messages — Rating Filter:   Alert me  

Unable to rename JPEG's on Linux

by Scott-166 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I am trying to renames JPEG files from within LightZone but I get the error "Couldn't rename xxxx.jpg to yyyy.jpg". I can rename .cr2 raw files with no problem. Has anyone else run across this and a solution? An excerpt from the LightZone log file follows:

Total Memory: 5177344
Running on 1 processors
Allocating 133MB for the image cache.
found sRGB IEC61966-2.1
Color compatibility mode is off
Malformed display profile at (sRGB default)
Loading Classes
Scanning Color Profiles
Restoring Preferences
Starting Logging
Scanning Saved Documents
Opening...
EventThread blocked for 2.713 seconds
Light Crafts JAI Library - 02/05/07
EventThread blocked for 2.001 seconds
EventThread blocked for 2.004 seconds
File rename failed
com.lightcrafts.image.BadImageFileException: /home/sgonser/Documents/Pictures/fussen_de/cimg0025-1.jpg
    at com.lightcrafts.image.types.JPEGImageInfo.<init>(JPEGImageInfo.java:47)
    at com.lightcrafts.image.types.JPEGImageType.newAuxiliaryInfo(JPEGImageType.java:587)
    at com.lightcrafts.image.types.JPEGImageType.newAuxiliaryInfo(JPEGImageType.java:50)
    at com.lightcrafts.image.ImageInfo.getAuxiliaryInfo(ImageInfo.java:84)
    at com.lightcrafts.image.types.JPEGImageType.getFirstSegment(JPEGImageType.java:220)
    at com.lightcrafts.image.types.JPEGImageType.getFirstSegment(JPEGImageType.java:199)
    at com.lightcrafts.image.types.JPEGImageType.getTrueImageTypeOf(JPEGImageType.java:565)
    at com.lightcrafts.image.ImageInfo.determineFinalImageType(ImageInfo.java:458)
    at com.lightcrafts.image.ImageInfo.getImageType(ImageInfo.java:169)
    at com.lightcrafts.image.ImageInfo.getXMPFilename(ImageInfo.java:300)
    at com.lightcrafts.ui.browser.view.FileActions.getXmpFile(FileActions.java:160)
    at com.lightcrafts.ui.browser.view.FileActions.renameFile(FileActions.java:116)
    at com.lightcrafts.ui.browser.view.AbstractImageBrowser$2.actionPerformed(AbstractImageBrowser.java:544)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException
    at com.lightcrafts.utils.bytebuffer.LCByteBuffer.position(LCByteBuffer.java:474)
    at com.lightcrafts.image.types.JPEGImageInfo.readSegmentsFrom(JPEGImageInfo.java:171)
    at com.lightcrafts.image.types.JPEGImageInfo.<init>(JPEGImageInfo.java:41)
    ... 39 more


Luggage? GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search.
_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone

Re: Unable to rename JPEG's on Linux

by Paolo-23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I get the same problem. Just can't rename .jpg files (actually I had never
tried that before) I get more o less the same error log. Sorry I  just can't
help understanding or solving the problem. :-(

This is LightZone 2.4 (8167)
Verifica delle librerie in corso
Inizializzazione delle utilities del motore di elaborazione in corso
Max Memory: 790822912
Total Memory: 6004736
Running on 1 processors
Allocating -298MB for the image cache.
found sRGB IEC61966-2.1
Color compatibility mode is off
Caricamento delle classi in corso
Scansione dei profili di colore in corso
Ripristino delle preferenze in corso
Avvio Logging
Scansione dei files salvati in corso
Apertura...
12-giu-2007 8.22.48
com.lightcrafts.image.metadata.ImageMetadataReaderlogException
AVVERTENZA:com.lightcrafts.image.metadata.BadImageMetadataException: /home/paolo/Personale/Immagini/olivone_olio_1.JPG
12-giu-2007 8.22.48
com.lightcrafts.image.metadata.ImageMetadataReaderlogException
AVVERTENZA:com.lightcrafts.image.metadata.BadImageMetadataException: /home/paolo/Personale/Immagini/olivone_olio_2.JPG
12-giu-2007 8.22.48
com.lightcrafts.image.metadata.ImageMetadataReaderlogException
AVVERTENZA:com.lightcrafts.image.metadata.BadImageMetadataException: /home/paolo/Personale/Immagini/olivone_olio_3.JPG
12-giu-2007 8.22.48 com.lightcrafts.image.metadata.ImageMetadataReader
logException
AVVERTENZA:com.lightcrafts.image.metadata.BadImageMetadataException: /home/paolo/Personale/Immagini/olivone_tela_1.JPG
12-giu-2007 8.22.48 com.lightcrafts.image.metadata.ImageMetadataReader
logException
AVVERTENZA:com.lightcrafts.image.metadata.BadImageMetadataException: /home/paolo/Personale/Immagini/olivone.JPG
Light Crafts JAI Library - 02/05/07
File rename failed
com.lightcrafts.image.BadImageFileException: /home/paolo/Personale/Immagini/argini_Tevere-1.jpg
        at com.lightcrafts.image.types.JPEGImageInfo.<init>(JPEGImageInfo.java:47)
        at
com.lightcrafts.image.types.JPEGImageType.newAuxiliaryInfo(JPEGImageType.java:587)
        at
com.lightcrafts.image.types.JPEGImageType.newAuxiliaryInfo(JPEGImageType.java:50)
        at com.lightcrafts.image.ImageInfo.getAuxiliaryInfo(ImageInfo.java:84)
        at
com.lightcrafts.image.types.JPEGImageType.getFirstSegment(JPEGImageType.java:220)
        at
com.lightcrafts.image.types.JPEGImageType.getFirstSegment(JPEGImageType.java:199)
        at
com.lightcrafts.image.types.JPEGImageType.getTrueImageTypeOf(JPEGImageType.java:565)
        at
com.lightcrafts.image.ImageInfo.determineFinalImageType(ImageInfo.java:458)
        at com.lightcrafts.image.ImageInfo.getImageType(ImageInfo.java:169)
        at com.lightcrafts.image.ImageInfo.getXMPFilename(ImageInfo.java:300)
        at
com.lightcrafts.ui.browser.view.FileActions.getXmpFile(FileActions.java:160)
        at
com.lightcrafts.ui.browser.view.FileActions.renameFile(FileActions.java:116)
        at
com.lightcrafts.ui.browser.view.AbstractImageBrowser$2.actionPerformed(AbstractImageBrowser.java:544)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException
        at
com.lightcrafts.utils.bytebuffer.LCByteBuffer.position(LCByteBuffer.java:474)
        at
com.lightcrafts.image.types.JPEGImageInfo.readSegmentsFrom(JPEGImageInfo.java:171)
        at com.lightcrafts.image.types.JPEGImageInfo.<init>(JPEGImageInfo.java:41)
        ... 39 more




On Monday 11 June 2007 20:24, Scott wrote:

> Hello,
> I am trying to renames JPEG files from within LightZone but I get the error
> "Couldn't rename xxxx.jpg to yyyy.jpg". I can rename .cr2 raw files with no
> problem. Has anyone else run across this and a solution? An excerpt from
> the LightZone log file follows:
>
> Total Memory: 5177344
> Running on 1 processors
> Allocating 133MB for the image cache.
> found sRGB IEC61966-2.1
> Color compatibility mode is off
> Malformed display profile at (sRGB default)
> Loading Classes
> Scanning Color Profiles
> Restoring Preferences
> Starting Logging
> Scanning Saved Documents
> Opening...
> EventThread blocked for 2.713 seconds
> Light Crafts JAI Library - 02/05/07
> EventThread blocked for 2.001 seconds
> EventThread blocked for 2.004 seconds
> File rename failed
> com.lightcrafts.image.BadImageFileException:
> /home/sgonser/Documents/Pictures/fussen_de/cimg0025-1.jpg at
> com.lightcrafts.image.types.JPEGImageInfo.<init>(JPEGImageInfo.java:47) at
> com.lightcrafts.image.types.JPEGImageType.newAuxiliaryInfo(JPEGImageType.ja
>va:587) at
> com.lightcrafts.image.types.JPEGImageType.newAuxiliaryInfo(JPEGImageType.ja
>va:50) at
> com.lightcrafts.image.ImageInfo.getAuxiliaryInfo(ImageInfo.java:84) at
> com.lightcrafts.image.types.JPEGImageType.getFirstSegment(JPEGImageType.jav
>a:220) at
> com.lightcrafts.image.types.JPEGImageType.getFirstSegment(JPEGImageType.jav
>a:199) at
> com.lightcrafts.image.types.JPEGImageType.getTrueImageTypeOf(JPEGImageType.
>java:565) at
> com.lightcrafts.image.ImageInfo.determineFinalImageType(ImageInfo.java:458)
> at com.lightcrafts.image.ImageInfo.getImageType(ImageInfo.java:169) at
> com.lightcrafts.image.ImageInfo.getXMPFilename(ImageInfo.java:300) at
> com.lightcrafts.ui.browser.view.FileActions.getXmpFile(FileActions.java:160
>) at
> com.lightcrafts.ui.browser.view.FileActions.renameFile(FileActions.java:116
>) at
> com.lightcrafts.ui.browser.view.AbstractImageBrowser$2.actionPerformed(Abst
>ractImageBrowser.java:544) at
> javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at
> javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at
> javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at
> javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>     at javax.swing.AbstractButton.doClick(Unknown Source)
>     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
>     at
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
> Source) at java.awt.Component.processMouseEvent(Unknown Source)
>     at javax.swing.JComponent.processMouseEvent(Unknown Source)
>     at java.awt.Component.processEvent(Unknown Source)
>     at java.awt.Container.processEvent(Unknown Source)
>     at java.awt.Component.dispatchEventImpl(Unknown Source)
>     at java.awt.Container.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
>     at java.awt.Container.dispatchEventImpl(Unknown Source)
>     at  java.awt.Window.dispatchEventImpl(Unknown Source)
>     at java.awt.Component.dispatchEvent(Unknown Source)
>     at java.awt.EventQueue.dispatchEvent(Unknown Source)
>     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>     at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: java.lang.IllegalArgumentException
>     at
> com.lightcrafts.utils.bytebuffer.LCByteBuffer.position(LCByteBuffer.java:47
>4) at
> com.lightcrafts.image.types.JPEGImageInfo.readSegmentsFrom(JPEGImageInfo.ja
>va:171) at
> com.lightcrafts.image.types.JPEGImageInfo.<init>(JPEGImageInfo.java:41) ...
> 39 more
>
> ---------------------------------
> Luggage? GPS? Comic books?
> Check out fitting  gifts for grads at Yahoo! Search.

--
Paolo
_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone