AttributeError: ’NoneType’ object has no attribute ’startswith’

22. lokakuuta 2018 klo 16.03
Sijainti: Vianhallintajärjestelmät: Github

Not sure if this URL is supported, but the error message doesn’t look quite right, nor clear as to what the problem is from a user’s perspective:

$ yle-dl ''
yle-dl 2.37: Download media files from Yle Areena and Elävä Arkisto
Copyright (C) 2009-2018 Antti Ajanki <>, license: GPLv3

Traceback (most recent call last):
  File "/usr/local/bin/yle-dl", line 11, in <module>
    load_entry_point('yle-dl==2.37', 'console_scripts', 'yle-dl')()
  File "build/bdist.linux-x86_64/egg/yledl/", line 377, in main
  File "build/bdist.linux-x86_64/egg/yledl/", line 252, in download
  File "build/bdist.linux-x86_64/egg/yledl/", line 543, in extract
  File "build/bdist.linux-x86_64/egg/yledl/", line 736, in extract_clip
  File "build/bdist.linux-x86_64/egg/yledl/", line 983, in program_info_for_pid
  File "build/bdist.linux-x86_64/egg/yledl/", line 791, in media_flavors
  File "build/bdist.linux-x86_64/egg/yledl/", line 875, in download_flavors
  File "build/bdist.linux-x86_64/egg/yledl/", line 499, in __init__
  File "build/bdist.linux-x86_64/egg/yledl/", line 40, in __init__
AttributeError: 'NoneType' object has no attribute 'startswith'


Vastaa viestiin sen kontekstissa (Github)