Problem with ReviewBoard installation

287 views
Skip to first unread message

TIDave

unread,
Jan 15, 2014, 2:55:40 PM1/15/14
to revie...@googlegroups.com
I'm behind a proxy, and setting http_proxy would not work for me with easy_install, so I downloaded the required packages and installed ReviewBoard 1.7.21 for Python 2.6 on Ubuntu 10.  When I try to create a site I get Error: Unknown command: 'registerscmtools'.  I've tried removing, re-installing, and upgrading packages to no avail.

Christian Hammond

unread,
Jan 15, 2014, 3:52:27 PM1/15/14
to revie...@googlegroups.com
How did you install the packages?

You're really going to need to get easy_install working. Did you also set https_proxy?

Something like this will work best:

    $ sudo -s
    $ http_proxy=<proxy> https_proxy=<proxy> easy_install -U ReviewBoard

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Wed, Jan 15, 2014 at 11:55 AM, TIDave <david...@gmail.com> wrote:
I'm behind a proxy, and setting http_proxy would not work for me with easy_install, so I downloaded the required packages and installed ReviewBoard 1.7.21 for Python 2.6 on Ubuntu 10.  When I try to create a site I get Error: Unknown command: 'registerscmtools'.  I've tried removing, re-installing, and upgrading packages to no avail.

--
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

TIDave

unread,
Jan 15, 2014, 4:19:18 PM1/15/14
to revie...@googlegroups.com, chi...@chipx86.com
http_proxy and https_proxy are both set:

sudo -E easy_install -U ReviewBoard
Searching for ReviewBoard
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Couldn't retrieve index page for 'ReviewBoard'
Scanning index of all packages (this may take a while)
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Best match: ReviewBoard 1.7.21
Processing ReviewBoard-1.7.21-py2.6.egg
ReviewBoard 1.7.21 is already the active version in easy-install.pth
Installing rb-site script to /usr/local/bin
Installing rbssh script to /usr/local/bin

Using /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.21-py2.6.egg
Processing dependencies for ReviewBoard
Finished processing dependencies for ReviewBoard

Christian Hammond

unread,
Jan 15, 2014, 4:32:28 PM1/15/14
to revie...@googlegroups.com
It certainly doesn't look like the environment variables are being used.

Can you run 'sudo -E -s' and echo both variables so I can see them? (You can blank out the domain, but I want to see the format and that they're both set.)

We've seen this come up from time to time, and it's always been due to the proxy not being set correctly, or the inability to access the proxy, so I want to be sure of that first.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


TIDave

unread,
Jan 15, 2014, 4:51:26 PM1/15/14
to revie...@googlegroups.com, chi...@chipx86.com
$ sudo -E -s
# env|grep proxy

TIDave

unread,
Jan 15, 2014, 5:04:31 PM1/15/14
to revie...@googlegroups.com, chi...@chipx86.com
I was able to use easy_install with .egg file which I downloaded.  I just haven't been able to get it to connect to pyp.python.org for some reason.

MoonWalker

unread,
Jan 15, 2014, 5:33:32 PM1/15/14
to revie...@googlegroups.com, chi...@chipx86.com
try this:
export https_proxy="http://yourid:yourpassword@yourproxy:8081"
export http_proxy="http://yourid:yourpassword@yourproxy:8081"

David Kitch

unread,
Jan 15, 2014, 6:32:33 PM1/15/14
to revie...@googlegroups.com
The proxy does not require authentication.


You received this message because you are subscribed to a topic in the Google Groups "reviewboard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/FISNzFbHRV8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.

Christian Hammond

unread,
Jan 15, 2014, 6:41:17 PM1/15/14
to revie...@googlegroups.com
If you use easy_install on the eggs, it *should* work, but there's going to be a lot of eggs needed, and these will increase with 2.0.

I'm surprised this isn't working. Can you show me what easy_install --version says? I'm seeing some docs saying that some versions use HTTP_PROXY and HTTPS_PROXY instead of their lowercase equivalents.

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


MoonWalker

unread,
Jan 15, 2014, 6:52:27 PM1/15/14
to revie...@googlegroups.com, chi...@chipx86.com
I had several issues with the ubuntu easy_install (13.10) and firewall, so what I did first is to install the newone following the next steps:
1) Firewall access

$ export http_proxy="http://yourid:yourpassword@yourproxy:8081"
$ export https_proxy="http://yourid:yourpassword@yourproxy:8081"

2) Update easy_install

$ sudo -E easy_install -U easy_install

3) Use new easy_install

$ sudo -E /usr/local/bin/easy_install -U ReviewBoard

TIDave

unread,
Jan 16, 2014, 8:47:36 AM1/16/14
to revie...@googlegroups.com, chi...@chipx86.com
$ easy_install --version
distribute 0.6.10
$ export HTTP_PROXY=http://###.###.com:80
$ export HTTPS_PROXY=https://###.###.com:81
$ sudo -E easy_install -U ReviewBoard
Searching for ReviewBoard
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Couldn't retrieve index page for 'ReviewBoard'
Scanning index of all packages (this may take a while)
Download error: [Errno 111] Connection refused -- Some packages may not be found!
Best match: ReviewBoard 1.7.21
Processing ReviewBoard-1.7.21-py2.6.egg
ReviewBoard 1.7.21 is already the active version in easy-install.pth
Installing rb-site script to /usr/local/bin
Installing rbssh script to /usr/local/bin

Using /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.7.21-py2.6.egg
Processing dependencies for ReviewBoard
Finished processing dependencies for ReviewBoard

TIDave

unread,
Jan 16, 2014, 1:21:30 PM1/16/14
to revie...@googlegroups.com, chi...@chipx86.com
I solved the proxy issue.  The https proxy had changed.  I'm trying another setup now.

TIDave

unread,
Jan 16, 2014, 1:32:39 PM1/16/14
to revie...@googlegroups.com, chi...@chipx86.com
I ran easy_install -U for Django-1.4.10 and ReviewBoard.  That seemed to go ok, but rb-site install still ends with this:
....
Creating table site_localsite
Creating table django_project_version
Creating table django_evolution
Error: Unknown command: 'registerscmtools'

TIDave

unread,
Jan 16, 2014, 2:32:11 PM1/16/14
to revie...@googlegroups.com, chi...@chipx86.com
I ran easy_install -m ReviewBoard, deleted the .egg, ran easy_install -U ReviewBoard, and then I was able to get further with rb-site, but it still said Unknown command: 'evolve'.  I removed and re-installed Django and django_evolution, and that may have resolved the issues.

Christian Hammond

unread,
Jan 16, 2014, 4:00:35 PM1/16/14
to revie...@googlegroups.com
I think you just had some broken installs. Looks like the Python Entrypoints were missing.

easy_install will handle registering entrypoints, which are basically a way for Python apps to look up packages and modules providing certain features. It sounds like those weren't registered with your earlier attempts at installing, and it took deleting them for easy_install to know it should try again.

Glad it works now!

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org


Reply all
Reply to author
Forward
0 new messages