3823: rbtools, python 2.7.9, and https fail

lessonz*******@gmai***** (Google Code) (Is this you? Claim this profile.)
May 1, 2015
3705
What version are you running?

rbtools 0.7.2

What's the URL of the page containing the problem?

https://[not_important]

What steps will reproduce the problem?
1. Install python 2.7.9
2. Attempt to post review to an ssl secured reviewboard instance.

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

I expect the review to be posted.

Instead, I see (redacted):

$ rbt post -o -d 486793
>>> RBTools 0.7.2
>>> Python 2.7.9 (default, Dec 11 2014, 04:42:00) 
[GCC 4.9.2]
>>> Running on Linux-3.19.2-1-ARCH-x86_64-with-glibc2.2.5
>>> Home = /home/[username]
>>> Current directory = /home/[full_path]
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> Checking for a Git repository...
>>> Running: git rev-parse --git-dir
>>> Command exited with rc 128: ['git', 'rev-parse', '--git-dir']
fatal: Not a git repository (or any of the parent directories): .git
---
>>> Checking for a Mercurial repository...
>>> Unable to execute "hg --help": skipping Mercurial
>>> Checking for a CVS repository...
>>> Unable to execute "cvs": skipping CVS
>>> Checking for a Perforce repository...
>>> Running: p4 info
>>> Running: diff --version
>>> repository info: Path: [perforce_server]:[port], Base path: None, Supports changesets: True
>>> Running: p4 counters
>>> Making HTTP GET request to https://[reviewboard_address]/api/
Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
  File "/usr/lib/python2.7/site-packages/rbtools/commands/main.py", line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
  File "/usr/lib/python2.7/site-packages/rbtools/commands/__init__.py", line 555, in run_from_argv
    exit_code = self.main(*args) or 0
  File "/usr/lib/python2.7/site-packages/rbtools/commands/post.py", line 591, in main
    api_client, api_root = self.get_api(server_url)
  File "/usr/lib/python2.7/site-packages/rbtools/commands/__init__.py", line 703, in get_api
    'server at %s' % server_url)
rbtools.commands.CommandError: Could not reach the Review Board server at https://[reviewboard_address]


What operating system are you using? What browser?

I'm running a up-to-date version of Antergos, an Arch derivative. Browser is N/A.

Please provide any additional information below.

I did see this pull request: https://github.com/reviewboard/rbtools/pull/44
david
#1 david