227: Problem with post-review under perforce repository

ttoyo*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Oct. 1, 2007
What steps will reproduce the problem?
Invoke "post-review -d 909526"

What is the expected output? What do you see instead?
Expecting success, seeing:
>>> Repository path '<server redacted>:1666'
>>> Attempting to create review request for 909526
>>> HTTP POSTing to /api/json/reviewrequests/new/: {'changenum': '909526',
'repository_path': '<server redacted>:1666'}
>>> Review request created
>>> Generating diff for changenum 909526
>>> Writing "//<path redacted>#4" to "/tmp/tmpr1jx13"
>>> Uploading diff
>>> HTTP POSTing to /api/json/reviewrequests/170/diff/new/: {}
Error uploading diff: One or more fields had errors (105)
Your review request still exists, but the diff is not attached.

What operating system are you using? What browser?
Red Hat Enterprise Linux 3
Firefox 2

Please provide any additional information below.
It appears that the UploadDiffForm requires a path field that isn't being
passed down correctly.
david
#1 david
Can you try updating your django installation?  This sounds like it has to do with
some recent updates for django svn.
david
#2 david
  • +NeedInfo
david
#3 david
  • +Component-Scripts
#4 ttoyo*****@gmai***** (Google Code) (Is this you? Claim this profile.)
I'm trying, but having problems with a ugettext function that has apparently
disappeared in the latest revision of django.  It's imported from
reviewboard.reviews.views.

What revision of django would you recommend?
#5 ttoyo*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Sorry, never mind, managed to get it working.

I think you were right - updating django seemed to fix it.
david
#6 david
Great.  Closing this bug.
  • -NeedInfo
    +Fixed