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".

$ post-review --debug --server=https://frankabel.cujae.edu.cu/
reviewboard/ reviewboard/ --username=frankabel --password=PpMeOv606 --
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to