remcoboerma / jbrout

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

Full screen view filed #199

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. double click on any photo 

What is the expected output? What do you see instead?
View photo in full screen
Instead I've got an error

Traceback (most recent call last):
  File "jbrout.py", line 1763, in on_selecteur_mouseClick
    self.call_winshow(self.tbl.items, self.tbl.items.index(self.tbl.getSelected()[-1]), self.tbl.getSelected())
  File "jbrout.py", line 1913, in call_winshow
    w=WinShow(l,i,isInfo,isModify, selected)
  File "/usr/lib/python2.6/site-packages/jbrout/libs/gladeapp.py", line 125, in __init__
    obj(*(args),**(dargs))
  File "/usr/lib/python2.6/site-packages/jbrout/jbrout/winshow.py", line 91, in init
    self.taglist = TagList(self.on_remove_tag)
  File "/usr/lib/python2.6/site-packages/jbrout/jbrout/winshow.py", line 29, in __init__
    self.__tags= dict(JBrout.tags.getAllTags())
  File "/usr/lib/python2.6/site-packages/jbrout/jbrout/db.py", line 958, in getAllTags
    l.sort(cmp= lambda x,y: cmp(x[0].lower(),y[0].lower()))
  File "/usr/lib/python2.6/site-packages/jbrout/jbrout/db.py", line 958, in <lambda>
    l.sort(cmp= lambda x,y: cmp(x[0].lower(),y[0].lower()))
AttributeError: 'NoneType' object has no attribute 'lower'
/usr/lib/python2.6/site-packages/jbrout/libs/gladeapp.py:152: Warning: 
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  self.main_widget.destroy()

What version of the product are you using? On what operating system?
Gentoo linux x86
jbrout Revision: 338
Python 2.6.6
pyexiv2-0.3.0

Please provide any additional information below.

Now I've just comment line 958 in db.py
and it's usable again, but may be there is more elegant solution

Original issue reported on code.google.com by Oleg.Bla...@gmail.com on 31 Jan 2012 at 9:54

GoogleCodeExporter commented 9 years ago
This looks like there is a problem with the tags in the immages, do you have a 
sample image that you could attach to the bug

Original comment by r...@wallace.gen.nz on 4 Oct 2012 at 7:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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