After i try update squirrelmail to 1.4.15 got error "No module named WebappConfig.config" Reproducible: Always Steps to Reproduce: 1. emerge -pv squirrelmail 2. crash :-( 3. Actual Results: 1. emerge -pv squirrelmail Calculating dependencies... done! [ebuild NS ] mail-client/squirrelmail-1.4.15 USE="mysql nls ssl -filter -ldap -postgres -spell -vhosts" 0 kB [CUT] >>> Emerging (1 of 1) mail-client/squirrelmail-1.4.15 to / * compatibility-2.0.9-1.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * secure_login-1.3-1.2.8.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * admin_add.0.1-1.4.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * show_ssl_link-2.2-1.2.8.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * squirrelmail-1.4.15.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * all_locales-1.4.13-20071220.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * squirrelmail-decode-1.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * retrieveuserdata.0.9-1.4.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking squirrelmail-1.4.15.tar.bz2 ;-) ... [ ok ] * checking squirrelmail-decode-1.2.tar.bz2 ;-) ... [ ok ] * checking retrieveuserdata.0.9-1.4.0.tar.gz ;-) ... [ ok ] * checking compatibility-2.0.9-1.0.tar.gz ;-) ... [ ok ] * checking secure_login-1.3-1.2.8.tar.gz ;-) ... [ ok ] * checking show_ssl_link-2.2-1.2.8.tar.gz ;-) ... [ ok ] * checking admin_add.0.1-1.4.0.tar.gz ;-) ... [ ok ] * checking all_locales-1.4.13-20071220.tar.bz2 ;-) ... [ ok ] 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 * * ERROR: mail-client/squirrelmail-1.4.15 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * ebuild.sh, line 1244: 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 no t read settings from webapp-config!" * The die message: * Could not read settings from webapp-config! * * If you need support, post the topmost build error, and the call stack if rele vant. * A complete build log is located at '/var/tmp/portage/mail-client/squirrelmail -1.4.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-client/squir relmail-1.4.15/temp/die.env'. * * Messages for package mail-client/squirrelmail-1.4.15: * * ERROR: mail-client/squirrelmail-1.4.15 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * ebuild.sh, line 1244: 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 no t read settings from webapp-config!" * The die message: * Could not read settings from webapp-config! * * If you need support, post the topmost build error, and the call stack if rele vant. * A complete build log is located at '/var/tmp/portage/mail-client/squirrelmail -1.4.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-client/squir relmail-1.4.15/temp/die.env'. * Expected Results: Install with no problem :-)
Same here (amd64).
(In reply to comment #0) > 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 guess you (actually both of you) updated python to 2.5 without reading the postinst messages and without running python-updater - and now try to prove that I'm wrong :P
Actually, I'm having this same exact problem -- and I DID run python-updater after upgrading python to 2.5.2. I am using python-updater 0.5 (which is the latest stable for my x86 system). I am open to suggestions.
I confirmed comment #3 on both x86 and amd64. Running python-updater was insufficient. I also had to re-emerge webapp-config which "Clean[ed] orphaned Python bytecode from /usr/lib/python2.5/site-packages .." This also fixes webalizer, net-snmp, and probably other python dependent webapps. Shall we reopen the bug rather than leaving it as resolved invalid?
Sorry, I should add to my previous comment that this was after upgrading to python-2.6.2-r1.