Bug 257650 - Error message "Process exited with status 0" while starting up KDevelop
Summary: Error message "Process exited with status 0" while starting up KDevelop
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: cvs (show other bugs)
Version: 0.9.94
Platform: Arch Linux Linux
: VHI major
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 23:14 UTC by Musikolo
Modified: 2010-12-17 23:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KDevelop trace that shows the error (28.73 KB, text/plain)
2010-11-22 23:14 UTC, Musikolo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Musikolo 2010-11-22 23:14:31 UTC
Created attachment 53644 [details]
KDevelop trace that shows the error

Version:           4.1.0 (using KDE 4.5.3) 
OS:                Linux

While starting up KDevelop I always get the message "Process exited with status 0". Then I click on the OK button and the application continues loading normally.

Reproducible: Always

Steps to Reproduce:
Simply start up the application


Expected Results:  
No error message should be shown while starting up the application

Error screen capture: http://img266.imageshack.us/img266/5655/kdeveloperror.png

Besides, I've got a trace that might help you find the reason of this error. Please see the attachment.
Comment 1 Milian Wolff 2010-11-23 13:14:14 UTC
seems to me as if a job from subversion registered to the runcontroller fails and then shell/runcontroller.cpp:616 triggers this message.

Will have to find a way to reproduce this - is the project you work on open source?
Comment 2 Andrey Zholos 2010-11-23 18:15:00 UTC
This happens because git is not installed. The command that fails to run
is "git --version".
Comment 3 Milian Wolff 2010-11-23 18:48:06 UTC
thanks, we should check that always of course.
Comment 4 Musikolo 2010-11-23 19:48:41 UTC
Hi,

I'm afraid Andrey guessed the real problem since I don't have git installed, as you can see in the next trace:

[elduro@Kalisto ~]$ pacman -Qs subversion
local/kdesdk-kioslave 4.5.3-1 (kde kdesdk)
    KDED Subversion Module
local/subversion 1.6.9-7
    Replacement for CVS, another versioning system (SVN)

[elduro@Kalisto ~]$ pacman -Qs git
local/cdparanoia 10.2-2
    Compact Disc Digital Audio extraction tool
local/digikam 1.5.0-1
    Digital photo management application for kde
local/libgphoto2 2.4.10.1-1
    The core library of gphoto2, designed to allow access to digital camera by external programs.

I think a check should be done and, in case a dependent program such as subversion or git isn't installed, it should show a log message informing the lack of a certain package and do nothing else. IMHO, this the minimum that must be done.

However, I later tested out that if I disable the subversion plug-in, the error stopped happening. Whatever the reason of this is, a bit weird it must be said, from the GUI point of view, I think that when the user clicks a plug-in's check-box to enable it, if its dependencies are not satisfied, a message should be shown, and don't let him/her to enable it till such dependencies are satisfied. This could be dropped in the wishes bag... I know...

Thanks everyone for your unconditional help! ;-)
Comment 5 Milian Wolff 2010-12-17 23:05:48 UTC
fixed by dimitry