In Python 3.4, the orchestrator cannot start because of the following exception:
Traceback (most recent call last):
File "/usr/bin/unicorn", line 4, in <module>
__import__('pkg_resources').run_script('alto-unicorn==0.1', 'unicorn')
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 745, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 1670, in run_script
exec(code, namespace, namespace)
File "/usr/lib/python3.4/site-packages/alto_unicorn-0.1-py3.4.egg/EGG-INFO/scripts/unicorn", line 9, in <module>
from alto.unicorn import set_route
File "/usr/lib/python3.4/site-packages/alto_unicorn-0.1-py3.4.egg/alto/unicorn/__init__.py", line 1, in <module>
from alto.unicorn.entries import RegisterEntry
File "/usr/lib/python3.4/site-packages/alto_unicorn-0.1-py3.4.egg/alto/unicorn/entries.py", line 7, in <module>
from alto.unicorn.data_provider import DomainDataProvider, ThreadDataProvider
File "/usr/lib/python3.4/site-packages/alto_unicorn-0.1-py3.4.egg/alto/unicorn/data_provider.py", line 1, in <module>
from alto.unicorn.models.threads import ThreadDataProvider
File "/usr/lib/python3.4/site-packages/alto_unicorn-0.1-py3.4.egg/alto/unicorn/models/threads.py", line 3, in <module>
from json import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError'
I think it is because JSONDecodeError is introduced since Python 3.5. So it is not compatible with Python 3.4 or lower.
In Python 3.4, the orchestrator cannot start because of the following exception:
I think it is because
JSONDecodeError
is introduced since Python 3.5. So it is not compatible with Python 3.4 or lower.