Jirashell throws "KeyError: u'consumer_key" and won't start

I am new to jira-python and faced the problem of using jirashell.

jira-python was installed from the documentation provided here: http://jira.readthedocs.org/en/latest/

When I try to start jirashell using:

ubuntu@ip-10-0-0-12:~$ jirashell -s https://jira.atlassian.com

      

I am getting the following error:

Traceback (most recent call last):
  File "/usr/local/bin/jirashell", line 11, in <module> sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/jira/jirashell.py", line 248, in main
  jira = JIRA(options=options, basic_auth=basic_auth, oauth=oauth)
  File "/usr/local/lib/python2.7/dist-packages/jira/client.py", line 202, in __init__self._create_oauth_session(oauth)
  File "/usr/local/lib/python2.7/dist-packages/jira/client.py", line 1871, in _create_oauth_session
  oauth['consumer_key'],
KeyError: u'consumer_key'

      

I also tried to get to the server using basic auth, but it returns the same error. Using curl works great, but I wanted to see the objects returned and get help as the python-jira integration develops.

Thank you for your understanding.

+3
python python-jira


source to share


No one has answered this question yet

Check out similar questions:

9540
What does the yield keyword do?
5504
Does Python have a ternary conditional operator?
5433
What if __name__ == "__main__": do?
3602
Does Python have a substring method "contains"?
2020
Manually raising (throwing) an exception in Python
176
How do I import modules into pycharm?
87
Selenium: FirefoxProfile Exception Can't load profile
4
google.protobuf.text_format.ParseError while instantiating TensorFlow model with Python
4
Too many files open error in application using Kafka
1
How do I deploy a Java Maven based application on AWS ElasticBeanstalk using Bitbucket pipelines?



All Articles
Loading...
X
Show
Funny
Dev
Pics