brunolojor / jbrout

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

Jbrout fail to start after importing image with bad exif date #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Latest version svn 167

on start write error:

Traceback (most recent call last):
  File "./jbrout.py", line 2926, in <module>
    main()
  File "./jbrout.py", line 2901, in main
    window = Window()
  File
"/home/kefiiir/doc/src/!svn/jbrout-read-only/jbrout/libs/gladeapp.py", line
125, in __init__
    obj(*(args),**(dargs))
  File "./jbrout.py", line 1087, in init
    m.init()
  File "./jbrout.py", line 369, in init
    years=list(set([int(i.date[:4]) for i in ln]))
ValueError: invalid literal for int() with base 10: ''

and exit.

The same error jbrout wrote vile the last update.
And I ever don't know which picture make this. I'll try to find it in db,
and port it here.

Original issue reported on code.google.com by Oleg.Bla...@gmail.com on 16 Jan 2009 at 8:05

GoogleCodeExporter commented 9 years ago
I will investigate on this ...
But it seems it's a db/xml trouble ...

Original comment by manat...@gmail.com on 16 Jan 2009 at 8:34

GoogleCodeExporter commented 9 years ago
removing db.xml and readding all files fixed problem for me.

Original comment by Oleg.Bla...@gmail.com on 20 Jan 2009 at 4:59

GoogleCodeExporter commented 9 years ago
In fact, since last changes (import/refresh operations shouldn't crash now), 
this
kind of things shouldn't appear anymore ...
Because this dates (in db/xml) should always be good ...

Original comment by manat...@gmail.com on 20 Jan 2009 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by manat...@gmail.com on 20 Jan 2009 at 10:19