Greetings:
I am using Gramps, and trying to automate the production of reports.
It is not as reliable as I would like.
Trying to use a filter (Graphable2, which works interactively), gives
the following dialog. Without specifying the filter, it works fine.
>gramps --open=/home/wb/tmp/TWDT.grdb --action=report
--options=name=rel_graph2,filter=Graphable2,of=/home/wb/genealogy/rel_graph2.svg,off=svg
Type: GRAMPS database
Opened successfully!
Performing action: report.
Using options string:
name=rel_graph2,filter=Graphable2,of=/home/wb/genealogy/rel_graph2.svg,off=svg
GRAMPS has encountered an internal error.
Please copy the message below and post a bug report
at http://sourceforge.net/projects/gramps or send an
email message to gramps-bugs@...
GRAMPS : 2.0.6-1
LANG : en_US
LANGUAGE : en_US:en
Python : 2.4.0 final
GTK : 2.6.4
PyGTK : 2.4.1
OS : Mandrakelinux release 10.2 (Limited Edition 2005) for i586
Traceback (most recent call last):
File "/usr/share/gramps/gramps.py", line 95, in run
gramps_main.Gramps(args)
File "/usr/share/gramps/gramps_main.py", line 177, in __init__
ArgHandler.ArgHandler(self,args)
File "/usr/share/gramps/ArgHandler.py", line 99, in __init__
self.handle_args()
File "/usr/share/gramps/ArgHandler.py", line 395, in handle_args
self.cl_action(action,options_str)
File "/usr/share/gramps/ArgHandler.py", line 616, in cl_action
report_class,options_class,options_str_dict)
File "/usr/share/gramps/Report.py", line 1834, in cl_report
clr =
CommandLineReport(database,name,category,options_class,options_str_dict)
File "/usr/share/gramps/Report.py", line 1590, in __init__
self.parse_option_str()
File "/usr/share/gramps/Report.py", line 1632, in parse_option_str
self.options_dict[opt] = converter(self.options_str_dict[opt])
ValueError: invalid literal for int(): Graphable2
|