#2073: Crash when creating torrent in Ubuntu
------------------------+---------------------------------------------------
 Reporter:  toniboni88  |       Owner:  Cas     
     Type:  bug         |      Status:  assigned
 Priority:  minor       |   Milestone:  1.3.5   
Component:  gtkui       |     Version:  1.3.4   
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by Cas):

  * owner:  => Cas
  * status:  new => assigned
  * component:  other => gtkui


Comment:

 This is [https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/857634 gtk
 issue] but does not seem that it will be fixed anytime soon for Oneiric or
 previous releases.

 There is a workaround that will prevent the crash, which you could also
 test on Natty.

 {{{
 --- a/deluge/ui/gtkui/createtorrentdialog.py
 +++ b/deluge/ui/gtkui/createtorrentdialog.py
 @@ -370,7 +370,7 @@ def create_torrent(self, path, tracker, piece_length,
 progress, comment, target,
      def _on_create_torrent_progress(self, value, num_pieces):
          percent = float(value)/float(num_pieces)
          pbar = self.glade.get_widget("progressbar")
 - pbar.set_text("%.2f%%" % (percent*100))
 + #pbar.set_text("%.2f%%" % (percent*100))
          if percent >= 0 and percent <= 1.0:
              pbar.set_fraction(percent)
 }}}

 When I next update the PPA I can add it as a patch.

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2073#comment:1>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to