Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 199003
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Steve Dibb <beandog@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Adam Fabicki <adam.fabicki@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 199003 depends on: 179377 Show dependency tree
Bug 199003 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-13 01:27 0000
gramps ebuild ran fine, but when I try to run it, it crashes with the following
traceback from python:

  File "/usr/share/gramps/gramps.py", line 81, in ?
    import gramps_main 
  File "/usr/share/gramps/gramps_main.py", line 57, in ?
    import GrampsBSDDB
  File "/usr/share/gramps/GrampsBSDDB.py", line 37, in ?
    from bsddb import dbshelve, db
  File "/usr/lib/python2.4/bsddb/__init__.py", line 47, in ?
    import _bsddb
ImportError: No module named _bsddb

------- Comment #1 From Rauch Christian 2007-11-20 08:56:51 0000 -------
For a (possible) fix see
http://gramps-project.org/wiki/index.php?title=Install_latest_BSDDB#Remove_old_BSDDB_and_replace_with_new_in_GRAMPS

You have to emerge bsddb3 before applying the changes.
Watch out, it's not only changing "import bsddb" but also some lines starting
with "from bsddb."!

Worked for me, gramps 2.2.8 is running just fine now.

------- Comment #2 From Christian Faulhammer 2007-12-13 19:04:55 0000 -------
Adam, could you please check if comment #1 helps you?

------- Comment #3 From Adam Fabicki 2007-12-14 03:53:45 0000 -------
Yep, the directions worked to fix the problem, thanks.

------- Comment #4 From Christian Faulhammer 2007-12-14 04:49:04 0000 -------
Closing then.

------- Comment #5 From Jakub Moc (RETIRED) 2008-02-16 06:55:47 0000 -------
*** Bug 210325 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jakub Moc (RETIRED) 2008-02-16 06:57:27 0000 -------
(In reply to comment #4)
> Closing then.

Manually messing with installed files != fix. 

------- Comment #7 From Michael C. Vergallen 2008-02-16 14:28:48 0000 -------
Please make a patch that solves this. Because editing the source files of a
ebuild 
to get a package to work is not the solution.

------- Comment #8 From Jakub Moc (RETIRED) 2008-02-16 14:30:49 0000 -------
(In reply to comment #7)
> Please make a patch that solves this.

There's no patch needed for this; this is a python issue (see Bug 179377).

------- Comment #9 From Michael C. Vergallen 2008-02-16 15:09:59 0000 -------
I see...his problem seems to take ages to fix....It's been about 8 months since
the python problem was reported.

------- Comment #10 From Christian Faulhammer 2008-02-16 15:28:00 0000 -------
(In reply to comment #9)
> I see...his problem seems to take ages to fix....It's been about 8 months since
> the python problem was reported.

 Maybe the bug slipped for the Python team...I will commit the fix as soon as I
made clear if the proposed fix is sane.  It uses some features from EAPI=1
(slot dependencies) and I will check with someone else.  Or do you know
something that stands against EAPI=1 in the (stable) tree, jakub?

------- Comment #11 From Jakub Moc (RETIRED) 2008-02-16 15:31:48 0000 -------
(In reply to comment #10)
> something that stands against EAPI=1 in the (stable) tree, jakub?

Hmmm? No, there's tons of stuff using EAPI=1 now. Just make sure to revbump the
thing and get it stabilized ASAP, thanks... ;)

------- Comment #12 From Christian Faulhammer 2008-02-16 16:26:49 0000 -------
Fixed I hope.  Closing. -r9 should go stable soon, I try to take care of it.

------- Comment #13 From Michael C. Vergallen 2008-02-20 11:28:00 0000 -------
(In reply to comment #12)
> Fixed I hope.  Closing. -r9 should go stable soon, I try to take care of it.
> 

Still waiting on this to go stable ...

------- Comment #14 From Christian Faulhammer 2008-02-20 18:07:46 0000 -------
(In reply to comment #13)
> (In reply to comment #12)
> > Fixed I hope.  Closing. -r9 should go stable soon, I try to take care of it.
> Still waiting on this to go stable ...

 You sure have talent for it...give it some time, python team did not react to
my request, but I will come to it next week (need to check there are no other
bugs holding it back).

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug