#IPC problem
1 messages · Page 1 of 1 (latest)
Your port already has something running on it
Either change the port, or stop whatever is running on it
I can write any port
And this error will remain
Then your starting it multiple times in your script
I use multiprocessing could this be related to this?
You start an IPC server each time the file is opened
How to fix it?
Only start it when the ccog is made might do it
I fix multiple start
but I have an error when accessing the code to the IPC
{'error': 'IPC route raised error of type AttributeError', 'code': 500}
code
...
async def send_audit_ds(action_info):
response = await ipc_client.request("send_audit_message", data={"action": action_info})
print(response)
...
action_info = f"Action: Invite\nStatic: {static}\nOrgan: {organ_curr}\nTimespan: {timespan}"
asyncio.run(send_audit_ds(action_info))
...
So make an error handler and look at the error.. 