Generate Book Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Generate Book Error

Tom Baty
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 [hidden email]

GRAMPS : 2.0.6-1
LANG : en_US.UTF-8
Python : 2.4.1 final
GTK : 2.6.7
PyGTK : 2.6.2
OS : Fedora Core release 4 (Stentz)

Traceback (most recent call last):
  File "/usr/share/gramps/Report.py", line 1819, in write_book_item
    return report_class(database,person,options_class)
  File "/usr/share/gramps/plugins/DesGraph.py", line 96, in __init__
    (self.v,self.e) = self.layout.layout()
  File "/usr/share/gramps/GraphLayout.py", line 44, in layout
    self.space_for(self.person_handle)
  File "/usr/share/gramps/GraphLayout.py", line 60, in space_for
    for child_handle in family.get_child_handle_list():
AttributeError: 'NoneType' object has no attribute 'get_child_handle_list'

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Generate Book Error

Don Allingham
Would you be able to send me a testcase that shows this problem?

Don

On Sat, 2005-09-03 at 20:45 -0500, Tom Baty wrote:

> 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 [hidden email]
>
> GRAMPS : 2.0.6-1
> LANG : en_US.UTF-8
> Python : 2.4.1 final
> GTK : 2.6.7
> PyGTK : 2.6.2
> OS : Fedora Core release 4 (Stentz)
>
> Traceback (most recent call last):
>   File "/usr/share/gramps/Report.py", line 1819, in write_book_item
>     return report_class(database,person,options_class)
>   File "/usr/share/gramps/plugins/DesGraph.py", line 96, in __init__
>     (self.v,self.e) = self.layout.layout()
>   File "/usr/share/gramps/GraphLayout.py", line 44, in layout
>     self.space_for(self.person_handle)
>   File "/usr/share/gramps/GraphLayout.py", line 60, in space_for
>     for child_handle in family.get_child_handle_list():
> AttributeError: 'NoneType' object has no attribute 'get_child_handle_list'
--
Don Allingham <[hidden email]>

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Generate Book Error

Alex Roitman
In reply to this post by Tom Baty
Tom,

On Sat, 2005-09-03 at 20:45 -0500, Tom Baty wrote:

> Traceback (most recent call last):
>   File "/usr/share/gramps/Report.py", line 1819, in write_book_item
>     return report_class(database,person,options_class)
>   File "/usr/share/gramps/plugins/DesGraph.py", line 96, in __init__
>     (self.v,self.e) = self.layout.layout()
>   File "/usr/share/gramps/GraphLayout.py", line 44, in layout
>     self.space_for(self.person_handle)
>   File "/usr/share/gramps/GraphLayout.py", line 60, in space_for
>     for child_handle in family.get_child_handle_list():
> AttributeError: 'NoneType' object has no attribute 'get_child_handle_list'
Does running Check and Repair (under Tools->Repair Database menu) help?
If not, could you please send me the data reproducing the problem?

Alex

--
Alexander Roitman   http://www.gramps-project.org

signature.asc (196 bytes) Download Attachment