FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 08-24-2008, 08:44 AM
Tim Jackson
 
Default bodhi template changed?

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)

Tim

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-24-2008, 04:10 PM
Luke Macken
 
Default bodhi template changed?

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

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-25-2008, 12:18 PM
Neal Becker
 
Default bodhi template changed?

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

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 08-25-2008, 09:53 PM
Luke Macken
 
Default bodhi template changed?

On Mon, Aug 25, 2008 at 08:18:14AM -0400, Neal Becker wrote:
> 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

You'll need to install the bodhi-server package that came along with it
to get the egg-info. I'll move it into the client package shortly.

luke

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 10:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org