Description of problem: Just trying to create a torrent from a directory with 2 Go of videos. Crash when I select the directory Version-Release number of selected component: deluge-gtk-1.3.11-1.fc21 Additional info: reporter: libreport-2.3.0 cmdline: deluge-gtk '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' executable: /usr/bin/deluge-gtk kernel: 3.19.7-200.fc21.x86_64 runlevel: N 5 type: Python uid: 1000 Truncated backtrace: createtorrentdialog.py:118:parse_piece_size_text:ValueError: need more than 1 value to unpack Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/createtorrentdialog.py", line 194, in _on_button_folder_clicked self.adjust_piece_size() File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/createtorrentdialog.py", line 134, in adjust_piece_size psize = self.parse_piece_size_text(value[0]) File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/createtorrentdialog.py", line 118, in parse_piece_size_text psize, metric = value.split() ValueError: need more than 1 value to unpack Local variables in innermost frame: self: <deluge.ui.gtkui.createtorrentdialog.CreateTorrentDialog instance at 0x7ff9c2bba908> value: '32\xc2\xa0KiB'
Created attachment 1028724 [details] File: backtrace
Created attachment 1028725 [details] File: environ
I cannot reproduce this. I can create torrents by selecting directories. Are you checking any of the option boxes in the create torrent dialog?
No, I just click on "Directory" button, selected the desired directory and the error was here. NB : deluge stay open and the frame for create a torrent still there but not working any more. The directory contains 13 avi files for a total of ~2,8 Go. I have the problems 3 time and must install and use Transmission to create my torrent. (by the way, no problem on windows version of deluge) I'm at your service to provides more informations (maybe laucnh deluge in a terminal to see the error). But now I'm not on the good computer...
I try to get more information using debug loglevel, but I have no more usefull informations. Do you want to have a short video (screencast) to show what I exactly do ? (it's exactly what I've put in the previous commant)
Sure, make a video.
Sorry, it's use youtube because I cannot add infos on video. You can see all my manipulation to te error. https://www.youtube.com/watch?v=v3VoM7xPidU
The french translation has non-breakable spaces for the 'combo_piece_size' dialog strings, like '64\xc2\xa0KiB', which can't be .split()'ed. The workaround is to launch deluge like: LANG=C deluge & Mike, who can correct that ?
deluge-1.3.11-5.fc23 has been submitted as an update to Fedora 23. https://bugzilla.redhat.com/show_bug.cgi?id=1224261
Ah... thanks for the pointer. I should have noticed this was an encoding issue. Please try the builds I am pushing to testing and leave feedback if it's fixed. This was also reported upstream, but they ended up fixing the French translation where my patch will fix it for any translation. http://dev.deluge-torrent.org/ticket/2757 I posted a message on the forum with my patches. http://forum.deluge-torrent.org/viewtopic.php?f=8&t=52103
deluge-1.3.11-5.fc22 has been submitted as an update to Fedora 22. https://bugzilla.redhat.com/show_bug.cgi?id=1224261
deluge-1.3.11-5.fc21 has been submitted as an update to Fedora 21. https://bugzilla.redhat.com/show_bug.cgi?id=1224261
deluge-1.3.11-5.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update deluge'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13972
deluge-1.3.11-5.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update deluge'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13973
deluge-1.3.11-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update deluge'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13971
deluge-1.3.11-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
deluge-1.3.11-5.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
deluge-1.3.11-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.