Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 544058

Summary: app-admin/webapp-config not play well with Paludis package manager
Product: Gentoo Linux Reporter: Cddr <kiaf>
Component: Current packagesAssignee: Devan Franchini (RETIRED) <twitch153>
Status: RESOLVED INVALID    
Severity: normal CC: blueness, kiaf, web-apps
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cddr 2015-03-21 21:13:43 UTC
Example: webapp-config -I -h localhost -d /tt-rss web-apps/tt-rss 20150304

Output:

-----

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/webapp-config", line 42, in <module>
    main()
  File "/usr/lib/python-exec/python2.7/webapp-config", line 39, in main
    config.run()
  File "/usr/lib64/python2.7/site-packages/WebappConfig/config.py", line 1195, in run
    self.__r = wrapper.get_root(self)
  File "/usr/lib64/python2.7/site-packages/WebappConfig/wrapper.py", line 108, in get_root
    if result_lines[0].strip():
IndexError: list index out of range

-----

Quick and durty workaround to work: comment out 108-100 strings in
/usr/lib64/python2.7/site-packages/WebappConfig/wrapper.py
Comment 1 Andrew Savchenko gentoo-dev 2015-03-27 07:37:47 UTC
Please post your emerge --info and tell us webapp-config version being used.
Comment 2 Cddr 2015-03-27 13:22:19 UTC
I can't reproduce the issue any more. All works as expected with clean install, configs unchanged.

Previously I tried all available versions of webapp-config on python2.7 and python3.3 without success with Paludis 2.2.0 (stable 2.0.0 not tested though).