# PlexConnect/Python Error - please help

**URL:** <https://forums.plex.tv/t/plexconnect-python-error-please-help/60084>\
**Category:** Apps & Creations\
**Created:** [March 13, 2014, 7:33am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084 "2014-03-13T07:33:43Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 13, 2014, 7:33am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/1 "2014-03-13T07:33:43Z")

</div>

Please help, i cannot get python/plexconnect to run

&nbsp;

I am using windows 7 64 bit.

downloaded latest plexconnect and python 2.7.6

cert installed in windows and on ATV3

ATV3 DNS set to PMS ip

windows firewall opened for python.exe

tried uninstalling/reinstalling python

the 3 cert files are in c:\python27\assets\certificates

I have read about 20 install guides now.&nbsp;

&nbsp;

&nbsp;

C:\Python27\>python plexconnect.py

00:27:07 PlexConnect: \*\*\*

00:27:07 PlexConnect: PlexConnect

00:27:07 PlexConnect: Press CTRL-C to shut down.

00:27:07 PlexConnect: \*\*\*

00:27:07 PlexConnect: started: 00:27:07

00:27:07 PlexConnect: Version: 0.3.1+

00:27:07 PlexConnect: Python: 2.7.6 (default, Nov 10 2013, 19:24:24) [MSC v.1500 64 bit (AMD64)]

00:27:07 PlexConnect: Host OS: win32

00:27:07 PlexConnect: IP\_self: 192.168.1.200

Traceback (most recent call last):

&nbsp; File "plexconnect.py", line 171, in 

&nbsp; &nbsp; running = startup()

&nbsp; File "plexconnect.py", line 81, in startup

&nbsp; &nbsp; master, slave = Pipe() &nbsp;# endpoint [0]-PlexConnect, [1]-DNSServer

&nbsp; File "C:\Python27\lib\multiprocessing\_\_init\_\_.py", line 107, in Pipe

&nbsp; &nbsp; return Pipe(duplex)

&nbsp; File "C:\Python27\lib\multiprocessing\connection.py", line 223, in Pipe

&nbsp; &nbsp; 1, obsize, ibsize, win32.NMPWAIT\_WAIT\_FOREVER, win32.NULL

WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect

&nbsp;

C:\Python27\>

&nbsp;

&nbsp;

thanks, im stuck. what am I missing?

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [March 13, 2014, 12:52pm UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/2 "2014-03-13T12:52:10Z")

</div>

Did you follow the official guide on the wiki (linked in the sticky)? We only support that guide as most other guides are wrong or out of date. Make sure you delete the cert profile off the ATV if you create new ones and try and load them on.

---

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 13, 2014, 3:13pm UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/3 "2014-03-13T15:13:38Z")

</div>

[https://github.com/iBaa/PlexConnect/wiki/Install-Guide](https://github.com/iBaa/PlexConnect/wiki/Install-Guide)

[https://forums.plex.tv/topic/69410-read-before-posting/](https://forums.plex.tv/topic/69410-read-before-posting/)

Hi yes thanks for the reply, I found it to be completely missing the part about editing the python script settings, among other items i noticed in other guides.

But i think i have somesort of python error rather....any suggestions?

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [March 13, 2014, 4:13pm UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/4 "2014-03-13T16:13:05Z")

</div>

> [https://github.com/iBaa/PlexConnect/wiki/Install-Guide](https://github.com/iBaa/PlexConnect/wiki/Install-Guide)  
> [https://forums.plex.tv/topic/69410-read-before-posting/](https://forums.plex.tv/topic/69410-read-before-posting/)  
> &nbsp;  
> &nbsp;  
> Hi yes thanks for the reply, I found it to be completely missing the part about editing the python script settings, among other items i noticed in other guides.  
> &nbsp;  
> But i think i have somesort of python error rather....any suggestions?

  
If you edited the Python script then you broke it!  
Remove everything and start again with the official wiki guide written and maintained by the developers of the application ;)  
Don't trust stuff you read on the internet ;)

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [March 13, 2014, 5:55pm UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/5 "2014-03-13T17:55:07Z")

</div>

I found it to be completely missing the part about editing the python script settings, among other items i noticed in other guides.

-\> [https://github.com/iBaa/PlexConnect/wiki/Settings-for-advanced-use-and-troubleshooting](https://github.com/iBaa/PlexConnect/wiki/Settings-for-advanced-use-and-troubleshooting)

" **Do not edit the Settings.py file, this is a system file!"**

Somewhat funny, isn't it?

PS: Don't trust those "other guides"... often they are just outdated, sometimes they just don't know what they are talking about. :-D

---

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 14, 2014, 1:12am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/6 "2014-03-14T01:12:38Z")

</div>

thanks for the info I will try again!

---

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 14, 2014, 1:36am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/7 "2014-03-14T01:36:30Z")

</div>

yeah, just uninstalled everything, rebooted and tried again exact verbatim even the same install folders as listed, i get the same error, plexconnect.py just errors out and quits

??? &nbsp;is it a path problem?

im trying to diagnose the error message, unfotunatly i don't know python at all....... looks like a file name or path error? &nbsp;but which file is the source of the issue?

Traceback (most recent call last):

&nbsp; File "plexconnect.py", line 171, in 

&nbsp; &nbsp; running = startup()

&nbsp; File "plexconnect.py", line 81, in startup

&nbsp; &nbsp; master, slave = Pipe() &nbsp;# endpoint [0]-PlexConnect, [1]-DNSServer

&nbsp; File "C:\Python27\lib\multiprocessing\_\_init\_\_.py", line 107, in Pipe

&nbsp; &nbsp; return Pipe(duplex)

&nbsp; File "C:\Python27\lib\multiprocessing\connection.py", line 223, in Pipe

&nbsp; &nbsp; 1, obsize, ibsize, win32.NMPWAIT\_WAIT\_FOREVER, win32.NULL

WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect

---

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 14, 2014, 2:14am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/8 "2014-03-14T02:14:43Z")

</div>

so i just tried everything again on a 32bit windows 7 laptop and it seems to work there.

Not sure if this helps anyone but the trouble seems to either be 64bit windows 7/python 64 install, or DNS server.

the only thing I did different is used a 32bit windows and 32 bit python 2.7.6 installer.

also, my 32 bit laptop does not have VMware Workstation installed, and I had read somewhere that that my cause the DNS server conflict.

I can see now by the working 32bit system that my 64 bit rig is failing at the DNSSERVER section of the plexconnect.py script. &nbsp;Don't know if this has to do with VMWare, but I shut off all the VMW services and still get the same error.

stay tuned, thanks for the info guys

---

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 14, 2014, 2:31am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/9 "2014-03-14T02:31:48Z")

</div>

now tried 32 bit python 2.7.6 install on 64 bit machine, same issue :\<

so i guess that narrows my problem down to my 64bit windows install or a DNS/VMware workstation issue....

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [March 14, 2014, 6:53am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/10 "2014-03-14T06:53:48Z")

</div>

This is strange, I have enver seen it before.

A quick google search seems to indicate that the issue indeed is somehow caused by strange path/directory names...

From you first log... do you have PlexConnect living in c:\python27 as well?

Typically - and that might be a different between your Win32/Win64 machines - python is installed with a link in the PATH environment variable. You would then call python PlexConnnect.py from the application's directory, not from c:\python27.

---

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 15, 2014, 2:31am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/11 "2014-03-15T02:31:44Z")

</div>

> This is strange, I have enver seen it before.
> 
> A quick google search seems to indicate that the issue indeed is somehow caused by strange path/directory names...
> 
> From you first log... do you have PlexConnect living in c:\python27 as well?
> 
> Typically - and that might be a different between your Win32/Win64 machines - python is installed with a link in the PATH environment variable. You would then call python PlexConnnect.py from the application's directory, not from c:\python27.

Hi i have tried putting the PlexConnect-master folder in both c:\python27 and in c:\Program Files(x86) and coping the folder contents into c:\python27 and running it from all places. same error.... :\<

I think im going to just build another box, its gotta be something localized to this 64bit machine

---

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 15, 2014, 2:32am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/12 "2014-03-15T02:32:19Z")

</div>

hmmm let me check my path statement in full

---

<div class="post-metadata">

**Author:** ![lagunacomputer](https://avatars.discourse-cdn.com/v4/letter/l/7993a0/32.png) [@lagunacomputer](https://forums.plex.tv/u/lagunacomputer)\
**Post date:** [March 15, 2014, 2:34am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/13 "2014-03-15T02:34:48Z")

</div>

seems my PATH is correct, it has an entry pointing to c:\python27, same error

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 21, 2019, 1:32am UTC](https://forums.plex.tv/t/plexconnect-python-error-please-help/60084/14 "2019-12-21T01:32:42Z")

</div>

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