- Change Summary:
-
Fixing redundant review request summary.
- Summary:
-
prepare-dev.py attempting to create erronous djblets media folder in the wrong placeprepare-dev.py attempting to create djblets media folder in the wrong place
prepare-dev.py attempting to create djblets media folder in the wrong place
Review Request #2953 — Created March 10, 2012 and submitted
Just noticed this when nuking my DB and running prepare-dev.py. I was seeing: Using Djblets media from /media/Projects/djblets/djblets/media Traceback (most recent call last): File "./contrib/internal/prepare-dev.py", line 145, in <module> main() File "./contrib/internal/prepare-dev.py", line 132, in main install_media(site) File "./contrib/internal/prepare-dev.py", line 76, in install_media site.link_pkg_dir("djblets", "media", os.path.join(media_path, "djblets")) File "/media/Projects/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 Apparently, link_pkg_dir was attempting to create the media folder at htdocs/media/djblets instead of reviewboard/htdocs/media/djblets.
Just tested locally. prepare-dev.py runs correctly and created my development environment successfully.