status 2 error message
i am trying to run simple example using acados under matlab but an error message status=2. can anyone help me with this
answered here:

[image]

[acados error status 2 on python interface](https://discourse.acados.org/t/acados-error-status-2-on-python-interface/75)

hello,

i have been getting a lot of the following message “acados returned status 2. exiting”. this usually happens when tuning the weights and the problem hyper parameters, so it feels like it is somewha…
hi daniel,

that error message indicates either a dodgey account code, incorrect queue for job size/time limits or exceeding number of jobs allowed.

you need to specify a valid account code. n02 is not a valid budget.

regards,

ros. its to do with the jit optimisation, the same is true if you insert conditional debug statement in the code, matlab needs to prepare to stop execution. hey,

you can probably fix it by following the steps described here: <https://folivora.ai/blog/post/13010>

if that doesn't help, could you check whether there are any crashlogs in the macos console app under "user reports"? It's going to be sheer luck anyone is running that setup so try this. Break the problem down to smaller steps. If a step can't be accomplished then it's too big a step. Break it down further. The first few errors in the log point to conflicting processes. Can you try ruling these out. For a list of possible conflicting processes, see <https://helpx.adobe.com/enterprise/package/help/resolving-process-conflicts.html> that error happens when there's no handle to close. i see you call the 'open()' and you're not getting an object reference error before closehandle(). check your memory.pointerwrite() function to make sure it's not doing a closehandle() prematurely. it sounds like you're calling closehandle() twice. for this, just use an if function. see https://macmost.com/learn-how-to-use-the-if-function-in-numbers.html so something like this in a2: if(isblank(b2),c2,b2) the condition is to check if b2 is blank. if it is, get the value of c2. if it isn’t blank, then get the value of b2. hey [@emartini](/u/emartini) ,

if you want to use clij2, you also need to activate the clij update site. the error should be gone then.

[[image]](https://aws1.discourse-cdn.com/business4/uploads/imagej/original/3x/0/9/095bc5fb3f3fa0db9dac6286bb16cf30ee81783d.jpeg "image")

see also the [installation instructions](https://clij.github.io/clij2-docs/installationinfiji).

let me know if this solves the issue!

cheers,

robert the compiler will throw the following errors:  


10: error: increment of read-only variable **k**,  


12: error: **lvalue** required as increment operand. okay, i think i found out what is happening: <https://github.com/drtimothyaldendavis/suitesparse/issues/45>