Senophyx / Discord-RPC

An Python wrapper for Discord RPC
https://pypi.org/project/discord-rpc
MIT License
26 stars 9 forks source link

Failed to open '\\\\?\\pipe\\discord-ipc-0': [Errno 2] No such file or directory: '\\\\?\\pipe\\discord-ipc-0' #29

Closed VS3CT closed 4 months ago

VS3CT commented 4 months ago

I'm aware this is only an error you'd see if you aren't on Linux, and as said on another issue, I tried other versions but it still returned the same error. I'm on windows btw

Senophyx commented 4 months ago

Most likely, the error occurs because Discord is not yet running or even installed.

If you look at the code at presence.py#138, Discord-RPC opens the Discord pipe socket. Therefore, if Discord is not already running, Discord-RPC will not run correctly.

Senophyx commented 4 months ago

Closed, since there is no further confirmation.