[MacPorts] #24310: python26 does not provide _bsddb

MacPorts noreply at macports.org
Thu Apr 8 15:42:16 PDT 2010


#24310: python26 does not provide _bsddb
----------------------------------+-----------------------------------------
 Reporter:  guy.linton@…          |       Owner:  blb@…           
     Type:  defect                |      Status:  new             
 Priority:  Normal                |   Milestone:                  
Component:  ports                 |     Version:  1.8.2           
 Keywords:                        |        Port:  python26        
----------------------------------+-----------------------------------------

Comment(by guy.linton@…):

 I have now done

 {{{
 sudo port -f uninstall python26
 sudo port install python26
 sudo python_select python26
 python /opt/local/share/gramps/gramps.py
 }}}


 Gramps starts OK, but when it tries to load the most recent database, it
 complains about the format of the Berkley database (Database needs
 recovery, cannot open it!

 {{{
 Low level database corruption detected
 Gramps has detected a problem in the underlying Berkeley
 database. This can be repaired by from the Family Tree
 Manager. Select the database and click on the Repair button

 DB_RUNRECOVERY: Fatal error, run database recovery --
 process-private: unable to find environment
 }}}

 After supposedly repairing the database, when I then try to open it I get
 an"Unexpected Error":

 {{{
 86421: ERROR: gramps.py: line 138: Unhandled exception
 Traceback (most recent call last):
   File "/opt/local/share/gramps/gui/dbman.py", line 649, in __repair_db
     restore(dbase)
   File "/opt/local/share/gramps/gen/db/backup.py", line 153, in restore
     __do_restore(database)
   File "/opt/local/share/gramps/gen/db/backup.py", line 170, in
 __do_restore
     database.rebuild_secondary()
   File "/opt/local/share/gramps/gen/db/write.py", line 222, in try_
     raise Errors.DbError(msg)
 DbError: Invalid argument --
 /Users/tim/.gramps/grampsdb/4b229499/person_id.db: unexpected file type or
 format
 }}}

 So, it seems that although the database is found OK, there is something
 seriously wrong with the database build as found by python 2.6 (or at
 least it is not compatible with that from python 2.5).

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


More information about the macports-tickets mailing list