PlexConnect.py quickly closes upon running

ATV 2 FIRMWARE

 

DNS and IP of PlexConnect device match - ###.###.20.99

Media Server (same as PlexConnect/PMS device) is a PC running Windows 7 Home Premium SP 1. Should be noted that the server itself is working fine - friends who I've shared with have access, as do I when I run PlexConnect from my Mac (something I'm wanting to get away from by using this PC as a dedicated Plex machine).

PMS 0.9.1101

PlexConnect Version - downloaded 30 mins ago

I don't have a settings.cfg file as I haven't been able to run the program let alone do a clean shutdown.

 

ISSUE: When I double-click PlexConnect.py, it quickly opens and immediately closes.

I also don't have a file name PlexConnet.log in the folder. I again assume it's because I haven't been able to do a clean shutdown. For the split second Python is open, I can see that it looks very similar to the feedback I'd receive when I use my Mac, but Python only remains open for half a second at most. I should also note that I have deleted everything and restarted the process only to get the same results. 

Any help or guidance is appreciated.

Sorry I don’t have advice but I’m interested to see the outcome of this as I had the same problem as this trying to install plexconnect on my brother inlaw’s windows 7 pc a while ago, we gave up in the end and used the plex iOS app with AirPlay, it’s a shame there’s nothing simple like openplex for windows !

try running plexconnect.py from a command window then you will see the actual error. 

ALso is a plexconnect.log file created you can post?

Sorry I don't have advice but I'm interested to see the outcome of this as I had the same problem as this trying to install plexconnect on my brother inlaw's windows 7 pc a while ago, we gave up in the end and used the plex iOS app with AirPlay, it's a shame there's nothing simple like openplex for windows !

Please do not hijack a thread as similar generic symptoms do not mean it is the same issue at all.

Read the sticky or the link in my signature which contains info on how to report a problem, if you can provide us the information in a new thread we will get you up and running with the minimal amount of frustration possible. :)

No log file to post. Here is what I get when I run the program via CMD.

 
C:\Program Files\PlexConnect-master>python PlexConnect.py
19:26:09 PlexConnect: ***
19:26:09 PlexConnect: PlexConnect
19:26:09 PlexConnect: Press CTRL-C to shut down.
19:26:09 PlexConnect: ***
19:26:09 Settings: add setting enable_plexgdm=True
19:26:09 Settings: add setting ip_pms=192.168.178.10
19:26:09 Settings: add setting port_pms=32400
19:26:09 Settings: add setting enable_dnsserver=True
19:26:09 Settings: add setting port_dnsserver=53
19:26:09 Settings: add setting ip_dnsmaster=8.8.8.8
19:26:09 Settings: add setting prevent_atv_update=True
19:26:09 Settings: add setting enable_plexconnect_autodetect=True
19:26:09 Settings: add setting ip_plexconnect=0.0.0.0
19:26:09 Settings: add setting hosttointercept=trailers.apple.com
19:26:09 Settings: add setting port_webserver=80
19:26:09 Settings: add setting enable_webserver_ssl=True
19:26:09 Settings: add setting port_ssl=443
19:26:09 Settings: add setting certfile=./assets/certificates/trailers.pem
19:26:09 Settings: add setting loglevel=Normal
19:26:09 Settings: add setting logpath=.
Traceback (most recent call last):
  File "PlexConnect.py", line 186, in
    running = startup()
  File "PlexConnect.py", line 60, in startup
    cfg = Settings.CSettings()
  File "C:\Program Files\PlexConnect-master\Settings.py", line 60, in __init__
    self.checkSection()
  File "C:\Program Files\PlexConnect-master\Settings.py", line 102, in checkSect
ion
    self.saveSettings()
  File "C:\Program Files\PlexConnect-master\Settings.py", line 71, in saveSettin
gs
    f = open(self.getSettingsFile(), 'wb')
IOError: [Errno 13] Permission denied: 'C:\\Program Files\\PlexConnect-master\\S
ettings.cfg'

 

No need for anymore help - I figured out my issue - permissions weren't properly set. Thanks for trying to help.

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