Closed psonis closed 5 years ago
installing the QA extensions and running it again, gives a different error.
The archiver process seems to work now but QA give this error
[2018-07-19 14:09:00,834: INFO/MainProcess] Task archiver.update_package[test/4098] succeeded in 4.3282878s: None
[2018-07-19 14:09:00,839: ERROR/MainProcess] Task qa.update_package[another-test-1aad] raised unexpected: AttributeError("'update_package' object has no attribute 'get_logger'",)
Traceback (most recent call last):
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/home/hit/ckan/lib/default/src/ckanext-qa/ckanext/qa/tasks.py", line 83, in update_package
log = update_package.get_logger()
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/local.py", line 143, in __getattr__
return getattr(self._get_current_object(), name)
AttributeError: 'update_package' object has no attribute 'get_logger'
[2018-07-19 14:09:00,844: ERROR/MainProcess] Task qa.update_package[test-d55a] raised unexpected: AttributeError("'update_package' object has no attribute 'get_logger'",)
Traceback (most recent call last):
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/home/hit/ckan/lib/default/src/ckanext-qa/ckanext/qa/tasks.py", line 83, in update_package
log = update_package.get_logger()
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/local.py", line 143, in __getattr__
return getattr(self._get_current_object(), name)
AttributeError: 'update_package' object has no attribute 'get_logger'
Fixed in #55.
When I use the extension in the terminal I get an error...
The backup/archive completes just fine, and CKAN adds all the info in the resource page (Link is ok, Link checked, Download cached copy, Size,Cached on)
After completing the archiving I get this and the process does to exit..