ckan / ckan/ckanext-spatial

ckan_pycsw.py cannot run on Python 3.2 or greater

Open
#299 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
XSLT
Stars
136
Forks
207
PR merge metrics
No merged PRs in 30d

Description

```
File "/usr/lib/ckan/venv/src/ckanext/ckanext-spatial/bin/ckan_pycsw.py", line 27, in setup_db
table_name = pycsw_config.get("repository", "table", "records")
TypeError: get() takes 3 positional arguments but 4 were given
```

> Changed in version 3.2: Arguments raw, vars and fallback are keyword only to protect users from trying to use the third argument as the fallback fallback (especially when using the mapping protocol).
-- https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.get

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.