Re: Site-upgrade error
That looks like some data corruption in your database. The serialized data describing your database schema is either corrupted or can't fully be read. What database are you using? Do you have a backup? Christian On Apr 16, 2012, at 3:57, Viktor Jozsa jozsa.vikt...@gmail.com wrote: Hi! The following errors found during the site upgrade: (upgrade 1.6.4.1 to 1.6.5) Rebuilding directory structure Updating database. This may take a while. Creating tables ... /etc/host.conf: line 2: bad command `SNMPSERVER=-YES-' There are unapplied evolutions for accounts. There are unapplied evolutions for changedescs. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. Traceback (most recent call last): File /usr/local/bin/rb-site, line 9, in module load_entry_point('ReviewBoard==1.6.5', 'console_scripts', 'rb- site')() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5- py2.6.egg/revie wboard/ cmdline/rbsite.py, line 1745, in main command.run() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5- py2.6.egg/revie wboard/ cmdline/rbsite.py, line 1642, in run site.sync_database() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5- py2.6.egg/revie wboard/ cmdline/rbsite.py, line 346, in sync_database self.run_manage_command(syncdb, params) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5- py2.6.egg/revie wboard/ cmdline/rbsite.py, line 469, in run_manage_command execute_manager(reviewboard.settings, [__file__, cmd] + params) File /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/ django/cor e/management/ __init__.py, line 438, in execute_manager utility.execute() File /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/ django/cor e/management/ __init__.py, line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/ django/cor e/management/ base.py, line 191, in run_from_argv self.execute(*args, **options.__dict__) File /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/ django/cor e/management/ base.py, line 220, in execute output = self.handle(*args, **options) File /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/ django/cor e/management/ base.py, line 351, in handle return self.handle_noargs(**options) File /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/ django/cor e/management/ commands/syncdb.py, line 109, in handle_noargs emit_post_sync_signal(created_models, verbosity, interactive, db) File /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/ django/cor e/management/ sql.py, line 190, in emit_post_sync_signal interactive=interactive, db=db) File /usr/local/lib/python2.6/dist-packages/Django-1.3.1-py2.6.egg/ django/dis patch/ dispatcher.py, line 172, in send response = receiver(signal=self, sender=sender, **named) File /usr/local/lib/python2.6/dist-packages/django_evolution-0.6.5- py2.6.egg/ django_evolution/ management/__init__.py, line 78, in evolution old_proj_sig = pickle.loads(str(latest_version.signature)) EOFError What could cause this? Thank you in advance. Regards Józsa Viktor -- 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
Using Multiple P4 Repositories
Hello, We are using Review Board with P4. We had one P4 repository set-up on our Review Board server and it was working great. Today I added a second P4 Repository and now when we do a post review from the original repository we get an error: STATUS: 09:47:56 True STATUS: 09:47:56 Traceback (most recent call last): STATUS: 09:47:56 File \\mtl-cpl-af018\MyTools\review.py, line 101, in module STATUS: 09:47:56 main(sys.argv[1:]) STATUS: 09:47:56 File \\mtl-cpl-af018\MyTools\review.py, line 94, in main STATUS: 09:47:56 libpostreview.main() STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 2885, in main STATUS: 09:47:56 diff, parent_diff = tool.diff(args) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 1519, in diff STATUS: 09:47:56 return self._changenum_diff(changenum) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 1792, in _changenum_diff STATUS: 09:47:56 new_file = self._depot_to_local(depot_path) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 1939, in _depot_to_local STATUS: 09:47:56 where_output = self._run_p4(['where', depot_path]) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 1643, in _run_p4 STATUS: 09:47:56 p = subprocess.Popen(command, stdout=subprocess.PIPE) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib\subprocess.py, line 586, in __init__ STATUS: 09:47:56 errread, errwrite) = self._get_handles(stdin, stdout, stderr) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib\subprocess.py, line 681, in _get_handles STATUS: 09:47:56 p2cread = self._make_inheritable(p2cread) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib\subprocess.py, line 722, in _make_inheritable STATUS: 09:47:56 DUPLICATE_SAME_ACCESS) STATUS: 09:47:56 TypeError: an integer is required STATUS: 09:47:56 Exception exceptions.AttributeError: '_shutdown' in module 'threading' from '\\mtl-cpl-af018\python25\lib\threading.pyc' ignored I tried using the --repository-url parameter but then it says I need to use --revision-range or --diff-filename option. When looking in the help of Review Board there are only examples for -- revision-range if doing post-committing reviews. We only use pre- committing reviews (ie: diff files from depot). -- 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
Converting from utf8 to ISO_8859_8
Hi all, When our ReviewBoard site was originally installed, it was setup with utf8 as the default charset. I would like to convert it to use an extended charset like ISO_8859_8 so that we don't get errors when trying to add cut-n-paste comments from apps that embed extended chars. Is there an easy way to do the conversion using rb-site? Or do I have to dump the tables, edit the files, and re-create a new site with the imported data? We're currently running 1.6.1 and I'm planning to update to 1.6.5. If I can make this other change as well, that would be great. Thanks! Craig -- 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: Using Multiple P4 Repositories
None of this looks to be Review Board code. I know for certain that post-review (ours, not yours) and Review Board itself are used in places with over 20 P4 repositories. You'll have to talk to whoever wrote this script you're using. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Apr 16, 2012 at 6:52 AM, TheComebackKid combackkid...@gmail.comwrote: Hello, We are using Review Board with P4. We had one P4 repository set-up on our Review Board server and it was working great. Today I added a second P4 Repository and now when we do a post review from the original repository we get an error: STATUS: 09:47:56 True STATUS: 09:47:56 Traceback (most recent call last): STATUS: 09:47:56 File \\mtl-cpl-af018\MyTools\review.py, line 101, in module STATUS: 09:47:56 main(sys.argv[1:]) STATUS: 09:47:56 File \\mtl-cpl-af018\MyTools\review.py, line 94, in main STATUS: 09:47:56 libpostreview.main() STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 2885, in main STATUS: 09:47:56 diff, parent_diff = tool.diff(args) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 1519, in diff STATUS: 09:47:56 return self._changenum_diff(changenum) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 1792, in _changenum_diff STATUS: 09:47:56 new_file = self._depot_to_local(depot_path) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 1939, in _depot_to_local STATUS: 09:47:56 where_output = self._run_p4(['where', depot_path]) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib \libpostreview.py, line 1643, in _run_p4 STATUS: 09:47:56 p = subprocess.Popen(command, stdout=subprocess.PIPE) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib\subprocess.py, line 586, in __init__ STATUS: 09:47:56 errread, errwrite) = self._get_handles(stdin, stdout, stderr) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib\subprocess.py, line 681, in _get_handles STATUS: 09:47:56 p2cread = self._make_inheritable(p2cread) STATUS: 09:47:56 File \\mtl-cpl-af018\python25\lib\subprocess.py, line 722, in _make_inheritable STATUS: 09:47:56 DUPLICATE_SAME_ACCESS) STATUS: 09:47:56 TypeError: an integer is required STATUS: 09:47:56 Exception exceptions.AttributeError: '_shutdown' in module 'threading' from '\\mtl-cpl-af018\python25\lib\threading.pyc' ignored I tried using the --repository-url parameter but then it says I need to use --revision-range or --diff-filename option. When looking in the help of Review Board there are only examples for -- revision-range if doing post-committing reviews. We only use pre- committing reviews (ie: diff files from depot). -- 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
Re: Using Multiple P4 Repositories
Hi Christian, Thanks for responding. I ended up finding my problem. I was using P4Win instead of P4V, which does not happen to like our script we use. I wasn't aware that the script was not ReviewBoard code. I will be asking the person who set up the ReviewBoard to show me exactly who it works. Sorry for the trouble. -- 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
Reviewboard Intellij Idea plugin
I know there is an eclipse plugin of RB. but does RB have plugin for Intellij Idea ?or any future release plans for Intellij Idea plugin? regards -- 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: Reviewboard Intellij Idea plugin
Hi, I have no idea what the state is, but there is this: http://code.google.com/p/idea-reviewboard/ We don't have the time or resources to build IDE plugins, so it's generally left to third parties who have a vested interest in them. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Apr 16, 2012 at 9:48 PM, Yusup Ashrap aph...@gmail.com wrote: I know there is an eclipse plugin of RB. but does RB have plugin for Intellij Idea ?or any future release plans for Intellij Idea plugin? regards -- 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
Issue 2573 in reviewboard: Diffs not displayed when first diff on page fails to apply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2573 by jasper.v...@gmail.com: Diffs not displayed when first diff on page fails to apply http://code.google.com/p/reviewboard/issues/detail?id=2573 * NOTE: Do not post confidential information in this bug report. * * If you need immediate support, please contact* * reviewbo...@googlegroups.com * What version are you running? 1.6.5 What's the URL of the page containing the problem? http://reviewboardaddress/r/nr/diff/?page=4 What steps will reproduce the problem? 1. Upload a diff 2. View results 3. Go to a page where the first diff does not apply correctly What is the expected output? What do you see instead? The expected output is a list with files where behind the first file the message Diff currently unavailable. appears. Instead the following message is shown below the menu: The patch to 'file' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.cV7F3w' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.cV7F3w/tmpj5P3tP Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file /tmp/reviewboard.cV7F3w/tmpj5P3tP-new.rej Traceback (most recent call last): File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard/diffviewer/views.py, line 151, in view_diff interdiffset, highlighting, True) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard/diffviewer/diffutils.py, line 1072, in get_diff_files large_data=True) File /usr/local/lib/python2.6/dist-packages/Djblets-0.6.16-py2.6.egg/djblets/util/misc.py, line 157, in cache_memoize data = lookup_callable() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard/diffviewer/diffutils.py, line 1071, in lambda enable_syntax_highlighting)), File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard/diffviewer/diffutils.py, line 553, in get_chunks new = get_patched_file(old, filediff) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard/diffviewer/diffutils.py, line 375, in get_patched_file return patch(filediff.diff, buffer, filediff.dest_file) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.5-py2.6.egg/reviewboard/diffviewer/diffutils.py, line 243, in patch (filename, tempdir, patch_output)) Exception: The patch to 'file' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.cV7F3w' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.cV7F3w/tmpj5P3tP Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file /tmp/reviewboard.cV7F3w/tmpj5P3tP-new.rej What operating system are you using? What browser? Client: Ubuntu 10.04, Firefox. Server: Ubuntu 10.04, apache2 Please provide any additional information below. A workaround is to change the Paginate by value in the admin settings. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.
Re: Issue 2574 in reviewboard: not a bug
Comment #4 on issue 2574 by trowb...@gmail.com: not a bug http://code.google.com/p/reviewboard/issues/detail?id=2574 Not that I know of. This issue tracker is for keeping track of open bugs. The mailing lists are the best place for asking questions. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To post to this group, send email to reviewboard-issues@googlegroups.com. To unsubscribe from this group, send email to reviewboard-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en.