DevHeads.net

Kdevelop won't start

On Kubuntu 10.10 with KDE 4.6, I installed the Kdevelop 4.2 RC but
when I start it I get this message:
"""Failed to lock the session , probably it is already active in
another running instance"""

There is no running instance, and never has been. In fact, grepping
for a possible lockfile fails. Googling returns no results on that
phrase. Any ideas where to continue?

Thanks!

Comments

Solution on different forum

Fri, 05/27/2011 - 07:22 — Anonymous

See this post

<a href="http://forums.gentoo.org/viewtopic-t-830642-start-0.html" title="http://forums.gentoo.org/viewtopic-t-830642-start-0.html">http://forums.gentoo.org/viewtopic-t-830642-start-0.html</a>

Solution

Wed, 04/06/2011 - 14:54 — Anonymous

I found the lock file in .kde4/share/apps/kdevelop/sessions/$SESSIONID/lock

'kdevelop -l' will tell you which session is supposedly running.
So simply delete the lock and you're good to go.

Cheers

On the command line: To list

Tue, 03/22/2011 - 06:40 — Anonymous

On the command line:
To list the "open" sessions
kdevelop -i
then
kdevelop --open-session "Open session name"

now kdevelop should ask you to override the lock.