RBTools Ticket #4855: rbtools 1.0.2 returns blank summary for draft review requests

2020-01-07 Thread Hemapriya M
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4855/
--

New ticket #4855 by m_hemapriya
For Beanbag, Inc. > RBTools

Status: New
Tags: Priority:Medium, Type:Defect


--
rbtools 1.0.2 returns blank summary for draft review requests
==

# What version are you running?
1.0.2

# What steps will reproduce the problem?
1. Create a draft review request
2. Do not publish it
3. Run "rbt status"


# What is the expected output? What do you see instead?
Expected output is draft review request id with summary. What we see is review 
request id with blank summary.

# What operating system are you using?
RHEL 6

# Attach the debug out from the command.

```
[hema@reviewboard rbtools]$ ./rbt status
+--++
|Status|   Review Request   |
+==++
| Draft| r/573743 - |
+--++
| Draft| r/566587 - |
+--++

```


# Please provide any additional information below.
Change "request.summary" in line no. 112 of commands/status.py to 
"request.draft[0]['summary'] if request.draft else request.summary"

--

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard-issues/20200108072252.9467.76745%40ip-10-1-54-209.ec2.internal.


Review Board Ticket #4767: Discarded review requests are not getting indexed

2018-11-15 Thread Hemapriya M
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4767/
--

New ticket #4767 by m_hemapriya
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


--
Discarded review requests are not getting indexed
==

# What version are you running?
ReviewBoard 3.0.3
Elasticsearch 2.4.6

# What's the URL of the page containing the problem?
https://rb.com/search/?q=file%3Aqoslimits.pm

# What steps will reproduce the problem?
1. Setup Elasticsearch cluster
2. Run indexing via rebuild_index command
3. Enable Elasticsearch cluster in web interface.
4. Search for some file that's part of a discarded review request.


# What is the expected output? What do you see instead?
The search result should display the match in discarded review request too.

# What operating system are you using? What browser?
Centos 6; Chrome

# Please provide any additional information below.
Raising the ticket as per David Trowbridge's guidance in the ReviewBoard Google 
Community.

--

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at https://groups.google.com/group/reviewboard-issues.
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.


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.


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.