Public bug reported: I run Ubuntu with Russian locale and all desktop directories have Russian name by default (Downloads, Video, etc) so deluge by default saves torrents in directories with non-ASCII paths. Today I tried to install deluge 2.0 from ppa and it crashed when I tried run it. I then reverted to version shipped with Xenial which still crashed. I removed additional packages pulled in by 2.0 one by one and to my surprise mere existence of python-rencode causes deluge crash. This is rather show stopper for me as I cannot update to 2.0 (which I need due to improved proxy settings).
bor@bor-Latitude-E5450:~$ deluge-console info Name: xxx ID: yyy ... bor@bor-Latitude-E5450:~$ sudo apt install python-rencode Чтение списков пакетов… Готово Построение дерева зависимостей Чтение информации о состоянии… Готово Следующие пакеты устанавливались автоматически и больше не требуются: ... Для их удаления используйте «sudo apt autoremove». НОВЫЕ пакеты, которые будут установлены: python-rencode обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено. Необходимо скачать 31,3 kБ архивов. После данной операции, объём занятого дискового пространства возрастёт на 102 kB. Пол:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python-rencode amd64 1.0.3-1build2 [31,3 kB] Получено 31,3 kБ за 0с (43,4 kБ/c) Выбор ранее не выбранного пакета python-rencode. (Чтение базы данных … на данный момент установлено 299035 файлов и каталогов.) Подготовка к распаковке …/python-rencode_1.0.3-1build2_amd64.deb … Распаковывается python-rencode (1.0.3-1build2) … Настраивается пакет python-rencode (1.0.3-1build2) … bor@bor-Latitude-E5450:~$ deluge-console info Name: xxx ID: yyy State: Seeding Up Speed: 0.0 КБ/с Seeds: 0 (-1) Peers: 1 (-1) Availability: 0.00 Size: 6.2 ГБ/6.2 ГБ Ratio: 0.811 Seed time: 11 days 14:22:05 Active: 11 days 14:49:42 Error getting torrent info: [Failure instance: Traceback: <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xd0 in position 43: ordinal not in range(128) /usr/lib/python2.7/dist-packages/twisted/protocols/policies.py:120:dataReceived /usr/lib/python2.7/dist-packages/deluge/ui/client.py:179:dataReceived /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:393:callback /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:501:_startRunCallbacks --- <exception caught here> --- /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:588:_runCallbacks /usr/lib/python2.7/dist-packages/deluge/ui/console/commands/info.py:154:on_torrents_status /usr/lib/python2.7/dist-packages/deluge/ui/console/commands/info.py:215:show_info /usr/lib/python2.7/dist-packages/deluge/ui/console/main.py:292:write ] bor@bor-Latitude-E5450:~$ ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: deluge 1.3.12-1ubuntu1 ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17 Uname: Linux 4.8.0-58-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.9 Architecture: amd64 CurrentDesktop: Unity Date: Tue Jul 18 19:35:57 2017 DistributionChannelDescriptor: # This is a distribution channel descriptor # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor canonical-oem-somerville-trusty-amd64-20140620-0 InstallationDate: Installed on 2015-07-02 (747 days ago) InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary 20140620-04:25 PackageArchitecture: all SourcePackage: deluge UpgradeStatus: Upgraded to xenial on 2016-10-29 (262 days ago) ** Affects: deluge (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug third-party-packages xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1705066 Title: Deluge crash with 'exceptions.UnicodeDecodeError' if python-rencode is installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/1705066/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
