Strange,
you have a problem with Iconview (
http://www.pygtk.org/docs/pygtk/class-gtkiconview.html), namely that the: '
gtk.IconView' object has no attribute 'pack_end'
However, it does have that:
http://www.pygtk.org/docs/pygtk/class-gtkcelllayout.html#method-gtkcelllayout--pack-end
which is available in PyGTK 2.4, just as Iconview itself is.
To make a long answer short, it should work and not give this error.
My guess is your python version is too old, I see you use Pyton 2.4, however
if Iconview is present, then the pack_end should be too....
As you have a recent distribution, python 2.5 might be installed on your
system to (see if /bin/python2.5 exist, can you start gramps with that? So
on my system that would be on the command line:
python2.5 /usr/share/gramps/gramps.py
Benny
2007/11/4, wolfram.bauer@... <wolfram.bauer@...>:
>
> User Information:
> ===================
>
> I just updated my old 2.2.8 by the 2.2.9 version. With 2.2.8 was
> everything
> o.k. (since I deleted the gallery). It was not possible to edit the
> persons.
> Then I created a new database and tried to add the first person. The same
> error happens also.
>
> Thanks for programming gramps - my favorite software!
>
>
> Error Details:
> ===================
>
> 37892: ERROR: gramps.py: line 147: Unhandled exception
> Traceback (most recent call last):
> File "/usr/local/share/gramps/DataViews/_PersonView.py", line 556, in
> add
> EditPerson(self.dbstate, self.uistate, [], person)
> File "/usr/local/share/gramps/Editors/_EditPerson.py", line 95, in
> __init__
> state.db.get_person_from_handle, callback)
> File "/usr/local/share/gramps/Editors/_EditPrimary.py", line 53, in
> __init__
> self._create_tabbed_pages()
> File "/usr/local/share/gramps/Editors/_EditPerson.py", line 317, in
> _create_tabbed_pages
> self.load_person_image))
> File "/usr/local/share/gramps/DisplayTabs/_GalleryTab.py", line 73, in
> __init__
> ButtonTab.__init__(self, dbstate, uistate, track, _('Gallery'), True)
> File "/usr/local/share/gramps/DisplayTabs/_ButtonTab.py", line 82, in
> __init__
> GrampsTab.__init__(self,dbstate, uistate, track, name)
> File "/usr/local/share/gramps/DisplayTabs/_GrampsTab.py", line 77, in
> __init__
> self.build_interface()
> File "/usr/local/share/gramps/DisplayTabs/_GalleryTab.py", line 168, in
> build_interface
> self.iconlist.pack_end(text_renderer)
> AttributeError: 'gtk.IconView' object has no attribute 'pack_end'
> 79821: ERROR: gramps.py: line 147: Unhandled exception
> Traceback (most recent call last):
> File "/usr/local/share/gramps/DataViews/_PersonView.py", line 556, in
> add
> EditPerson(self.dbstate, self.uistate, [], person)
> File "/usr/local/share/gramps/Editors/_EditPerson.py", line 95, in
> __init__
> state.db.get_person_from_handle, callback)
> File "/usr/local/share/gramps/Editors/_EditPrimary.py", line 53, in
> __init__
> self._create_tabbed_pages()
> File "/usr/local/share/gramps/Editors/_EditPerson.py", line 317, in
> _create_tabbed_pages
> self.load_person_image))
> File "/usr/local/share/gramps/DisplayTabs/_GalleryTab.py", line 73, in
> __init__
> ButtonTab.__init__(self, dbstate, uistate, track, _('Gallery'), True)
> File "/usr/local/share/gramps/DisplayTabs/_ButtonTab.py", line 82, in
> __init__
> GrampsTab.__init__(self,dbstate, uistate, track, name)
> File "/usr/local/share/gramps/DisplayTabs/_GrampsTab.py", line 77, in
> __init__
> self.build_interface()
> File "/usr/local/share/gramps/DisplayTabs/_GalleryTab.py", line 168, in
> build_interface
> self.iconlist.pack_end(text_renderer)
> AttributeError: 'gtk.IconView' object has no attribute 'pack_end'
>
>
> System Information:
> ===================
>
> Python version: 2.4.1 (#1, May 25 2007, 18:41:31) [GCC 4.0.2 20050901
> (prerelease) (SUSE Linux)]
> BSDDB version: 4.3.0
> Gramps version: 2.2.9-1
> LANG: de_DE.UTF-8
> OS: Linux
> Distribution: 2.6.13-15.18-default
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Gramps-bugs mailing list
> Gramps-bugs@...
> https://lists.sourceforge.net/lists/listinfo/gramps-bugs
>
|