brunolojor / jbrout

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

time view broken #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. refresh or import some pictures
   after importing an error pops up (see below)
2. goto the time tab -> it's empty

What is the expected output? What do you see instead?
have some dates in the time tab to navigate

What version of the product are you using? On what operating system?
SVN-223 / gentoo linux

Please provide any additional information below.
Traceback (most recent call last):
   File "./jbrout.py", line 1500, in on_menu_refresh
    self.on_drop_folders_from_os(model,[path])
   File "./jbrout.py", line 1617, in on_drop_folders_from_os
    self.treeViewDate.get_model().init()
   File "./jbrout.py", line 378, in init
    years=list(set([int(i.date[:4]) for i in ln]))
 ValueError: invalid literal for int() with base 10: ''

Original issue reported on code.google.com by zaar...@gmail.com on 13 Jul 2009 at 9:44

GoogleCodeExporter commented 8 years ago
now after jbrout crashed while using changetime plugin with:

/tmp/jbrout/jbrout/libs/gladeapp.py:106: GtkWarning: GtkSpinButton: setting an
adjustment with non-zero page size is deprecated
  self.__xml = gtk.glade.XML(self.glade,theId)
control_l
a
Traceback (most recent call last):
  File "./jbrout.py", line 1956, in on_selecteur_menu_select_plugin
    self.treeViewDate.get_model().init()
  File "./jbrout.py", line 378, in init
    years=list(set([int(i.date[:4]) for i in ln]))
ValueError: invalid literal for int() with base 10: ''

it now crashed after _every startup_ with:

Traceback (most recent call last):
  File "./jbrout.py", line 2987, in <module>
    main()
  File "./jbrout.py", line 2962, in main
    window = Window()
  File "/tmp/jbrout/jbrout/libs/gladeapp.py", line 125, in __init__
    obj(*(args),**(dargs))
  File "./jbrout.py", line 1106, in init
    m.init()
  File "./jbrout.py", line 378, in init
    years=list(set([int(i.date[:4]) for i in ln]))
ValueError: invalid literal for int() with base 10: ''

Original comment by zaar...@gmail.com on 13 Jul 2009 at 10:14

GoogleCodeExporter commented 8 years ago
ok, i've removed ~/.jbrout/db.xml and reimported everything.
after reimport there's the error / crash again.
if i just import a subset of the pictures (let's say from current year) it 
succeeds.

i guess there's a buggy picture in my collection. unfortunately it'll be hard to
find... do you need it?

Original comment by zaar...@gmail.com on 13 Jul 2009 at 11:17

GoogleCodeExporter commented 8 years ago
yes please

Original comment by tbenita on 13 Aug 2009 at 5:57

GoogleCodeExporter commented 8 years ago
btw last trunk may fix import issues ; did you try again to refresh/re-import 
yur tree ?

Original comment by tbenita on 13 Aug 2009 at 5:58

GoogleCodeExporter commented 8 years ago
just for the record:
today i reimported my whole collection and this bug seems fixed.
i'm using r300.

feel free to close.

Original comment by zaar...@gmail.com on 7 Jun 2010 at 4:43

GoogleCodeExporter commented 8 years ago
closed, thanks ^^

Original comment by manat...@gmail.com on 7 Jun 2010 at 6:55