After latest updates, Gramps crashes on startup

Ryan Schmidt ryandesign at macports.org
Tue May 18 04:20:59 PDT 2010


On May 18, 2010, at 06:15, David Rowe wrote:

> This is probably a Gramps issues - but I will air it here as well:
> 
> Gramps was working OK until today  (gramps @3.2.0, Revision 1) but after the latest set of upgrades:
> 
> atk                            1.28.0_0 < 1.30.0_0
> dbus                           1.2.16_1 < 1.2.24_0
> enchant                        1.5.0_1 < 1.6.0_0
> exiv2                          0.18.2_1 < 0.19_0
> gettext                        0.17_4 < 0.18_0
> glib2                          2.22.5_0 < 2.24.1_0
> gtk2                           2.18.8_0 < 2.20.1_0
> inkscape                       0.47_1 < 0.47_2
> libgcrypt                      1.4.4_0 < 1.4.5_0
> libgda4                        4.0.5_0 < 4.1.5_0
> libpixman                      0.18.0_0 < 0.18.2_0
> p5-libwww-perl                 5.834_0 < 5.836_0
> port_cutleaves                 0.1.2_0 < 0.1.3_1
> python26                       2.6.5_0 < 2.6.5_1
> 
> Gramps no longer starts:
> 
> 289: ERROR: gramps.py: line 138: Unhandled exception
> Traceback (most recent call last):
>  File "/opt/local/share/gramps/gramps.py", line 187, in <module>
>    errors = run()
>  File "/opt/local/share/gramps/gramps.py", line 179, in run
>    from gui.grampsgui import startgtkloop
>  File "/opt/local/share/gramps/gui/grampsgui.py", line 63, in <module>
>    import Utils
>  File "/opt/local/share/gramps/Utils.py", line 49, in <module>
>    from GrampsLocale import codeset
>  File "/opt/local/share/gramps/GrampsLocale/__init__.py", line 23, in <module>
>    from _GrampsLocale import *
>  File "/opt/local/share/gramps/GrampsLocale/_GrampsLocale.py", line 137, in <module>
>    unicode(time.strftime('%B',(0,1,1,1,1,1,1,1,1)),codeset).lower() : 1,
> LookupError: unknown encoding:
> 
> Does anyone have any ideas on how to fix it?

Looks like Gramps is a python script, and it's mentioning a locale error, so you could try downgrading gettext or python26 to see if that brings back functionality. 




More information about the macports-users mailing list