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

Bert Van Nuffelen bert.van.nuffelen at tenforce.com
Wed May 29 13:05:40 UTC 2013


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




More information about the ecodp-dev mailing list