Latest commit (Oct 26th, 2013) not letting me into All Movies?

  • Your ATV model: ATV3 5.3 (6105)

  • The DNS server set on the ATV: 192.168.2.11

  • The device and operating system (including version number) that PlexConnect is installed on: Windows XP Version 2002 Service Pack 3

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

  • The device and operating system (including version number) that the Plex media server (PMS) is installed on: Windows XP Version 2002 Service Pack 3

  • The Plex media server (PMS) version number you are running: PMS 0.9.8.4.125-ffe2a5d

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

  • PlexConnect version number: using official PlexConnect, folder creation date October 26, 2013, 6:26:59 PM

  • Settings.cfg file:

    [PlexConnect]

    logpath = .
    enable_dnsserver = True
    ip_webserver = 0.0.0.0
    prevent_atv_update = True
    port_dnsserver = 53
    enable_plexconnect_autodetect = True
    port_pms = 32400
    port_webserver = 80
    ip_plexconnect = 0.0.0.0
    certfile = ./assets/certificates/trailers.pem
    ip_dnsmaster = 8.8.8.8
    loglevel = High
    ip_pms = 192.168.178.10
    enable_plexgdm = True
    port_ssl = 443
  •  
  • Detail on the media file if it is an issue related to playing a media file: N/A

  • A detailed description of the issue: After implementing the latest version of PlexConnect, it seems that at the All Movies section the Accessing Trailers message seems to never go away. The On Deck section and all of it's sibling sections below work fine, however All Movies appears to be at first blush, broken.

Ensure you post your 'PlexConnect.log' file: Warning! for some reason log file is 22 MB big http://goo.gl/VX6lis

Works here... log looks fine at the first glance. However, I don't really understand the sheer mass of "20:48:57 XMLConverter: XML_ExpandNode: None - done" lines coming out.

Would you please try to use another view option for a test, you are using LIST currently. I wonder if there is a aTV limitation on the number of menu entries (you do have quite a long list there...).

Works here... log looks fine at the first glance. However, I don't really understand the sheer mass of "20:48:57 XMLConverter: XML_ExpandNode: None - done" lines coming out.

Would you please try to use another view option for a test, you are using LIST currently. I wonder if there is a aTV limitation on the number of menu entries (you do have quite a long list there...).

Good news Baa, your advice was spot on. By switching to the Grid view I was able to access All Movies, and then when I switched back the problem replicated. The link for my PlexConnect.log has been updated to the newest iteration, and if you have an interest have a look at the results. I do prefer List to Grid (mostly because my wife prefers List over Grid), however access over no access every time. ;-)

As always, thank you for your fast responses to my questions, you and your team are incredible. 

GeoffKennedy, what was the last version of PlexConnect that worked without this problem? Could you go back to each older commit in order and see when it starts working again, this will give us a point of reference as to when the problem first occurred.

I wonder if there is a aTV limitation on the number of menu entries (you do have quite a long list there...).


I don't think so, the apple sample xml has a file called k66-stress-test.xml that contains 10000 menu items that works fine, GeoffKennedy only has about 1700 items in his list.

The bug might still be related to length of list though. I switched my Movie settings to List and it loads fine, but I only have 150 films.

Looking at his log file the problem could be:-

Line 307084:- 13:36:46 XMLConverter: XML_ExpandLine - Error in {{VAL(title)}}

Or this python error:-
 

Traceback (most recent call last): File 
"C:\PlexConnect\PlexConnect-master\XMLConverter.py", line 587, in XML_ExpandLine 
res = getattr(g_CommandCollection, 'ATTRIB_'+cmd)(src, srcXML, param) File 
"C:\PlexConnect\PlexConnect-master\XMLConverter.py", line 863, in ATTRIB_VAL 
key, leftover, dfltd = self.getKey(src, srcXML, param) File 
"C:\PlexConnect\PlexConnect-master\XMLConverter.py", line 645, in getKey attrib, 
leftover = self.getParam(src, param) File 
"C:\PlexConnect\PlexConnect-master\XMLConverter.py", line 641, in getParam 
dprint(__name__, 2, "CCmds_getParam: {0}, {1}", param, leftover) File 
"C:\PlexConnect\PlexConnect-master\Debug.py", line 69, in dprint f = 
open(g_logfile, 'a') IOError: [Errno 13] Permission denied: 
'C:\\PlexConnect\\PlexConnect-master\\.\\PlexConnect.log'

 A problem writing to his log file? Could be that his log file has grown to large? 25Mb is ridiculous for a log file.

I noted last week that the log file doesn’t have the correct permissions when you download the zip file. I always have to change permission of the file in order to read the log.

GeoffKennedy, what was the last version of PlexConnect that worked without this problem? Could you go back to each older commit in order and see when it starts working again, this will give us a point of reference as to when the problem first occurred.

I'm unsure how to go about getting a version of PlexConnect from anywhere other than: https://github.com/iBaa/PlexConnect

I can tell you that it was two weekends ago... Does that help?

I noted last week that the log file doesn't have the correct permissions when you download the zip file. I always have to change permission of the file in order to read the log.


Umm... There is no log file in the zip. It's created by PlexConnect. Strange.
 

I'm unsure how to go about getting a version of PlexConnect from anywhere other than: https://github.com/iBaa/PlexConnect
I can tell you that it was two weekends ago... Does that help?


Not really :) You can download older versions by selecting Commits from the github page then press "Browse Code" on the version you want to download, this will take you to what looks like the normal github main page but for the older version, then just download the zip as normal. Tracing the problem would be much easier if we knew exactly which version broke it, sorry I know it's a pain to try them all :)

I noted last week that the log file doesn't have the correct permissions when you download the zip file. I always have to change permission of the file in order to read the log.

Is that something on my end? I'm really sorry for the n00b question but I just thought I'd ask.

Looking at his log file the problem could be:-

Line 307084:- 13:36:46 XMLConverter: XML_ExpandLine - Error in {{VAL(title)}}

Or this python error:-
 

Traceback (most recent call last): File 
"C:\PlexConnect\PlexConnect-master\XMLConverter.py", line 587, in XML_ExpandLine 
res = getattr(g_CommandCollection, 'ATTRIB_'+cmd)(src, srcXML, param) File 
"C:\PlexConnect\PlexConnect-master\XMLConverter.py", line 863, in ATTRIB_VAL 
key, leftover, dfltd = self.getKey(src, srcXML, param) File 
"C:\PlexConnect\PlexConnect-master\XMLConverter.py", line 645, in getKey attrib, 
leftover = self.getParam(src, param) File 
"C:\PlexConnect\PlexConnect-master\XMLConverter.py", line 641, in getParam 
dprint(__name__, 2, "CCmds_getParam: {0}, {1}", param, leftover) File 
"C:\PlexConnect\PlexConnect-master\Debug.py", line 69, in dprint f = 
open(g_logfile, 'a') IOError: [Errno 13] Permission denied: 
'C:\\PlexConnect\\PlexConnect-master\\.\\PlexConnect.log'

 A problem writing to his log file? Could be that his log file has grown to large? 25Mb is ridiculous for a log file.

That might have actually just been me tiring of waiting for Ctrl+C to close out the PlexConnect.

Is that something on my end? I'm really sorry for the n00b question but I just thought I'd ask.


I don't think so because PlexConnect had no problems writing to the log file until right at the very end. Plus you're running under Windows, the permission problem seems to be limited to Linux and Mac.

That might have actually just been me tiring of waiting for Ctrl+C to close out the PlexConnect.


lol... In that case could you quit PlexConnect, delete your log file, run PlexConnect again, recreate the error, properly shut down PlexConnect and then repost the log file.

Umm... There is no log file in the zip. It's created by PlexConnect. Strange.
 

Not really :) You can download older versions by selecting Commits from the github page then press "Browse Code" on the version you want to download, this will take you to what looks like the normal github main page but for the older version, then just download the zip as normal. Tracing the problem would be much easier if we knew exactly which version broke it, sorry I know it's a pain to try them all :)

Sees like the least I could do considering you guys are willing to try and find the problem. Please don't lose patience with me if I don't get this done in an hour. My wife is on a binge of "Scandal" and wouldn't want to interrupt that. If I run into confusion in your next steps, stay posted for questions?

Okay guys, I will do this all again cleanly with a proper log file. In addition I will try to find which version is the cause. 

Ok, if you can find the exact version of PlexConnect where the problem started that would be great, I probably wont get back to you until tomorrow, it’s getting late in the UK :slight_smile:

Umm... There is no log file in the zip. It's created by PlexConnect. Strange.
 

Not really :) You can download older versions by selecting Commits from the github page then press "Browse Code" on the version you want to download, this will take you to what looks like the normal github main page but for the older version, then just download the zip as normal. Tracing the problem would be much easier if we knew exactly which version broke it, sorry I know it's a pain to try them all :)

On the fence here about something. Every time I set the log to High from Normal, I can't officially close PlexConnect with Ctrl+C. Do you want to look at log files that are from my settings at Normal?

Hey guys, I went back 6 commits and started losing the stomach for it. I will switch from List to Grid for Movie options since it works, but it's really not what I'd prefer. Let me know if you are interested in looking at anything. 

Big time thanks for the immediate help and tips. 

Hey guys, I went back 6 commits and started losing the stomach for it. I will switch from List to Grid for Movie options since it works, but it's really not what I'd prefer. Let me know if you are interested in looking at anything.

Big time thanks for the immediate help and tips.


I can recreate this so I will find when it breaks.
A tip though Geoff, if you jump back e.g 10 commits at a time find when it works, then jump halfway between that and the previous, repeat, you would have probably found it in less than 6 attempts ;)