Unable to view diff
Hi review board users, I just upgraded from version 1.0.1 to 1.6.3. Most things are going smoothly. However, when I try to view a diff : Traceback (most recent call last): File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/diffviewer/views.py, line 151, in view_diff interdiffset, highlighting, True) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/diffviewer/diffutils.py, line 1071, in get_diff_files large_data=True) File /usr/local/lib/python2.7/site-packages/Djblets-0.6.15- py2.7.egg/djblets/util/misc.py, line 157, in cache_memoize data = lookup_callable() File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/diffviewer/diffutils.py, line 1070, in lambda enable_syntax_highlighting)), File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/diffviewer/diffutils.py, line 551, in get_chunks old = get_original_file(filediff) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/diffviewer/diffutils.py, line 364, in get_original_file large_data=True)[0] File /usr/local/lib/python2.7/site-packages/Djblets-0.6.15- py2.7.egg/djblets/util/misc.py, line 157, in cache_memoize data = lookup_callable() File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/diffviewer/diffutils.py, line 363, in lambda data = cache_memoize(key, lambda: [fetch_file(file, revision)], File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/diffviewer/diffutils.py, line 342, in fetch_file data = tool.get_file(file, revision) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/scmtools/perforce.py, line 306, in get_file return self.client.get_file(path, revision) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/scmtools/perforce.py, line 224, in get_file return self._run_worker(lambda: self._get_file(path, revision)) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/scmtools/perforce.py, line 154, in _run_worker result = worker() File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/scmtools/perforce.py, line 224, in lambda return self._run_worker(lambda: self._get_file(path, revision)) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.6.3- py2.7.egg/reviewboard/scmtools/perforce.py, line 201, in _get_file stderr=subprocess.PIPE) File /usr/lib64/python2.7/subprocess.py, line 672, in __init__ errread, errwrite) File /usr/lib64/python2.7/subprocess.py, line 1201, in _execute_child raise child_exception OSError: [Errno 13] Permission denied Any suggestions? Thanks in advance. -- 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
Re: Migrating Review Board Database
Thanks for the feedback. I appreciate it. Looks like I've got a 1.0.1 in production. I'll compare the two schemas and see what's most appropriate. I'll use your comments as a guide - feel free to post more information too ;) On Jan 21, 12:00 am, Christian Hammond chip...@chipx86.com wrote: Ah. Ignore that. That's the version of the rb-site tool, not of the site you have installed. You should be able to see on the Review Board install what version you have. It's right after Review Board. If it says beta, it's pre-1.0 somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc. -http://www.vmware.com On Fri, Jan 20, 2012 at 9:55 AM, Chris Baron topher.ba...@gmail.com wrote: Thanks for the responses. From the command line, I did an rb-site --version and '0.1' was returned. How would I let django evolutions do its thing ? On Jan 20, 1:10 am, Anton Cohen an...@antoncohen.com wrote: On Thu, Jan 19, 2012 at 10:24 PM, Chris Baron topher.ba...@gmail.com wrote: There is a reviewboard 0.1 version in production. There is a 1.6 version in a test environment. Anyone have suggestions on the best way to copy the 0.1 production data, transform it into 1.6 data? What will need to be done will depend on the specific version you are moving from, and what is missing/different in the database. I did a migration from a pre-1.0 to 1.5.5. Though it wasn't 0.1, if it had a version it probably would have been something like 0.9. I detailed the upgrade in this post: http://groups.google.com/group/reviewboard/msg/5b445e99632190ab If your old version is close enough to 1.0 you may not need to manually manipulate the database at all, just install a new site with a dump of the old database, and let the Django evolutions do their thing. If your old version is really, really old, there may be a lot of manual DB manipulation. I was pretty lucky that there was only one table missing and I could copy the whole table from a new install. -Anton -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know athttp://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
Re: Migrating Review Board Database
Thanks for the responses. From the command line, I did an rb-site --version and '0.1' was returned. How would I let django evolutions do its thing ? On Jan 20, 1:10 am, Anton Cohen an...@antoncohen.com wrote: On Thu, Jan 19, 2012 at 10:24 PM, Chris Baron topher.ba...@gmail.comwrote: There is a reviewboard 0.1 version in production. There is a 1.6 version in a test environment. Anyone have suggestions on the best way to copy the 0.1 production data, transform it into 1.6 data? What will need to be done will depend on the specific version you are moving from, and what is missing/different in the database. I did a migration from a pre-1.0 to 1.5.5. Though it wasn't 0.1, if it had a version it probably would have been something like 0.9. I detailed the upgrade in this post:http://groups.google.com/group/reviewboard/msg/5b445e99632190ab If your old version is close enough to 1.0 you may not need to manually manipulate the database at all, just install a new site with a dump of the old database, and let the Django evolutions do their thing. If your old version is really, really old, there may be a lot of manual DB manipulation. I was pretty lucky that there was only one table missing and I could copy the whole table from a new install. -Anton -- 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
Migrating Review Board Database
Hi reviewboard people, There is a reviewboard 0.1 version in production. There is a 1.6 version in a test environment. Anyone have suggestions on the best way to copy the 0.1 production data, transform it into 1.6 data? -- 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
P4PythonInstaller
Hi all, I'm a software engineer by trade and not really a sysadmin, so I'll do my best to describe the problem. I'm trying to install Review Board on SuSE 12.1, which uses the linux 3.1 kernel. Also, I'm trying to use Perforce. When trying to install P4PythonInstaller, I run into trouble because of the version of the linux kernel : sudo easy_install P4PythonInstaller Searching for P4PythonInstaller Reading http://pypi.python.org/simple/P4PythonInstaller/ Reading http://www.review-board.org/ Best match: P4PythonInstaller 0.2 Downloading http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4PythonInstaller-0.2 Doing subversion checkout from http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller to /tmp/easy_install-S8gt_F/P4PythonInstaller Processing P4PythonInstaller Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-S8gt_F/ P4PythonInstaller/egg-dist-tmp-NTacbZ Unsupported Linux version: 3.1.0-1.2-desktoperror: Setup script exited with 1 What can I do here ? -- 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