#6 KeyError: 'anonymous'
Closed 4 years ago by kparal. Opened 4 years ago by alciregi.

I'm on F30.
fedora-easy-karma-0-0.40.20181206gitb6d97e0.fc30.noarch
This is what I get:

$ fedora-easy-karma --fas-username=myfasaccount
Getting list of installed packages...
Waiting for Bodhi for a list of packages in updates-testing (F30)...
Fetching updates page 2 of 12
Fetching updates page 3 of 12
Fetching updates page 4 of 12
Fetching updates page 5 of 12
Fetching updates page 6 of 12
Fetching updates page 7 of 12
Fetching updates page 8 of 12
Fetching updates page 9 of 12
Fetching updates page 10 of 12
Fetching updates page 11 of 12
Fetching updates page 12 of 12
found 295 testing updates
Fetching updates page 2 of 2
Traceback (most recent call last):
  File "/usr/bin/fedora-easy-karma", line 851, in <module>
    fek = FedoraEasyKarma()
  File "/usr/bin/fedora-easy-karma", line 628, in __init__
    self.already_commented(update, self.options.fas_username):
  File "/usr/bin/fedora-easy-karma", line 776, in already_commented
    if not comment["anonymous"] and comment["user"]["name"] == user:
KeyError: 'anonymous'

bodhi 4.0 removed the anonymous field from comments:

https://github.com/fedora-infra/bodhi/releases/tag/4.0.0

fedora-easy-karma will have to adapt to this change.

Am 30=2E Juni 2019 10:28:03 MESZ schrieb Fabio Valentini pagure@pagure=2Ei= o:

decathorpe added a new comment to an issue you are following:
` bodhi 4=2E0 removed theanonymous` field from comments:

https://github=2Ecom/fedora-infra/bodhi/releases/tag/4=2E0=2E0

fedora-easy-karma will have to adapt to this change=2E
``

To reply, visit the link below or just reply to this email
https://pagure=2Eio/fedora-easy-karma/issue/6

Thank you for the report=2E I have some changes locally to fix this but th=
ere are some other issues in bodhi that break fek=2E https://github=2Ecom/f=
edora-infra/bodhi/issues/3294 https://github=2Ecom/fedora-infra/bodhi/issue=
s/3290

There might be other issues as well=2E

Yes, this is related to:

https://github.com/fedora-infra/bodhi/issues/3298

I thought I was making mistakes in my rust bindings for bodhi, but it turns out that the official python bindings have this issue as well (which makes me think it's a server-side issue after all).

Yes, this is related to:
https://github.com/fedora-infra/bodhi/issues/3298

I proposed a temporary workaround in #7.

Metadata Update from @kparal:
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata