Hi so I want to use Audacity’s API as part of a mini project I’m doing.
I downloaded the test script ‘pipe_test.py’ and ran the code and I’m having the biggest headache trying to get this to work.
Sometimes the script works fine and there’s no problem.
Sometimes I’ll get this error:
Write to “\.\pipe\ToSrvPipe”
…does not exist. Ensure Audacity is running with mod-script-pipe.
To remedy this I restart Audacity and I get this error:
Traceback (most recent call last):
File “C:\Users\66931\Documents\Python\pipe_test.py”, line 44, in
TOFILE = open(TONAME, ‘w’)
OSError: [Errno 22] Invalid argument: ‘\\.\pipe\ToSrvPipe’
If I spam run the script it’ll maybe work but eventually I’ll get the error I stated before.
I’m genuinely at a loss and I don’t know what to do.
I’m running the latest version of Audacity, Atom’s IDE, and am on Windows 10.