{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/9054","repository_url":"https://api.github.com/repos/rg3/youtube-dl","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/9054/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/9054/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/9054/events","html_url":"https://github.com/rg3/youtube-dl/issues/9054","id":145309293,"number":9054,"title":"--xattrs does not work on OS X.","user":{"login":"danfiscus","id":8755783,"avatar_url":"https://avatars.githubusercontent.com/u/8755783?v=3","gravatar_id":"","url":"https://api.github.com/users/danfiscus","html_url":"https://github.com/danfiscus","followers_url":"https://api.github.com/users/danfiscus/followers","following_url":"https://api.github.com/users/danfiscus/following{/other_user}","gists_url":"https://api.github.com/users/danfiscus/gists{/gist_id}","starred_url":"https://api.github.com/users/danfiscus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danfiscus/subscriptions","organizations_url":"https://api.github.com/users/danfiscus/orgs","repos_url":"https://api.github.com/users/danfiscus/repos","events_url":"https://api.github.com/users/danfiscus/events{/privacy}","received_events_url":"https://api.github.com/users/danfiscus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rg3/youtube-dl/labels/bug","name":"bug","color":"ff0303"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2016-04-01T23:31:22Z","updated_at":"2016-09-26T06:17:53Z","closed_at":null,"body":"- [x] I've **verified** and **I assure** that I'm running youtube-dl **2016.04.01**\r\n\r\n### Before submitting an *issue* make sure you have:\r\n- [x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections\r\n- [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones\r\n\r\n### What is the purpose of your *issue*?\r\n- [x] Bug report (encountered problems with youtube-dl)\r\n- [ ] Site support request (request for adding support for a new site)\r\n- [ ] Feature request (request for a new functionality)\r\n- [ ] Question\r\n- [ ] Other\r\n\r\n---\r\n\r\n### If the purpose of this *issue* is a *bug report*, *site support request* or you are not completely sure provide the full verbose output as follows:\r\n\r\nAdd `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```):\r\n```\r\n$ youtube-dl --write-auto-sub --sub-format srt --include-ads --console-title --newline --embed-subs --xattrs --add-metadata -v https://www.youtube.com/watch?v=Bfktt22nUG4\r\n[debug] System config: []\r\n[debug] User config: []\r\n[debug] Command-line args: [u'--write-auto-sub', u'--sub-format', u'srt', u'--include-ads', u'--console-title', u'--newline', u'--embed-subs', u'--xattrs', u'--add-metadata', u'-v', u'https://www.youtube.com/watch?v=Bfktt22nUG4']\r\n[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8\r\n[debug] youtube-dl version 2016.04.01\r\n[debug] Python version 2.7.10 - Darwin-14.5.0-x86_64-i386-64bit\r\n[debug] exe versions: ffmpeg 2.7.1, ffprobe 2.7.1\r\n[debug] Proxy map: {}\r\n[youtube] Bfktt22nUG4: Downloading webpage\r\n[youtube] Bfktt22nUG4: Downloading video info webpage\r\n[youtube] Bfktt22nUG4: Extracting video information\r\n[youtube] Bfktt22nUG4: Looking for automatic captions\r\n[youtube] Bfktt22nUG4: Downloading MPD manifest\r\nWARNING: No subtitle format found matching \"srt\" for language en, using vtt\r\n[info] Writing video subtitles to: iPhone SE (parody)-Bfktt22nUG4.en.vtt\r\nWARNING: Requested formats are incompatible for merge and will be merged into mkv.\r\n[download] iPhone SE (parody)-Bfktt22nUG4.mkv has already been downloaded and merged\r\n[ffmpeg] Adding metadata to 'iPhone SE (parody)-Bfktt22nUG4.mkv'\r\n[debug] ffmpeg command line: ffmpeg -y -i 'file:iPhone SE (parody)-Bfktt22nUG4.mkv' -c copy -metadata 'comment=Previous sketch: https://www.youtube.com/watch?v=--Fg3YbwG8E&index=1&list=PLiWL8lZPZ2_kafFTewyr06GuSPFd0m8hf\r\n\r\nHelp me make fun of everything! http://bit.ly/1A0Crdb\r\nTWITTER: http://www.twitter.com/jacksfilms\r\nFACEBOOK: http://www.facebook.com/jacksfilmsfans\r\nLIVE CHAT every FRIDAY: http://www.younow.com/jacksfilms\r\nSNAPCHAT: realjacksfilms\r\nMERCH: http://www.jacksfilms.spreadshirt.com\r\nPERISCOPE: http://www.periscope.tv/jacksfilms' -metadata 'description=Previous sketch: https://www.youtube.com/watch?v=--Fg3YbwG8E&index=1&list=PLiWL8lZPZ2_kafFTewyr06GuSPFd0m8hf\r\n\r\nHelp me make fun of everything! http://bit.ly/1A0Crdb\r\nTWITTER: http://www.twitter.com/jacksfilms\r\nFACEBOOK: http://www.facebook.com/jacksfilmsfans\r\nLIVE CHAT every FRIDAY: http://www.younow.com/jacksfilms\r\nSNAPCHAT: realjacksfilms\r\nMERCH: http://www.jacksfilms.spreadshirt.com\r\nPERISCOPE: http://www.periscope.tv/jacksfilms' -metadata artist=jacksfilms -metadata 'title=iPhone SE (parody)' -metadata date=20160321 -metadata 'purl=https://www.youtube.com/watch?v=Bfktt22nUG4' 'file:iPhone SE (parody)-Bfktt22nUG4.temp.mkv'\r\n[ffmpeg] Embedding subtitles in 'iPhone SE (parody)-Bfktt22nUG4.mkv'\r\n[debug] ffmpeg command line: ffmpeg -y -i 'file:iPhone SE (parody)-Bfktt22nUG4.mkv' -i 'file:iPhone SE (parody)-Bfktt22nUG4.en.vtt' -map 0 -c copy -map -0:s -map 1:0 -metadata:s:s:0 language=eng 'file:iPhone SE (parody)-Bfktt22nUG4.temp.mkv'\r\nDeleting original file iPhone SE (parody)-Bfktt22nUG4.en.vtt (pass -k to keep)\r\n[metadata] Writing metadata to file's xattrs\r\nTraceback (most recent call last):\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py\", line 162, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/usr/local/bin/youtube-dl/__main__.py\", line 19, in <module>\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/__init__.py\", line 419, in main\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/__init__.py\", line 409, in _real_main\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1725, in download\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 680, in extract_info\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 725, in process_ie_result\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1371, in process_video_result\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1707, in process_info\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py\", line 1771, in post_process\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/postprocessor/xattrpp.py\", line 158, in run\r\n  File \"/usr/local/bin/youtube-dl/youtube_dl/postprocessor/xattrpp.py\", line 72, in write_xattr\r\nAttributeError: 'module' object has no attribute 'set'\r\n```\r\n\r\n---\r\n\r\n### Description of your *issue*, suggested solution and other information\r\n\r\nI attempted to download a video and I wanted to use the `-xattrs` flag, but the above error came up. The file does not appear on my computer. I do not know what other description or information to provide, if any, but if you need me to supply more information I will do my best to do so."},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/249487736","html_url":"https://github.com/rg3/youtube-dl/issues/9054#issuecomment-249487736","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/9054","id":249487736,"user":{"login":"yan12125","id":1937689,"avatar_url":"https://avatars.githubusercontent.com/u/1937689?v=3","gravatar_id":"","url":"https://api.github.com/users/yan12125","html_url":"https://github.com/yan12125","followers_url":"https://api.github.com/users/yan12125/followers","following_url":"https://api.github.com/users/yan12125/following{/other_user}","gists_url":"https://api.github.com/users/yan12125/gists{/gist_id}","starred_url":"https://api.github.com/users/yan12125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yan12125/subscriptions","organizations_url":"https://api.github.com/users/yan12125/orgs","repos_url":"https://api.github.com/users/yan12125/repos","events_url":"https://api.github.com/users/yan12125/events{/privacy}","received_events_url":"https://api.github.com/users/yan12125/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T06:17:53Z","updated_at":"2016-09-26T06:17:53Z","body":"In a previous post, you've mentioned that ffmpeg inteferes with ```--xattrs```. It would be better to have an example to see how things are not working."}}
{"actor":{"display_login":"yan12125"}}