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

New issue 3788 by "AttributeError: 'module' object has no attribute 'chown'" when installing reviewboard on Windows

What version are you running?

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

What steps will reproduce the problem?
What steps will reproduce the problem?
1. easy_install reviewboard
2. rb-site install D:\reviewboard\www
3. fill all formes

What is the expected output? What do you see instead?
Install reviewboard to D:\reviewboard\www

What operating system are you using? What browser?
Windows 7 english

Please provide any additional information below.
* Installing the site...
Building site directories ... 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 1241, in run
File "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\cmdline\", line 1550, in show_install_status
File "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\cmdline\", line 1084, in step
File "C:\Python27\lib\site-packages\reviewboard-2.0.13-py2.7.egg\reviewboard\cmdline\", line 210, in rebuild_site_directory
    os.chown(writable_dir, writable_st.st_uid, writable_st.st_gid)
AttributeError: 'module' object has no attribute 'chown'

To fix:
Replace line 210
os.chown(writable_dir, writable_st.st_uid, writable_st.st_gid)

if hasattr(os, 'chown'):
  os.chown(writable_dir, writable_st.st_uid, writable_st.st_gid)

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