Review board is failing Unicode clients require a unicode enabled server. Kindly help me!
Hello Christian, The review board is failing with the below error please help. RBTools 0.3.4 Home = C:\Users\hpai\Roaming\ User = hpai Port = pf-sj1-mob.sj.broadcom.com:1668 p4 info repository info: Path: pf-sj1-mob.sj.broadcom.com:1668, Base path: None, Supports changesets: True options.p4_client=bfeng_neos_win7 server_url = http://rb.sj.broadcom.com HTTP GETting api/ HTTP GETting http://rb.sj.broadcom.com/api/info/ Using the new web API Generating diff for changenum 455490 p4 describe -s 455490 Failed to execute command: ['p4', 'describe', '-s', '455380'] ['Unicode clients require a unicode enabled server.\n'] Thanks , Hari -- 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: Review board is failing Unicode clients require a unicode enabled server. Kindly help me!
Got it from perforce forum Do not set P4CHARSET if your server is not unicode enabled. If your command returns Unicode clients require a unicode enabled server then unset P4CHARSET ... On Thu, Oct 25, 2012 at 1:04 PM, Hari harihar.p...@gmail.com wrote: ** Hello Christian,** ** ** **The review board is failing with the below error please help.** RBTools 0.3.4 Home = C:\Users\hpai\Roaming\ User = hpai Port = pf-sj1-mob.sj.broadcom.com:1668 p4 info repository info: Path: pf-sj1-mob.sj.broadcom.com:1668, Base path: None, Supports changesets: True options.p4_client=bfeng_neos_win7 server_url = http://rb.sj.broadcom.com HTTP GETting api/ HTTP GETting http://rb.sj.broadcom.com/api/info/ Using the new web API Generating diff for changenum 455490 p4 describe -s 455490 Failed to execute command: ['p4', 'describe', '-s', '455380'] ['Unicode clients require a unicode enabled server.\n'] Thanks , Hari -- 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
Delete users from sql, auth_user
Hello all, I am writing a custom script so users can be added and deleted from reviewboard. However how can I delete a user from auth_user, because I got problems with the foreign key constraint. I am writing the script in php/mysql. Cannot delete or update a parent row: a foreign key constraint fails (`reviewboard`.`accounts_profile`, CONSTRAINT `user_id_refs_id_46e869e2` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)) What sql code would I need to delete, or make sure the user and history are deleted properly? -- 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
deleting users from reviewboard using sql
Hello all, How can I delete a user using sql code? I have coded a php app populates reviewboard users but I wish to delete users too. Because the use of foreign key constraint makes deleting a user out of the database hard due to all the links. -- 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: Submitting patches, subversion post-review support for already committed revisions
Hi, Same problem here with RB 1.6.11. When posting a review request with revistion that includes renaming some files i get this: (Not a versioned resource)\n', '\n', 'svn: A problem occurred; see other errors for details\n' Any news here? W dniu środa, 9 grudnia 2009 23:01:28 UTC+1 użytkownik Lyndon Washington napisał: Hi, Was there a resolution to the svn problem that was outlined, because I get a similar problem after I performed a commit that included some moved and deleted source files. When i try and create a review request with post-review I get the following error: Failed to execute command: ['svn', 'info', 'runtime/tests/src/com/notification/impl/TestNotificationMessageFactory.java'] ['runtime/tests/src/com/notification/impl/TestNotificationMessageFactory.java: (Not a versioned resource)\n', '\n', 'svn: A problem occurred; see other errors for details\n'] Cheers, -Lyndon- Lyndon Washington On Thu, Dec 3, 2009 at 11:42 AM, Jason Felice jason.m...@gmail.comjavascript: wrote: On Thu, Dec 3, 2009 at 1:54 AM, Christian Hammond chi...@chipx86.comjavascript: wrote: Hi Jason, A standard diff -u doesn't contain the revision information needed, and a git diff by default uses short SHA1s, which we can't use to fetch the files. You will need to use either post-review (recommended) or git diff --full-index. OK, that worked. post-review with Subversion should support renames and posting diffs of existing commits. What versions of Review Board and of post-review are you using? I tried what I got from easy_install -U RBTools, when that wouldn't work, I tried git HEAD. My ReviewBoard install reports 1.0.5.1... weird because I thought I installed the alpha because I need SVN https support, and I have successfully used SVN https repositories. Can you show me exactly what happens with post-review in the two cases (renames and existing commits)? You can run post-review with --debug for more information, which would help to diagnose an issue. C:\workspace\xpay-corepost-review --debug --revision-range 4665:4666 svn info repository info: Path: https://dtvsource/svn/xpay, Base path: /trunk/xpay-core-1.2, Supports changesets: False svn propget reviewboard:url C:\workspace\xpay-core svn diff --diff-cmd=diff -r 4665:4666 svn info src/dev/testapp/emulator/nio/TaskResolver.java Failed to execute command: ['svn', 'info', 'src/dev/testapp/emulator/nio/TaskResolver.java'] [svn: 'src\\dev\\testapp\\emulator\\nio\\TaskResolver.java' is not under version control\n] TaskResolver.java was renamed to EmulatorResolver.java in the named commit. By the way, I was initially confused because I didn't realize that you could use post-review to do pre-commit review, might I suggest renaming the tool to something like rb-submit? I tried submitting the output of svn diff, but I was sure that wasn't going to work, since there isn't enough information in the diff for anyone to apply it when a rename is involved! -- 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...@googlegroups.com javascript: 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: Delete users from sql, auth_user
Can you clarify why you want to do this? As you've noted, review board really isn't designed to have users be deleted entirely. As an aside, it's going to be much, much easier to write these sorts of scripts as django management commands than to try to do it operating directly on the database. -David On Thu, Oct 25, 2012 at 2:41 AM, Ben Copeland ben.comob...@gmail.com wrote: Hello all, I am writing a custom script so users can be added and deleted from reviewboard. However how can I delete a user from auth_user, because I got problems with the foreign key constraint. I am writing the script in php/mysql. Cannot delete or update a parent row: a foreign key constraint fails (`reviewboard`.`accounts_profile`, CONSTRAINT `user_id_refs_id_46e869e2` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)) What sql code would I need to delete, or make sure the user and history are deleted properly? -- 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: anonymous read only access
Hi Heinz, I haven't encountered this yet, but will give it a try later. Would you mind filing a bug to track this? Does this happen with any other settings? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Oct 24, 2012 at 2:20 AM, Heinz Wiesinger hmwiesin...@liwjatan.atwrote: Hi! I set up a new reviewboard site using 1.6.13. I'm trying to enable anonymous read only access, but it does not seem to work. I check the checkbox in settings and click on 'Save'. The site tells me 'The settings have been saved.', but the checkbox is unchecked and anonymous access is not possible. Am I missing something? Grs, Heinz -- 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: Delete users from sql, auth_user
I'd add that it is unlikely that you really want to delete all traces of a user in ReviewBoard history. If you need to deactivate an account, why not just do that? Eric Sent from my iPad On Oct 25, 2012, at 1:28 PM, David Trowbridge trowb...@gmail.com wrote: Can you clarify why you want to do this? As you've noted, review board really isn't designed to have users be deleted entirely. As an aside, it's going to be much, much easier to write these sorts of scripts as django management commands than to try to do it operating directly on the database. -David On Thu, Oct 25, 2012 at 2:41 AM, Ben Copeland ben.comob...@gmail.com wrote: Hello all, I am writing a custom script so users can be added and deleted from reviewboard. However how can I delete a user from auth_user, because I got problems with the foreign key constraint. I am writing the script in php/mysql. Cannot delete or update a parent row: a foreign key constraint fails (`reviewboard`.`accounts_profile`, CONSTRAINT `user_id_refs_id_46e869e2` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`)) What sql code would I need to delete, or make sure the user and history are deleted properly? -- 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 -- 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