Installing in Ubuntu 9.04 Issues
Hi, I followed the instructions in: http://www.review-board.org/docs/manual/dev/admin/installation/linux/ for my ubuntu machine. When I run sudo rb-site install /var/www/reviews after providing the admin account with username, password and email, I get this stack trace on the terminal: Traceback (most recent call last): File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 770, in next_page func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 944, in call_func func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 257, in generate_config_files os.path.join(conf_dir, web_conf_filename)) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 392, in process_template template = pkg_resources.resource_string(reviewboard, template_path) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 853, in resource_string self, resource_name File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1126, in get_resource_string return self._get(self._fn(self.module_path, resource_name)) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1247, in _get stream = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/usr/local/lib/ python2.6/dist-packages/ReviewBoard-1.0.2-py2.6.egg/reviewboard/ contrib/conf/apache-modpython.conf.in' I did a quick ls on /usr/local/lib/python2.6/dist-packages/ ReviewBoard-1.0.2-py2.6.egg/reviewboard/ and it has no folder called contrib. What should I do to make a successful installatino? Thanks Varun --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Installing in Ubuntu 9.04 Issues
Thanks Chris for the reply. I will watch out for the 1.0.3 version. I just fired up the installation. Its awesome! Thanks for making an awesome open source review tool. Regards Varun On Sep 16, 7:48 pm, Christian Hammond chip...@chipx86.com wrote: You need to re-run rb-site upgrade on the site. It will fix the media files to point to the 1.0.1 version of Review Board. I don't know that you really want to use the -m option. I think really you'd be better off simply removing the 1.0.2 version from your filesystem and then running rb-site upgrade on the site directory. We're going to put out a 1.0.3 release tonight that will fix this issue. Seems there was an error in generating the packages for this release. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Wed, Sep 16, 2009 at 4:42 PM, Varun Soundararajan s.va...@gmail.comwrote: Ok, it seems that 1.0.2 has some issues, I did easy_install -m ReviewBoard and then easy_install http://downloads.review-board.org/releases/ReviewBoard/1.0/ReviewBoar... and everything was fine. I still have one question. Why is that my page looks ugly (seems like no CSS access).. Is there some CSS pack I need to download? Regards Varun On Sep 16, 4:09 pm, Varun Soundararajan s.va...@gmail.com wrote: Hi, I followed the instructions in: http://www.review-board.org/docs/manual/dev/admin/installation/linux/ for my ubuntu machine. When I run sudo rb-site install /var/www/reviews after providing the admin account with username, password and email, I get this stack trace on the terminal: Traceback (most recent call last): File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 770, in next_page func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 944, in call_func func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 257, in generate_config_files os.path.join(conf_dir, web_conf_filename)) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 392, in process_template template = pkg_resources.resource_string(reviewboard, template_path) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 853, in resource_string self, resource_name File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1126, in get_resource_string return self._get(self._fn(self.module_path, resource_name)) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1247, in _get stream = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/usr/local/lib/ python2.6/dist-packages/ReviewBoard-1.0.2-py2.6.egg/reviewboard/ contrib/conf/apache-modpython.conf.in' I did a quick ls on /usr/local/lib/python2.6/dist-packages/ ReviewBoard-1.0.2-py2.6.egg/reviewboard/ and it has no folder called contrib. What should I do to make a successful installatino? Thanks Varun --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Installing in Ubuntu 9.04 Issues
Yep. The Apache config file is in theory generated correctly in 1.0.2, but in practice, as you noted, installation fails... Oops :/. 1.0.3 isn't that far away. I'll do a post to the mailing list when it's out. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Wed, Sep 16, 2009 at 4:50 PM, Varun Soundararajan s.va...@gmail.comwrote: Sorry for spamming the group again. I looked into the groups archive and found that the generated conf file is buggy. I replaced /media and /errordocs with /reviews1/media and /reviews1/errordocs and everything works great now. So here are my learnings for others who are planning to install: 1) Until 1.0.2 install is fixed, use 1.0.1 till then. 2) Conf directory path is buggy, fix it by editing the conf file. Thanks Varun On Sep 16, 7:42 pm, Varun Soundararajan s.va...@gmail.com wrote: Ok, it seems that 1.0.2 has some issues, I did easy_install -m ReviewBoard and then easy_installhttp:// downloads.review-board.org/releases/ReviewBoard/1.0/ReviewBoar... and everything was fine. I still have one question. Why is that my page looks ugly (seems like no CSS access).. Is there some CSS pack I need to download? Regards Varun On Sep 16, 4:09 pm, Varun Soundararajan s.va...@gmail.com wrote: Hi, I followed the instructions in: http://www.review-board.org/docs/manual/dev/admin/installation/linux/ for my ubuntu machine. When I run sudo rb-site install /var/www/reviews after providing the admin account with username, password and email, I get this stack trace on the terminal: Traceback (most recent call last): File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 770, in next_page func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 944, in call_func func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 257, in generate_config_files os.path.join(conf_dir, web_conf_filename)) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 392, in process_template template = pkg_resources.resource_string(reviewboard, template_path) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 853, in resource_string self, resource_name File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1126, in get_resource_string return self._get(self._fn(self.module_path, resource_name)) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1247, in _get stream = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/usr/local/lib/ python2.6/dist-packages/ReviewBoard-1.0.2-py2.6.egg/reviewboard/ contrib/conf/apache-modpython.conf.in' I did a quick ls on /usr/local/lib/python2.6/dist-packages/ ReviewBoard-1.0.2-py2.6.egg/reviewboard/ and it has no folder called contrib. What should I do to make a successful installatino? Thanks Varun --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---