Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267897 - app-portage/layman is useless with python 2.6
Summary: app-portage/layman is useless with python 2.6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-29 16:48 UTC by Arseny Solokha
Modified: 2009-04-30 06:23 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 Arseny Solokha 2009-04-29 16:48:13 UTC
I have the following message when I try to use layman:

% layman
Traceback (most recent call last):
  File "/usr/bin/layman", line 23, in <module>
    from   layman.config            import Config
ImportError: No module named layman.config
zsh: exit 1     layman

I guess upgrading to python 2.6 was a cause.

This bug forked from 266676.

Reproducible: Always




% emerge --info
Portage 2.2_rc31 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3,
glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3 x86_64)
=================================================================
System uname:
Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7100_@_1.80GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 28 Apr 2009 13:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=core2 -mfpmath=sse -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config
/usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/termin
fo /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=core2 -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch
preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.corbina.ru/pub/Linux/gentoo
ftp://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --ex
clude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/pro-audio
/usr/local/portage/layman/arcon /usr/local/portage/layman/soor-overlay
/usr/local/portage/layman/rostov 
/usr/local/portage/layman/bobrik-cleartype /usr/local/portage/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib dri fortran gdbm iconv ipv6 mmx mmxext
mudflap nls nptl nptlonly openmp pam pcre pppd readline reflection session sp
l sse sse2 ssl sysfs tcpd threads unicode xorg zlib" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hook
s iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate
route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse sy
naptics" KERNEL="linux" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arseny Solokha 2009-04-29 16:52:58 UTC
I guess I forgot something.
I use layman-1.2.3 with flags "git" and "subversion" enabled.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-04-29 17:10:27 UTC
(In reply to comment #1)
> I guess I forgot something.
> I use layman-1.2.3 with flags "git" and "subversion" enabled.
> 

Did you run python-updater as the python upgrade instructed you to?
Comment 3 Arseny Solokha 2009-04-29 17:16:01 UTC
(In reply to comment #2)
> Did you run python-updater as the python upgrade instructed you to?

Yes, I did.

--
Hm, I've just reinstalled layman and it works now. Quite obvious. Thank you.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-30 06:23:09 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Did you run python-updater as the python upgrade instructed you to?
> 
> Yes, I did.
> 
> --
> Hm, I've just reinstalled layman and it works now. Quite obvious. Thank you.

Then let's mark this bug as INVALID.