[ECODP-dev] WSGI/Repoze tkt Message from installation

John Glover john.glover at okfn.org
Wed May 29 13:16:46 UTC 2013


Hi Bert,

Ok that looks correct, and if you list the dependencies for that version
you should have 'repoze.who==2.1' in there. You can check by activating the
virtualenv and doing a 'pip freeze'. It's possible that the wrong
dependencies were installed.

John


On 29 May 2013 15:05, Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>wrote:

> I check the source from where we build it and this is the value
>
> [makerpm at rpm-builder ckan-release-v1.7.1-ecportal]$ git branch
> * release-v1.7.1-ecportal
>
> git log > first message >
>
> commit 3c12ae2eda53e8e1b2e292c7ed835716c82ca344
> Author: John Glover <j at johnglover.net>
> Date:   Tue May 28 14:35:09 2013 +0200
>
>     [#930] Change solr 'mm' value to '1' for OR search.
>
>     Move block of code that defines boolean closer to
>     where it is used.
>
>
> Bert
>
> 2013/5/29 John Glover <john.glover at okfn.org>:
> > Yes, that happens if you try to use the most recent who.ini with an
> > incorrect version of ckan (as there were some changes). If you do a 'git
> > branch' in the ckan dir it should show 'release-v1.7.1-ecportal' and 'git
> > log' should show a recent commit.
> >
> > John
> >
> >
> > On 29 May 2013 14:42, Dimitrios Mexis <dimitrios.mexis at tenforce.com>
> wrote:
> >>
> >> Hello,
> >>
> >> Do you happen to understand this error during installation ?
> >>
> >> Wed May 29 14:40:10 2013] [error] [client 192.168.33.110] mod_wsgi
> >> (pid=3289): Target WSGI script
> >> '/applications/ecodp/users/ecodp/ckan/ecportal/wsgi.py' cannot be
> loaded as
> >> Python module.
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110] mod_wsgi
> >> (pid=3289): Exception occurred processing WSGI script
> >> '/applications/ecodp/users/ecodp/ckan/ecportal/wsgi.py'.
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110] Traceback
> (most
> >> recent call last):
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/applications/ecodp/users/ecodp/ckan/ecportal/wsgi.py", line 15, in
> >> <module>
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]
> application
> >> = loadapp('config:%s' % config_filepath)
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 204,
> in
> >> loadapp
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]     return
> >> loadobj(APP, uri, name=name, **kw)
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 225,
> in
> >> loadobj
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]     return
> >> context.create()
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 625,
> in
> >> create
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]     return
> >> self.object_type.invoke(self)
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 188,
> in
> >> invoke
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]     filtered
> =
> >> context.next_context.create()
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 625,
> in
> >> create
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]     return
> >> self.object_type.invoke(self)
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/paste/deploy/loadwsgi.py", line 110,
> in
> >> invoke
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]     return
> >> fix_call(context.object, context.global_conf, **context.local_conf)
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/paste/deploy/util/fixtypeerror.py",
> line
> >> 57, in fix_call
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]     val =
> >> callable(*args, **kw)
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >>
> "/applications/ecodp/users/ecodp/ckan/ecportal/src/ckan/ckan/config/middleware.py",
> >> line 106, in make_app
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]
> >> who_parser.remote_user_key,
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/repoze/who/middleware.py", line 26, in
> >> __init__
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]
> >> challengers, mdproviders)
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]   File
> >> "/usr/lib/python2.6/site-packages/repoze/who/middleware.py", line 447,
> in
> >> make_registries
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]     raise
> >> ValueError(str(name) + ': ' + why)
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110] ValueError:
> >> auth_tkt: An object has failed to implement interface <InterfaceClass
> >> repoze.who.interfaces.IAuthenticator>
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]         The
> >> authenticate attribute was not provided.
> >> [Wed May 29 14:40:10 2013] [error] [client 192.168.33.110]
> >>
> >
> >
> > _______________________________________________
> > Ecodp-dev mailing list
> > Ecodp-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ecodp-dev
> >
>
>
>
> --
> Bert Van Nuffelen
>
> Semantic Technologies Software Architect at TenForce
> www.tenforce.be
>
> Bert.Van.Nuffelen at tenforce.com
> Office: +32 (0)16 31 48 60
> Mobile:+32 479 06 24 26
> skype: bert.van.nuffelen
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130529/140d6a00/attachment.html>


More information about the ecodp-dev mailing list