rb-site install location?

102 views
Skip to first unread message

Nathan Sitkoff

unread,
Mar 26, 2021, 6:10:29 PM3/26/21
to Review Board Community
I'm working my way through the linux install directions for ReviewBoard here.

After many trials and tribulation, I was able to run

python -m pip install ReviewBoard

And it reports that ReviewBoard-3.0.20 was successfully installed (among many others).

But, when I try 

which rb-site

nothing is found.  I see from other conversations here that the likely problem is that my PATH just doesn't include the path containing rb-site.  But I'm having a heck of a time trying to find it!

I've tried

python -m pip show ReviewBoard

which dutifully cites its location at 

/home/build/.local/lib/python2.7/site-packages/reviewboard

But there's no sign of it there... or anywhere I have looked so far...

Am I missing a step?


  

Nathan Sitkoff

unread,
Mar 29, 2021, 2:12:40 PM3/29/21
to Review Board Community
Clarification: When I say "there no sign of it there"... I mean "there is no sign of rb-site".  Where is rb-site suppose to be found?  Do I need to run the ReviewBoard module to generate it?  eg:

python -m ReviewBoard

This yields:

/usr/bin/python: No module named ReviewBoard

...even though ReviewBoard is listed by:

python -m pip list

Christian Hammond

unread,
Mar 30, 2021, 5:06:48 AM3/30/21
to revie...@googlegroups.com
Hi Nathan,

Sorry for not getting back to you sooner.

In any typical Python install, rb-site would be installed in your path somewhere. It sounds like you have something a bit more specialized set up, if things are going into /home/build/.local. My guess is that rb-site ended up in that path somewhere, in a bin/ or a scripts/ directory (managed by Python). If so, you'll need to ensure that's in your path.

On standard installs, rb-site would end up in /usr/bin or /usr/local/bin.

How is that Python installed?

Christian

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/0961982d-28c6-40e7-8684-86572b49e085n%40googlegroups.com.


--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Nathan Sitkoff

unread,
Mar 30, 2021, 1:30:38 PM3/30/21
to Review Board Community
Yup, as you predicted I found rb-site in:

/home/build/.local/bin

Thanks!

Christian Hammond

unread,
Mar 30, 2021, 7:40:38 PM3/30/21
to revie...@googlegroups.com
Something that might pose a problem is that, if you're using Apache + mod_wsgi, it's going to expect a system-level install. You'd have to explicitly set PYTHONPATH and probably some others to point to custom install.

Christian

Reply all
Reply to author
Forward
0 new messages