remcoboerma / jbrout

Automatically exported from code.google.com/p/jbrout
0 stars 0 forks source link

GIF "hide" in .jpg #200

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. click "ADD" button
2. select the directory
3. launch

What is the expected output? What do you see instead?

When jbrout imports images,
increases the loading bar,
then stops,
and an error message appears in a popup.

What version of the product are you using? On what operating system?

0.3.340.deb in Linux

Please provide any additional information below.

I was used "find" for move all files without .jpg, but in the message it's a 
problem with GIF. I have relaunch "find", but no GIF or gif in the directory.

Traceback (most recent call last):
   File "/usr/lib/jbrout/jbrout.py", line 2651, in on_btn_addFolder_clicked
    self.on_drop_folders_from_os(self.treeviewdb.get_model(),[folder])
   File "/usr/lib/jbrout/jbrout.py", line 1687, in on_drop_folders_from_os
    for nb in iterator:
   File "/usr/lib/jbrout/jbrout/db.py", line 167, in add
    self.__addPhoto( nodeDir,file ,tags,filesInBasket)
   File "/usr/lib/jbrout/jbrout/db.py", line 205, in __addPhoto
    raise ImportError( str(m), file )
 ImportError: Setting Exif metadata in GIF images is not supported

But in the console there is the path to the image in jpg, and I converted to 
jpg.
And I managed to import the image in Jbrout.

Original issue reported on code.google.com by rx129676...@mail-temporaire.fr on 21 Mar 2012 at 8:38

GoogleCodeExporter commented 9 years ago
This looks like an image with the gif file format but with a .jpg extension.  
From r342 onwards file that jbrout can not import are skipped and then listed 
at the end of the import.  

Please confirm that the issue is resolved and if not attach the problematic 
file to this bug.

Original comment by r...@wallace.gen.nz on 4 Oct 2012 at 10:52

GoogleCodeExporter commented 9 years ago
Closed as won't fix as no response from submitter, this may be re-opened if 
further details are supplied as requested.

Original comment by r...@wallace.gen.nz on 15 Oct 2012 at 7:28