Det Ancestor Report

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Det Ancestor Report

John Whitehand
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.9-0.RC1
LANG : en_US.UTF-8
Python : 2.4.1 final
GTK : 2.6.7
PyGTK : 2.6.0
OS : Fedora Core release 4 (Stentz)

Traceback (most recent call last):
  File "/usr/local/share/gramps/Report.py", line 1852, in report
    MyReport.write_report()
  File "/usr/local/share/gramps/plugins/DetAncestralReport.py", line
176, in write_report
    dupPerson = self.write_person(key)
  File "/usr/local/share/gramps/plugins/DetAncestralReport.py", line
255, in write_person
    self.write_parents(person, first)
  File "/usr/local/share/gramps/plugins/DetAncestralReport.py", line
353, in write_parents
    firstName)
  File "/usr/local/share/gramps/ReportUtils.py", line 1752, in child_str
    if text:
UnboundLocalError: local variable 'text' referenced before assignment

--
John Whitehand
West Footscray 3012
Australia

              http://www.vicnet.net.au/~whitehaj/welcome.htm

           "Competition destroys ~ 'tis Co-operation that achieves"



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs
Reply | Threaded
Open this post in threaded view
|

Re: Det Ancestor Report

Alex Roitman
John,

Thanks for your report!
This is now fixed in the CVS, and the fix will appear
in the 2.0.9 release.

The attached patch can be applied either in the
top-level source dir (patch -p0) or in
/usr/share/gramps (patch -p1 as a root) to fix
the problem with the RC1.

Alex

On Thu, 2005-12-01 at 22:03 +1100, John Whitehand 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.9-0.RC1
> LANG : en_US.UTF-8
> Python : 2.4.1 final
> GTK : 2.6.7
> PyGTK : 2.6.0
> OS : Fedora Core release 4 (Stentz)
>
> Traceback (most recent call last):
>   File "/usr/local/share/gramps/Report.py", line 1852, in report
>     MyReport.write_report()
>   File "/usr/local/share/gramps/plugins/DetAncestralReport.py", line
> 176, in write_report
>     dupPerson = self.write_person(key)
>   File "/usr/local/share/gramps/plugins/DetAncestralReport.py", line
> 255, in write_person
>     self.write_parents(person, first)
>   File "/usr/local/share/gramps/plugins/DetAncestralReport.py", line
> 353, in write_parents
>     firstName)
>   File "/usr/local/share/gramps/ReportUtils.py", line 1752, in child_str
>     if text:
> UnboundLocalError: local variable 'text' referenced before assignment
>
--
Alexander Roitman   http://www.gramps-project.org

rep.patch (742 bytes) Download Attachment
signature.asc (196 bytes) Download Attachment