On 19/08/13 22:57, Nick Hall wrote:
On 19/08/13 22:30, Serge Noiraud
I have the following problem when parsing date in the gramplet
filter for the person view :
2013-08-19 23:24:54.695: ERROR: gramps.py: line 107: Unhandled
Traceback (most recent call last):
File "/home/gramps/gramps34/src/Filters/SideBar/_SidebarFilter.py", line
109, in clicked
line 60, in __filter_clicked
File "/home/gramps/gramps34/src/gui/views/listview.py", line
286, in build_tree
line 559, in _rebuild_filter
dlist = self.search.apply(self.db, allkeys, tupleind=1)
File "/home/gramps/gramps34/src/Filters/_GenericFilter.py", line
232, in apply
File "/home/gramps/gramps34/src/Filters/Rules/_Rule.py", line 91, in
File "/home/gramps/gramps34/src/Filters/Rules/Person/_HasBirth.py", line 55, in
self.date = parser.parse(self.list)
NameError: global name 'parser' is not defined
Do I need to make a bug report ?
No. I'll fix it.
The problem is that I cut & pasted code from gramps40 into
gramps34. I obviously didn't correct for the different imports
properly. I'll check every rule I changed.
I've just had a look at every rule I changed in r22837. This bug
affected 4 rules, which should now be fixed.