darcs

Issue 1244 Troubleshooting article, remote darcs is not in $PATH --> ~/.ssh/environment

Title Troubleshooting article, remote darcs is not in $PATH --> ~/.ssh/environment
Priority wishlist Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, darcs-users, dmitry.kurochkin, kowey, stephen, thorkilnaur, twb
Assigned To twb
Topics Documentation

Created on 2008-11-26.07:53:39 by dagit, last changed 2017-07-30.23:19:18 by gh.

Files
File name Uploaded Type Edit Remove
unnamed dagit, 2008-11-26.07:53:36 text/html
Messages
msg6752 (view) Author: dagit Date: 2008-11-26.07:53:36
On Tue, Nov 25, 2008 at 11:47 PM, <trentbuck@gmail.com> wrote:

> On Tue, Nov 25, 2008 at 11:40:21PM -0800, Jason Dagit wrote:
> >> You were right. The problem is fixed changing the path. Thanks.
> > Do you have any advice for us as we make an FAQ entry for this?
>
> This (PATH in ~/.ssh/environment) should definitely go into either the
> wiki or the user manual.  If you make a ticket in the BTS and assign
> it to me, I'll get around to it eventually.

It should also mention that if the user installed darcs using cabal that
there is every higher likelihood of this happening as cabal defaults to
putting binaries in ~/.cabal/bin.  It would also be good to say what the
common symptoms are, "I can login and see darcs but I get funny results when
I push/put."

I'm CC'ing the bug tracker and I'll assign to you Trent.

Thanks,
Jason
Attachments
msg8843 (view) Author: twb Date: 2009-09-19.05:43:32
I ran into this today on code.haskell.org!

When connecting via Emacs Tramp (ssh or sshx methods), the PATH is
/bin:/usr/bin:/usr/sbin:/usr/local/bin. As a result, /usr/bin/darcs
(1.0.9) takes precedence over /usr/local/bin/darcs (2.0.2).

I guess /etc/profile isn't sourced by Tramp.
msg8844 (view) Author: stephen Date: 2009-09-19.15:11:06
I don't have time to look right now, but I suspect Micheal Albinus (the TRAMP 
maintainer) would consider this a bug in TRAMP.
History
Date User Action Args
2008-11-26 07:53:39dagitcreate
2008-11-26 07:54:46dagitsetpriority: wishlist
nosy: darcs-users, kowey, dagit, simon, twb, thorkilnaur, dmitry.kurochkin
assignedto: twb
2008-12-26 13:13:51twbsetnosy: darcs-users, kowey, dagit, simon, twb, thorkilnaur, dmitry.kurochkin
title: problem with remote repo -> docs: troubleshooting, remote darcs is not in $PATH (~/.ssh/environment)
2009-04-09 13:43:37koweysetstatus: unread -> has-patch
nosy: darcs-users, kowey, dagit, simon, twb, thorkilnaur, dmitry.kurochkin
2009-08-10 09:13:30twbsettopic: + Documentation
nosy: darcs-users, kowey, dagit, simon, twb, thorkilnaur, dmitry.kurochkin
2009-08-10 09:13:45twbsetnosy: darcs-users, kowey, dagit, simon, twb, thorkilnaur, dmitry.kurochkin
title: docs: troubleshooting, remote darcs is not in $PATH (~/.ssh/environment) -> Troubleshooting article, remote darcs is not in $PATH --> ~/.ssh/environment
2009-08-10 23:52:23adminsetnosy: - dagit
2009-08-25 17:35:13adminsetnosy: + darcs-devel, - simon
2009-08-27 14:21:46adminsetnosy: darcs-users, kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin
2009-09-02 20:19:23koweysetnosy: darcs-users, kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin
2009-09-19 05:43:34twbsetnosy: darcs-users, kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin
messages: + msg8843
2009-09-19 15:11:09stephensetnosy: + stephen
messages: + msg8844
2017-07-30 23:19:18ghsetstatus: has-patch -> given-up