Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in using geoview #81

Open
chenxj2020 opened this issue Jun 10, 2021 · 3 comments
Open

Errors in using geoview #81

chenxj2020 opened this issue Jun 10, 2021 · 3 comments

Comments

@chenxj2020
Copy link

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
Copy link

wiosen commented Jun 25, 2021

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
Copy link
Member

Apologies,I'll push 0.0.17 to pypi later

@chenxj2020
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants