ckan / ckanext-geoview

CKAN Geospatial ResourceView
MIT License
43 stars 58 forks source link

Errors in using geoview #81

Open chenxj2020 opened 3 years ago

chenxj2020 commented 3 years ago

After installing the geoview, and add the plugin in ckan.ini, when I run ckan, there are many errors. Such as: 1) except Exception, inst: ^ SyntaxError: invalid syntax 2) AttributeError: module 'xmlrpc' has no attribute 'DateTime' 3) nameError: name 'basestring' is not defined 4) ModuleNotFoundError: No module named 'xmlrpclib' .......

Some errors can be solved by changing module names or parameters as in python 3. So I think these errors are caused by the python version. But there are still many errors. How can I solve all these errors? I use python3.8, ckan2.9.

Thanks for any reply

wiosen commented 3 years ago

If you installed the plugin by 'pip install ckanext-geoview' then you have 0.0.16 version, on GitHub is available a newer one: 0.0.17, which is more suitable for python3 and ckan2.9.

amercader commented 3 years ago

Apologies,I'll push 0.0.17 to pypi later

chenxj2020 commented 3 years ago

Thanks @wiosen and @amercader,

There is still v0.0.16 now, Looking forward to the version 0.0.17

Apologies,I'll push 0.0.17 to pypi later