2516: Build the develop environment with errors.

tq0****@gmai***** (Google Code) (Is this you? Claim this profile.)
March 10, 2012
What version are you running?

What's the URL of the page containing the problem?
not a page error.

What steps will reproduce the problem?
1.follow the Development-Getting Started.
2.At the python "./contrib/internal/prepare-dev.py" step, get errors.

What is the expected output? What do you see instead?
Get standard out as "Your Review Board tree is ready for development.".

Get standard error as 
"warning: no files found matching '*' under directory 'locale'
no previously-included directories found matching 'docs/*/_build'
no previously-included directories found matching 'reviewboard/htdocs/media/uploaded/images'
warning: no previously-included files found matching 'settings_local.py'
writing manifest file 'ReviewBoard.egg-info/SOURCES.txt'
Traceback (most recent call last):
Rebuilding media paths...
Using Djblets media from /home/jiaoba/Project/djblets/djblets/media
  File "./contrib/internal/prepare-dev.py", line 145, in <module>
  File "./contrib/internal/prepare-dev.py", line 132, in main
  File "./contrib/internal/prepare-dev.py", line 76, in install_media
    site.link_pkg_dir("djblets", "media", os.path.join(media_path, "djblets"))
  File "/home/jiaoba/Project/reviewboard/reviewboard/cmdline/rbsite.py", line 506, in link_pkg_dir
    os.symlink(src_dir, dest_dir)
OSError: [Errno 2] No such file or directory

What operating system are you using? What browser?
Ubuntu 11.10 x86_64.
No need browser.

Please provide any additional information below.
Python 2.7
#3 tq0****@gmai***** (Google Code) (Is this you? Claim this profile.)
in line 76 of prepare-dev.py, it should be
site.link_pkg_dir("djblets", "media", os.path.join(os.path.join("reviewboard", media_path), "djblets"))
#4 mconley
Patch reviewed at http://reviews.reviewboard.org/r/2953/
Committed to master as https://github.com/reviewboard/reviewboard/commit/e2ea99ebc464621a6ffeca32080ab056a7221723
  • +Fixed