Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2108 by strat.cr...@gmail.com: Cannot run rbssh: No such file or directory; /usr/local/bin not in env path
http://code.google.com/p/reviewboard/issues/detail?id=2108

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*       reviewbo...@googlegroups.com                             *

What version are you running?
1.5, 1.6beta2

What's the URL of the page containing the problem?
http://review.summify.com/admin/db/scmtools/repository/add/

What steps will reproduce the problem?
1. Install rb with either easy_install or setup.py, and lighthttpd
2. try adding a private github repo

What is the expected output? What do you see instead?

The reviewboard.log says:
2011-05-22 18:52:49,935 - INFO - Authentication (publickey) successful!
2011-05-22 18:52:50,036 - DEBUG - EOF in transport thread
2011-05-22 18:52:50,070 - ERROR - Git: Failed to find valid repository <REDACTED>: error: cannot run rbssh: No such file or directory
fatal: unable to fork

Printing out the ENV in SCMTool.popen() shows /usr/local/bin isn't in $PATH but that's where rbssh is.

Work around: Creating a symlink (ln -sf /usr/local/bin/rbssh /usr/bin/rbssh) gets around the problem.

Suggested solution: install path and env path should match, or display a nicer error message.


Thanks!
What operating system are you using? What browser?
Ubuntu 10.0, Python 2.6.6

Please provide any additional information below.


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to