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

New issue 3787 by "TypeError: must be char, not unicode" when installing reviewboard on windows.

*** You must complete this form in its entirety, or your bug report will be
*** rejected.
*** If you have a security issue to report, please send it confidentially
*** Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
*** For customer support, please post to
*** If you have a patch, please submit it to
*** This bug tracker is public. Please check that any logs or other
*** that you include has been stripped of confidential information.

What version are you running?

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

What steps will reproduce the problem?
1. easy_install reviewboard
2. rb-site install D:\reviewboard\www
3. Domain: "Domain"
4. Path: "/reviewboard/"
5. DB Name: "reviewboard"
6. DB Server: "domain"
7. DB User: "user"

What is the expected output? What do you see instead?
Prompt for DB user password

What operating system are you using? What browser?
Windows7 eng CMD

Please provide any additional information below.
Traceback (most recent call last):
  File "C:\Python27\Scripts\", line 9, in <module>
    load_entry_point('ReviewBoard==2.0.13', 'console_scripts', 'rb-site')()
File "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\cmdline\", line 1883, in main
File "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\cmdline\", line 1225, in run
File "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\cmdline\", line 1438, in ask_database_login
    save_obj=site, save_var="db_pass")
File "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\cmdline\", line 942, in prompt_input
    temp_value = getpass.getpass(prompt)
  File "C:\Python27\lib\", line 95, in win_getpass
TypeError: must be char, not unicode

Can be fixed by replacing line 944 with:
temp_value = getpass.getpass(prompt = prompt.encode('ascii','ignore'))

Best regards, Stefan

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