PlexConnect.py crash at cfg = Settings.CSettings()

Hey all, I was just wondering if anyone has seen PlexConnect fail at cfg = Settings.CSettings() in the PlexConnect.py file.

 

I found through the use of print statements and sleep that the crash occurs at the line of cfg= Settings.Settings(). Below is excerpt of the file I modified for troubleshooting.

 

def startup():

    global procs
    global pipes
    global param
    global running
 
    dprint('PlexConnect', 0, "I made it here!")
    time.sleep(3)
    # Settings
    cfg = Settings.CSettings()
    dprint('PlexConnect', 0, "but i did not make here :( ")
    time.sleep(3)
    param['CSettings'] = cfg
 
![post-317813-0-28097800-1422064030.png|437x151](upload://sDsK50u1drdE8CETzGJi8FbCSzr.png)
 
I am running on windows server 2012 r2 and python 2.7.
 
I hope i didn't miss anything silly in the instructions but i have read them a few times and done many google searches with no issues that matched exactly mine. I have a feeling it is going to be something where windows server 2012 is blocking the code execution to "protect me" but I am not sure where to disable that. I did find that when going to properties of the file, it said that the file is from another computer and is being blocked but I removed the block on that file but still crashes in the same place.
 
If anyone has any ideas and possibly log location, please let me know!
 
Thanks!

Im not to farmiliar with server 2012 but does this help?

https://forums.plex.tv/topic/141840-howto-plexconnect-on-server-2012-r2-essentials-with-icons/

Thanks Wahlman! While reading the link in that post I saw them say something about the settings file being created and it dawned on me that it might not be able to create files in that directory. I changed install directories, and voila!

Thanks for the input!

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