Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88337 - dispatch-conf crashes with AttributeError
Summary: dispatch-conf crashes with AttributeError
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-04-08 04:17 UTC by Jan Dusek
Modified: 2005-04-15 04:12 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 Jan Dusek 2005-04-08 04:17:02 UTC
When I try to run dispatch-conf, it crashes. Reemerging gentoolkit or portage doesn't help.

Reproducible: Always
Steps to Reproduce:
1. # dispatch-conf
2.
3.

Actual Results:  
Traceback (most recent call last):
  File "/usr/sbin/dispatch-conf", line 309, in ?
    d.grind (portage.settings ['CONFIG_PROTECT'])
  File "/usr/sbin/dispatch-conf", line 145, in grind
    confs = filter (f, confs)
  File "/usr/sbin/dispatch-conf", line 135, in f
    self.replace(newconf, conf['current'])
  File "/usr/sbin/dispatch-conf", line 224, in replace
    shutil.move(newconf, curconf)
AttributeError: 'module' object has no attribute 'move'

Expected Results:  
start dispatch-conf properly and let me update config files

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.2.3, glibc-2.3.4.20041102-r1,
2.4.20-gentoo-r8 i686)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5 [2.2.3 (#1, Nov  8 2003, 04:21:33)]
dev-lang/python:     2.2.3-r5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.4.3-r1, 1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -msse2
-mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -msse2
-mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
http://212.219.56.146/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="acl acpi apache2 apm arts avi berkdb bitmap-fonts crypt cups emboss encode
fbcon font-server foomaticdb fortran gdbm gif gpm gtk2 imlib jpeg libg++ libwww
mad mikmod mmx motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype
truetype-fonts type1-fonts x86 xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


Gentoolkit version app-portage/gentoolkit-0.2.0
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-04-11 07:25:24 UTC
Fixed in CVS. Upgrade python to 2.3 if you can as a temporary measure.
Comment 2 Jan Dusek 2005-04-15 04:12:22 UTC
OK, that seems to do the trick.