[MacPorts] #23768: gramps: add python25 and python26 variants, move spell checking to spell variant, add graphviz variant, add dependencies

MacPorts noreply at macports.org
Tue Mar 30 15:44:25 PDT 2010


#23768: gramps: add python25 and python26 variants, move spell checking to spell
variant, add graphviz variant, add dependencies
--------------------------------------+-------------------------------------
 Reporter:  lkraider+ports@…          |       Owner:  macports-tickets@…                   
     Type:  enhancement               |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.8.2                                
 Keywords:  haspatch                  |        Port:  gramps                               
--------------------------------------+-------------------------------------

Comment(by guy.linton@…):

 Unfortunately, Gramps does not run for me on python 2.6, I get:


 {{{
 4969: ERROR: gramps.py: line 138: Unhandled exception
 Traceback (most recent call last):
   File "/opt/local/share/gramps/gui/grampsgui.py", line 317, in
 __startgramps
     from GrampsLogger import RotateHandler, GtkHandler
   File "/opt/local/share/gramps/GrampsLogger/__init__.py", line 45, in
 <module>
     from _GtkHandler import GtkHandler
   File "/opt/local/share/gramps/GrampsLogger/_GtkHandler.py", line 4, in
 <module>
     from _ErrorView import ErrorView
   File "/opt/local/share/gramps/GrampsLogger/_ErrorView.py", line 15, in
 <module>
     from _ErrorReportAssistant import ErrorReportAssistant
   File "/opt/local/share/gramps/GrampsLogger/_ErrorReportAssistant.py",
 line 8, in <module>
     import sys, os,bsddb
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/bsddb/__init__.py",
 line 64, in <module>
     import _bsddb
 ImportError: No module named _bsddb

 }}}

 Help please, I have no idea where python expects to find bsddb, nor why it
 is found in python25. I ran python_select python26, is there anything else
 I need to do to switch to python 26.

 Directory
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/ does not have a _bsddb.so file - is this the problem?

-- 
Ticket URL: <http://trac.macports.org/ticket/23768#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list