You are right Dan, post-review script isn't working. I really don't need it cause I'm working with mercurial and postreview extension, but I have a pretty standard setup(ubuntu 9.04 and so on) so if you want take me to debug I will do what you need to get the problem solved.
Cheers Frank Abel On Jul 23, 5:58 pm, Dan Savilonis <d...@n-cube.org> wrote: > Hmm, well the original debug output you posted indicated that it never > even got far enough to try to contact the server. If the mercurial > extension is now working, that's great, but it would be good to know > the post-review script is working as well. > > Dan > > On Jul 23, 3:20 pm, frankabel <frank.abel...@gmail.com> wrote: > > > On Jul 20, 12:59 pm, Dan Savilonis <d...@n-cube.org> wrote: > > > > Friendly reminder: please don't post passwords or other sensitive > > > information on the mailing list. > > > Thanks, but is just a test server and an inutile pass, strong? yes, > > seem that my finger can't type a weak pass :) > > > > What's happening is that it's falling through mercurial detection into > > > clearcase, and it fails to detect any vcs. It will test for a > > > mercurial-svn repository first, so you should expect that to fail > > > before it tries to detect a pure mercurial repo. > > > > One thing to check: > > > > run hg svn info > > > > Does the response start with 'abort:'? If not, the script is looking > > > for this, and will assume it IS an hg-svn repo otherwise. This > > > actually looks like the only codepath that is possible (that I see) > > > given the debug trace you provided. > > > > Dan > > > I'm don't know what happened and don't understand to much what you > > said. I really want uses a mercurial extension(http://bitbucket.org/ > > ccaughie/mercurial-reviewboard/wiki/Home) instead of this review board > > command, cause is more smooth. I'm reply this message because I'm > > pretty sure that the solution(http://groups.google.com/group/ > > mercurial_general/t/b53558ae8182ba8c) that fix my problem using the > > extension is the same that can be solve this problem and alway can > > someone have the same problem: > > > In resume, I think that review board don't handle api request on an > > installation with a root path different to '/' cause I reinstall > > review board without any root path, I mean using '/' root path and all > > work fine. > > > Thanks a lot for your reply Dan > > Frank Abel > > > > On Jul 20, 7:34 am, frankabel <frank.abel...@gmail.com> wrote: > > > > > Hi Christian! > > > > > First at all thanks for your reply. > > > > > Here the command with --debug and yes, "hg" is in my path, I type hg > > > > and all if fine(I have hg installed using distro binaries, ubuntu 9.04 > > > > in my case), I even type "hg root" and all is fine, but what I see is > > > > that "svn"(see below) isn't a hg command and not have idea of what is > > > > "cleartool pwv -short". > > > > > revision-range=35:38>>> hg root > > > > >>> hg svn info > > > > >>> cleartool pwv -short > > > > > Traceback (most recent call last): > > > > File "/usr/local/bin/post-review", line 5, in <module> > > > > pkg_resources.run_script('RBTools==0.2beta1', 'post-review') > > > > File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 448, > > > > in run_script > > > > self.require(requires)[0].run_script(script_name, ns) > > > > File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1173, > > > > in run_script > > > > exec script_code in namespace, namespace > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 2313, in <module> > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 2254, in main > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 2206, in > > > > determine_client > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 744, in > > > > get_repository_info > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 1898, in execute > > > > > File "/usr/lib/python2.6/subprocess.py", line 595, in __init__ > > > > errread, errwrite) > > > > File "/usr/lib/python2.6/subprocess.py", line 1092, in > > > > _execute_child > > > > raise child_exception > > > > OSError: [Errno 2] No such file or directory > > > > > Cheers > > > > Frank Abel > > > > > On Jul 20, 2:57 am, Christian Hammond <chip...@chipx86.com> wrote: > > > > > > Hi Frank, > > > > > > It seems the line numbers have changed quite a bit between that > > > > > version and > > > > > SVN HEAD, but the first thing to check is that hg is in your path. > > > > > > If you run with --debug, you'll get more information about what > > > > > command it's > > > > > trying to execute. > > > > > > Christian > > > > > > -- > > > > > Christian Hammond - chip...@chipx86.com > > > > > Review Board -http://www.review-board.org > > > > > VMware, Inc. -http://www.vmware.com > > > > > > On Sun, Jul 19, 2009 at 12:07 PM, frankabel <frank.abel...@gmail.com> > > > > > wrote: > > > > > > > Hi all, > > > > > > > Here what I get while trying uses post-review command inside a > > > > > > mercurial repo: > > > > > > > $ post-review --server=https://frankabel.cujae.edu.cu/reviewboard/ > > > > > > reviewboard/ > > > > > > <https://frankabel.cujae.edu.cu/reviewboard/%0Areviewboard/>--username=frankabel > > > > > > --password=PpMeOv606 --revision- > > > > > > range=35:38 > > > > > > Traceback (most recent call last): > > > > > > File "/usr/local/bin/post-review", line 5, in <module> > > > > > > pkg_resources.run_script('RBTools==0.2beta1', 'post-review') > > > > > > File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 448, > > > > > > in run_script > > > > > > self.require(requires)[0].run_script(script_name, ns) > > > > > > File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line > > > > > > 1173, > > > > > > in run_script > > > > > > exec script_code in namespace, namespace > > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 2313, in <module> > > > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 2254, in main > > > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 2206, in > > > > > > determine_client > > > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 744, in > > > > > > get_repository_info > > > > > > > File "/usr/local/lib/python2.6/dist-packages/RBTools-0.2beta1- > > > > > > py2.6.egg/EGG-INFO/scripts/post-review", line 1898, in execute > > > > > > > File "/usr/lib/python2.6/subprocess.py", line 595, in __init__ > > > > > > errread, errwrite) > > > > > > File "/usr/lib/python2.6/subprocess.py", line 1092, in > > > > > > _execute_child > > > > > > raise child_exception > > > > > > OSError: [Errno 2] No such file or directory > > > > > > $ > > > > > > > Any help? What I'm doing wrong? If anybody have experience with > > > > > > reviewboard and mercurial, would be nice see what about "http:// > > > > > > groups.google.com/group/mercurial_general/browse_thread/thread/ > > > > > > b53558ae8182ba8c<http://groups.google.com/group/mercurial_general/browse_thread/thread...>" > > > > > > too. > > > > > > > Cheers > > > > > > Frank Abel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---