PlexConnect/Python Error - please help

Please help, i cannot get python/plexconnect to run

 

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. 

 

 

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):
  File "plexconnect.py", line 171, in
    running = startup()
  File "plexconnect.py", line 81, in startup
    master, slave = Pipe()  # endpoint [0]-PlexConnect, [1]-DNSServer
  File "C:\Python27\lib\multiprocessing\__init__.py", line 107, in Pipe
    return Pipe(duplex)
  File "C:\Python27\lib\multiprocessing\connection.py", line 223, in Pipe
    1, obsize, ibsize, win32.NMPWAIT_WAIT_FOREVER, win32.NULL
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect
 
C:\Python27>
 
 
thanks, im stuck. what am I missing?

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.

https://github.com/iBaa/PlexConnect/wiki/Install-Guide

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?

https://github.com/iBaa/PlexConnect/wiki/Install-Guide
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?


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 ;)

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

"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

thanks for the info I will try again!

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

???  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?  but which file is the source of the issue?

Traceback (most recent call last):
  File "plexconnect.py", line 171, in
    running = startup()
  File "plexconnect.py", line 81, in startup
    master, slave = Pipe()  # endpoint [0]-PlexConnect, [1]-DNSServer
  File "C:\Python27\lib\multiprocessing\__init__.py", line 107, in Pipe
    return Pipe(duplex)
  File "C:\Python27\lib\multiprocessing\connection.py", line 223, in Pipe
    1, obsize, ibsize, win32.NMPWAIT_WAIT_FOREVER, win32.NULL
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect

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.  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

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....

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.

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

hmmm let me check my path statement in full

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

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