> On Jan. 9, 2015, 6:48 p.m., Neha Narkhede wrote:
> > kafka-patch-review.py, line 20
> > <https://reviews.apache.org/r/29756/diff/4/?file=814310#file814310line20>
> >
> >     I got the following error on this patch 
> >     
> >     nnarkhed-mn1:kafka nnarkhed$ python kafka-patch-review.py -b trunk -j 
> > KAFKA-1854 -d test
> >     Configuring reviewboard url to https://reviews.apache.org
> >     Updating your remote branches to pull the latest changes
> >     Verifying JIRA connection configurations
> >     JIRA user :nehanarkhede
> >     JIRA password :
> >     Failed to login to the JIRA instance <type 'exceptions.AttributeError'> 
> > 'JIRA' object has no attribute 'current_user'
> >     
> >     Maybe a different version of the jira package we use renamed the user 
> > field ?
> 
> Jaikiran Pai wrote:
>     Neha, which version of jira-python are you using? I'll find and check 
> that project's documentation to see which version supports what.
> 
> Neha Narkhede wrote:
>     I'm not entirely sure. What's the best way to find out?
> 
> Neha Narkhede wrote:
>     In any case, I think the tool should be robust enough to deal with this 
> issue.

Hi Neha,

For knowing the jira-python (or any other python library installation), one way 
is to run the following command:

`pip show jira-python`

The jira-python documentation is hard to find for each specific version (they 
just have the latest online). So I had to look at their source for each/most of 
the tagged versions to see which API was supported 
https://bitbucket.org/bspeakmon/jira-python/src. I have made a change to this 
patch which works and I think it should work even for lower and higher versions 
of that library (based on what I see in those tagged versions).

Could  you please give this a try again and see how it goes for you? Thank you.


- Jaikiran


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29756/#review67477
-----------------------------------------------------------


On Jan. 13, 2015, 5:43 a.m., Jaikiran Pai wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29756/
> -----------------------------------------------------------
> 
> (Updated Jan. 13, 2015, 5:43 a.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-1854
>     https://issues.apache.org/jira/browse/KAFKA-1854
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> KAFKA-1854 Allow JIRA username and password to be prompted in the absence of 
> a jira.ini file, during patch submission
> 
> 
> Diffs
> -----
> 
>   kafka-patch-review.py b7f132f9d210b8648859ab8f9c89f30ec128ab38 
> 
> Diff: https://reviews.apache.org/r/29756/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jaikiran Pai
> 
>

Reply via email to