codeblocks - Code::Blocks reports another instance running, even when there isn't one -


when try running code::blocks, following error message:

another program instance running. code::blocks configured allow 1 running instance.

you can access setting under menu item 'environment'.

i had similar problem before e.g. google chrome when didn't shut down correctly, chrome, managed locate lock file, delete it, , solves problem.

for code::blocks, looked around , tried several proposed solutions, none of them worked:

  • look process (ps -a | grep 'codeblocks') , kill process

    i found stray process way, killing did not help.

  • allow multiple instances setting under 'environment' menu

    i can not run instance in first place, can not access menu.

    i tried running code::blocks terminal codeblocks --multiple-instances parameter must have been abandoned time ago, no longer recognized.

  • i looked on kind of lock file, try , delete it

    unfortunately, didn't find looked me distinctly lock file :(

uh, sorry everybody, looks have annoying habit of finding solution within minutes of complaining problem, instead in "look solution" phase.

found lock file delete , fix problem: deleting /tmp/code::blocks-username fixes problem.

some further solutions outlined in code::blocks official forums, including how change settings "allow single instance" "allow multiple instance" without running code::blocks.


Comments