Closed wardi closed 3 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.
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
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.
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