Launched installer.py by mistake with no server name where package name was treated as a server name and output is ugly - the exception should be handled gracefully explaining what's wrong.
install_packages.py -h /var/spool/auconda/rpms/custom.as3/apache-webdav-0.6-EL.AS3.1au.noarch.rpm -m "adding webdav -dm-"
Traceback (most recent call last):
File "/usr/bin/install_packages.py", line 69, in ?
app=InstallPackages(sys.argv[0],sys.argv[1:])
File "/usr/bin/install_packages.py", line 43, in __init__
CPacManClusterApp.__init__(self,my_name,argv,opts,conf)
File "/usr/lib/python2.2/site-packages/cpacman/common.py", line 86, in __init__
CPacManApp.__init__(self,app_name, argv, opts, conf)
File "/usr/lib/python2.2/site-packages/cpacman/common.py", line 76, in __init__
self.server=self.serverDB.getServer(self.conf['hostname'])
File "/usr/lib/python2.2/site-packages/cpacman/Server.py", line 285, in getServer
comment="Can't determine OS version (probably no sysinfo.cfg or no [os] section: %s" % (server_name))
cpacman.Server.SDBServerMisconfigured: Server /var/spool/auconda/rpms/custom.as3/apache-webdav-0.6-EL.AS3.1au.noarch.rpm is not configured properly: Can't determine OS version (probably no sysinfo.cfg or no [os] section: /var/spool/auconda/rpms/custom.as3/apache-webdav-0.6-EL.AS3.1au.noarch.rpm
Logged In: YES
user_id=287567
Originator: YES
fixed 0.7 (189:190) and trunk (190:191)
bug was accepted to be addressed in next release (see group tag of the bug).