Lenz Grimmer pecked at the keyboard and wrote:
Hi,
On Sat, Nov 14, 2009 at 00:53, Sascha 'saigkill' Manns
wrote: i'm trying to search via webpin. But i'm become: linux-m4rp:/srv/www/htdocs/phpMyAdmin # webpin kmail ERROR: invalid or unsupported value for distribution version: "11.2" Valid values are: 10.3, 11.0, Factory, factory, 11.1, latest
Does anyone know how to fix it?
Modify
/usr/lib/python2.6/site-packages/webpin/const.py by applying the following patch:
--- const.py.org 2009-11-16 18:00:18.447219013 +0100 +++ const.py 2009-11-16 18:01:00.703219208 +0100 @@ -69,6 +69,7 @@ # Map of (open)SUSE versions to dist identifiers # that must be used in the Package Search webservice URL: distVersionMap = { + '11.2': 'openSUSE_112', '11.1': 'openSUSE_111', '11.0': 'openSUSE_110', '10.3': 'openSUSE_103',
That fixed it for me.
Bye, LenZ -- Lenz Grimmer
- http://www.lenzg.net/
Don't forget to change the following line as well: defaultSuseVersion = '11.2' If you want 11.2 to be the default. -- Ken Schneider SuSe since Version 5.2, June 1998 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org