Closed dny238 closed 7 years ago
You can't use WebTools for a dev branch, since those tends to be deleted.
WebTools will lock on a branch, and stay on that by design!
I have no plans of altering this, nor provide a failback to master, since master is simply a name, and not always the default one.
For Sub-Zero, use the Wiki to install dev builds instead
I installed Sub-Zero.bundle from the git repository. Now I'm trying to update.
The UI gives this error... "An error occured, please check the logs.
Errorinfo: Requested URL: webtools2?module=git&function=getGit&url=https%3A%2F%2Fgithub.com%2Fpannal%2FSub-Zero.bundle&branch= Error Code/Message: 500/Internal Server Error"
The log seems to indicate that we're missing the branch... how should I have supplied that. Could it default to 'master' if it's not known?
2017-05-09 01:25:06,330 (7f32317fa700) : DEBUG (webSrv:333) - Recieved a get call for module: git 2017-05-09 01:25:06,330 (7f32317fa700) : DEBUG (git:857) - Starting install 2017-05-09 01:25:06,331 (7f32317fa700) : DEBUG (git:563) - Bundle directory name digested as: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Sub-Zero.bundle 2017-05-09 01:25:06,331 (7f32317fa700) : DEBUG (networking:166) - Requesting 'https://github.com/pannal/Sub-Zero.bundle/archive/.zip' 2017-05-09 01:25:06,602 (7f32317fa700) : ERROR (networking:219) - Error opening URL 'https://github.com/pannal/Sub-Zero.bundle/archive/.zip' 2017-05-09 01:25:06,602 (7f32317fa700) : CRITICAL (git:848) - Exception in downloadBundle2tmp while downloading from GitHub: HTTP Error 404: Not Found (most recent call last): File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle/Contents/Code/git.py", line 848, in downloadBundle2tmp HTTP.Request('http://127.0.0.1:32400/:/plugins/com.plexapp.system/restart', immediate=True) File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/utilkit.py", line 50, in ZipFromURL opener = self._opener, File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/networkkit.py", line 67, in _http_request req = self._core.networking.http_request(url, *args, *kwargs) File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 370, in http_request return HTTPRequest(self._core, url, data, h, url_cache, encoding, errors, timeout, immediate, sleep, opener, follow_redirects, method) File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 141, in init self.load() File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load f = self._opener.open(req, timeout=self._timeout) File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 444, in open response = meth(req, response) File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 557, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 482, in error return self._call_chain(args) File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain result = func(*args) File "/usr/lib/plexmediaserver/Resources/Plug-ins-4955e31cf/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 565, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 404: Not Found
2017-05-09 01:25:06,602 (7f32317fa700) : CRITICAL (git:885) - Fatal error happened in install for :https://github.com/pannal/Sub-Zero.bundle 2017-05-09 01:25:06,625 (7f32317fa700) : DEBUG (webSrv:365) - Recieved a post call for module: logs 2017-05-09 01:25:06,626 (7f32317fa700) : DEBUG (logs:39) - Log Root dir is: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs 2017-05-09 01:25:06,626 (7f32317fa700) : DEBUG (logs:78) - Starting Logs.entry function 2017-05-09 01:25:06,626 (7f32317fa700) : DEBUG (logs:81) - FrontEnd: [Core] Completed AJAX Call for URL: webtools2?module=git&function=getGit&url=https%3A%2F%2Fgithub.com%2Fpannal%2FSub-Zero.bundle&branch=