Martin,

this is a harmless bug. It does not cause errors in your data, it is only annoying.

It happens only I believe if you edit the image from the picture shown in the edit person dialog. If you edit using the gallery tab page in the person dialog, all works ok (yes?).

The bug is fixed in development, if you are really annoyed with it, open the file /usr/local/share/gramps/Editors/_EditPerson.py with eg gedit as root, and delete line 401:

       self.gallery_tab.edit_callback(ref, obj)

Benny

PS: it suffices to write to bug list. Posting bugs to user mailing list creates unneeded posts for other users.

2008/3/20, Martin <martinspost@btinternet.com>:
Dear Gramps-users,

This occurs each time I click OK in the media reference editor

Martin

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

215780: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'

223844: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'

243864: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'

288172: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'

292061: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'

312233: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'

325029: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'

379847: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'

501244: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'
519878: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/local/share/gramps/Editors/_EditMediaRef.py", line 225, in save
    self.update(self.source_ref,self.source)
  File "/usr/local/share/gramps/Editors/_EditPerson.py", line 404, in
_image_callback
    self.gallery_tab.edit_callback(ref, obj)
AttributeError: 'GalleryTab' object has no attribute 'edit_callback'


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

Python version: 2.5.1 (r251:54863, Sep 21 2007, 22:46:31) [GCC 4.2.1 (SUSE
Linux)]
BSDDB version: 4.4.5.2
Gramps version: 2.2.10-1
LANG: en_GB.UTF-8
OS: Linux
Distribution: 2.6.22.13-0.3-default



-------------------------------------------------------------------------
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-users mailing list
Gramps-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users