Issue creating reviewbot-cookies.txt

2018-03-13 Thread Hemapriya M
Hi,

I installed reviewboard3.0 and reviewbot1.0. After configuring the broker 
url and starting the worker nodes, the broker status is "Unable to connect 
to broker". Also, I see the following traceback in reviewbot worker console.

[2018-03-14 00:31:32,764: INFO/MainProcess] ???[???]: Done iterating Tools
[2018-03-14 00:31:32,765: WARNING/MainProcess] There was an error while 
creating a cookie file: [Errno 13] Permission denied: 
u'reviewbot-cookies.txt'
[2018-03-14 00:31:32,765: ERROR/MainProcess] ???[???]: Could not reach RB 
server: [Errno 13] Permission denied: u'reviewbot-cookies.txt'
Traceback (most recent call last):
  File 
"/opt/software/lib/python2.7/site-packages/reviewbot_worker-1.0-py2.7.egg/reviewbot/tasks.py",
 
line 277, in update_tools_list
session=payload['session'])
  File 
"/opt/software/lib/python2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/api/client.py",
 
line 18, in __init__
self._transport = transport_cls(url, *args, **kwargs)
  File 
"/opt/software/lib/python2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/api/transport/sync.py",
 
line 44, in __init__
ext_auth_cookies=ext_auth_cookies)
  File 
"/opt/software/lib/python2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/api/request.py",
 
line 467, in __init__
print(name)
  File "/opt/software/lib/python2.7/_MozillaCookieJar.py", line 118, in save
f = open(filename, "w")
IOError: [Errno 13] Permission denied: u'reviewbot-cookies.txt'

Can you please let me know the location that it tries to create this 
reviewbot-cookies.txt file?

Thanks.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" 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.


API Error 103 during ReviewBot 1.0 setup

2018-04-14 Thread Hemapriya M
I'm trying to setup ReviewBot 1.0 in ReviewBoard 3.0.3. It says "Connected 
to broker" when the worker nodes are not started. But when I start the 
worker nodes, it throws the following error.

[2018-04-14 05:35:24,736: ERROR/MainProcess] ???[???]: Could not reach RB 
server: You are not logged in (HTTP 401, API Error 103)
Traceback (most recent call last):
  File 
"/opt/software/lib/python2.7/site-packages/reviewbot_worker-1.0-py2.7.egg/reviewbot/tasks.py",
 
line 280, in update_tools_list
api_root = api_client.get_root()
  File 
"/opt/software/lib/python2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/api/client.py",
 
line 21, in get_root
return self._transport.get_root(*args, **kwargs)
  File 
"/opt/software/lib/python2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/api/transport/sync.py",
 
line 47, in get_root
return self._execute_request(HttpRequest(self.server.url))
  File 
"/opt/software/lib/python2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/api/transport/sync.py",
 
line 84, in _execute_request
rsp = self.server.make_request(request)
  File 
"/opt/software/lib/python2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/api/request.py",
 
line 587, in make_request
self.process_error(e.code, e.read())
  File 
"/opt/software/lib/python2.7/site-packages/RBTools-0.7.11-py2.7.egg/rbtools/api/request.py",
 
line 560, in process_error
rsp['err']['msg'])
AuthorizationError: You are not logged in (HTTP 401, API Error 103)

Who do I get this error?

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" 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.


Re: API Error 103 during ReviewBot 1.0 setup

2018-04-17 Thread Hemapriya M
Ok. I have this issue when I use RBTools 0.7.11 with ReviewBot 1.0. Hence, 
downgraded RBTools to 0.7.10 and it works without this issue.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" 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.