#19 EOFError: Ran out of input
Closed 3 years ago by kparal. Opened 3 years ago by lbrabec.

Running fedora-easy-karma or fedora-easy-karma --no-cache on F33 results in an error:

$ fedora-easy-karma 
Getting list of installed packages...
Waiting for oraculum instance to return list of packages in updates-testing...
found 160 testing updates
Traceback (most recent call last):
  File "/usr/bin/fedora-easy-karma", line 852, in <module>
    fek = FedoraEasyKarma()
  File "/usr/bin/fedora-easy-karma", line 594, in __init__
    previously_ignored_updates = pickle.load(ignorefile)
EOFError: Ran out of input

File ~/.fedora-easy-karma/ignore.cpickle is empty:

$ ll ~/.fedora-easy-karma/ignore.cpickle
-rw-rw-r--. 1 lbrabec lbrabec 0 Sep 21 13:55 /home/lbrabec/.fedora-easy-karma/ignore.cpickle

fedora-easy-karma works when I remove ~/.fedora-easy-karma/ignore.cpickle.

The try-except can be trivially extended with EOFError. @lbrabec, can you please post a PR?

This got fixed in #20. Thanks @lbrabec.

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

3 years ago

Login to comment on this ticket.

Metadata