[ckan-dev] Error in updating python-ckan_2.2_amd64.deb

Qifeng.Bai at csiro.au Qifeng.Bai at csiro.au
Fri Jun 6 04:59:54 UTC 2014


Hi, there

I am upgrading my production server from 2.1 to 2.2.  I tried these two deb files: python-ckan_2.1_amd64.deb , python-ckan_2.2_amd64.deb    in http://packaging.ckan.org/ and another one in http://packaging.ckan.org/build/ python-ckan_2.2-1_amd64.deb.

The two files for 2.2 both failed after I restarted the web service.  It prompted the following exception:

[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]     load(*plugins)
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 167, in load
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]     plugins_update()
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/plugins/core.py", line 116, in plugins_update
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]     environment.update_config()
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/config/environment.py", line 369, in update_config
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]     logic.get_action('get_site_user')({'ignore_auth': True}, None)
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]   File "/usr/lib/ckan/default/src/ckan/ckan/logic/__init__.py", line 395, in get_action
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1]     auth_function.auth_audit_exempt = True
[Fri Jun 06 04:54:25 2014] [error] [client 127.0.0.1] AttributeError: 'instancemethod' object has no attribute 'auth_audit_exempt'

However, I can make 2.1 version working.  At this moment, I am working 2.2 development version, it does not have any problems.


Is there anyone who happen to have the same issue?

Regards







[cid:image001.gif at 01CC55BF.85E7FEB0]

Qifeng Bai
Software Engineer
CSIRO Land and Water
Black Mountain, Canberra

Ph: +61-2-62465704
Web: www.clw.csiro.au



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140606/f0c0a1a9/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2094 bytes
Desc: image001.gif
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140606/f0c0a1a9/attachment-0002.gif>


More information about the ckan-dev mailing list