Skip to content

Instantly share code, notes, and snippets.

@ojilles
Created August 26, 2014 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ojilles/60a7172800c9ab362105 to your computer and use it in GitHub Desktop.
Save ojilles/60a7172800c9ab362105 to your computer and use it in GitHub Desktop.
bash-3.2$ cat plexlog
2014-08-26 23:23:35,725 (10de4c000) : DEBUG (networking:172) - Requesting 'http://dl.opensubtitles.org/en/download/filead/src-api/vrf-8e6668e470/1953313379.gz'
2014-08-26 23:23:35,944 (10de4c000) : CRITICAL (agentkit:983) - Exception in the update function of agent named 'OpenSubtitles.org', called with guid 'com.plexapp.agents.thetvdb://82459?lang=en' (most recent call last):
File "/Users/USERNAME/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 981, in _update
agent.update(obj, media, lang)
File "/Users/USERNAME/Library/Application Support/Plex Media Server/Plug-ins/OpenSubtitles.bundle/Contents/Code/__init__.py", line 108, in update
fetchSubtitles(proxy, token, part)
File "/Users/USERNAME/Library/Application Support/Plex Media Server/Plug-ins/OpenSubtitles.bundle/Contents/Code/__init__.py", line 63, in fetchSubtitles
subData = Archive.GzipDecompress(subGz)
File "/Users/USERNAME/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/utilkit.py", line 58, in GzipDecompress
return self._core.data.archiving.gzip_decompress(data)
File "/Users/USERNAME/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/data.py", line 101, in gzip_decompress
ret = gzipper.read()
File "/Users/admin/jenkins/pms-deps-universal/BUILD_TAG/darwin-x86_64/output/pms-depends-darwin-x86_64-release-ac8673c/lib/python2.7/gzip.py", line 253, in read
File "/Users/admin/jenkins/pms-deps-universal/BUILD_TAG/darwin-x86_64/output/pms-depends-darwin-x86_64-release-ac8673c/lib/python2.7/gzip.py", line 293, in _read
File "/Users/admin/jenkins/pms-deps-universal/BUILD_TAG/darwin-x86_64/output/pms-depends-darwin-x86_64-release-ac8673c/lib/python2.7/gzip.py", line 197, in _read_gzip_header
IOError: Not a gzipped file
2014-08-26 23:23:35,945 (10de4c000) : DEBUG (model:225) - Serializing to /Users/USERNAME/Library/Application Support/Plex Media Server/Metadata/TV Shows/0/23b57486a67f5414d838f29b25ffa0d448cbdb1.bundle/Contents/com.plexapp.agents.opensubtitles/Info.xml
2014-08-26 23:23:35,946 (10de4c000) : DEBUG (runtime:918) - Response: [200] str, 16 bytes
bash-3.2$ wget http://dl.opensubtitles.org/en/download/filead/src-api/vrf-8e6668e470/1953313379.gz
--2014-08-26 23:26:12-- http://dl.opensubtitles.org/en/download/filead/src-api/vrf-8e6668e470/1953313379.gz
Resolving dl.opensubtitles.org... 92.240.234.122
Connecting to dl.opensubtitles.org|92.240.234.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 39957 (39K) [text/html]
Saving to: ‘1953313379.gz’
2014-08-26 23:26:13 (378 KB/s) - ‘1953313379.gz’ saved [39957/39957]
bash-3.2$ head -n 1 1953313379.gz
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><script type="text/javascript">window.NREUM||(NREUM={}),__nr_require=function(t,n,e){function r(e){if(!n[e]){var o=n[e]={exports:{}};t[e][0].call(o.exports,function(n){var o=t[e][1][n];return r(o?o:n)},o,o.exports)}return n[e].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<e.length;o++)r(e[o]);return r}({D5DuLP:[function(t,n){function e(t,n){var e=r[t];return e?e.apply(this,n):(o[t]||(o[t]=[]),void o[t].push(n))}var r={},o={};n.exports=e,e.queues=o,e.handlers=r},{}],handle:[function(t,n){n.exports=t("D5DuLP")},{}],G9z0Bl:[function(t,n){function e(){var t=l.info=NREUM.info;if(t&&t.agent&&t.licenseKey&&t.applicationID&&p&&p.body){l.proto="https"===f.split(":")[0]||t.sslForHttp?"https://":"http://",i("mark",["onload",a()]);var n=p.createElement("script");n.src=l.proto+t.agent,p.body.appendChild(n)}}function r(){"complete"===p.readyState&&o()}function o(){i("mark",["domContent",a()])}function a(){return(new Date).getTime()}var i=t("handle"),u=window,p=u.document,s="addEventListener",c="attachEvent",f=(""+location).split("?")[0],l=n.exports={offset:a(),origin:f,features:[]};p[s]?(p[s]("DOMContentLoaded",o,!1),u[s]("load",e,!1)):(p[c]("onreadystatechange",r),u[c]("onload",e)),i("mark",["firstbyte",a()])},{handle:"D5DuLP"}],loader:[function(t,n){n.exports=t("G9z0Bl")},{}]},{},["G9z0Bl"]);</script><link type="text/css" rel="stylesheet" href="http://static.opensubtitles.org/libs/js/jquery/jquery-ui.min.css" /><script type="text/javascript" src="http://static.opensubtitles.org/libs/js/jquery/jquery.min.js"></script><script type="text/javascript" src="/libs/js/jquery.qrcode.min.js"></script><script type="text/javascript" src="/libs/js/jquery.bitcoin-link.js"></script><script type="text/javascript">
bash-3.2$ exit
@ojilles
Copy link
Author

ojilles commented Aug 26, 2014

Btw, this is with username/pwd entered into the Plex plugin

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