[ckan-dev] problem going to organization description

Alessandra Donnini a.donnini at etcware.it
Fri Nov 29 16:50:19 UTC 2013


I'm quite new to clan and python.
I'm testing my ckan installation, I created an organization with a description, but when I go to the organization description page I get an error 404 group not found.
I don't know python yet, but my impression is that in /usr/lib/ckan/default/src/ckan/ckan/templates/organization/about.html  somewhere, it is getting group data by using organization name while it is expecting  organization id, because I get this log:
2013-11-29 17:29:32,153 DEBUG [pylons.controllers.core] Looking for u'about' method to handle the request
2013-11-29 17:29:32,153 DEBUG [pylons.controllers.core] Calling 'about' method with keyword args: **{'id': u'i-dataset-dell-universita'}
2013-11-29 17:29:32,157 DEBUG [pylons.controllers.util] Aborting request, status: 404, detail: 'Gruppo non trovato', headers: None, comment: None
2013-11-29 17:29:32,157 DEBUG [pylons.controllers.core] 'about' method raised HTTPException: HTTPNotFound (code: 404)
Traceback (most recent call last):
 File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pylons/controllers/core.py", line 107, in _inspect_call
   result = self._perform_call(func, args)
 File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pylons/controllers/core.py", line 60, in _perform_call
   return func(**args)
 File "/usr/lib/ckan/default/src/ckan/ckan/controllers/group.py", line 838, in about
   c.group_dict = self._get_group_dict(id)
 File "/usr/lib/ckan/default/src/ckan/ckan/controllers/group.py", line 852, in _get_group_dict
   abort(404, _('Group not found'))
 File "/usr/lib/ckan/default/src/ckan/ckan/lib/base.py", line 68, in abort
   comment=comment)
 File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pylons/controllers/util.py", line 196, in abort
   raise exc.exception
HTTPNotFound: Gruppo non trovato

Is there something to do to correct this behavior?
thanks
Alex








More information about the ckan-dev mailing list