Package: gramps
Version: 1.0.10-4
Severity: important

When trying to open a database, Gramps displays this error dialog:

  Error reading /home/mbrubeck/gramps/data.gramps

This traceback is printed to the terminal:

  Traceback (most recent call last):
    File "/usr/share/gramps/ReadXML.py", line 291, in loadData
      parser.parse(xml_file)
    File "/usr/share/gramps/GrampsParser.py", line 194, in parse
      p = xml.parsers.expat.ParserCreate()
    AttributeError: 'module' object has no attribute 'expat'

Gramps continues running, but the database does not open.  I tested this
with an existing database and with a newly-created database.

I have some Python experience, so I can try to help with debugging if
you have any suggestions.  The following test ran without any errors:

  $ python
  Python 2.3.5 (#2, Feb  9 2005, 00:38:15)
  [GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import xml.parsers.expat
  >>> p = xml.parsers.expat.ParserCreate()
  >>>

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gramps depends on:
ii  python-glade2               2.4.1-2      GTK+ bindings: Glade support
ii  python-gnome2               2.6.1-1      Python bindings for the GNOME desk
ii  python-imaging              1.1.4-3      Python Imaging Library
ii  python-reportlab            1.20debian-1 ReportLab library to create PDF do
ii  scrollkeeper                0.3.14-9.1   A free electronic cataloging syste
ii  yelp                        2.6.5-1      Help browser for GNOME 2

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to