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

paster qa update fails with ckanapi error on datasets without resources #25

Open
florianm opened this issue Nov 17, 2015 · 3 comments
Open

Comments

@florianm
Copy link

(datacats)me@IP:/mnt/projects/datacats/private/ckanext-qa⟫ datacats paster qa update
2015-11-17 04:10:07,343 ERROR [ckanext.qa] Failed to get package list with resources from url 'http://internal-data.dpaw.wa.gov.au/api/action/current_package_list_with_resources': Forbidden
Traceback (most recent call last):
  File "/usr/lib/ckan/bin/paster", line 9, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File "/usr/lib/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 104, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 143, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 238, in run
    result = self.command()
  File "/project/ckanext-qa/ckanext/qa/commands.py", line 73, in command
    for package in self._package_list():
  File "/project/ckanext-qa/ckanext/qa/commands.py", line 141, in _package_list
    raise CkanApiError(err)
ckanext.qa.commands.CkanApiError: Failed to get package list with resources from url 'http://internal-data.dpaw.wa.gov.au/api/action/current_package_list_with_resources': Forbidden
@florianm florianm changed the title paster qa update fails on ckanapi error paster qa update fails with ckanapi error on datasets without resources Nov 17, 2015
@davidread
Copy link
Contributor

BTW #24 is about to be merged which may affect this.

@KrzysztofMadejski
Copy link
Contributor

@florianm this should be resolved by now. could you check? Can you write a test for it?

@florianm
Copy link
Author

@KrzysztofMadejski thanks, can try but will take a few days!

HristijanVilos pushed a commit to keitaroinc/ckanext-qa that referenced this issue Jul 18, 2022
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