I have to add that sometimes it works (1 out of 10 maybe) and that the 
error changes, specifically the column number seems to vary each time. I 
tried to fetch the data with curl and it always works, can this be a bug in 
the http request? 

On Wednesday, October 8, 2014 1:10:00 PM UTC-7, damian...@gmail.com wrote:
>
> Hi, I'm trying to use rbt post and I'm getting this, any ideas on how to 
> fix it?
>
> dlezama@damian-mint:~/git/colossus/object_store > rbt post -d HEAD
> >>> RBTools 0.6.2
> >>> Python 2.7.6 (default, Mar 22 2014, 22:59:56) 
> [GCC 4.8.2]
> >>> Running on Linux-3.13.0-24-generic-x86_64-with-LinuxMint-17-qiana
> >>> Home = /home/dlezama
> >>> Current directory = /home/dlezama/git/colossus/object_store
> >>> Checking for a Subversion repository...
> >>> Running: svn info --non-interactive
> >>> Command exited with rc 1: ['svn', 'info', '--non-interactive']
> svn: E155007: '/home/dlezama/git/colossus/object_store' is not a working 
> copy
> ---
> >>> Checking for a Git repository...
> >>> Running: git rev-parse --git-dir
> >>> Running: git config core.bare
> >>> Running: git rev-parse --show-toplevel
> >>> Running: git symbolic-ref -q HEAD
> >>> Running: git svn info
> >>> Running: git svn rebase -n
> >>> repository info: Path: svn://svn/colossus, Base path: 
> /branches/object_store, Supports changesets: False
> >>> Making HTTP GET request to https://review.lab/api/
> >>> Running: git rev-parse HEAD
> >>> Running: git rev-parse 8a8ed683bf034a119e7b7405503445d0936f516e^
> >>> Running: git merge-base 23515a21157b6de7bc4ee9285d53218c199339f7 
> refs/remotes/git-svn
> >>> Running: git diff --no-color --no-prefix -r -u 
> 23515a21157b6de7bc4ee9285d53218c199339f7..8a8ed683bf034a119e7b7405503445d0936f516e
> >>> Running: git svn find-rev 23515a21157b6de7bc4ee9285d53218c199339f7
> >>> Running: git log --reverse --pretty=format:%s%n%n%b 
> ^23515a21157b6de7bc4ee9285d53218c199339f7 
> 8a8ed683bf034a119e7b7405503445d0936f516e
> >>> Making HTTP GET request to 
> https://review.lab.nbttech.com/api/review-requests/
> Traceback (most recent call last):
>   File "/usr/local/bin/rbt", line 9, in <module>
>     load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/main.py",
>  
> line 134, in main
>     command.run_from_argv([RB_MAIN, command_name] + args)
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/__init__.py",
>  
> line 416, in run_from_argv
>     exit_code = self.main(*args) or 0
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/post.py",
>  
> line 784, in main
>     submit_as=self.options.submit_as)
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/post.py",
>  
> line 495, in post_request
>     review_request = api_root.get_review_requests().create(
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/api/resource.py",
>  
> line 139, in <lambda>
>     self._get_url(url, **kwargs)))
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/api/decorators.py",
>  
> line 24, in request_method
>     *args, **kwargs)
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/api/transport/sync.py",
>  
> line 61, in execute_request_method
>     return self._execute_request(request)
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/api/transport/sync.py",
>  
> line 75, in _execute_request
>     payload = decode_response(payload, mime_type)
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/api/decode.py",
>  
> line 49, in decode_response
>     return decoder(payload)
>   File 
> "/usr/local/lib/python2.7/dist-packages/RBTools-0.6.2-py2.7.egg/rbtools/api/decode.py",
>  
> line 29, in JsonDecoder
>     return json.loads(payload)
>   File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
>     return _default_decoder.decode(s)
>   File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
>     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>   File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
>     obj, end = self.scan_once(s, idx)
> ValueError: Unterminated string starting at: line 1 column 23982 (char 
> 23981)
>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to