Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58430 - updated python to 2.3.4 from 2.2.3-r5, now nicotine fails on startup
Summary: updated python to 2.3.4 from 2.2.3-r5, now nicotine fails on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc All
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 09:22 UTC by Michael Hellwig
Modified: 2004-07-28 01:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hellwig 2004-07-26 09:22:51 UTC
updated python to 2.3.4 via "emerge python", then ran that python-update script.

Now, net-p2p/nicotine-1.0.8_rc1 fails on startup. Already tried re-emerging pygtk and nicotine, but to no avail. Error message is as follows:

Shared files database seems to be corrupted, rescan your shares
Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute 'writeback'" in  ignored
Traceback (most recent call last):
  File "/usr/bin/nicotine", line 146, in ?
    app = frame.MainApp(config)
  File "/usr/lib/python2.3/site-packages/pynicotine/gtkgui/frame.py", line 933, in __init__
    self.frame = testwin(config)
  File "/usr/lib/python2.3/site-packages/pynicotine/gtkgui/frame.py", line 166, in __init__
    self.np = NetworkEventProcessor(self, self.callback, self.logMessage, self.SetStatusText, config)
  File "/usr/lib/python2.3/site-packages/pynicotine/pynicotine.py", line 65, in __init__
    self.config.readConfig()
  File "/usr/lib/python2.3/site-packages/pynicotine/config.py", line 149, in readConfig
    sharedfiles = shelve.open(self.filename+".files.db",flag='n')
  File "/usr/lib/python2.3/shelve.py", line 231, in open
    return DbfilenameShelf(filename, flag, protocol, writeback, binary)
  File "/usr/lib/python2.3/shelve.py", line 212, in __init__
    Shelf.__init__(self, anydbm.open(filename, flag), protocol, writeback, binary)
  File "/usr/lib/python2.3/anydbm.py", line 83, in open
    return mod.open(file, flag, mode)
  File "/usr/lib/python2.3/dbhash.py", line 16, in open
    return bsddb.hashopen(file, flag, mode)
  File "/usr/lib/python2.3/bsddb/__init__.py", line 192, in hashopen
    d.open(file, db.DB_HASH, flags, mode)
bsddb._db.DBInvalidArgError: (22, 'Invalid argument -- architecture lacks fast mutexes: applications cannot be threaded')
Exception exceptions.AttributeError: "DbfilenameShelf instance has no attribute 'writeback'" in  ignored

in the first line, it says I should rescan my shares. of course I can't, since it won't start.

emerge info follows:
Portage 2.0.50-r9 (default-sparc64-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 sparc64 sun4u
Gentoo Base System version 1.4.3.10p1
ccache version 2.2 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -O3 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://gentoo.inode.at/gentoo-portage"
USE="X aalib avi berkdb cdr client crypt cups dvd encode esd fbcon fftw foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde libwww mad mikmod motif mpeg nas ncurses nls offensive oggvorbis pam pdflib perl plotutils png postgres python qt readline sdl server slang sparc spell ssl tcltk tcpd tetex tiff truetype xml2 xmms xv zlib"
Comment 1 Michael Hellwig 2004-07-28 01:59:36 UTC
installed a new version of db (4.1.25_p1-r4), that alone wasn't enough. re-emerged nicotine, still the same error. updated gdbm to 1.8.3, tried again, same error. then I re-emerged the newest available python and _now_ it works. whoa. uh. though I guess this was mis-assigned to sparc anyway, right? shouldn't this have gone to the ebuild maintainer?