Hi Magnus,

Django just released their version 1.4, which breaks Review Board 1.6. You
can work around this by deleting the installed Django-1.4 directory in your
Python's site-packages directory, and then do:

    easy_install Django==1.3.1

I'll be doing a release tonight that addresses this.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Mar 30, 2012 at 12:11 AM, magnus <magnus.armh...@gmail.com> wrote:

> Hi,
> We are using CentOs 6 and are trying to setup Reviewboard.
> Our setup is:
> MySql
> Apache2
> mod_wsgi
> memcached
>
> when running 'rb-site install /var/www/html/rb/' it seems like the
> installation is successful. We get the reviewboard to show up in the
> browser and we can login/create users and such. When trying to add the
> repository (local git on same server) it fails and in /var/log/httpd/
> error_log we get a lot of errors but this is the first:
> [client 10.0.0.124] Symbolic link not allowed or link target not
> accessible: /var/www/html/rb/htdocs/media/admin, referer:
> http://<servername>/rb/admin/
> db/scmtools/repository/add/
>
> Looking up /var/www/html/rb/htdocs/media/admin links to a nonexisting
> path /usr/lib/python2.6/site-packages/django/contrib/admin/media
>
> media folder does not exist in the admin folder.
>
> We cleanup the created site and db and rerun the rb-site but this time
> as follow:
> 'rb-site install -d --copy-media /var/www/html/rb/'
>
> This fails with:
>
> * Installing the site...
> Building site directories ... Traceback (most recent call last):
>  File "/usr/bin/rb-site", line 9, in <module>
>    load_entry_point('ReviewBoard==1.6.4.1', 'console_scripts', 'rb-
> site')()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1745, in main
>    command.run()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1293, in run
>    self.show_install_status()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1559, in show_install_status
>    site.rebuild_site_directory)
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 787, in step
>    func()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 207, in rebuild_site_directory
>    rb_admins_dest)
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 500, in link_pkg_dir
>    shutil.copytree(src_dir, dest_dir)
>  File "/usr/lib64/python2.6/shutil.py", line 136, in copytree
>    names = os.listdir(src)
> OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-
> packages/django/contrib/admin/media'
>
> Any help with this would be much appreciated (we have tried installing
> Reviewboard (which fetches django) with both easy_install and pip).
>
> BR,
> Magnus
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to