#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
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/deluge-dev/045.83462d9d9992dfa2a1086543f546819e%40deluge-torrent.org.