[Deluge] #3537: Non-ascii state loading fail.

3 views
Skip to first unread message

Deluge

unread,
Jul 23, 2022, 3:09:50 PM7/23/22
to delug...@googlegroups.com
#3537: Non-ascii state loading fail.
----------------------------+-------------------
Reporter: mhertz | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Core
Version: develop | Keywords:
----------------------------+-------------------
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.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3537>
Deluge <https://deluge-torrent.org/>
Deluge Project

Reply all
Reply to author
Forward
0 new messages