Any idea what text causes this?

You apparently have something in a note the unicode can't decode:

UnicodeDecodeError: 'utf8' codec can't decode bytes in position 211-212:
invalid data

If we know what text and how you entered it, we should be able to reproduce this.
However, I see this is on windows...., perhaps best to add an issue on our bug tracker, so a developer that has windows can look at it. Character encodings are very OS related, and GRAMPS is mainly developed on linux.


2008/1/27, Klaus Kurzmann <>:
User Information:

Set Filter in person list to Notice "Geburt" no other filter

Error Details:

10048187: ERROR: line 148: Unhandled exception
Traceback (most recent call last):
   File "C:\Programme\gramps\Filters\SideBar\", line
87, in clicked
   File "C:\Programme\gramps\DataViews\", line 326, in
   File "C:\Programme\gramps\DataViews\", line 518, in
     self.model = PeopleModel(self.dbstate.db, filter_info, skip)
   File "C:\Programme\gramps\DisplayModels\", line 298,
in __init__
     self.rebuild_data(data_filter, skip)
   File "C:\Programme\gramps\DisplayModels\", line 313,
in rebuild_data
     self.calculate_data(data_filter, skip)
   File "C:\Programme\gramps\DisplayModels\", line 379,
in calculate_data
     self._build_data(dfilter, skip)
   File "C:\Programme\gramps\DisplayModels\", line 345,
in _build_filter_sub
     handle_list = dfilter.apply(self.db, self.db.get_person_handles())
   File "C:\Programme\gramps\Filters\", line 202, in apply
     res = m(db,id_list)
   File "C:\Programme\gramps\Filters\", line 151, in
     if not rule.apply(db,person):
line 51, in apply
     return n.upper().find(self.list[0].upper()) != -1
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 211-212:
invalid data

System Information:

Python version: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32
bit (Intel)]
BSDDB version:
Gramps version: 2.2.9-1
OS: win32

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Gramps-bugs mailing list