StackStorm / orquestaconvert

Converts Mistral workflows into Orchestra workflows
Apache License 2.0
13 stars 7 forks source link

py3 compatibility #14

Closed cognifloyd closed 6 years ago

cognifloyd commented 6 years ago

I ran bin/orquestaconvert.sh to get the virtualenv setup. It used python3.6, my default interpreter, but then I got this traceback:

Traceback (most recent call last):
  File "/home/cognifloyd/g/github/EncoreTechnologies/orquestaconvert.git/bin/../orquestaconvert/client.py", line 10, in <module>
    from orquestaconvert.utils import yaml_utils
  File "/home/cognifloyd/g/github/EncoreTechnologies/orquestaconvert.git/orquestaconvert/utils/yaml_utils.py", line 3, in <module>
    import StringIO
ModuleNotFoundError: No module named 'StringIO'

So, either orquestaconvert.sh needs to use look for/use python2 when building the virtualenv, or this module needs to be py3 compatible.

Now, I'll go look for workarounds :)