I can't enter PlexConnect settings

I am on the latest git of PlexConnect running in Terminal on my mac. Several days ago i noticed I could no longer even go to the settings section of PlexConnect. When i highlight settings in the top bar Terminal reads as follows...

 

23:07:39 ATVLogger: loadItem: Settings
23:07:39 WebServer: serving .xml: /
----------------------------------------
Exception happened during processing of request from ('10.0.1.106', 53708)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 310, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 639, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 343, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 331, in handle_one_request
  File "/PlexConnect/WebServer.py", line 147, in do_GET
    XML = XMLConverter.XML_PMS2aTV(self.client_address, self.path, options)
  File "/PlexConnect/XMLConverter.py", line 446, in XML_PMS2aTV
    dprint(__name__, 1, XML_prettystring(aTVTree))
  File "/PlexConnect/XMLConverter.py", line 88, in XML_prettystring
    return(etree.tostring(XML.getroot()))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1121, in tostring
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 815, in write
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 932, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1068, in _escape_cdata
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 6: ordinal not in range(128)
 
 
 
Everything worked fine and now this.
 
I can access and watch all of my media, but settings is dead.
 
Any ideas?

I have the same problem

Please show your ATVSettings.cfg content...

  • I'm having the same issue. Here are my details.

  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): ATV3 5.3 (6105)

  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 192.168.1.12

  • The device and operating system (including version number) that PlexConnect is installed on: Mac Mini 2010 OSX 10.8.4

  • The local IP address of the device that PlexConnect is installed on: 192.168.1.12

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Mac Mini 2010 OSX 10.8.4

  • The Plex media server (PMS) version number you are running (**do not put 'latest'**): Plexpass 9.8.4

  • The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.12

  • The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any testing branch e.g. the Elan/PlexInc one. Git 31 July 19:50 GMT

  • The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update)

  • PlexConnect]

  • ip_pms = 192.168.178.10

  • enable_dnsserver = True
    ip_webserver = 0.0.0.0
    enable_plexconnect_autodetect = True
    port_pms = 32400
    port_webserver = 80
    ip_plexconnect = 0.0.0.0
    ip_dnsmaster = 8.8.8.8
    loglevel = Normal
    logpath = .
    enable_plexgdm = True
 
Plex Connect Terminal Script:
 
Exception happened during processing of request from ('192.168.1.9', 51033)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 310, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 639, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 343, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 331, in handle_one_request
  File "/Users/alastairhardisty/Desktop/Plex Connect/PlexConnect-XML_templates/WebServer.py", line 147, in do_GET
    XML = XMLConverter.XML_PMS2aTV(self.client_address, self.path, options)
  File "/Users/alastairhardisty/Desktop/Plex Connect/PlexConnect-XML_templates/XMLConverter.py", line 446, in XML_PMS2aTV
    dprint(__name__, 1, XML_prettystring(aTVTree))
  File "/Users/alastairhardisty/Desktop/Plex Connect/PlexConnect-XML_templates/XMLConverter.py", line 88, in XML_prettystring
    return(etree.tostring(XML.getroot()))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1121, in tostring
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 815, in write
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 934, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 932, in _serialize_xml
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1068, in _escape_cdata
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 8: ordinal not in range(128)
 
On attempting to enter plex connect settings within the trailer app you get a "connecting to trailers" display which continues until you escape back using the menu button. Playback of movies/tv shows and channels work fine.
I had no issue getting into settings until after updating to yesterdays plexconnect script. 
 
Hope this helps you pinpoint the problem.
 
Al

As Baa said in his last post, please show the content of your ATVSetting.cfg file.

Sorry.

Here you go....

[DEFAULT]
movies_navbar_decades = checked
showplayerclock = True
forcedirectplay = False
tv_navbar_unwatched = checked
movies_navbar_directors = checked
subtitlesize = 100
tv_navbar_genres = checked
pms_uuid = *
movies_navbar_more = checked
forcetranscode = False
movieview = Grid
movies_navbar_unwatched = checked
showview = List
movies_navbar_actors = checked
showendtime = True
tv_navbar_more = checked
audioboost = 100
transcodequality = 1080p 40.0Mbps
seasonview = List
showunwatched = True
movies_navbar_collections = checked
timeformat = 24 Hour
actorview = Movies
movies_navbar_genres = checked
 
[C07KM1PLFF54]
movieview = List
subtitlesize = 75
seasonview = Coverflow
showview = List
pms_uuid = 0d17bef2c467aafc36a4a814df9e1c511df8ca51
 
[007]
pms_uuid = 0d17bef2c467aafc36a4a814df9e1c511df8ca51

Do you have any foreign (non ASCII) characters in the name of your Plex Media Server?

I think it's called: 

Alastair's Mac Mini

Is the apostrophe a problem?

Al 

May be, in the PMS web interface under general settings change the friendly name and try it again, you may need to restart both PMS and PlexConnect. Thanks.

Yep, Roidy... this is what I was going for :-)

0xe2 seems to be the "circumflex"... any thing like that in your PMS name?

-'- is like 39 (dec).

Thanks. That sorted it. Got rid of the apostrophe. Restarted PMS and plex connect. Settings back online.

Great support.

Thanks again.

Al

That’s odd, because I’ve just tried both types of apostrophe in my media server name ` and ’ and they both work fine… Very strange, we’ll need to investigate this further.

What exactly was your PMS name?

...might be affected by the OS of the Host as well.

Ok Baa can you try both apostrophes then it will have been tested under Windows and OSX.

 

Hi,

Sorry, had to go collect the twins from nursery.

My PMS name was "Alastair's Mac Mini"

Is now "Mac Mini"

The only other thing i changed today (without checking to see if the settings problem had changed) was moving to the new 0.9.8.4 PMS from 0.9.8.3

I can try to regress back to my previous PMS version, PMS name etc to see if we can get the issue to recur?

Al

May be, in the PMS web interface under general settings change the friendly name and try it again, you may need to restart both PMS and PlexConnect. Thanks.

Removing the apostrophe worked for me as well

Hi,

I have the same problem (can't enter settings).

I dont have any ATVSetting.cfg file in PlexConnect folder so i cant post it.

My server name is "Håkans Mac mini".

It was working until the latest version of PlexConnect.

Sorry for the my bad english, i am from Sweden.

Any advise what to do?

Change the name of the Plex Server to remove the punctuation from Hakan, at least until a fix.

å

If you get rid of this character from your server name it should work fine.

Al