This is an old bug that is already corrected.
Probably already part of version 2.2.8
Please upgrade, for ubuntu, see:


2007/9/16, R Hariram Aatreya < >:
User Information:

Tried to Filter using "Custom Filter" using "Relationship with
bookmarked persons".
(However, I have no bookmarked persons.)

Error Details:

1404702: ERROR: line 1072: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/Filters/SideBar/", line 86,
in clicked
  File "/usr/share/gramps/DataViews/", line 330, in filter_clicked
  File "/usr/share/gramps/DataViews/", line 522, in build_tree
    self.model = PeopleModel(self.dbstate.db, filter_info, skip)
  File "/usr/share/gramps/DisplayModels/", line 187, in __init__
    self.rebuild_data(data_filter, skip)
  File "/usr/share/gramps/DisplayModels/", line 202, in
    self.calculate_data(data_filter, skip)
  File "/usr/share/gramps/DisplayModels/", line 269, in
    self._build_data(dfilter, skip)
  File "/usr/share/gramps/DisplayModels/", line 235, in
    handle_list = dfilter.apply(self.db, self.db.get_person_handles ())
  File "/usr/share/gramps/Filters/", line 201, in apply
  File "/usr/share/gramps/Filters/Rules/", line
66, in prepare
  File "/usr/share/gramps/Filters/Rules/Person/",
line 62, in prepare
    if len(bookmarks) == 0:
AttributeError: GrampsDbBookmarks instance has no attribute '__len__'

System Information:

Python version: 2.4.4c1 (#2, Oct 11 2006, 21:51:02) [GCC 4.1.2
20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)]
BSDDB version:
Gramps version: 2.2.6-1
OS: Linux
Distribution: 2.6.19

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