Menu

#180 Error parsing download file -> Due to "?"

v2.0b1
open
5
2014-08-22
2005-02-07
DBMaster
No

There is a SNAFU in the code that iPodder uses to turn
a link into a local file name. See the IOError in the
log below. FYI: I pasted the URL into a download
manager and the file downloaded just fine.
------------------
Successfully loaded config file C:\Documents and
Settings\CaB\Application Data\iPodder\ipodder.cfg
Loaded 8 feeds from the state database.
Loaded 0 new feeds from C:\Documents and
Settings\CaB\Application Data\iPodder\favorites.txt
Bloglines not configured.
Wrote 8 entries to C:\Documents and
Settings\CaB\Application Data\iPodder\favorites.txt
Pass #1: downloading feeds and looking for enclosures
Figuring out which feeds to scan...
Pass #2: downloading enclosures...
Downloading
http://files.mikseri.net/hifi/download.php?fn=tributetotwangep-03someoneelseshaven.mp3
BasicGrabber 31903152
u'download.php?fn=tributetotwangep-03someoneelseshaven.mp3'
reports: Problem downloading
http://files.mikseri.net/hifi/download.php?fn=tributetotwangep-03someoneelseshaven.mp3
Traceback (most recent call last):
File "ipodder\grabbers.pyc", line 900, in download
IOError: [Errno 2] No such file or directory:
u'E:\\ipodder\\Free Music
Downloads\\download.php?fn=tributetotwangep-03someoneelseshaven.mp3'
Can't grab
http://files.mikseri.net/hifi/download.php?fn=tributetotwangep-03someoneelseshaven.mp3:
unexpected error <exceptions.IOError instance at
0x01EF82B0>
Downloading http://mp3.dndshow.com/DNDS20050206.mp3
Updating playlist The Dawn and Drew Show! with
DNDS20050206.mp3
Downloading
http://homepage.mac.com/dailysourcecode/DSC/DSC-2005-02-06.mp3
Updating playlist Adam Curry: Daily Source Code with
DSC-2005-02-06.mp3
Last check completed at Mon Feb 07 09:36:26 2005

Discussion

  • Venrooy

    Venrooy - 2005-05-09
    • assigned_to: nobody --> aegrumet
    • summary: Error parsing download file --> Error parsing download file -> Due to "?"
     
  • Venrooy

    Venrooy - 2005-08-04

    Logged In: YES
    user_id=1120007

    from a newer bug:
    to repro:

    1. start up iPodder (i'm using 1.1.4)
    2. add a feed
    to "http://demo.theplatform.com/RSS/redirect.xml"
    3. check the feed, and then look at the log

    observed:

    Checking http://demo.theplatform.com/RSS/redirect.xml
    1 enclosure(s) found
    Pass #2: downloading enclosures...
    Downloading
    http://release.theplatform.com/content.select?
    pid=Lexni2kEBzmfbAcyk8G9wwEnRCLhaShV&UserName=iP
    odder
    'No such file or directory' (probably caused by an
    enclosure target lacking the http:// part of the URL)
    downloading
    http://release.theplatform.com/content.select?
    pid=Lexni2kEBzmfbAcyk8G9wwEnRCLhaShV&UserName=iP
    odder

    in this RSS feed, the enclosure looks like this:

    <enclosure
    url="http://release.theplatform.com/content.select?
    pid=Lexni2kEBzmfbAcyk8G9wwEnRCLhaShV&amp;UserNam
    e=iPodder" length="35321318" type="video/x-ms-asf" />

    this is a 302 redirect to the actual content. it seems
    that iPodder 1.1.4 can't handle this.

    if instead you link
    to "http://demo.theplatform.com/RSS/noredirect.xml",
    where the enclosure looks like this:

    <enclosure
    url="http://download.theplatform.regionalna.speedera.net
    /download.theplatform.regionalna/thePlatform/Inkola/26/
    662/wiggleontheflo.wma" length="35321318"
    type="video/x-ms-asf" />

    then iPodder handles it fine.

    it's often not an option to change the feed to use direct
    links. redirect links are often required for tracking
    access, and they're useful when you want to give an
    absolute link that will work even if you change your
    actual file structures.

    --alan

     

Log in to post a comment.

MongoDB Logo MongoDB