Bug 1716043 - [abrt] fedora-easy-karma: already_commented(): fedora-easy-karma:776:already_commented:KeyError: 'anonymous'
Summary: [abrt] fedora-easy-karma: already_commented(): fedora-easy-karma:776:already_...
Keywords:
Status: CLOSED DUPLICATE of bug 1714925
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-easy-karma
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Till Maas
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4983d118efe3c25eae6151cdc8a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-01 09:13 UTC by Dmitri Smirnov
Modified: 2019-07-02 21:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-02 21:22:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (4.62 KB, text/plain)
2019-06-01 09:13 UTC, Dmitri Smirnov
no flags Details
File: cgroup (447 bytes, text/plain)
2019-06-01 09:13 UTC, Dmitri Smirnov
no flags Details
File: cpuinfo (1.48 KB, text/plain)
2019-06-01 09:13 UTC, Dmitri Smirnov
no flags Details
File: environ (1.33 KB, text/plain)
2019-06-01 09:13 UTC, Dmitri Smirnov
no flags Details
File: mountinfo (4.05 KB, text/plain)
2019-06-01 09:13 UTC, Dmitri Smirnov
no flags Details
File: namespaces (129 bytes, text/plain)
2019-06-01 09:13 UTC, Dmitri Smirnov
no flags Details
File: open_fds (362 bytes, text/plain)
2019-06-01 09:13 UTC, Dmitri Smirnov
no flags Details

Description Dmitri Smirnov 2019-06-01 09:13:13 UTC
Description of problem:
When running fedora easy karma after all the lists have been downloaded a key error is shown for:

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'

Version-Release number of selected component:
fedora-easy-karma-0-0.40.20181206gitb6d97e0.fc30

Additional info:
reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -s /usr/bin/fedora-easy-karma --fas-username=cserpentis '--default-comment=works for me' --default-karma=1
crash_function: already_commented
exception_type: KeyError
executable:     /usr/bin/fedora-easy-karma
interpreter:    python3-3.7.3-3.fc30.x86_64
kernel:         5.1.5-300.fc30.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 [/usr/bin/fedora-easy-karma:776] already_commented
#2 [/usr/bin/fedora-easy-karma:628] __init__
#3 [/usr/bin/fedora-easy-karma:851] <module>

Comment 1 Dmitri Smirnov 2019-06-01 09:13:16 UTC
Created attachment 1575894 [details]
File: backtrace

Comment 2 Dmitri Smirnov 2019-06-01 09:13:17 UTC
Created attachment 1575895 [details]
File: cgroup

Comment 3 Dmitri Smirnov 2019-06-01 09:13:18 UTC
Created attachment 1575896 [details]
File: cpuinfo

Comment 4 Dmitri Smirnov 2019-06-01 09:13:19 UTC
Created attachment 1575897 [details]
File: environ

Comment 5 Dmitri Smirnov 2019-06-01 09:13:20 UTC
Created attachment 1575898 [details]
File: mountinfo

Comment 6 Dmitri Smirnov 2019-06-01 09:13:21 UTC
Created attachment 1575899 [details]
File: namespaces

Comment 7 Dmitri Smirnov 2019-06-01 09:13:22 UTC
Created attachment 1575900 [details]
File: open_fds

Comment 8 Garry T. Williams 2019-06-24 03:04:22 UTC
Similar problem has been detected:

Ran command: fedora-easy-karma --bodhi-request-limit=20 and result was:

found 334 testing updates
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'

reporter:       libreport-2.10.0
cmdline:        /usr/bin/python3 -s /usr/bin/fedora-easy-karma --bodhi-request-limit=20
crash_function: already_commented
exception_type: KeyError
executable:     /usr/bin/fedora-easy-karma
interpreter:    python3-3.7.3-3.fc30.x86_64
kernel:         5.1.9-300.fc30.x86_64
package:        fedora-easy-karma-0-0.40.20181206gitb6d97e0.fc30
reason:         fedora-easy-karma:776:already_commented:KeyError: 'anonymous'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 9 Miro Hrončok 2019-07-02 21:22:52 UTC

*** This bug has been marked as a duplicate of bug 1714925 ***


Note You need to log in before you can comment on or make changes to this bug.