Re: git status --porcelain error?
Kevin Funk <[email protected]>
| Newsgroups | gmane.comp.kde.users.kdevelop |
|---|---|
| Message-ID | <2001396.8Mclmnt5XO@kerberos> |
On Wednesday, 28 December 2016 11:19:28 CET René J.V. Bertin wrote: > Hi, > > I've begun seeing an error or warning on my Linux system that appears in the version control toolview, after certain git operations but sometimes also when I try to do a git operation (a priori via the in-document context menu): > > Command finished with error FailedToStart. > > /opt/local/site-ports> git status --porcelain -- /opt/local/site-ports > > That command completes without issues when I execute it myself in the > indicated directory. Please debug. The error message comes from dvcsjob.cpp in kdevplatform.git: DVcsJob::slotProcessError( QProcess::ProcessError err ) FailedToStart means [1]: "The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program." HTH, Kevin PS: Haven't seen this issue myself (or in bug reports). [1] http://doc.qt.io/qt-5/qprocess.html#ProcessError-enum > Any idea what this means? Can I just ignore it? Not entirely it would seem: > when it occurs via the in-document context menu it usually means the > intended operation indeed failed or was never executed because the git > status command failed. The few times this happened to me I could achieve > the intended result through the equivalent context menu in the project > manager. > > Thanks, > R. -- Kevin Funk | [email protected] | http://kfunk.org
signature.asc
(application/pgp-signature, 163 B)
-----BEGIN PGP SIGNATURE----- iEYEABECAAYFAlhlPUUACgkQxkz1axPKzl2UagCgw5d+JIhKr59RIRshH0KZ/LNg JBoAoNF4RF4nyLYaNz6a0FnYszeFFjcb =zYy9 -----END PGP SIGNATURE-----