[ckan-dev] ERROR: The authenticate attribute was not provided.

Florian May florian.wendelin.mayer at gmail.com
Fri Nov 21 08:34:41 UTC 2014


Hi,

I'm stuck with the same problem. repoze.who 2.0 and 2.2 both throw
ValueError: auth_tkt: An object has failed to implement interface
<InterfaceClass repoze.who.interfaces.IAuthenticator>

I'm experiencing this with versions after the repoze.who upgrade on Nov 12.
Would anyone have any pointers?

Cheers,
Florian

On Wed, Nov 19, 2014 at 9:55 PM, Denis Zgonjanin <deniszgonjanin at gmail.com>
wrote:

> There was a change that broke master a couple of days ago. Upgrade repoze
> like so:
>
> pip install --upgrade repoze.who==2.0
>
> On Wed, Nov 19, 2014 at 8:08 AM, Maurizio "Graffio" Mazzoneschi <
> graffio at lynxlab.com> wrote:
>
>> Hello all,
>> I've a CKAN installation sincronized with the branch master of the
>> git-hub repository.
>> Today I've pulled down the last version, but when I make CKAN run, the
>> console show me an error (see below), and CKAN doesn't run.
>>
>> My CKAN installation worked fine with the head pointing at:
>> 16e7e6c44e9e86908122f828e1cd2f298f0ad65a
>>
>> Someone can help to solve the problem?
>>
>> Follow the error
>>
>>
>> (default)graffio at michoacan:/usr/lib/ckan/default/src/ckan$ paster serve
>> /etc/ckan/default/development.ini
>> 2014-11-19 13:56:42,490 DEBUG [ckanext.oaks.plugin] this is
>> update_config calling
>> 2014-11-19 13:56:42,597 DEBUG [ckanext.spatial.model.package_extent]
>> Spatial tables defined in memory
>> 2014-11-19 13:56:42,605 DEBUG [ckanext.spatial.model.package_extent]
>> Spatial tables already exist
>> Traceback (most recent call last):
>>   File "/usr/lib/ckan/default/bin/paster", line 9, in <module>
>>     load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
>> line 104, in run
>>     invoke(command, command_name, options, args[1:])
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
>> line 143, in invoke
>>     exit_code = runner.run(args)
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
>> line 238, in run
>>     result = self.command()
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/serve.py",
>> line 284, in command
>>     relative_to=base, global_conf=vars)
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/serve.py",
>> line 321, in loadapp
>>     **kw)
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
>> line 247, in loadapp
>>     return loadobj(APP, uri, name=name, **kw)
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
>> line 272, in loadobj
>>     return context.create()
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
>> line 710, in create
>>     return self.object_type.invoke(self)
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py",
>> line 146, in invoke
>>     return fix_call(context.object, context.global_conf,
>> **context.local_conf)
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/deploy/util.py",
>> line 56, in fix_call
>>     val = callable(*args, **kw)
>>   File
>>
>> "/home/graffio/programmi/ckan/lib/default/src/ckan/ckan/config/middleware.py",
>> line 144, in make_app
>>     who_parser.remote_user_key,
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/repoze/who/middleware.py",
>> line 26, in __init__
>>     challengers, mdproviders)
>>   File
>>
>> "/usr/lib/ckan/default/local/lib/python2.7/site-packages/repoze/who/middleware.py",
>> line 447, in make_registries
>>     raise ValueError(str(name) + ': ' + why)
>> ValueError: auth_tkt: An object has failed to implement interface
>> <InterfaceClass repoze.who.interfaces.IAuthenticator>
>>
>>         The authenticate attribute was not provided.
>>
>> thanks in advance
>>
>> --
>> maurizio "graffio" mazzoneschi
>> Lynx s.r.l.
>> http://www.lynxlab.com
>> http://www.scoop.it/t/graffio
>> skype: graffio_m
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141121/2b915020/attachment-0003.html>


More information about the ckan-dev mailing list