I am using post-review to create a review. I did not change anything
on the server and it suddenly stops working.

Here is the log with --debug on, I am using perforce. Any idea what
went wrong?

C:\singe\depot>python post-review 36074 --debug
>>> p4 info
>>> repository info: Path: XXXX:1666, Base path: None, Supports changesets: True
>>> p4 counters
>>> Generating diff for changenum 36074
>>> p4 describe -s 36074
>>> Processing edit of //depot/wcm/dev/releng/1
>>> Writing "//depot/wcm/dev/releng/1#25" to 
>>> "c:\docume~1\XXXX\locals~1\temp\tmpeuzeqx"
>>> p4 print -q //depot/wcm/dev/releng/1#25
>>> p4 where //depot/wcm/dev/releng/1
>>> diff -urNp c:\docume~1\XXXX\locals~1\temp\tmpeuzeqx 
>>> c:\singe\depot\wcm\dev\releng\1
>>> Looking for 'pfwebal01 /' cookie in C:\Documents and Settings\XXXX\Local 
>>> Settings\Application Data\.post-review-cookies.txt
>>> Cookie file loaded, but no cookie for this server
==> Review Board Login Required
Enter username and password for Review Board at http://XXXX/
Username: XXXX
>>> Logging in with username "XXXX"
>>> HTTP POSTing to http://XXXX/api/json/accounts/login/: {'username': XXXX, 
>>> 'password': '**************'}
>>> Logged in.
>>> Attempting to create review request for 36074
>>> HTTP POSTing to http://XXXX/api/json/reviewrequests/new/: 
>>> {'repository_path': XXXX:1666', 'ch
angenum': '36074'}
Traceback (most recent call last):
  File "post-review", line 5, in <module>
    pkg_resources.run_script('rbtools==0.2beta1', 'post-review')
  File "C:\Python25\Lib\site-packages\pkg_resources.py", line 448, in
    self.require(requires)[0].run_script(script_name, ns)
  File "C:\Python25\Lib\site-packages\pkg_resources.py", line 1173, in
    exec script_code in namespace, namespace
  File "C:\singe\depot\post-review", line 2313, in <module>

  File "C:\singe\depot\post-review", line 2295, in main

  File "C:\singe\depot\post-review", line 1965, in tempt_fate

  File "C:\singe\depot\post-review", line 372, in new_review_request

  File "C:\singe\depot\post-review", line 569, in api_post

  File "C:\singe\depot\post-review", line 480, in process_json

  File "C:\Python25\lib\site-packages\simplejson-2.0.9-py2.5-win32.egg
\simplejson\__init__.py", line 307, in loads
  File "C:\Python25\lib\site-packages\simplejson-2.0.9-py2.5-win32.egg
\simplejson\decoder.py", line 335, in decode
  File "C:\Python25\lib\site-packages\simplejson-2.0.9-py2.5-win32.egg
\simplejson\decoder.py", line 353, in raw_decode
ValueError: No JSON object could be decoded

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 
For more options, visit this group at 

Reply via email to