https://bugs.gpodder.org/show_bug.cgi?id=1731

             Bug #: 1731
           Summary: ERROR: "Cannot get filename from content-disposition"
    Classification: Unclassified
           Product: gPodder
           Version: 3.3.0
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


When downloading certain episodes, I get the error message: "ERROR: Cannot get
filename from content-disposition" (and a traceback).

How to reproduce:

export GPODDER_HOME=/tmp/gpo-test
mkdir -p $GPODDER_HOME
gpo subscribe http://web.ard.de/radiotatort/rss/podcast.xml
gpo update http://web.ard.de/radiotatort/rss/podcast.xml
gpo download http://web.ard.de/radiotatort/rss/podcast.xml
[...]
Downloading Der Stalker                                                  
1356605609.316824 [gpodder.model] INFO: Setting download filename:
2012_podcast_der_stalker.mp3
Downloading Der Stalker                                                  [100%]
1356605642.304009 [gpodder.download] ERROR: Cannot get filename from
content-disposition
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/gpodder/download.py", line 72, in
get_header_param
    value = email.utils.collapse_rfc2231_value(raw_value)
  File "/usr/lib/python2.6/email/utils.py", line 323, in collapse_rfc2231_value
    return unquote(value)
  File "/usr/lib/python2.6/email/utils.py", line 223, in unquote
    if len(str) > 1:
TypeError: object of type 'NoneType' has no len()
Downloading Der Stalker                                                  [DONE]
[...]

This occurs for several episodes of this podcast, e.g. "Unter sticht Ober" and
"Dienstschluss".

The file seams to be downloaded and saved without problems. This is why I set
severity to "minor".

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to