It only happens you submit the request twice.

$ post-review 186598 (first time submit)
...

Review request # 5 posted.

http://................/reviews/r/6


$ post-review 186598 (same change #)
Traceback (most recent call last):
  File "/net/adc2100488/scratch/opt/bin/post-review", line 8, in
<module>
    load_entry_point('RBTools==0.2rc1', 'console_scripts', 'post-
review')()
  File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line
2774, in main
  File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line
2423, in tempt_fate
  File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line 427,
in new_review_request
UnboundLocalError: local variable 'rsp' referenced before assignment



On Apr 14, 11:28 am, Daniel <dyoon....@gmail.com> wrote:
> I am still seeing it.
>
> $ post-review 186593
> Traceback (most recent call last):
>   File "/net/adc2100488/scratch/opt/bin/post-review", line 8, in
> <module>
>     load_entry_point('RBTools==0.2rc1', 'console_scripts', 'post-
> review')()
>   File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line
> 2774, in main
>   File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line
> 2423, in tempt_fate
>   File "build/bdist.linux-x86_64/egg/rbtools/postreview.py", line 427,
> in new_review_requestUnboundLocalError: local variable 'rsp' referenced 
> before assignment
>
> On Feb 24, 8:54 pm, Christian Hammond <chip...@chipx86.com> wrote:
>
> > There's a fix for this going in tonight. You'll want to grab tomorrow's
> > nightly.
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
>
> > On Wed, Feb 24, 2010 at 6:43 AM, Florian Föbel
> > <arenaweb...@googlemail.com>wrote:
>
> > > Hi,
>
> > > Found an error in post-review from RBTools 0.2rc1:
> > > Traceback (most recent call last):
> > >   File "/usr/local/bin/post-review", line 10, in <module>
> > >     load_entry_point('RBTools==0.2rc1', 'console_scripts', 
> > > 'post-review')()
> > >   File
> > > "/usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py",
> > > line 2774, in main
> > >   File
> > > "/usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py",
> > > line 2423, in tempt_fate
> > >   File
> > > "/usr/local/lib/python2.5/site-packages/RBTools-0.2rc1-py2.5.egg/rbtools/postreview.py",
> > > line 427, in new_review_request
> > >UnboundLocalError: local variable 'rsp' referenced before assignment
>
> > > It was introduced with the following commit:
>
> > >http://github.com/reviewboard/rbtools/commit/5968f84456d1e349bd174c2b...
>
> > > I tried to manually add "rsp, = e.args" but that won't work. I guess I
> > > currently lack the python skills and understanding of post-review to fix
> > > this without some time to spare.
>
> > > Anyone having a simple fix?
>
> > > Regards,
> > > Florian
>
> > > --
> > > 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<reviewboard%2bunsubscr...@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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to