bodhi template changed?

Neal Becker ndbecker2 at gmail.com
Mon Aug 25 12:18:14 UTC 2008


Luke Macken wrote:

> On Sun, Aug 24, 2008 at 09:44:38AM +0100, Tim Jackson wrote:
>> The bodhi template for use from cvs checkouts seems to have changed
>> recently and bodhi-client-0.4.10-4.fc9 doesn't like it: if I try to
>> submit an update (via "make update") and set the "type" to "enhancement"
>> (which is defined in the template) then I get the fairly cryptic error:
>>
>> Reading from bodhi.template
>> Traceback (most recent call last):
>>   File "/usr/bin/bodhi", line 316, in <module>
>>     bodhi.parse_file(opts)
>>   File "/usr/bin/bodhi", line 213, in parse_file
>>     opts.type = types[para.upper()]
>> KeyError: 'ENHANCEMENT'
>>
>> I assume by this that "enhancement" is not a valid value?
>> (NB either way, bodhi ought to give a clearer error)
> 
> Yes... I had hoped to push out a new bodhi-client into updates before
> doing the upgrade, since a lot of the API has changed.  Due to all of
> the fun we had in the past week, I was unable to do so.  Please try the
> latest bodhi-client package from koji (you may need to install
> bodhi-server as well to get the egg-info at the moment):
> 
>     koji download-build bodhi-0.5.1-1.fc9
> 
> 
> luke
> 
sudo rpm -U bodhi-client-0.5.1-1.fc9.noarch.rpm 
bodhi -n -r F9 -t enhancement mercurial-1_0_2-1_fc9
Traceback (most recent call last):
  File "/usr/bin/bodhi", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 2561, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 626, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524, in resolve
    raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: bodhi==0.5.1




More information about the fedora-devel-list mailing list