prepare-dev.py attempting to create djblets media folder in the wrong place

Review Request #2953 — Created March 10, 2012 and submitted

mike_conley
Review Board
master
2516
reviewboard
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.
mike_conley
chipx86
  1. I *think* there's a recent bug number for this from the past week. Can you check?
  2. 
      
mike_conley
mike_conley
Review request changed

Status: Closed (submitted)

Change Summary:

Committed to master as e2ea99eb
Loading...