Closed florianm closed 9 years ago
Deleting the lines containing "ResourceGroup" in ckanext-qa/ckanext/qa/reports.py
, deleting the .pyc in site-packages (CKAN_HOME/lib/python2.7/site-packages/ckanext_qa-0.3-py2.7.egg/ckanext/qa/reports.pyc
) and restarting the server fixes the server error on accessing qa/dataset/five_stars
, /qa/dataset/broken_resource_links
, and /qa/organisation/broken_resource_links
.
Sounds good, a pull request would be even better.
with pleasure! PR submitted.
ckan.model.ResourceGroup
was removed from CKAN somewhere in mid 2014. CKAN 2.3a (Nov 2014) runs fine with latest ckanext-qa (qa update and showing resource ratings), but crashes on links under /qa due to reports.py depending on the removedckan.model.ResourceGroup
.Relevant stack trace (nb. my CKAN lives in
/mnt/ckan/
rather than/usr/lib/ckan
):