ckan / ckanapi

A command line interface and Python module for accessing the CKAN Action API
Other
176 stars 74 forks source link

python3 CLI issue #141

Closed wardi closed 3 years ago

wardi commented 5 years ago

copied from https://github.com/open-data/ckanext-canada/issues/983


as discussed, when trying to pass in JSON to update a package I get the following error in Python3, but when I switched to Python 2.7 it works fine.

image

I looked it up, and based on this thread that's why I knew to try Python 2. https://stackoverflow.com/questions/28583565/str-object-has-no-attribute-decode-python-3-error