First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 204146
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 179377
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Anderson (tanderson) <tanderson@gentoo.org>
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 204146 depends on: Show dependency tree
Bug 204146 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: 2008-01-03 00:48 0000
When initializing the database for the first time running etc-proposals I get: 

[spoc:root]/home/thomas>etc-proposals --init-db
Traceback (most recent call last):
  File "/usr/sbin/etc-proposals", line 11, in ?
    from etcproposals.etcproposals_lib import Config, EtcProposals
  File "/usr/lib64/python2.4/site-packages/etcproposals/etcproposals_lib.py",
line 604, in ?
    State = EtcProposalsState()
  File "/usr/lib64/python2.4/site-packages/etcproposals/etcproposals_lib.py",
line 566, in __init__
    shelve.Shelf.__init__(self, anydbm.open(STATEFILE, 'c'))
  File "/usr/lib/python2.4/anydbm.py", line 82, in open
    mod = __import__(result)
  File "/usr/lib/python2.4/dbhash.py", line 5, in ?
    import bsddb
  File "/usr/lib/python2.4/bsddb/__init__.py", line 47, in ?
    import _bsddb
ImportError: No module named _bsddb
[spoc:root]/home/thomas>

I get this with and without the berkdb USE flag being on in python. I also got
it with and without dev-python/bsddb3 installed.

Reproducible: Always

Steps to Reproduce:
1.emerge etc-proposals
2.etc-proposals --init-db
3.

Actual Results:  
Traceback (most recent call last):
  File "/usr/sbin/etc-proposals", line 11, in ?
    from etcproposals.etcproposals_lib import Config, EtcProposals
  File "/usr/lib64/python2.4/site-packages/etcproposals/etcproposals_lib.py",
line 604, in ?
    State = EtcProposalsState()
  File "/usr/lib64/python2.4/site-packages/etcproposals/etcproposals_lib.py",
line 566, in __init__
    shelve.Shelf.__init__(self, anydbm.open(STATEFILE, 'c'))
  File "/usr/lib/python2.4/anydbm.py", line 82, in open
    mod = __import__(result)
  File "/usr/lib/python2.4/dbhash.py", line 5, in ?
    import bsddb
  File "/usr/lib/python2.4/bsddb/__init__.py", line 47, in ?
    import _bsddb
ImportError: No module named _bsddb


Expected Results:  
etc-proposals to function properly.

Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2,
glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3400+
Timestamp of tree: Wed, 02 Jan 2008 01:48:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer multilib-strict
nostrip parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch
userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/overlay"
SYNC="rsync://kv80/gentoo-portage"
USE="X acl acpi aim alsa amd64 arts bash-completion berkdb bitmap-fonts
branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss
encode esd evo fam firefox fortran gdbm gif gpm gstreamer hal iconv imap ipv6
isdnlog jpeg kde kerberos mad midi mikmod mmx mp3 mpeg mudflap mysql mysqli
ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png
pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session
spell spl sqlite3 sse sse2 ssl svg tcpd test tiff truetype truetype-fonts
type1-fonts unicode vim vim-syntax vorbis xine xml xorg xv zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es"
USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Markus Ullmann 2008-01-03 00:56:57 0000 -------

*** This bug has been marked as a duplicate of bug 203984 ***

------- Comment #2 From Björn Michaelsen 2008-01-03 01:28:37 0000 -------
I dont think this is a duplicate of bug 203984.
This is not a bug in etc-proposals, but in the python package (as can be seen
from the stack trace).
I would bet a box of beer that this is a duplicate of the dreaded bug 179377 -
see there for workarounds.

------- Comment #3 From Markus Ullmann 2008-01-03 01:38:59 0000 -------
mmm indeed

------- Comment #4 From Markus Ullmann 2008-01-03 01:53:23 0000 -------
Reopen

------- Comment #5 From Markus Ullmann 2008-01-03 01:53:46 0000 -------

*** This bug has been marked as a duplicate of bug 179377 ***

First Last Prev Next    No search results available      Search page      Enter new bug