[ckan-dev] problem going to organization description
Nigel Babu
nigel.babu at okfn.org
Tue Dec 3 08:53:53 UTC 2013
Hi Alessandra,
Here are the steps to switch to 2.1.1, the latest released version of CKAN.
You'll have to clean your db, I couldn't see an easy way to keep your
database. Please activate your ckan virtualenv first.
This will switch you to the latest version of ckan
git checkout release-v2.1.1
Please edit your config file and deactivate all plugins, otherwise this may
potentially cause trouble for the backup. Now backup your db.
paster db dump backup.pg_dump
Clean your existing database and run migrations.
paster db clean
paster db upgrade
Now, edit your config file and reactivate your plugins. You should be ready
for 2.1.1.
Nigel Babu
Developer | @nigelbabu <https://twitter.com/nigelbabu>
The Open Knowledge Foundation <http://okfn.org/>
Empowering through Open Knowledge
http://okfn.org/ | @okfn <http://twitter.com/OKFN> | OKF on
Facebook<https://www.facebook.com/OKFNetwork> |
Blog <http://blog.okfn.org/> | Newsletter<http://okfn.org/about/newsletter>
CKAN | http://ckan.org/ | @CKANproject
<http://twitter.com/CKANproject> |the world’s leading open-source data
portal platform
On 3 December 2013 13:00, Alessandra Donnini <a.donnini at etcware.it> wrote:
> Please, how can I update my sources?
>
>
>
>
>
>
> Il giorno 02/dic/2013, alle ore 18:20, Adrià Mercader <
> adria.mercader at okfn.org> ha scritto:
>
> > Hi,
> >
> > The fix for the bug reported by Alessandra was merged 12 days ago. As
> > it is quite recent perhaps you need to update your sources.
> >
> > https://github.com/okfn/ckan/pull/1298
> >
> > Adrià
> >
> > On 2 December 2013 08:48, Alessandra Donnini <a.donnini at etcware.it>
> wrote:
> >> Please find git log and fault in execution log in the following:
> >>
> >> git log:
> >>
> >> commit 35e5729a2444b748830f136ecae0a52e1358e02a
> >> Author: Sean Hammond <seanhammond at lavabit.com>
> >> Date: Wed Nov 13 17:58:49 2013 +0100
> >>
> >> Fix documentation title
> >>
> >> commit 39ee86d14f9c36a3c8db84d3bee14885298c1dfd
> >> Author: Sean Hammond <seanhammond at lavabit.com>
> >> Date: Wed Nov 13 17:42:47 2013 +0100
> >>
> >> Update Sphinx theme
> >>
> >> commit 829f3e4607e3d550d27c1997c355cd2c9ac1ef31
> >> Author: Sean Hammond <seanhammond at lavabit.com>
> >> Date: Wed Nov 13 16:24:51 2013 +0100
> >>
> >> Remove an unnecessary <hr> from a docs page
> >>
> >> commit 021988ff7761db36b6045a384d30f785b931c65c
> >> Merge: a73ee7a dde9901
> >> Author: Sean Hammond <seanhammond at lavabit.com>
> >> Date: Wed Nov 13 15:43:03 2013 +0100
> >>
> ------------------------------------------------------------------------------------------
> >>
> >> fault in execution 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
> >>
> >>
> >>
> >> Il giorno 02/dic/2013, alle ore 08:37, Nigel Babu <nigel.babu at okfn.org>
> ha
> >> scritto:
> >>
> >> Hrm, I can't reproduce the bug with those instructions. Can you do a
> `git
> >> log` in your ckan source directory and tell me the commit hash? I'll
> send
> >> you instructions on switching versions in a bit. I want to test them
> myself
> >> first.
> >>
> >> 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 2 December 2013 12:37, Alessandra Donnini <a.donnini at etcware.it>
> wrote:
> >>>
> >>> My version is 2.2a
> >>> To reproduce the bug is sufficient to create an organization with a
> >>> description. Then navigate to Organization -> read more on
> organization
> >>> description.
> >>> What I need to do to downgrade the version? I installed from source,
> do I
> >>> need to reinstall all?
> >>>
> >>> Alessandra Donnini
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Il giorno 01/dic/2013, alle ore 11:03, Nigel Babu <nigel.babu at okfn.org>
> ha
> >>> scritto:
> >>>
> >>> HI Samuele,
> >>>
> >>> I feel like the issues you've been noticing might be different from
> what
> >>> Alessandra is seeing. Anyway, it'd be better to file a bug once we have
> >>> specific instructions on how to reproduce the bug on a clean machine.
> >>>
> >>> 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 30 November 2013 21:20, Samuele Santi <samuele.santi at trentorise.eu>
> >>> wrote:
> >>>>
> >>>> -----BEGIN PGP SIGNED MESSAGE-----
> >>>> Hash: SHA1
> >>>>
> >>>> On 11/29/2013 05:50 PM, Alessandra Donnini wrote:
> >>>>> 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.
> >>>>
> >>>> We're experiencing similar problems too, with current git master
> (2.2a).
> >>>> At first it seemed the problem was caused by changing the organization
> >>>> name, but apparently that's not always the cause..
> >>>>
> >>>> We also had issues with disappearing datasets / broken links in lists,
> >>>> so the problem seems not to be localized to just groups.
> >>>>
> >>>> I'm currently trying to pin-point the bug, I suspect the cause is due
> >>>> to some broken relationship caused by duplicate / changing database
> >>>> keys, but I need to investigate further.
> >>>>
> >>>> @all: I'll let you know when I find something / figure out how exactly
> >>>> to reproduce. In the meanwhile, should we open an issue for this,
> >>>> although quite vague..?
> >>>>
> >>>>
> >>>> Cheers,
> >>>>
> >>>> - --
> >>>> Samuele Santi
> >>>>
> >>>> Trento Rise
> >>>> http://www.trentorise.eu/
> >>>> -----BEGIN PGP SIGNATURE-----
> >>>> Version: GnuPG v1.4.12 (GNU/Linux)
> >>>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> >>>>
> >>>> iQEcBAEBAgAGBQJSmgkwAAoJEK3HwSCedaAN/IgIAINyiCuXrbjICsVGaflzTdmH
> >>>> ZtvtEy78EWN29acrXVxF8jSGYfpo7RU3DgWCVmhPJz7gEix2wrs5UaUTdUSn4wMR
> >>>> s3kZZt3d2G5hlB9fjuoJhd2OU/wTF4O/rJ7iWrjpt4Kai6lzPyd7q76dXpuE2sQI
> >>>> xcoCjzG3cZRFsJntGBvUjbmHe0TiTOwNwS6MNG8/gsZHxPWYVB5I08HFCrGy3kDn
> >>>> 9j0BinfZxAQWdFCnAzpwkmngDvp2dFyTjRmbSgl2qzJdnMOzWcpartLgxujWmuBW
> >>>> CnVnNxYEaSP7d9yGivg42xbqLvWYS4/sTuHb7Fl+hoGyhU+WrXRtBVlPKRh49ss=
> >>>> =c5bH
> >>>> -----END PGP SIGNATURE-----
> >>>> _______________________________________________
> >>>> 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
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> 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
> >>
> >>
> >>
> >> _______________________________________________
> >> 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
>
> _______________________________________________
> 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/20131203/de62b817/attachment-0003.html>
More information about the ckan-dev
mailing list