Bug 1613169

Summary: [abrt] youtube-dl: _really_load(): cookiejar.py:2007:_really_load:http.cookiejar.LoadError: '/home/zerwan/tmp/cookies.txt' does not look like a Netscape format cookies file
Product: [Fedora] Fedora Reporter: Gwendal <ezwen-redhatbugzilla>
Component: youtube-dlAssignee: Till Maas <opensource>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: mcepl, ngupta, opensource, rafalzaq, tim
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/01f9c482390e2971d7d945378a07b2355e6563b1
Whiteboard: abrt_hash:6e4cded2c300ac763f5f3eb96989ffceffef58e5;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-28 23:42:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Gwendal 2018-08-07 07:51:27 UTC
Description of problem:
I tried to use a cookies file without success

Version-Release number of selected component:
youtube-dl-2018.07.21-2.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/youtube-dl --cookies /home/zerwan/tmp/cookies.txt https://hitboxx.bandcamp.com/album/jet-stream
crash_function: _really_load
exception_type: http.cookiejar.LoadError
executable:     /usr/bin/youtube-dl
interpreter:    python3-3.6.6-1.fc28.x86_64
kernel:         4.17.11-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
cookiejar.py:2007:_really_load:http.cookiejar.LoadError: '/home/zerwan/tmp/cookies.txt' does not look like a Netscape format cookies file

Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2018.7.21', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.6/site-packages/youtube_dl/__init__.py", line 471, in main
    _real_main(argv)
  File "/usr/lib/python3.6/site-packages/youtube_dl/__init__.py", line 438, in _real_main
    with YoutubeDL(ydl_opts) as ydl:
  File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 413, in __init__
    self._setup_opener()
  File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2302, in _setup_opener
    self.cookiejar.load()
  File "/usr/lib64/python3.6/http/cookiejar.py", line 1784, in load
    self._really_load(f, filename, ignore_discard, ignore_expires)
  File "/usr/lib64/python3.6/http/cookiejar.py", line 2007, in _really_load
    filename)
http.cookiejar.LoadError: '/home/zerwan/tmp/cookies.txt' does not look like a Netscape format cookies file

Local variables in innermost frame:
magic: '.bandcamp.com\tfalse\t/\tfalse\t2145916800\ttos_dismissed\t1\n'
now: 1533590962.8863318
ignore_expires: False
ignore_discard: False
filename: '/home/zerwan/tmp/cookies.txt'
f: <_io.TextIOWrapper name='/home/zerwan/tmp/cookies.txt' mode='r' encoding='UTF-8'>
self: <MozillaCookieJar[]>

Comment 1 Gwendal 2018-08-07 07:51:35 UTC
Created attachment 1473863 [details]
File: backtrace

Comment 2 Gwendal 2018-08-07 07:51:36 UTC
Created attachment 1473864 [details]
File: cgroup

Comment 3 Gwendal 2018-08-07 07:51:37 UTC
Created attachment 1473865 [details]
File: cpuinfo

Comment 4 Gwendal 2018-08-07 07:51:39 UTC
Created attachment 1473866 [details]
File: environ

Comment 5 Gwendal 2018-08-07 07:51:40 UTC
Created attachment 1473867 [details]
File: mountinfo

Comment 6 Gwendal 2018-08-07 07:51:42 UTC
Created attachment 1473868 [details]
File: namespaces

Comment 7 Gwendal 2018-08-07 07:51:43 UTC
Created attachment 1473869 [details]
File: open_fds

Comment 8 Ben Cotton 2019-05-02 19:52:01 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Ben Cotton 2019-05-28 23:42:50 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.