After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 413661 - Fails to download podcasts from servers that don't support HEAD queries
Fails to download podcasts from servers that don't support HEAD queries
Status: RESOLVED DUPLICATE of bug 378155
Product: rhythmbox
Classification: Other
Component: Podcast
HEAD
Other All
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on: 378155
Blocks:
 
 
Reported: 2007-03-01 23:05 UTC by Paul Kuliniewicz
Modified: 2007-03-03 05:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Kuliniewicz 2007-03-01 23:05:31 UTC
Please describe the problem:
Rhythmbox fails to download podcasts from servers that don't implement HTTP HEAD queries.  When trying to start the download, Rhythmbox quickly reports a status of Failed and does not try to download the file.  When --debug is enabled, the following messages are printed:

(17:11:54) [0x815b218] [rb_podcast_source_cmd_download_post] rb-podcast-source.c:1296: Add to download action
(17:11:54) [0x815b218] [rb_podcast_manager_download_entry] rb-podcast-manager.c:420: Try insert entry for download.
(17:11:54) [0x815b218] [rb_podcast_manager_next_file] rb-podcast-manager.c:540: try lock file_process mutex
(17:11:54) [0x815b218] [rb_podcast_manager_copy_post] rb-podcast-manager.c:576: processing http://www.sciam.com/podcast/podcast.mp3?e_id=EB7A34D3-E7F2-99DF-3C75590478B496A8&ref=p_rss
(17:11:54) [0x815b218] [rb_podcast_manager_copy_post] rb-podcast-manager.c:588: hiding query string e_id=EB7A34D3-E7F2-99DF-3C75590478B496A8&ref=p_rss from gnome-vfs
(17:11:54) [0x815b218] [rb_podcast_manager_download_file_info_cb] rb-podcast-manager.c:637: got file info results for http://www.sciam.com/podcast/podcast.mp3?e_id=EB7A34D3-E7F2-99DF-3C75590478B496A8&ref=p_rss
(17:11:54) [0x815b218] [rb_podcast_manager_download_file_info_cb] rb-podcast-manager.c:655: get_file_info request failed
(17:11:54) [0x815b218] [rb_podcast_manager_next_file] rb-podcast-manager.c:540: try lock file_process mutex

The gnome_vfs_async_get_file_info function is probably implemented in terms of an HTTP HEAD request, which fails for some servers.  Case in point:

paul@kryten:~$ gnomevfs-info 'http://www.sciam.com/podcast/podcast.mp3?e_id=EB7A34D3-E7F2-99DF-3C75590478B496A8&ref=p_rss'
Error: Unsupported operation

paul@kryten:~$ HEAD 'http://www.sciam.com/podcast/podcast.mp3?e_id=EB7A34D3-E7F2-99DF-3C75590478B496A8&ref=p_rss'
405 Method Not Allowed
Connection: close
Date: Thu, 01 Mar 2007 22:34:35 GMT
Server: Netscape-Enterprise/6.0
Allow: GET, POST
Content-Length: 124
Content-Type: text/html
Client-Date: Thu, 01 Mar 2007 22:37:58 GMT
Client-Peer: 216.68.232.11:80
Client-Response-Num: 1
X-Cache: MISS from aries.sciam.com

Steps to reproduce:
1. Add the podcast feed http://www.sciam.com/podcast/sciam_podcast_r_d.xml to Rhythmbox.
2. Go to the podcast, right-click on one of the files, and select "Download Episode".


Actual results:
The error icon appears in the episode's line, and the progress bar for the episode says "Failed".

Expected results:
The podcast episode should download.

Does this happen every time?
Yes.

Other information:
This bug is *not* the same as #378155.  In that bug, the podcast episode does actually download; Rhythmbox just doesn't properly recognize that it's successful.  That bug *does*, however, also involve a server that doesn't provide the desired information through a HTTP HEAD query (albeit a successful one).

Modifying Rhythmbox to fetch the file even if getting its status failed would probably fix both bugs, however.

This bug is also present in HEAD.

This was originally filed as Debian bug 412416 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=412416).
Comment 1 Alex Lancaster 2007-03-02 01:50:10 UTC
Confirming and noting still present in trunk (aka the old CVS "HEAD").  The podcast feed URL to duplicate this is:

http://www.sciam.com/podcast/sciam_podcast_r.xml

Note that this is dependent on bug #378155.
Comment 2 Alex Lancaster 2007-03-02 01:51:08 UTC
(In reply to comment #1)
>  The podcast feed URL to duplicate this is:

> http://www.sciam.com/podcast/sciam_podcast_r.xml

Whoops, sorry didn't notice that it *was* in the original report.
Comment 3 James "Doc" Livingston 2007-03-03 05:24:53 UTC

*** This bug has been marked as a duplicate of 378155 ***