In order to be able to run tilecache standalone under WSGI, the package dev-python/paste is needed. Reproducible: Always Steps to Reproduce: 1. emerge --unmerge dev-python/paste 2. emerge sci-geosciences/tilecache 3. tilecache_http_server.py 4. open http://localhost:8080/ in browser Actual Results: Browser displays "A server error occurred. Please contact the administrator." Command line shows the following: cbuehler@ecafe ~ $ tilecache_http_server.py Listening on port 8080 Traceback (most recent call last): File "/usr/lib/python2.6/wsgiref/handlers.py", line 93, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.6/site-packages/TileCache/Service.py", line 371, in wsgiApp return wsgiHandler(environ, start_response, theService) File "/usr/lib/python2.6/site-packages/TileCache/Service.py", line 276, in wsgiHandler from paste.request import parse_formvars ImportError: No module named paste.request ecafe.cbuehler.de - - [08/Apr/2010 20:40:02] "GET / HTTP/1.1" 500 59 Expected Results: Browser shows this: <Services> <TileMapService version="1.0.0" href="http://localhost:8080/1.0.0/"/> </Services> Command line shows this: cbuehler@ecafe ~ $ tilecache_http_server.py Listening on port 8080 ecafe.cbuehler.de - - [08/Apr/2010 20:51:54] "GET / HTTP/1.1" 200 173 See also /usr/lib/python2.6/site-packages/TileCache-2.10-py2.6.egg-info/PKG-INFO or http://tilecache.org/docs/README#running-standalone-under-wsgi
Please attach the output of emerge --info.
Sorry, as I thought this bug is independant of the configuration, I thought I could omit the output of emerge --info. But here it is: cbuehler@ecafe ~ $ emerge --info Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i586) ================================================================= System uname: Linux-2.6.31-gentoo-r10-i586-Geode-TM-_Integrated_Processor_by_AMD_PCS-with-gentoo-1.12.13 Timestamp of tree: Mon, 05 Apr 2010 15:00:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de" 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 --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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="de" NETBEANS_MODULES="cnd dlight harness ide nb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="geode" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Fixed in tree.