Your message dated Sun, 26 Oct 2008 13:38:18 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#491819: gramps: Fails to import from the command-line
has caused the Debian Bug report #491819,
regarding gramps: Fails to import from the command-line
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
491819: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491819
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: gramps
Version: 3.0.1-1
Severity: normal
Hello,
I am trying to play with command-line options to generate reports
without opening the GUI as explained in the wiki. But I just can't
import from the command-line. It always fails with the error below.
I tried to import gramps-xml and gramps-package databases, none worked.
Importing from the GUI always worked so far.
$ gramps -i Desktop/data.gramps
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
3582: ERROR: DbLoader.py: line 281: Failed to open database.
Traceback (most recent call last):
File "/usr/share/gramps/DbLoader.py", line 272, in read_file
self.dbstate.db.load(filename, self.uistate.pulse_progressbar, mode)
File "/usr/share/gramps/gen/db/dbdir.py", line 450, in load
return self.__load(name, callback, mode)
File "/usr/share/gramps/gen/db/dbdir.py", line 507, in __load
self.__close_early()
File "/usr/share/gramps/gen/db/dbdir.py", line 1201, in __close_early
"The database version is not supported by this "
FileVersionError: The database version is not supported by this version of
GRAMPS.
Please upgrade to the corresponding version or use XML for porting data
between different database versions.
Importing: file Desktop/data.gramps, format gramps-xml.
Error importing Desktop/data.gramps
15509: ERROR: gramps.py: line 202: Gramps terminated with exit code: 1.
Traceback (most recent call last):
File "/usr/share/gramps/gramps.py", line 193, in run
gramps_main.Gramps(args)
File "/usr/share/gramps/gramps_main.py", line 249, in __init__
retval = ah.handle_args()
File "/usr/share/gramps/ArgHandler.py", line 469, in handle_args
self.cl_import(imp[0], imp[1])
File "/usr/share/gramps/ArgHandler.py", line 565, in cl_import
sys.exit(1)
SystemExit: 1
Just create a dumb database, export it as gramps-xml or package
and try to import it with -i, it should fail the same.
I also tried -O but it just ignores my gramps-xml file.
$ gramps -O Desktop/data.gramps
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes.
A file is given, not an existing family tree , use the -i option to import in a
family tree instead
No data was given -- will launch interactive session.
To use in the command-line mode, supply at least one input file to process.
Launching interactive session...
thanks,
Brice
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26=topinambour (SMP w/2 CPU cores)
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages gramps depends on:
ii librsvg2-common 2.22.2-2 SAX-based renderer library for SVG
ii python 2.5.2-1 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
ii python-glade2 2.12.1-6 GTK+ bindings: Glade support
ii python-gnome2 2.22.0-1 Python bindings for the GNOME desk
ii python2.5 2.5.2-6 An interactive high-level object-o
ii rarian-compat [scrollkeeper] 0.8.0-1 Rarian is a documentation meta-dat
Versions of packages gramps recommends:
ii graphviz 2.20.0-1 rich set of graph drawing tools
ii python-gnome2-desktop 2.22.0-2 Python bindings for the GNOME desk
ii python-gnome2-extras 2.19.1-2 Extra Python bindings for the GNOM
ii python-reportlab 2.1dfsg-2 ReportLab library to create PDF do
ii ttf-freefont 20080323-3 Freefont Serif, Sans and Mono True
ii xdg-utils 1.0.2-6 desktop integration utilities from
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 3.0.3-1
Upstream fixed the problem (see the upstream bug),
and 3.0.3-1 seems to work fine, so closing.
Brice
--- End Message ---