Python jirashell: something got lost in translation

Toomas Vendelin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 1, 2023

I have installed jira-3.5.1-py3-none-any.whl in a virtual environment. By the way, there are two dependencies missing in the distribution, so I had to install them in an extra step:

pip install keyring IPython

I get the following in response to any legitimate command, like

i = jira.issue("XYZ-1234")

Unhandled exception in event loop:
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/", line 80, in _run, *self._args)
File "/Users/auser/deleteme/lib/python3.11/site-packages/prompt_toolkit/input/", line 173, in callback_wrapper
File "/Users/auser/deleteme/lib/python3.11/site-packages/prompt_toolkit/application/", line 698, in read_from_input
File "/Users/auser/deleteme/lib/python3.11/site-packages/prompt_toolkit/key_binding/", line 272, in process_keys
File "/Users/auser/deleteme/lib/python3.11/site-packages/prompt_toolkit/key_binding/", line 187, in _process
self._call_handler(matches[-1], key_sequence=buffer[:])
File "/Users/auser/deleteme/lib/python3.11/site-packages/prompt_toolkit/key_binding/", line 322, in _call_handler
File "/Users/auser/deleteme/lib/python3.11/site-packages/prompt_toolkit/key_binding/", line 126, in call
result = self.handler(event)
File "/Users/auser/deleteme/lib/python3.11/site-packages/IPython/terminal/shortcuts/", line 404, in handle_return_or_newline_or_execute
return newline_or_execute_outer(shell)(event)
File "/Users/auser/deleteme/lib/python3.11/site-packages/IPython/terminal/shortcuts/", line 427, in newline_or_execute
status, indent = shell.check_complete(check_text)

Exception 'NoneType' object has no attribute 'check_complete'
Press ENTER to continue...


After some fiddling with previous versions, I've found a workaround:

pip install IPython==8.4.0

Now things are back to normal with my setup, but the wonderful Atlassian developers should probably look into it.

1 answer

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 2, 2023


This library is not developed by Atlassian so their developers won't work on it. By the way i recommend to use the REST API developed by Atlassian instead of these library.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events