gramps fails to run

David J Brooks daeg at Houston.rr.com
Thu Sep 6 21:56:07 PDT 2007


After upgrading all my python stuff to 2.5, gramps will no longer start. I 
have tried rebuilding gramps, but its apparently still looking for python 
2.4, at least some of the time. 

$gramps
warning: Python C API version mismatch for module _locale: This Python has API 
version 1013, module _locale has version 1012.
warning: Python C API version mismatch for module strop: This Python has API 
version 1013, module strop has version 1012.
warning: Python C API version mismatch for module struct: This Python has API 
version 1013, module struct has version 1012.
warning: Python C API version mismatch for module time: This Python has API 
version 1013, module time has version 1012.
warning: Python C API version mismatch for module cStringIO: This Python has 
API version 1013, module cStringIO has version 1012.
warning: Python C API version mismatch for module collections: This Python has 
API version 1013, module collections has version 1012.
warning: Not importing 
directory '/usr/local/lib/python2.4/site-packages/gtk-2.0/gtk': missing 
__init__.py
Traceback (most recent call last):
  File "/usr/local/share/gramps/gramps.py", line 50, in <module>
    import gtk.gdk
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 
57, in <module>
    from gtk.deprecation import _Deprecated, _DeprecatedConstant
  File "/usr/local/lib/python2.5/site-packages/gtk-2.0/gtk/deprecation.py", 
line 24, in <module>
    import warnings
  File "/usr/local/lib/python2.4/warnings.py", line 258, in <module>
    simplefilter("ignore", category=OverflowWarning, append=1)
NameError: name 'OverflowWarning' is not defined
Exception exceptions.AttributeError: '_shutdown' in <module 'threading' 
from '/usr/local/lib/python2.4/threading.py'> ignored

David J Brooks
-- 
It seems a little silly now, but this country
was founded as a protest against taxation.


More information about the freebsd-ports mailing list