On Wed, Sep 11, 2013 at 03:36:55PM +0200, Matěj Cepl wrote:
Yes, error is exactly the same with the svn version:-
...
...
...
A jbrout/jbrout/po/it/LC_MESSAGES/jbrout.po
A jbrout/.gitignore
A jbrout/setup.py
A jbrout/readme.txt
A jbrout/MANIFEST.in
Checked out revision 359.
chris$ cd jbrout/jbrout
/tmp/jbrout/jbrout
chris$ ls
__init__.py data jbrout jbrout.py libs plugins po
chris$ ./jbrout.py
Traceback (most recent call last):
File "./jbrout.py", line 1843, 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 1993, in call_winshow
w = WinShow(l, i, isInfo, isModify, selected)
File "/tmp/jbrout/jbrout/libs/gladeapp.py", line 125, in __init__
obj(*(args),**(dargs))
File "/tmp/jbrout/jbrout/jbrout/winshow.py", line 98, in init
self.taglist = TagList(self.on_remove_tag)
File "/tmp/jbrout/jbrout/jbrout/winshow.py", line 34, in __init__
self.__tags = dict(JBrout.tags.getAllTags())
File "/tmp/jbrout/jbrout/jbrout/db.py", line 1035, in getAllTags
l.sort(cmp=lambda x, y: cmp(x[0].lower(), y[0].lower()))
File "/tmp/jbrout/jbrout/jbrout/db.py", line 1035, in <lambda>
l.sort(cmp=lambda x, y: cmp(x[0].lower(), y[0].lower()))
AttributeError: 'NoneType' object has no attribute 'lower'
Commenting out line 1035 in db.py gets rid of the error.
--
Chris Green