ckan / ckan/ckanext-qa

Some errors

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
27
Forks
56
PR merge metrics
No merged PRs in 30d

Description

Trying to "paster qa update" a dataset:

ckanext-qa/ckanext/qa/commands.py", line 129, in _package_list
(id, url, response.error))
AttributeError: 'Response' object has no attribute 'error'

Suppose you fix this, then you'll get an error trying to get the dataset via API because I think you use a POST to get the dataset, and the API says you get it with an ?id=id-of-the-dataset appended in the URL, I guess only vía GET.

Contributor guide

No contributing guide indexed for this repository

Research direction

The reported failure is in ckanext-qa/ckanext/qa/commands.py at line 129; first reproduce it with `paster qa update` against a dataset. Inspect the response handling and dataset API request, then verify the command no longer raises AttributeError and retrieves the dataset using the API's expected GET request with the dataset id.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.