No module named plexconnect

Hi All,

 

Before posting I searched google and as well this forum and no where I could find an post describing how to resolve below error. Therefore I am posting the issues and seeking your help. I am getting this No module named plexconnect and unable to get it started. 

Thanks in advance for your help !

 

C:\Temp\PlexC\PlexConnect-XML_templates>C:\Python27\python plexconnect.py

21:02:45 PlexConnect: started: 21:02:45

21:02:45 PlexConnect: ***

21:02:45 PlexConnect: PlexConnect

21:02:45 PlexConnect: Press ENTER to shut down.

21:02:45 PlexConnect: ***

21:02:45 Settings: add section PlexConnect

21:02:45 Settings: add option port_pms=32400

21:02:45 Settings: add option enable_plexgdm=True

21:02:45 Settings: add option ip_dnsmaster=192.168.1.14

21:02:45 Settings: add option ip_webserver=0.0.0.0

21:02:45 Settings: add option loglevel=Normal

21:02:45 Settings: add option enable_dnsserver=True

21:02:45 Settings: add option ip_pms=192.168.1.14

21:02:45 Settings: add option port_webserver=80

21:02:45 PlexConnect: IP_self: 192.168.1.14

21:02:45 PlexConnect: started: 21:02:45

Traceback (most recent call last):

  File "", line 1, in

  File "C:\Python27\lib\multiprocessing\forking.py", line 380, in main

    prepare(preparation_data)

  File "C:\Python27\lib\multiprocessing\forking.py", line 489, in prepare

    file, path_name, etc = imp.find_module(main_name, dirs)

ImportError: No module named plexconnect

21:02:45 PlexConnect: DNSServer not alive. Shutting down.

 

 

 

  • Your ATV model (2 or 3) and firmware version (found under the ATV settings > general > about > Apple TV software): ATV3 running 5.2
  • The DNS server set on the ATV (found under the ATV settings > general > network > DNS): 192.168.1.14
  • The device and operating system (including version number) that PlexConnect is installed on: PC Windows 7
  • The local IP address of the device that PlexConnect is installed on: 192.168.1.14
  • The device and operating system (including version number) that the Plex media server (PMS) is installed on:  PC Windows 7
  • The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.1.14
  • Where your media is stored (e.g. internal drive): None
  • 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. The latest from this link in the wiki https://github.com/i...L_templates.zip downloaded 2013-Jul-02
  • The content of your 'Settings.cfg' file (if you do not have this file you are running an old version, please update)

[PlexConnect]

port_pms = 32400

enable_plexgdm = True

ip_pms = 192.168.1.14

ip_dnsmaster = 8.8.8.8  (I tried with 192.168.1.1 & 192.168.1.14 as well, same results)

enable_dnsserver = True

If I use the PlexConnect-0.1-iOS-pre5.1 based install set I get the below error 

C:\Python27\PlexConnect-0.1-iOS-pre5.1>C:\Python27\python plexconnect.py
21:36:26 PlexConnect: started: 21:36:26
21:36:26 PlexConnect: ***
21:36:26 PlexConnect: PlexConnect
21:36:26 PlexConnect: Press ENTER to shut down.
21:36:26 PlexConnect: ***
21:36:26 PlexConnect: IP_self: 192.168.1.14
21:36:26 PlexConnect: started: 21:36:26
21:36:26 PlexGDM: ***
21:36:26 PlexGDM: looking up Plex Media Server
21:36:26 PlexGDM: ***
21:36:27 PlexGDM: servers discovered: 1
21:36:27 PlexConnect: PMS: 192.168.1.14:32400
Traceback (most recent call last):
  File "", line 1, in
  File "C:\Python27\lib\multiprocessing\forking.py", line 380, in main
    prepare(preparation_data)
  File "C:\Python27\lib\multiprocessing\forking.py", line 489, in prepare
    file, path_name, etc = imp.find_module(main_name, dirs)
ImportError: No module named plexconnect
21:36:27 PlexConnect: DNSServer not alive. Shutting down.

21:02:45 Settings: add option ip_webserver=0.0.0.0

You haven't set the IP of the webserver in the settings file, I don't think that would cause this issue, but may cause other issues.

Edit: And just to confirm, you have all the PlexConnect files stored in the same folder?

C:\Temp\PlexC\PlexConnect-XML_templates>C:\Python27\python plexconnect.py

That is throwing me off for some reason, what is the location of the PlexConnect files?

Edit: Ah I get it I think, the PlexConnect files are stored at C:\Temp\PlexC and Python installed/running from C:\python27

ip_webserver = 0.0.0.0 is fine - as long as you don't have the need to bind a specific IP.

ADD:
Do you need to run python specifying the path (C:\python27\)? Any chance to put that into your PATH?

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