[mythtv-commits] Ticket #10719: Theme download using ftp:// fails when http_proxy is set

MythTV noreply at mythtv.org
Sun May 13 07:56:25 UTC 2012


#10719: Theme download using ftp:// fails when http_proxy is set
--------------------------------------------+--------------------------
     Reporter:  pmhahn@…                    |      Owner:  cpinkham
         Type:  Bug Report - General        |     Status:  new
     Priority:  minor                       |  Milestone:  unknown
    Component:  Services - Theme Downloads  |    Version:  0.25-fixes
     Severity:  medium                      |   Keywords:  qt proxy ftp
Ticket locked:  0                           |
--------------------------------------------+--------------------------
 When I try to download the Arclight theme in the ThemeDownload, I just see
 something popup for just some micro seconds and then I'm back to the list
 of themes.
 Only running "mythfrontend --loglevel debug -v file,network" shows the
 following failure:

 {{{
 2012-05-13 08:56:24.977495 D  DownloadManager:
 queueDownload('ftp://ftp.osuosl.org/pub/mythtv/themes/0.25/Arclight-25.12_0.25.zip',
 '/home/pmhahn/.mythtv/tmp/Arclight-25.12_0.25.zip', 140443762908032)
 2012-05-13 08:56:24.977664 D  Checking cache for
 ftp://ftp.osuosl.org/pub/mythtv/themes/0.25/Arclight-25.12_0.25.zip
 2012-05-13 08:56:24.977839 D  DownloadManager: downloadError 103 No
 suitable proxy found
 2012-05-13 08:56:24.977851 D  DownloadManager: downloadProgress(0, 0) (for
 reply 12024880)
 2012-05-13 08:56:24.977865 D  DownloadManager: downloadProgress:
 ftp://ftp.osuosl.org/pub/mythtv/themes/0.25/Arclight-25.12_0.25.zip to
 /home/pmhahn/.mythtv/tmp/Arclight-25.12_0.25.zip is at 0 of 0 bytes
 downloaded
 2012-05-13 08:56:24.977877 D
 downloadProgress(ftp://ftp.osuosl.org/pub/mythtv/themes/0.25/Arclight-25.12_0.25.zip):
 sending event to caller
 2012-05-13 08:56:24.977898 D  DownloadManager: downloadFinished(12024880)
 2012-05-13 08:56:24.977903 D  DownloadManager: redirectUrl()
 2012-05-13 08:56:24.977909 D  downloadFinished(140443794297232): COMPLETE:
 ftp://ftp.osuosl.org/pub/mythtv/themes/0.25/Arclight-25.12_0.25.zip
 2012-05-13 08:56:24.978000 D  downloadFinished(140443794297232): COMPLETE:
 ftp://ftp.osuosl.org/pub/mythtv/themes/0.25/Arclight-25.12_0.25.zip,
 sending event to caller
 }}}

 That "No suitable proxy found" comes from Qt
 <http://qt.gitorious.net/qt/qtbase/blobs/43b6320a5a1e740e7b3dbc8fe623bd83903ad172/src/network/access/qnetworkreplyhttpimpl.cpp#line605>,
 but all downloads using ftp:// seem to fail.
 I have http_proxy=http://localhost:80 configured to use my local apache as
 proxy, which has only proxy_http but not proxy_ftp enabled.
 Unsetting http_proxy makes it work (even thou I have to select a theme
 twice to get it activated; it seems to be downloaded twice?)

 MythTV should at least provide a more prominent hint on what went wrong.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10719>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list