Hmm,

this was a bug present since 2005, probably this comes up because we improved rebuild sec indexec and reference tables tools.

Anyway, this is fixed now in SVN, if possible please test on your system. Do this as follows:

0/open a terminal (Terminal or Konsole)

1/take a backup copy of the file in error:

sudo cp /usr/share/gramps/plugins/Check.py /usr/share/gramps/plugins/Check.py.old

2/get the new version: go here: http://gramps.svn.sourceforge.net/viewvc/gramps/branches/gramps22/src/plugins/Check.py?view=log
and click the download button to obtain the file Check.py, store it on eg your Desktop.

3/overwrite the file on disk with the new file:

sudo mv ~/Desktop/Check.py /usr/share/gramps/plugins/Check.py

4/test if the tool now works in GRAMPS.


Note that you can do the above also from a file browser that is started with root priviliges.

Benny

2008/1/19, Menno Tjoelker <m.tjoelker@zonnet.nl >:
User Information:
===================

Error occurred while performing database check.
Before, I removed some duplicate media.


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

525367: ERROR: _Tool.py: line 271: Failed to start tool.
Traceback (most recent call last):
  File "/usr/share/gramps/PluginUtils/_Tool.py", line 267, in gui_tool
    tool_class(dbstate, uistate, options_class, name, callback)
  File "/usr/share/gramps/plugins/Check.py", line 189, in __init__
    checker.check_source_references()
  File "/usr/share/gramps/plugins/Check.py", line 973, in check_source_references
    self.db.commit_object(obj,self.trans)
AttributeError: 'GrampsBSDDB' object has no attribute 'commit_object'

System Information:
===================

Python version: 2.5.1 (r251:54863, Oct  5 2007, 13:36:32) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
BSDDB version: 4.4.5.2
Gramps version: 2.2.10-1
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.22-14-generic

---

Menno Tjoelker
Eindhoven, Netherlands

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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