Opened 20 months 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:

Description

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 https://git.deluge-torrent.org/deluge/commit/?h=develop&id=23b3f144fce3424ae874d54a659cb7b8dd624ade 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: https://forum.deluge-torrent.org/viewtopic.php?p=235079#p235079

Thanks in advance.

Change History (0)

Note: See TracTickets for help on using tickets.