"bug report"

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

"bug report"

Stefan Björk
"User Information:
===================

1. Create new database.
2. Add person.
3. Add source.
4. Add source to person.
5. Try to view/edit person.


Error Details:
===================

135397: ERROR: gramps.py: line 147: Unhandled exception
Traceback (most recent call last):
  File "/home/stefan/garnome/share/gramps/DataViews/_PersonView.py", line 774, in button_press
    EditPerson(self.dbstate, self.uistate, [], person)
  File "/home/stefan/garnome/share/gramps/Editors/_EditPerson.py", line 98, in __init__
    state.db.get_person_from_handle, callback)
  File "/home/stefan/garnome/share/gramps/Editors/_EditPrimary.py", line 52, in __init__
    self._create_tabbed_pages()
  File "/home/stefan/garnome/share/gramps/Editors/_EditPerson.py", line 268, in _create_tabbed_pages
    self.track, self.obj.source_list))
  File "/home/stefan/garnome/share/gramps/DisplayTabs/_SourceEmbedList.py", line 69, in __init__
    _('Sources'), SourceRefModel, True)
  File "/home/stefan/garnome/share/gramps/DisplayTabs/_EmbeddedList.py", line 89, in __init__
    self.rebuild()
  File "/home/stefan/garnome/share/gramps/DisplayTabs/_EmbeddedList.py", line 352, in rebuild
    self.model = self.build_model(self.get_data(), self.dbstate.db)
  File "/home/stefan/garnome/share/gramps/DisplayTabs/_SourceRefModel.py", line 49, in __init__
    self.append(row=[src.gramps_id, src.title, src.author,
AttributeError: 'NoneType' object has no attribute 'gramps_id'


System Information:
===================

Python version: 2.4.3 (#1, Sep 18 2006, 14:13:20) [GCC 3.4.4 20050721 (Red Hat 3.4.4-2)]
Gramps version: 2.1.98-0.SVN7332:7333
LANG: sv_SE.UTF-8
OS: Linux
Distribution: 2.6.12-1.1372_FC3
"

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs

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

Re: "bug report"

Don Allingham
Stefan,

Alex and I started working on this one last night.

Don

On Fri, 2006-10-06 at 14:26 +0200, Stefan Björk wrote:

> "User Information:
> ===================
>
> 1. Create new database.
> 2. Add person.
> 3. Add source.
> 4. Add source to person.
> 5. Try to view/edit person.
>
>
> Error Details:
> ===================
>
> 135397: ERROR: gramps.py: line 147: Unhandled exception
> Traceback (most recent call last):
>   File "/home/stefan/garnome/share/gramps/DataViews/_PersonView.py", line 774, in button_press
>     EditPerson(self.dbstate, self.uistate, [], person)
>   File "/home/stefan/garnome/share/gramps/Editors/_EditPerson.py", line 98, in __init__
>     state.db.get_person_from_handle, callback)
>   File "/home/stefan/garnome/share/gramps/Editors/_EditPrimary.py", line 52, in __init__
>     self._create_tabbed_pages()
>   File "/home/stefan/garnome/share/gramps/Editors/_EditPerson.py", line 268, in _create_tabbed_pages
>     self.track, self.obj.source_list))
>   File "/home/stefan/garnome/share/gramps/DisplayTabs/_SourceEmbedList.py", line 69, in __init__
>     _('Sources'), SourceRefModel, True)
>   File "/home/stefan/garnome/share/gramps/DisplayTabs/_EmbeddedList.py", line 89, in __init__
>     self.rebuild()
>   File "/home/stefan/garnome/share/gramps/DisplayTabs/_EmbeddedList.py", line 352, in rebuild
>     self.model = self.build_model(self.get_data(), self.dbstate.db)
>   File "/home/stefan/garnome/share/gramps/DisplayTabs/_SourceRefModel.py", line 49, in __init__
>     self.append(row=[src.gramps_id, src.title, src.author,
> AttributeError: 'NoneType' object has no attribute 'gramps_id'
>
>
> System Information:
> ===================
>
> Python version: 2.4.3 (#1, Sep 18 2006, 14:13:20) [GCC 3.4.4 20050721 (Red Hat 3.4.4-2)]
> Gramps version: 2.1.98-0.SVN7332:7333
> LANG: sv_SE.UTF-8
> OS: Linux
> Distribution: 2.6.12-1.1372_FC3
> "
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ Gramps-bugs mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gramps-bugs

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs

signature.asc (198 bytes) Download Attachment