[ckan-dev] problem going to organization description
Alessandra Donnini
a.donnini at etcware.it
Sat Nov 30 13:34:19 UTC 2013
URL
/organization/about/<organization-name>
Version
2.2
Il giorno 30/nov/2013, alle ore 06:03, Nigel Babu <nigel.babu at okfn.org> ha scritto:
> Hi Alessandra,
>
> What is the URL that you're visiting to view the organization?
>
> Nigel Babu
> Developer | @nigelbabu
> The Open Knowledge Foundation
> Empowering through Open Knowledge
> http://okfn.org/ | @okfn | OKF on Facebook | Blog | Newsletter
>
> CKAN | http://ckan.org/ | @CKANproject | the world’s leading open-source data portal platform
>
>
> On 29 November 2013 22:20, Alessandra Donnini <a.donnini at etcware.it> wrote:
> 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
>
>
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131130/52069ff2/attachment-0003.html>
More information about the ckan-dev
mailing list