This is an old bug that is already corrected.
Probably already part of version 2.2.8
Please upgrade, for ubuntu, see:
http://www.gramps-project.org/wiki/index.php?title=Installation#Upgrading_to_the_latest_version

Benny

2007/9/16, R Hariram Aatreya <rhariram@gmail.com >:
User Information:
===================

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


Error Details:
===================

1404702: ERROR: __init__.py: line 1072: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/Filters/SideBar/_SidebarFilter.py", line 86,
in clicked
    self.clicked_func()
  File "/usr/share/gramps/DataViews/_PersonView.py", line 330, in filter_clicked
    self.build_tree()
  File "/usr/share/gramps/DataViews/_PersonView.py", line 522, in build_tree
    self.model = PeopleModel(self.dbstate.db, filter_info, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 187, in __init__
    self.rebuild_data(data_filter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 202, in
rebuild_data
    self.calculate_data(data_filter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 269, in
calculate_data
    self._build_data(dfilter, skip)
  File "/usr/share/gramps/DisplayModels/_PeopleModel.py", line 235, in
_build_filter_sub
    handle_list = dfilter.apply(self.db, self.db.get_person_handles ())
  File "/usr/share/gramps/Filters/_GenericFilter.py", line 201, in apply
    rule.prepare(db)
  File "/usr/share/gramps/Filters/Rules/_MatchesFilterBase.py", line
66, in prepare
     rule.prepare(db)
  File "/usr/share/gramps/Filters/Rules/Person/_RelationshipPathBetweenBookmarks.py",
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: 4.3.0.3
Gramps version: 2.2.6-1
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.19

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs