That is really strange. We're doing nothing special there, just checking for
the existence of the files using standard Python functions. Short of poking
around the filesystem myself and running some tests, I don't really know
what to suggest here.

I'd say that maybe /usr/bin/cvs is a broken symlink, except for ldd's
results.

What distro is this?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Mon, Nov 2, 2009 at 8:15 AM, Clemens Ballarin <balla...@aicas.com> wrote:

>
> Hi Christian,
>
> we've finally set up ReviewBoard 1.1 alpha 2 (dev).  I'm afraid we are
> unable to add CVS repositories.  The error is
>
>   The executable "cvs" is not in the path.
>
> Something seems to be broken with cvs detection but we couldn't figure
> out what.  RB seems to be able to locate patch, for example, but not
> cvs, although both exist.
>
> Some debug output is below.
>
> Clemens
>
> -----
>
> path: /usr/lib/python2.4/site-packages/
> Djblets-0.5.6alpha0.dev_20091026-py2.4.egg/djblets/util
> file: filesystem.py
>
>  >>     import syslog
> ...
> |  for dir in os.environ['PATH'].split(os.pathsep):
>  >>        syslog.syslog(os.path.join(dir, name) + ": " +
> str(os.path.exists(os.path.join(dir, name))))
> |        if os.path.exists(os.path.join(dir, name)):
> |            return True
>
>
> output while adding a cvs repository:
>
> Nov  2 04:59:11 hraesvelgr httpd: /sbin/patch: False
> Nov  2 04:59:11 hraesvelgr httpd: /usr/sbin/patch: False
> Nov  2 04:59:11 hraesvelgr httpd: /bin/patch: False
> Nov  2 04:59:11 hraesvelgr httpd: /usr/bin/patch: True
> Nov  2 04:59:11 hraesvelgr httpd: /sbin/cvs: False
> Nov  2 04:59:11 hraesvelgr httpd: /usr/sbin/cvs: False
> Nov  2 04:59:11 hraesvelgr httpd: /bin/cvs: False
> Nov  2 04:59:11 hraesvelgr httpd: /usr/bin/cvs: False
>
>
> /usr/bin/patch is found, but /usr/bin/cvs is not.
> Both files are available:
>
> [r...@hraesvelgr ~]# file /usr/bin/cvs
> /usr/bin/cvs: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV),
> for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/
> Linux 2.6.9, stripped
> [r...@hraesvelgr ~]# file /usr/bin/patch
> /usr/bin/patch: ELF 64-bit LSB executable, AMD x86-64, version 1
> (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs),
> for GNU/Linux 2.6.9, stripped
>
>
> --
> Dr. Clemens Ballarin -- Senior Software Engineer
>
> aicas Allerton Interworks Computer Automated Systems GmbH
> Haid-und-Neu-Straße 18 * D-76131 Karlsruhe  * Germany
> http://www.aicas.com   * phone +49 721 663 968-35  * fax -99
>
> USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim
> Geschäftsführer: Dr. James J. Hunt
>
>
> > To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>

--~--~---------~--~----~------------~-------~--~----~
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to