Re: [Zope3-Users] LoginPassword error

2010-01-12 Thread Simon Elbaz
After adding zope.login to configure.zcml, all is fine.
Thanks Baiju.

Baiju M wrote:
> On Mon, Jan 11, 2010 at 6:45 PM, Simon Elbaz  wrote:
>   
>> Hi,
>> I've been quietly working with zope3 until I recently launched a buildout.
>> Now, the following error occurs when trying to access the ZMI.
>> 
>
> I can see that you are using 2.12.0 version of zope.publisher
> which has some changes related to authentication:
> http://pypi.python.org/pypi/zope.publisher#id1
>
> >From CHANGES.txt:
>
> Reverted change done in 3.6.2. The zope.authentication dependency has
> been removed again. The BasicAuthAdapter and FTPAuth adapters are now
> found in the new zope.login package.
>
> So, it looks like you need to include "zope.login" as dependency and it's 
> ZCML.
>
> BTW, do you pin your versions in version.cfg ?
> This might be useful: http://wiki.zope.org/bluebream/PinningVersionsInBuildout
>
> Regards,
> Baiju M
>
>   

___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] LoginPassword error

2010-01-10 Thread Baiju M
On Mon, Jan 11, 2010 at 6:45 PM, Simon Elbaz  wrote:
> Hi,
> I've been quietly working with zope3 until I recently launched a buildout.
> Now, the following error occurs when trying to access the ZMI.

I can see that you are using 2.12.0 version of zope.publisher
which has some changes related to authentication:
http://pypi.python.org/pypi/zope.publisher#id1

>From CHANGES.txt:

Reverted change done in 3.6.2. The zope.authentication dependency has
been removed again. The BasicAuthAdapter and FTPAuth adapters are now
found in the new zope.login package.

So, it looks like you need to include "zope.login" as dependency and it's ZCML.

BTW, do you pin your versions in version.cfg ?
This might be useful: http://wiki.zope.org/bluebream/PinningVersionsInBuildout

Regards,
Baiju M
___
Zope3-users mailing list
Zope3-users@zope.org
https://mail.zope.org/mailman/listinfo/zope3-users