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


source to share





All Articles