{"action":"created","issue":{"url":"https://api.github.com/repos/openai/retro/issues/14","repository_url":"https://api.github.com/repos/openai/retro","labels_url":"https://api.github.com/repos/openai/retro/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/openai/retro/issues/14/comments","events_url":"https://api.github.com/repos/openai/retro/issues/14/events","html_url":"https://github.com/openai/retro/issues/14","id":312203892,"number":14,"title":"Unable to execute scripts/playback_movie.py","user":{"login":"dnk8n","id":3307753,"avatar_url":"https://avatars1.githubusercontent.com/u/3307753?v=4","gravatar_id":"","url":"https://api.github.com/users/dnk8n","html_url":"https://github.com/dnk8n","followers_url":"https://api.github.com/users/dnk8n/followers","following_url":"https://api.github.com/users/dnk8n/following{/other_user}","gists_url":"https://api.github.com/users/dnk8n/gists{/gist_id}","starred_url":"https://api.github.com/users/dnk8n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnk8n/subscriptions","organizations_url":"https://api.github.com/users/dnk8n/orgs","repos_url":"https://api.github.com/users/dnk8n/repos","events_url":"https://api.github.com/users/dnk8n/events{/privacy}","received_events_url":"https://api.github.com/users/dnk8n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-07T12:48:34Z","updated_at":"2018-04-08T19:26:34Z","closed_at":null,"author_association":"NONE","body":"## Issue summary\r\n\r\nWhen I execute the command below:\r\n`python scripts/playback_movie.py SonicTheHedgehog-Genesis-GreenHillZone.Act1-0000.bk2`\r\n\r\nI get the following output:\r\n```\r\nffmpeg version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2000-2017 the FFmpeg developers\r\n  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609\r\n  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv\r\n  libavutil      54. 31.100 / 54. 31.100\r\n  libavcodec     56. 60.100 / 56. 60.100\r\n  libavformat    56. 40.101 / 56. 40.101\r\n  libavdevice    56.  4.100 / 56.  4.100\r\n  libavfilter     5. 40.101 /  5. 40.101\r\n  libavresample   2.  1.  0 /  2.  1.  0\r\n  libswscale      3.  1.101 /  3.  1.101\r\n  libswresample   1.  2.101 /  1.  2.101\r\n  libpostproc    53.  3.100 / 53.  3.100\r\nInput #0, rawvideo, from 'pipe:5':\r\n  Duration: N/A, start: 0.000000, bitrate: 103086 kb/s\r\n    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x224, 103086 kb/s, 59.92 tbr, 59.92 tbn, 59.92 tbc\r\nGuessed Channel Layout for  Input Stream #1.0 : stereo\r\nInput #1, s16le, from 'pipe:7':\r\n  Duration: N/A, bitrate: 1411 kb/s\r\n    Stream #1:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s\r\n[libx264 @ 0x215b360] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2\r\n[libx264 @ 0x215b360] profile High, level 2.1\r\n[libx264 @ 0x215b360] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=7 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\r\n[aac @ 0x215c2a0] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.\r\nTraceback (most recent call last):\r\n  File \"../retro/scripts/playback_movie.py\", line 4, in <module>\r\n    main()\r\n  File \"/.../openai-retro-contest/venv/lib/python3.6/site-packages/retro/scripts/playback_movie.py\", line 114, in main\r\n    playback_movie(emulator, m, monitor_csv, movie.replace('.bk2', '.mp4'), args.viewer, delay)\r\n  File \"/.../openai-retro-contest/venv/lib/python3.6/site-packages/retro/scripts/playback_movie.py\", line 58, in playback_movie\r\n    os.write(video, bytes(display))\r\n  File \"/.../openai-retro-contest/venv/lib/python3.6/site-packages/retro/scripts/playback_movie.py\", line 40, in killprocs\r\n    viewer_proc.terminate()\r\nAttributeError: 'NoneType' object has no attribute 'terminate'\r\n```\r\n\r\nI am unsure what further information is useful to debug this. Any help would be appreciated. I am happy to provide more information if necessary.\r\n\r\nThank you.\r\n\r\n\r\n## System information\r\n\r\n- Linux ... 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n- Python 3.6.2 (default, Jul 17 2017, 23:14:31) [GCC 5.4.0 20160609] on linux\r\n- gym-retro==0.5.3 [gym_retro-0.5.3-cp36-cp36m-linux_x86_64.whl]"},"comment":{"url":"https://api.github.com/repos/openai/retro/issues/comments/379575601","html_url":"https://github.com/openai/retro/issues/14#issuecomment-379575601","issue_url":"https://api.github.com/repos/openai/retro/issues/14","id":379575601,"user":{"login":"endrift","id":605502,"avatar_url":"https://avatars3.githubusercontent.com/u/605502?v=4","gravatar_id":"","url":"https://api.github.com/users/endrift","html_url":"https://github.com/endrift","followers_url":"https://api.github.com/users/endrift/followers","following_url":"https://api.github.com/users/endrift/following{/other_user}","gists_url":"https://api.github.com/users/endrift/gists{/gist_id}","starred_url":"https://api.github.com/users/endrift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endrift/subscriptions","organizations_url":"https://api.github.com/users/endrift/orgs","repos_url":"https://api.github.com/users/endrift/repos","events_url":"https://api.github.com/users/endrift/events{/privacy}","received_events_url":"https://api.github.com/users/endrift/received_events","type":"User","site_admin":false},"created_at":"2018-04-08T19:26:34Z","updated_at":"2018-04-08T19:26:34Z","author_association":"COLLABORATOR","body":"Please let me know if this is fixed."}}
{"actor":{"display_login":"endrift"}}