I have been programming _main.pd files successfully for a considerable while. Now I am in a bit of a mess with it and I cannot get any Pd patch to run. Am I right that one should create an _main.pd file in Bela IDE then do 'save project as' which I do and I get a message stating it exists. I had other files in he IDE but clicking on them gained 'this file doesn't exist'. I deleted these. If I load a Pd patch that I know works and hit 'build and run' I get
failed to run command /root/Bela/projects/_main.pd/_main.pd :permission denied. I do find an entry /_main.pd/_main.pd anywhere.
If I hit 'make' I get [runide] error 126

I have gone round in circles and all I was trying to do was to set my working Pd patch to run on boot.
Sorry to be writing but I have gone round and round with this one.

Hi david, it looks like you may have created a project called _main.pd , which would cause trouble if you then add a _main.pd file to it. Can you try to create a new project with a different name?

6 days later

OK thanks. I set a new project name and loaded what is a working Pd patch titled _main.pd and clicked 'build and run' and got errors that I have no seen before:

PRU interrupt timeout, -1 110 Connection timed out
PRU interrupt timeout, -1 110 Connection timed out
PRU interrupt timeout, -1 110 Connection timed out
PRU interrupt timeout, -1 110 Connection timed out
McASP error, abort
PRU interrupt timeout, -1 110 Connection timed out
Makefile:613: recipe for target 'runide' failed
make: *** [runide] Error 1
Bela stopped

Can you shed any light? David

that should be an intermittent error, or a failed board. Can you power it off, leave it off a few seconds and power back on and try again?

I tried again after sending this and it compiled OK. Then set the _main.pd to be the boot file and it worked. I am not sure what changed but it now seems OK. Thanks for reading - it is so good to know you are there.