PleXBMC on Raspberry PI: Script Failure

Noob question concerning accessing a remote plex server via the PleXBMC addon to my Raspberry PI.  A friend of mine recently

gave me access to his remote Plex server which has been online for several months.  I'm trying to access it from my Raspberry PI

using the PleXBMC addon.

 

My set up:  PleXBMC 3.4.5

/home/xbian/.xbmc/userdata/addon_data/plugin.video.plexbmc/settings/xml:  
SSH tunnel from localhost:32400 to :32400

 

When PleXBMC tries to connect to it receives an XLM file from the remote server and then bombs out with an exception:

 

===========================================================================================================

10:06:51 T:2608854080  NOTICE: PleXBMC -> getURL: ====== XML returned =======
10:06:51 T:2608854080  NOTICE: <?xml version="1.0" encoding="UTF-8"?>
                                           
                                           
                                           
                                           
                                           
                                           
                                           
                                           
                                           
                                           
                                           
                                           
                                           
                                           
                                           
10:06:51 T:2608854080  NOTICE: PleXBMC -> getURL: ====== XML finished ======
10:06:51 T:2608854080   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type:
                                            Error Contents: 'NoneType' object is not callable

                                            Traceback (most recent call last):
                                              File "/home/xbian/.xbmc/addons/plugin.video.plexbmc-3.4.5/default.py", line 5306, in
                                                displaySections()
                                              File "/home/xbian/.xbmc/addons/plugin.video.plexbmc-3.4.5/default.py", line 1180, in displaySections
                                                ds_servers=discoverAllServers()
                                              File "/home/xbian/.xbmc/addons/plugin.video.plexbmc-3.4.5/default.py", line 307, in discoverAllServers
                                                local_server = getLocalServers(das_host, das_port)
                                              File "/home/xbian/.xbmc/addons/plugin.video.plexbmc-3.4.5/default.py", line 411, in getLocalServers
                                                server=etree.fromstring(html)
                                              File "", line 123, in XML
                                            TypeError: 'NoneType' object is not callable
                                            -->End of Python script error report
============================================================================================================

Since I'm such a noob that I'm not even sure if what I'm doing is the proper way to remotely access his server or not, so any help

with my set up or the actual exception that I am seeing would be greatly appreciated.

 

George

 

 

i have been running plexbmc 3.0.0 on my raspi for a couple weeks. I have recently updated my plex server to 0.9.9.7. Since doing so I am getting the same error in my log: 

23:07:13 T:2715808832   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type:
                                            Error Contents: 'NoneType' object is not callable
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/plugin.video.plexbmc-3.4.5/default.py", line 5306, in
                                                displaySections()
                                              File "/home/pi/.xbmc/addons/plugin.video.plexbmc-3.4.5/default.py", line 1180, in displaySections
                                                ds_servers=discoverAllServers()
                                              File "/home/pi/.xbmc/addons/plugin.video.plexbmc-3.4.5/default.py", line 307, in discoverAllServers
                                                local_server = getLocalServers(das_host, das_port)
                                              File "/home/pi/.xbmc/addons/plugin.video.plexbmc-3.4.5/default.py", line 411, in getLocalServers
                                                server=etree.fromstring(html)
                                              File "", line 123, in XML
                                            TypeError: 'NoneType' object is not callable
                                            -->End of Python script error report<--
 
 
I am also a novice with xbmc/python and would love any insight on this error response as well.

Abestat2,

Finally able to fix PleXBM. There is a beta app and helper that have been out for a week or so that does the trick. You will need to manually download and install as follows:

Uninstall plex helper

Uninstall plexbmc

Manually delete the plexbmc repository

Download and install latest plexbmc:

https://github.com/hippojay/plugin.video.plexbmc/releases

Download and install latest helper:

https://github.com/hippojay/script.plexbmc.helper/releases



If you don’t get rid of the repo, your PI will likely just auto install the official released versions over the beta foxes.


Good Luck!

Thanks George!! That did the trick!

Can you please advise how to install the beta?

Thanks

Using the menu that XBMC shows on your TV, you can find an option to install from zip file from:

System

Settings

Add-Ons

Install from ZIP file

From there you will need to navigate to the directory where you saved the zip files and then click OK to install them.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.