brunolojor / jbrout

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

Error when refresh a folder #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to refresh a folder from the folder tree

What is the expected output? 
Folder refreshed with my pictures

What do you see instead?

I got this error :

Traceback (most recent call last):
  File "/usr/lib/jbrout/jbrout.py", line 1477, in on_menu_refresh
   self.on_drop_folders_from_os(model,[path])
  File "/usr/lib/jbrout/jbrout.py", line 1572, in
on_drop_folders_from_os
   for nb in iterator:
  File "jbrout/jbrout/db.py", line 128, in add
  File "jbrout/jbrout/db.py", line 188, in __addPhoto
 Traceback (most recent call last):
 File "jbrout/jbrout/db.py", line 177, in __addPhoto
 File "jbrout/jbrout/tools.py", line 198, in __init__
 File "jbrout/jbrout/tools.py", line 554, in transform
 File "jbrout/jbrout/tools.py", line 266, in __refresh
AttributeError: 'Image' object has no attribute 'getComment'

Photo has incorrect exif/iptc tags, can't be imported !! 

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

version 0.3 on Ubuntu

Please provide any additional information below.

Photo has correct exif/iptc tags, it works with the previous version

Regards 

Original issue reported on code.google.com by Shagsha...@gmail.com on 5 Jan 2009 at 9:01

GoogleCodeExporter commented 8 years ago
Which version of pyexiv2 (package python-pyexiv2)?
mine is "python-pyexiv2 0.1.2-4build1"

Original comment by manat...@gmail.com on 5 Jan 2009 at 12:28

GoogleCodeExporter commented 8 years ago
I have the same problem when some "faulty" pictures are in the folder with 
version
135 (see issue 12)

Maybe v.136 correct this problem.

Original comment by gautier....@gmail.com on 5 Jan 2009 at 1:02

GoogleCodeExporter commented 8 years ago
@gautier.Avril

issue #12 is resolved in rev 136

This trouble (13) seems to come from a odd version of pyexiv2 ...
I expect it's a 0.1.1 version of pyexiv2 which don't support getComment() (only 
in 0.1.2)

I'm waiting for more info from shagshag

Original comment by manat...@gmail.com on 6 Jan 2009 at 8:57

GoogleCodeExporter commented 8 years ago
@manatlan you're right, I got version 0.1.1 (it's the latest in synaptic for 
Ubuntu
8.04).

I'll update to Ubuntu 8.10 and tell you if it's ok

Original comment by Shagsha...@gmail.com on 6 Jan 2009 at 1:04

GoogleCodeExporter commented 8 years ago
How have you installed jbrout 0.3 ?

(because If you used the jbrout repository, it shouldn't let you install jbrout 
if
you have only a 0.1.1 of pyexiv2 ... the dependacy require 0.1.2 at least)

btw, if you go to 8.10, which contains pyexiv2 0.1.2 : it will work, for sure 
...
btw2, you can grab pyexiv2 from the official pyexiv2 website, and let jbrout 
works on
your old ubuntu ....

Original comment by manat...@gmail.com on 6 Jan 2009 at 3:35

GoogleCodeExporter commented 8 years ago
Sorry but I used the official jbrout repository with no dependancy problem :(.

Update to 8.10 is in progress...

Regards

Original comment by Shagsha...@gmail.com on 6 Jan 2009 at 6:20

GoogleCodeExporter commented 8 years ago
I've made a little change in rev139, which perhaps will avoid this kind of 
trouble in
the future ...
I close the bug

Original comment by manat...@gmail.com on 6 Jan 2009 at 6:45

GoogleCodeExporter commented 8 years ago
Hi,
under Ubuntu 8.04, i have the same problem. 
. pyexiv2 is version 0.1.1.
. jbrout repository is http://jbrout.free.Fr/download/debian binary/

I don't want to turn to upgrade ubuntu?
How to go back to an old version of jbrout that works ?

Original comment by marc.van...@gmail.com on 24 Jan 2009 at 5:13

GoogleCodeExporter commented 8 years ago
@marc.vandercruyssen

Don't need to upgrade to intrepid ...

just install pyexiv2 0.1.2 ! It's really easy ...
http://tilloy.net/dev/pyexiv2/download.htm

(but you've right, perhaps I should include pyexiv2 package in my repository)

Original comment by manat...@gmail.com on 24 Jan 2009 at 5:19

GoogleCodeExporter commented 8 years ago
Thanks for the answer.
If I understand,to install pyexiv2 0.1.2, I need to compile and install it.
Is it true ? Will it replace the 0.1.1 in Synaptic ?
Thanks.

Original comment by marc.van...@gmail.com on 27 Jan 2009 at 9:39