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

New issue 3116 by Interrupting post-review/rbt post throws a KeyboardInterrupt exception

What version are you running?


What steps will reproduce the problem?

1. post-review --diff-filename /dev/null --username foobar
2. Hit ^C at Password: prompt

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

No exceptions should be thrown. Instead I see a nasty traceback stack:

==> HTTP Authentication Required
Enter authorization information for "Web API" at
Password: Traceback (most recent call last):
  File "/usr/bin/post-review", line 8, in <module>
load_entry_point('', 'console_scripts', 'post-review')() File "/usr/lib/python2.7/site-packages/", line 1314, in main
File "/usr/lib/python2.7/site-packages/", line 274, in load_capabilities
    info = self.api_get('api/info/')
File "/usr/lib/python2.7/site-packages/", line 705, in api_get
    return self.process_json(self.http_get(path))
File "/usr/lib/python2.7/site-packages/", line 675, in http_get
    rsp = urllib2.urlopen(url).read()
  File "/usr/lib/python2.7/", line 127, in urlopen
    return, data, timeout)
  File "/usr/lib/python2.7/", line 402, in open
    req = meth(req)
File "/usr/lib/python2.7/site-packages/", line 80, in http_request
    self.password_mgr.find_user_password('Web API', self.url)
File "/usr/lib/python2.7/site-packages/", line 180, in find_user_password
    self.rb_pass = getpass.getpass('Password: ')
  File "/usr/lib/python2.7/", line 71, in unix_getpass
    passwd = _raw_input(prompt, stream, input=input)
  File "/usr/lib/python2.7/", line 133, in _raw_input
    line = input.readline()

What operating system are you using? What browser?

$ uname -a
CYGWIN_NT-6.1 ZL00757 1.7.25(0.270/5/3) 2013-08-31 20:37 x86_64 Cygwin

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to