Package: gramps
Version: 4.0.3+dfsg-1
Severity: normal

Dear Maintainer,

after an upgrade from 3.4.6-1 to 4.0.3+dfsg-1, i cannot edit *any* event
in one of my databases.
whenever i try to do so (double-clicking on an event in the "Events" menu, or
double-clicking on an event associated with a person) i get the following
backtrace:

> 31867: ERROR: grampsapp.py: line 114: Unhandled exception
> Traceback (most recent call last):
>   File 
> "/usr/lib/python2.7/dist-packages/gramps/gui/editors/displaytabs/buttontab.py",
>  line 202, in double_click
>     self.edit_button_clicked(obj)
>   File 
> "/usr/lib/python2.7/dist-packages/gramps/gui/editors/displaytabs/eventembedlist.py",
>  line 271, in edit_button_clicked
>     event, ref[1], self.object_edited)
>   File "/usr/lib/python2.7/dist-packages/gramps/gui/editors/editeventref.py", 
> line 59, in __init__
>     update)
>   File 
> "/usr/lib/python2.7/dist-packages/gramps/gui/editors/editreference.py", line 
> 108, in __init__
>     self._setup_fields()
>   File "/usr/lib/python2.7/dist-packages/gramps/gui/editors/editeventref.py", 
> line 159, in _setup_fields
>     custom_values=self.get_custom_events())
>   File 
> "/usr/lib/python2.7/dist-packages/gramps/gui/widgets/monitoredwidgets.py", 
> line 470, in __init__
>     menu=get_val().get_menu())
>   File "/usr/lib/python2.7/dist-packages/gramps/gui/autocomp.py", line 148, 
> in __init__
>     self.store = self.create_menu()
>   File "/usr/lib/python2.7/dist-packages/gramps/gui/autocomp.py", line 191, 
> in create_menu
>     key, value = self.get_key_and_value(event_type)
> TypeError: 'NoneType' object is not iterable

the database worked fine with the 3.x packages.

note that this only happens with one database. everything seems to work fine
with another db i have lying around. (of course, the broken database is the
important one).

mfgdsar
IOhannes


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gramps depends on:
ii  gir1.2-gtk-3.0   3.8.6-1
ii  librsvg2-2       2.40.0-1
ii  python           2.7.5-5
ii  python-gi        3.10.2-2
ii  python-gi-cairo  3.10.2-2
pn  python:any       <none>
ii  xdg-utils        1.1.0~rc1+git20111210-7

Versions of packages gramps recommends:
ii  graphviz                2.26.3-16.1
ii  libosmgpsmap-1.0-0-dev  1.0.1-2
ii  python-pyicu            1.5-2+b2

Versions of packages gramps suggests:
ii  fonts-freefont-ttf        20120503-2
ii  gir1.2-gexiv2-0.4         0.7.0-1
pn  gir1.2-gtk-gtkspell3-3.0  <none>
ii  python-pil                2.3.0-1
pn  rcs                       <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to