Quantcast
Channel: Other Third-Party Clients & Tools — Plex Forums
Viewing all articles
Browse latest Browse all 346

PlexBMC 4.0.0 beta v4, Helper 3.4.7 - Script Failed Error

$
0
0

I'm running the following; (on all machines, a mix of Windows and Android)

Plex 2.4.23 PlexPass
PlexBMC v4.0.0 beta v4
PlexBMC Helper 3.4.7
Kodi 14.2 Helix

I have My own library and 2 shared with me.
On all clients I have my server current master server set to my system.

When I go to play video to a remote PlexBMC device (running PlexBMC Helper), on the device I get a script failed error.

`11:13:36 T:40228 NOTICE: PleXBMC -> playPlaylist : == ENTER ==
11:13:36 T:40228 NOTICE: PleXBMC -> playPlaylist : Creating new playlist
11:13:36 T:40228 NOTICE: PleXBMC -> getXML : == ENTER ==
11:13:36 T:40228 NOTICE: PleXBMC.plex -> get_server_from_ip : IP to lookup: 10.0.0.15:32400
11:13:36 T:40228 NOTICE: PleXBMC.plex -> get_server_from_ip : [Cascade] - checking ip:10.0.0.15 against server ip 10.0.0.15
11:13:36 T:40228 NOTICE: PleXBMC.plexserver -> find_address_match : Checking [10.0.0.15:32400] against [10.0.0.15:32400]
11:13:36 T:40228 NOTICE: PleXBMC.plexserver -> processed_xml : We have been passed a full URL. Parsing out path
11:13:36 T:40228 NOTICE: PleXBMC.plexserver -> talk : URL is: /library/metadata/112238/children
11:13:36 T:40228 NOTICE: PleXBMC.plexserver -> talk : URL was: http://10.0.0.15:32400/
11:13:36 T:40228 NOTICE: PleXBMC.plexserver -> talk : Response: 200 OK - Encoding: utf-8
11:13:36 T:40228 NOTICE: PleXBMC.plexserver -> talk : ===XML===
<?xml version="1.0" encoding="UTF-8"?>

                                        ===XML===

11:13:36 T:40228 NOTICE: PleXBMC.plexserver -> talk : DOWNLOAD: It took 0.02 seconds to retrieve data from 10.0.0.15
11:13:36 T:40228 NOTICE: PleXBMC.plexserver -> processed_xml : PARSE: it took 0.00 seconds to parse data from 10.0.0.15
11:13:36 T:40228 NOTICE: PleXBMC -> playPlaylist : Adding playlist item
11:13:36 T:40228 NOTICE: PleXBMC -> trackTag : == ENTER ==
11:13:36 T:40228 NOTICE: PleXBMC -> trackTag : Part is {'container': 'mp3', 'file': 'M:\Master List\alt-J\This is All Yours\01 - Intro.mp3', 'key': '/library/parts/148833/file.mp3', 'duration': '278622', 'id': '148833', 'size': '11404714'}
11:13:36 T:40228 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'url' is not defined
Traceback (most recent call last):
File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\default.py", line 13, in
plexbmc.start_plexbmc()
File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py", line 4213, in start_plexbmc
playLibraryMedia(param_url,force=force, override=play_transcode)
File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py", line 1118, in playLibraryMedia
playPlaylist(server, streams)
File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py", line 1080, in playPlaylist
url, item = trackTag(server, tree, track, listing = False)
File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py", line 2195, in trackTag
return ( url, details )
NameError: global name 'url' is not defined
-->End of Python script error report<--
11:13:46 T:39080 NOTICE: Thread BackgroundLoader start, auto delete: false`

I've trimmed out some portions of the log to save space, I can re-add (such as the full xml of the play list, or my full URL with tokens etc)

Here is another log dump I just ran, PlexBMC set to info, and debug in helper enabled.

13:33:18 T:41820  NOTICE: PleXBMC.plex -> load_tokencache : plexhome_cache data loaded successfully
13:33:18 T:41820  NOTICE: PleXBMC.plex -> setup_user_token : No user set.  Will default to admin user
13:33:18 T:41820  NOTICE: PleXBMC.plex -> setup_user_token : myplex userid: Palmore
13:33:18 T:41820  NOTICE: PleXBMC.plex -> setup_user_token : effective userid: Palmore
13:33:18 T:41820  NOTICE: PleXBMC -> Detected parameters: {'url': 'http://10.0.0.15:32400/library/metadata/112246', 'force': '0', 'mode': '5'}
13:33:18 T:41820  NOTICE: PleXBMC.plex -> load : Loading cached server list
13:33:18 T:41820  NOTICE: PleXBMC.plex -> load : unsuccessful
13:33:18 T:41820  NOTICE: PleXBMC.plex -> discover_all_servers : PleXBMC -> Adding myplex as a server location
13:33:18 T:41820  NOTICE: PleXBMC.plex -> talk_to_myplex : url = https://plex.tv/pms/servers
13:33:19 T:41820   ERROR: C:\Users\mce\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\util\ssl_.py:100: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
                                              InsecurePlatformWarning
13:33:19 T:41820  NOTICE: PleXBMC.plex -> get_myplex_servers : Discovered myplex server Cascade <redacted>
13:33:19 T:41820  NOTICE: PleXBMC.plex -> get_myplex_servers : Discovered myplex server TheFatherMind-MB <redacted>
13:33:19 T:41820  NOTICE: PleXBMC.plex -> get_myplex_servers : Discovered myplex server qnap-eric-home <redacted>
13:33:19 T:41820  NOTICE: PleXBMC.plex -> discover_all_servers : MyPlex discovery completed
13:33:19 T:41820  NOTICE: PleXBMC.plex -> discover_all_servers : PleXBMC -> Settings hostname and port: 10.0.0.15 : 32400
13:33:19 T:41820  NOTICE: PleXBMC.plex -> merge_servers : merging server with uuid None
13:33:19 T:41820  NOTICE: PleXBMC.plexserver -> talk : URL is: /
13:33:19 T:41820  NOTICE: PleXBMC.plexserver -> talk : DOWNLOAD: It took 0.01 seconds to retrieve data from 10.0.0.15
13:33:19 T:41820  NOTICE: PleXBMC.plex -> discover_all_servers : PleXBMC -> serverList is: <redacted>
13:33:19 T:41820  NOTICE: PleXBMC -> Mode: 5
13:33:19 T:41820  NOTICE: PleXBMC -> URL: http://10.0.0.15:32400/library/metadata/112246
13:33:19 T:41820  NOTICE: PleXBMC -> Name:
13:33:19 T:41820  NOTICE: PleXBMC -> identifier: None
13:33:19 T:41820  NOTICE: PleXBMC.plexserver -> talk : URL is: /library/metadata/112246
13:33:19 T:41820  NOTICE: PleXBMC.plexserver -> talk : DOWNLOAD: It took 0.06 seconds to retrieve data from 10.0.0.15
13:33:19 T:41820  NOTICE: PleXBMC.plexserver -> processed_xml : PARSE: it took 0.00 seconds to parse data from 10.0.0.15
13:33:19 T:41820   ERROR: C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py:928: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
                                              if timings:
13:33:19 T:41820  NOTICE: PleXBMC.plexserver -> talk : URL is: /library/metadata/112238/children
13:33:19 T:41820  NOTICE: PleXBMC.plexserver -> talk : DOWNLOAD: It took 0.01 seconds to retrieve data from 10.0.0.15
13:33:19 T:41820  NOTICE: PleXBMC.plexserver -> processed_xml : PARSE: it took 0.00 seconds to parse data from 10.0.0.15
13:33:19 T:41820   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: global name 'url' is not defined
                                            Traceback (most recent call last):
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\default.py", line 13, in <module>
                                                plexbmc.start_plexbmc()
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py", line 4213, in start_plexbmc
                                                playLibraryMedia(param_url,force=force, override=play_transcode)
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py", line 1118, in playLibraryMedia
                                                playPlaylist(server, streams)
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py", line 1080, in playPlaylist
                                                url, item = trackTag(server, tree, track, listing = False)
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.plexbmc-4.0.0beta4\resources\lib\plexbmc.py", line 2195, in trackTag
                                                return ( url, details )
                                            NameError: global name 'url' is not defined
                                            -->End of Python script error report<--

Can anyone assist? at one point I had this working some time ago, but I can't determine when it failed and what caused it.
I have several client devices (between Android, FireStick and Windows 8.1) they all inhibit the same Script Failed error with PlexBMC Helper when trying to cast to them.
Some other side notes, in PlexBMC Helpers Config, I do have a different name then the Device name set.

Any assistance would be greatly appreciated.

Thank you.


Viewing all articles
Browse latest Browse all 346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>