Skip to content

Instantly share code, notes, and snippets.

@orz-
Created February 11, 2016 13:56
Show Gist options
  • Save orz-/8f94b92f1e6f5b3c7c50 to your computer and use it in GitHub Desktop.
Save orz-/8f94b92f1e6f5b3c7c50 to your computer and use it in GitHub Desktop.
nmsgコメントサーバ変換エラー AttributeError: 'NoneType' object
Launching Saccubus......
executing
[sm27018502] executing => ext\ffmpeg\bin\ffmpeg.exe -y -f saccubus -minfps 25 -sacc sm27018502#--warning#--resolve-comment-back#500#--plugin-deploy#simple#--ng-script#.\ng-script\mymemOK.py#--plugin-font#simple#--resolve-cookie#firefox#--resolve-password#MYPASSWORD#--resolve-resource-path#.\__download__#--resolve-user#MYACCOUNT@gmail.com -i ext\Saccubus\Saccubus.dll -strict -2 -acodec copy -vcodec libx264 -coder 1 -f mp4 -pix_fmt yuv420p ".\__download__/sm27018502_conv_�L�����}���@�}�b�X���t�@�C�g�@�{�X�Q�K�E�Z�W.mp4"
[sm27018502] executed
executing...
ext\ffmpeg\bin\ffmpeg.exe -y -f saccubus -minfps 25 -sacc sm27018502#--warning#--resolve-comment-back#500#--plugin-deploy#simple#--ng-script#.\ng-script\mymemOK.py#--plugin-font#simple#--resolve-cookie#firefox#--resolve-password#MYPASSWORD#--resolve-resource-path#.\__download__#--resolve-user#MYACCOUNT@gmail.com -i ext\Saccubus\Saccubus.dll -strict -2 -acodec copy -vcodec libx264 -coder 1 -f mp4 -pix_fmt yuv420p ".\__download__/sm27018502_conv_�L�����}���@�}�b�X���t�@�C�g�@�{�X�Q�K�E�Z�W.mp4"
result:
ffmpeg version git-2015-11-19-bbaa282 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 5.2.0 (GCC)
configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/orz/desktop/saccubus/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-gray --extra-libs=-lpsapi --extra-cflags=-static-libgcc --enable-static --disable-shared --prefix=/home/orz/desktop/saccubus/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-runtime-cpudetect
libavutil 55. 6.100 / 55. 6.100
libavcodec 57. 15.100 / 57. 15.100
libavformat 57. 15.100 / 57. 15.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 15.100 / 6. 15.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[saccubus indev @ 050ead20] Initializing...
[saccubus indev @ 050ead20] arg[ 0]=> ext\Saccubus\Saccubus.dll
[saccubus indev @ 050ead20] arg[ 1]=> sm27018502
[saccubus indev @ 050ead20] arg[ 2]=> --warning
[saccubus indev @ 050ead20] arg[ 3]=> --resolve-comment-back
[saccubus indev @ 050ead20] arg[ 4]=> 500
[saccubus indev @ 050ead20] arg[ 5]=> --plugin-deploy
[saccubus indev @ 050ead20] arg[ 6]=> simple
[saccubus indev @ 050ead20] arg[ 7]=> --ng-script
[saccubus indev @ 050ead20] arg[ 8]=> .\ng-script\mymemOK.py
[saccubus indev @ 050ead20] arg[ 9]=> --plugin-font
[saccubus indev @ 050ead20] arg[ 10]=> simple
[saccubus indev @ 050ead20] arg[ 11]=> --resolve-cookie
[saccubus indev @ 050ead20] arg[ 12]=> firefox
[saccubus indev @ 050ead20] arg[ 13]=> --resolve-password
[saccubus indev @ 050ead20] arg[ 14]=> MYPASSWORD
[saccubus indev @ 050ead20] arg[ 15]=> --resolve-resource-path
[saccubus indev @ 050ead20] arg[ 16]=> .\__download__
[saccubus indev @ 050ead20] arg[ 17]=> --resolve-user
[saccubus indev @ 050ead20] arg[ 18]=> MYACCOUNT@gmail.com
[W][ PluginOrganizer] Unknwon config: (deploy) = (simple)
[W][ PluginOrganizer] Unknwon config: (font) = (simple)
[E][ PyBridgeImpl] Python says:
Traceback (most recent call last):
File D:\saccubus\Saccubus2.0b4\ext\SaccubusFront\src\saccubus\resource\resolve.py, 36, in fromNative
File D:\saccubus\Saccubus2.0b4\ext\SaccubusFront\src\saccubus\resource\resolve.py, 130, in download
File D:\saccubus\Saccubus2.0b4\ext\SaccubusFront\src\saccubus\net\video.py, 32, in downloadVideo
AttributeError: 'NoneType' object has no attribute 'split'
[E][ PyBridgeImpl] Failed to run: <function fromNative at 0x0597C420>
Saccubus exception caught: (in ..\..\src\saccubus\python\PyBridgeImpl.cpp:329): Failed to run: <function fromNative at 0x0597C420>
[Saccubus FFmpeg Adapter] An error has occurred. Press [ENTER] to continue.
[saccubus indev @ 050ead20] Failed to configure adapter.
ext\Saccubus\Saccubus.dll: Operation not permitted
<?xml version="1.0" encoding="UTF-8"?>
<nicovideo_thumb_response status="ok">
<thumb>
<video_id>sm27018502</video_id>
<cache>icon</cache>
<title>キン肉マン マッスルファイト ボス2必殺技集</title>
<description>08/16に別バージョンが公開された「ボス2ver.2」の必殺技・超必殺技を紹介します。※CPU専用キャラ。従来のバージョンも継続して公開されていますので、好きな方を選べます。本編の必殺技集はコチラから:mylist/13557472</description>
<thumbnail_url>http://tn-skr3.smilevideo.jp/smile?i=27018502</thumbnail_url>
<first_retrieve>2015-08-26T17:17:12+09:00</first_retrieve>
<length>3:12</length>
<movie_type>mp4</movie_type>
<size_high>14365479</size_high>
<size_low>9859147</size_low>
<view_counter>8786</view_counter>
<comment_num>125</comment_num>
<mylist_counter>31</mylist_counter>
<last_res_body>傲岸不遜っぷりの表現 ガンマン人気投票トッ クリスマス限定あやつ 死んでる人もありなら 変身後のは足が好きだ </last_res_body>
<watch_url>http://www.nicovideo.jp/watch/sm27018502</watch_url>
<thumb_type>video</thumb_type>
<embeddable>1</embeddable>
<no_live_play>1</no_live_play>
<tags domain="jp">
<tag category="1" lock="1">ゲーム</tag>
<tag lock="1">キン肉マン</tag>
<tag lock="1">マッスルファイト</tag>
<tag lock="1">ゲームエフェクト集</tag>
<tag>完璧超人始祖</tag>
<tag>ガンマン</tag>
<tag>私は変身などしなーい!</tag>
</tags>
<user_id>567267</user_id>
<user_nickname>aoi_russian</user_nickname>
<user_icon_url>http://usericon.nimg.jp/usericon/s/56/567267.jpg?1401373667</user_icon_url>
</thumb>
</nicovideo_thumb_response>
thread_id=1440577033&l=192&url=http%3A%2F%2Fsmile-fnl51.nicovideo.jp%2Fsmile%3Fm%3D27018502.51325&ms=http%3A%2F%2Fnmsg.nicovideo.jp%2Fapi%2F&ms_sub=http%3A%2F%2Fnmsg.nicovideo.jp%2Fapi%2F&user_id=55428869&is_premium=0&nickname=%E3%81%8A%E5%85%84&time=1455187673821&done=true&ng_rv=1&hms=hiroba.nicovideo.jp&hmsp=2620&hmst=960&hmstk=1455187733.mi5GVYATEjk6NcGMs_tUniCOeCI&userkey=999999.%7E1%7ETnN6GlhHW6EqY2BKEeP5q-VPMMsLe3OPHD76wUWhPGg
nmsgサーバで変換エラーの起こる動画 
http://www.nicovideo.jp/watch/sm27018502
キン肉マン マッスルファイト ボス2必殺技集
192秒
プレミアム接続コメントサーバー nmsg
一般アカウント接続コメントサーバー nmsg
Bad Requestとどちらが起こるかは分かりません。
接続しただけで動画ダウンロードも失敗します。
@orz-
Copy link
Author

orz- commented Feb 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment