Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277771 - dev-python/pylons-0.9.7 ebuild missing dependency dev-python/pygments
Summary: dev-python/pylons-0.9.7 ebuild missing dependency dev-python/pygments
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 09:03 UTC by Shaun Attfield
Modified: 2009-07-17 15:53 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 Shaun Attfield 2009-07-14 09:03:58 UTC
After installing Pylons, while creating creating a project this error is thrown:

$ paster create -t pylons helloworld
Traceback (most recent call last):
  File "/usr/bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
  File "/usr/lib64/python2.6/site-packages/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib64/python2.6/site-packages/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib64/python2.6/site-packages/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib64/python2.6/site-packages/paste/script/create_distro.py", line 73, in command
    self.extend_templates(templates, tmpl_name)
  File "/usr/lib64/python2.6/site-packages/paste/script/create_distro.py", line 262, in extend_templates
    tmpl = entry.load()(entry.name)
  File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 1912, in load
    if require: self.require(env, installer)
  File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 1925, in require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib64/python2.6/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: Pygments

emerge dev-python/pygments resolves the issue.

This was on ~amd96, but ebuild does not make mention of pygments, so probably not arch specific.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/pylons dev-python/pylons-0.9.7  USE="mako -cheetah -doc -genshi -jinja2 -kid -myghty" and all dependencies.
2. paster create -t pylons projectname
3. observe error message

Actual Results:  
paster fails with exception "pkg_resources.DistributionNotFound: Pygments".
No questions asked, no project created.

Expected Results:  
paster should have asked some questions and then created the project files.

Was easy to resolve by emerging pygments.

=====
emerge --info:
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r2-x86_64-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 13 Jul 2009 21:00:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.10.2, 1.11
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.30
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo/ http://gentoo.mirror.ac.za/"
LANG="en_ZA.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_ZA en_GB en_US en_DK"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://sda.za.net/gentoo-portage"
USE="3ds 7zip X a52 aac aalib acl acpi alsa amd64 artist-screen aspell autoipd avahi bash-completion berkdb bzip2 cairo cdda cddb cdparanoia cdr cli colors console cracklib crypt css cups curl cvs dbus dga dia divx dri dts dvd dvdnav dvdr dvdread eap-tls encode exif fam ffmpeg flac fltk ftp fuse gcrypt gd gdbm geoip gif glitz gmedia gnome gnuplot gnutls gpm graphviz groupwise gsm gtk gts hal hou httpd ical iconv id3 id3tag imagemagick imap inotify irda jack java5 java6 javascript jpeg kate key-screen kvm ldap libass libcaca libsamplerate lm_sensors lua lvm lyrics-screen mad maildir matroska mdnsresponder-compat midi mmap mmx mmxext mouse mozdevelop mp3 mudflap multilib mysqli ncurses network nntp nptl nptlonly nvidia ogg openal openexr opengl openmp pam parted pcre pdf perl perl-geoipupdate png pop posix pppd prediction pygrub python pyx quicktime rar readline realmedia reflection rss rtc rtsp samba sbcl schroedinger screen sdl search-screen sensord session silc smi smime smp sms smtp snmp soap song-screen sou speex spell spl sqlite sqlite3 sse sse2 sse3 ssh ssl ssse3 stream subversion svg sysfs tcpd theora threads threadsafe tiff tk truetype uml unicode usb userlocales vim vim-pager vim-syntax vlm vorbis wmp wxwidgets wxwindows x264 xanim xattr xcb xcomposite xft xgetdefault xml xmldoclet xmlreader xmlrpc xmlwriter xorg xosd xrandr xsl xslt xspf xterm-color xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en en_ZA en_GB en_US en_DK" USERLAND="GNU" VIDEO_CARDS="nvidia intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-17 15:53:22 UTC
Fixed.