Opened 2 years ago

#3537 new bug

Non-ascii state loading fail.

Reported by: mhertz Owned by:
Priority: minor Milestone: needs verified
Component: Core Version: develop
Keywords: Cc:


Recently a user of the forum, One-Eighty, reported empty torrents-list after upgrading to deluge 2.1.1 from 1.3.15. Apparently the code added in commit doesn't always help seemingly, and for whatever reason the pretty comparabel code by tobbez previously posted in #3201, did reportedly:

import pickle
with open('torrents.state', 'rb') as f:
    d = pickle.load(f, encoding='latin1')

with open('torrents.state', 'wb') as f2:
    pickle.dump(d, f2)

Thread with report:

Thanks in advance.

Change History (0)

Note: See TracTickets for help on using tickets.