Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269390 - could not read settings from webapp config
Summary: could not read settings from webapp config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 11:47 UTC by marc wijma
Modified: 2009-05-16 11:49 UTC (History)
1 user (show)

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


Attachments
the enviroment file (die.env,177.96 KB, text/plain)
2009-05-13 13:24 UTC, marc wijma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marc wijma 2009-05-11 11:47:57 UTC
when emerging a webtool to run with vhost (eg squirrelmail, awstats), the e build fails with

  ebuild.sh, line   48:  Called pkg_setup
 *               ebuild.sh, line 1264:  Called webapp_pkg_setup
 *           webapp.eclass, line  378:  Called webapp_read_config
 *           webapp.eclass, line   60:  Called die
 * The specific snippet of code:
 *              ENVVAR=$(${WEBAPP_CONFIG} --query ${PN} ${PVR}) || die "Could not read settings from webapp-config!"

when running webapp-config manually i get the following error:

Traceback (most recent call last):
  File "/usr/sbin/webapp-config", line 27, in <module>
    from WebappConfig.config import Config
ImportError: No module named WebappConfig.config

I have webappconfig version 126 2005-11-05 23:26:58Z wrobel
phyton version: Python 2.5.4 (r254:67916, May  6 2009, 17:04:30)
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)] on linux2

I red about the python-updater after updating python. I runned the program but error is still there.

note: before i updated to python 2.5.4 I had the same problem. 

what to do....?

Reproducible: Always
Comment 1 Sebastian Luther (few) 2009-05-11 12:51:40 UTC
Please provide the environment file. (see the end of emerge's output).
Comment 2 Sebastian Luther (few) 2009-05-13 12:21:19 UTC
Please reopen when the requested information is present.
Comment 3 marc wijma 2009-05-13 13:24:25 UTC
Created attachment 191148 [details]
the enviroment file

as requested additional info
Comment 4 marc wijma 2009-05-13 13:26:47 UTC
added enviroment file as requested
Comment 5 Sebastian Luther (few) 2009-05-16 07:05:21 UTC
Does emerge -1 app-admin/webapp-config fix it? If not attach the build.log.
Comment 6 marc wijma 2009-05-16 11:49:44 UTC
reemerging webapp-config worked! Thanks a lot. The care from Bugzilla makes gentoo still my number one for linuxdisto. You guys are doing a great job!