#2169: Add Torrent Dialog's  ' Download Location' not set correctly when 
directory
typed into Other->Location field
--------------------------+-------------------------------------------------
  Reporter:  beaux_monde  |       Owner:  Cas     
      Type:  bug          |      Status:  reopened
  Priority:  minor        |   Milestone:  1.3.6   
 Component:  gtkui        |     Version:  1.3.5   
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------

Comment(by Cas):

 Please add the following log lines and post the log output from both
 working and non-working steps.

 {{{
 #!diff
 diff --git a/deluge/ui/gtkui/addtorrentdialog.py
 b/deluge/ui/gtkui/addtorrentdialog.py
 index a26acf0..de3194c 100644
 --- a/deluge/ui/gtkui/addtorrentdialog.py
 +++ b/deluge/ui/gtkui/addtorrentdialog.py
 @@ -406,6 +406,10 @@ def save_torrent_options(self, row=None):
          if client.is_localhost():
              options["download_location"] = \
                  self.glade.get_widget("button_location").get_filename()
 +            log.error("DwnLoc filename: %s",
 self.glade.get_widget("button_location").get_filename(
 +            log.error("DwnLoc uri: %s",
 self.glade.get_widget("button_location").get_uri())
 +            log.error("DwnLoc curr fold: %s",
 self.glade.get_widget("button_location").get_current_
 +            log.error("DwnLoc config: %s", options["download_location"])
          else:
              options["download_location"] = \
                  self.glade.get_widget("entry_download_path").get_text()
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2169#comment:25>
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 deluge-dev@googlegroups.com.
To unsubscribe from this group, send email to 
deluge-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/deluge-dev?hl=en.

Reply via email to