From: Brian M. <br...@gr...> - 2006-07-18 02:25:12
|
The root of the problem for this bug is that your custom filters are not available to the relationship graph. Your specification of filter 65 is an error because the report only thinks there are 4 filters available. There has already been a report filed at http://bugs.gramps-project.org/view.php?id=225 Feel free to login an add your two cents. ~Brian ----- Original Message ---- From: wb <wb...@va...> To: Brian Matherly <br...@gr...> Sent: Sunday, July 16, 2006 11:27:45 AM Subject: Re: [Gramps-bugs] Gramps problem report I finally got an svn setup working on my machine. I retried this, and it failed in another place. I just sent in the automatic problem report, but I have attached the information to this message. Thanks for your work on this. -- Wayne Bergeron On Wednesday July 12 2006 22:52, you wrote: > Thanks for your report. This should be fixed now. Give it > a try. > > ~Brian > > ----- Original Message ---- > From: wb <wb...@va...> > To: gra...@li... > Sent: Sunday, July 9, 2006 2:46:04 PM > Subject: [Gramps-bugs] Gramps problem report > > User Information: > =================== > > I was running a script that did this stuff > > -- Wayne Bergeron ax...@ya... > > ------------------- > > + gramps --open=/home/wbg/tmp/TWDT.grdb --action=report > --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,colo >r=filled,url=0,attract=none,of=/home/wbg/var/genealogy/MeU >pAndDown.dot,filter=65,papers=A3,papero=1,pagesh=1,pagesv= >1 --action=report > --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,colo >r=filled,url=0,attract=none,of=/home/wbg/var/genealogy/MeU >pAndDown2.dot,filter=22,papers=A3,papero=1,pagesh=2,pagesv >=1 --action=report > --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,colo >r=filled,url=0,attract=none,of=/home/wbg/var/genealogy/MeU >pAndDown3.dot,filter=62,papers=A3,papero=0,pagesh=5,pagesv >=4 --action=report > --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,colo >r=filled,url=0,attract=none,of=/home/wbg/var/genealogy/Gra >phable3.dot,filter=21,papers=A3,papero=0,pagesh=1,pagesv=2 > --action=report > --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,colo >r=filled,url=0,attract=none,of=/home/wbg/var/genealogy/GPa >rentsDownAndSpouses.dot,filter=63,papers=A3,papero=0,pages >h=1,pagesv=5 --action=report > --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,colo >r=filled,url=0,attract=none,of=/home/wbg/var/genealogy/GGP >arentsDownAndSpouses.dot,filter=15,papers=A3,papero=0,page >sh=1,pagesv=6 --action=report > --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,colo >r=filled,url=0,attract=none,of=/home/wbg/var/genealogy/GGP >arentsDownNotMyFamily.dot,filter=20,papers=A3,papero=1,pag >esh=1,pagesv=8 --action=report > --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,colo >r=filled,url=0,attract=none,of=/home/wbg/var/genealogy/My_ >GParentsUpAndDown.dot,filter=69,papers=A3,papero=0,pagesh= >5,pagesv=6 Spelling checker is not installed > Type: GRAMPS database > Opened successfully! > Performing action: report. > Using options string: > name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,u >rl=0,attract=none,of=/home/wbg/var/genealogy/MeUpAndDown.d >ot,filter=65,papers=A3,papero=1,pagesh=1,pagesv=1 Ignoring > unknown option: attract > 21258: ERROR: gramps.py: line 175: Gramps failed to > start. Traceback (most recent call last): > File "/home/wbg/gramps/share/gramps/gramps.py", line > 173, in run > gramps_main.Gramps(args) > File "/home/wbg/gramps/share/gramps/gramps_main.py", > line 203, in __init__ > ah.handle_args() > File "/home/wbg/gramps/share/gramps/ArgHandler.py", > line 416, in handle_args > self.cl_action(action,options_str) > File "/home/wbg/gramps/share/gramps/ArgHandler.py", > line 650, in cl_action > category,options_str_dict) > File > "/home/wbg/gramps/share/gramps/plugins/GraphViz.py", line > 1112, in cl_report > options_str_dict) > File > "/home/wbg/gramps/share/gramps/ReportBase/_CommandLineRep >ort.py", line 54, in __init__ > self.parse_option_str() > File > "/home/wbg/gramps/share/gramps/ReportBase/_CommandLineRep >ort.py", line 124, in parse_option_str > cust_filt_list = [ filt2.get_name() for filt2 in > NameError: global name 'CustomFilters' is not defined > > > > Error Details: > =================== > > 21258: ERROR: gramps.py: line 175: Gramps failed to > start. Traceback (most recent call last): > File "/home/wbg/gramps/share/gramps/gramps.py", line > 173, in run > gramps_main.Gramps(args) > File "/home/wbg/gramps/share/gramps/gramps_main.py", > line 203, in __init__ > ah.handle_args() > File "/home/wbg/gramps/share/gramps/ArgHandler.py", > line 416, in handle_args > self.cl_action(action,options_str) > File "/home/wbg/gramps/share/gramps/ArgHandler.py", > line 650, in cl_action > category,options_str_dict) > File > "/home/wbg/gramps/share/gramps/plugins/GraphViz.py", line > 1112, in cl_report > options_str_dict) > File > "/home/wbg/gramps/share/gramps/ReportBase/_CommandLineRep >ort.py", line 54, in __init__ > self.parse_option_str() > File > "/home/wbg/gramps/share/gramps/ReportBase/_CommandLineRep >ort.py", line 124, in parse_option_str > cust_filt_list = [ filt2.get_name() for filt2 in > NameError: global name 'CustomFilters' is not defined > > System Information: > =================== > > Python version: 2.4.1 (#2, Aug 25 2005, 18:20:57) [GCC > 4.0.1 (4.0.1-2mdk for Mandriva Linux release 2006.0)] > Gramps version: 2.1.7-1 > LANG: en_US > OS: Linux > Distribution: 2.6.12-12mdk -- There are some human beings who have attained singularities. They know (and others uneasily suspect) that they are unique... They know that they create their environment. They inhabit their own worlds. YOU inhabit their worlds. -- T. Leary User Information: =================== I was running a script I have run many times with previous gramps releases. Note that I have a lot of custom filters (79 total), and I actually count them with a script to get the filter number. I am using filter number 65 when this crashes, and I have 79 total. I have attached my custom_filters.xml file, in case that has caused a problem. The commands executed: + gramps --open=/home/wbg/tmp/TWDT.grdb --action=report --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/MeUpAndDown.dot,filter=65,papers=A3,papero=1,pagesh=1,pagesv=1 --action=report --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/MeUpAndDown2.dot,filter=22,papers=A3,papero=1,pagesh=2,pagesv=1 --action=report --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/MeUpAndDown3.dot,filter=62,papers=A3,papero=0,pagesh=5,pagesv=4 --action=report --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/Graphable3.dot,filter=21,papers=A3,papero=0,pagesh=1,pagesv=2 --action=report --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/GParentsDownAndSpouses.dot,filter=63,papers=A3,papero=0,pagesh=1,pagesv=5 --action=report --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/GGParentsDownAndSpouses.dot,filter=15,papers=A3,papero=0,pagesh=1,pagesv=6 --action=report --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/GGParentsDownNotMyFamily.dot,filter=20,papers=A3,papero=1,pagesh=1,pagesv=8 --action=report --options=name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/My_GParentsUpAndDown.dot,filter=69,papers=A3,papero=0,pagesh=5,pagesv=6 Spelling checker is not installed Type: GRAMPS database Opened successfully! Performing action: report. Using options string: name=rel_graph,pagesh=1,margin=0,dashedl=0,color=filled,url=0,attract=none,of=/home/wbg/var/genealogy/MeUpAndDown.dot,filter=65,papers=A3,papero=1,pagesh=1,pagesv=1 Ignoring unknown option: attract 21919: ERROR: gramps.py: line 175: Gramps failed to start. Traceback (most recent call last): File "/home/wbg/svn/gramps/gramps2/src/gramps.py", line 173, in run gramps_main.Gramps(args) File "/home/wbg/svn/gramps/gramps2/src/gramps_main.py", line 203, in __init__ ah.handle_args() File "/home/wbg/svn/gramps/gramps2/src/ArgHandler.py", line 416, in handle_args self.cl_action(action,options_str) File "/home/wbg/svn/gramps/gramps2/src/ArgHandler.py", line 650, in cl_action category,options_str_dict) File "/home/wbg/svn/gramps/gramps2/src/plugins/GraphViz.py", line 1118, in cl_report GraphViz(database,clr.person,clr.option_class) File "/home/wbg/svn/gramps/gramps2/src/plugins/GraphViz.py", line 240, in __init__ self.filter = filters[filter_num] IndexError: list index out of range Error Details: =================== 21919: ERROR: gramps.py: line 175: Gramps failed to start. Traceback (most recent call last): File "/home/wbg/svn/gramps/gramps2/src/gramps.py", line 173, in run gramps_main.Gramps(args) File "/home/wbg/svn/gramps/gramps2/src/gramps_main.py", line 203, in __init__ ah.handle_args() File "/home/wbg/svn/gramps/gramps2/src/ArgHandler.py", line 416, in handle_args self.cl_action(action,options_str) File "/home/wbg/svn/gramps/gramps2/src/ArgHandler.py", line 650, in cl_action category,options_str_dict) File "/home/wbg/svn/gramps/gramps2/src/plugins/GraphViz.py", line 1118, in cl_report GraphViz(database,clr.person,clr.option_class) File "/home/wbg/svn/gramps/gramps2/src/plugins/GraphViz.py", line 240, in __init__ self.filter = filters[filter_num] IndexError: list index out of range System Information: =================== Python version: 2.4.1 (#2, Aug 25 2005, 18:20:57) [GCC 4.0.1 (4.0.1-2mdk for Mandriva Linux release 2006.0)] Gramps version: 2.1.8-0.SVN7033 LANG: en_US OS: Linux Distribution: 2.6.12-12mdk |