[Product-Developers] Problem with Remember and upgradingPluggableAuthService

Tim Knapp duffyd at kokorice.org
Wed Jan 30 22:07:04 UTC 2008


Hi Mark,

On Wed, 2008-01-30 at 15:01 -0700, Mark Phillips wrote:
> Hi Tim!,
> 
> I applied the patch to PluggableAuthService v 1.4.2. I can now log in,
> but I still get an error when I try to add an image to a member:
> 
> 2008-01-30T14:58:18 ERROR Zope.SiteErrorLog
> http://hammerhead:8081/ahs/newspaper/personalize_form
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 115, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 41, in call_object
>   Module Products.CMFFormController.FSControllerPageTemplate, line 90,
> in __call__
>   Module Products.CMFFormController.BaseControllerPageTemplate, line 28,
> in _call
>   Module Products.CMFFormController.ControllerBase, line 244, in getNext
>   Module Products.CMFFormController.Actions.TraverseTo, line 38, in
> __call__
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 41, in call_object
>   Module Products.CMFFormController.FSControllerPythonScript, line 104,
> in __call__
>   Module Products.CMFFormController.Script, line 145, in __call__
>   Module Products.CMFCore.FSPythonScript, line 108, in __call__
>   Module Shared.DC.Scripts.Bindings, line 311, in __call__
>   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>   Module Products.CMFCore.FSPythonScript, line 164, in _exec
>   Module None, line 31, in personalize
>    - <FSControllerPythonScript at /ahs/newspaper/personalize>
>    - Line 31
>   Module Products.PlonePAS.tools.membership, line 449, in
> changeMemberPortrait
>   Module Products.CMFPlone.MembershipTool, line 182, in
> changeMemberPortrait
>   Module Products.CMFPlone.utils, line 729, in scale_image
>   Module PIL.Image, line 1916, in open
> IOError: cannot identify image file
> 
> This looks like the same error the patch tries to solve. Any further
> ideas?

No sorry, I haven't seen this error before (disclaimer: I was just
assisting another developer with the Remember issue so didn't do
extensive troubleshooting myself).

-Tim

> 
> Thanks!
> 
> Mark
> 
> On Wed, 2008-01-30 at 14:50 -0500, Tim Knapp wrote:
> > Hi Mark,
> > 
> > The way i resolved this issue was to just apply the attached patch in
> > issue 44[1]. Though it does seem that someone has got this working by
> > installing PluggableAuthService 1.5.2.1 and Five 1.4.4.
> > 
> > -Tim
> > 
> > http://plone.org/products/remember/issues/44
> > 
> > On Tue, 2008-01-29 at 14:46 -0500, Mark Phillips wrote:
> > > I have a plone site running:
> > >
> > > Plone 2.5.5,
> > > CMF-1.6.4,
> > > Zope (Zope 2.9.8-final, python 2.4.4, freebsd6),
> > > Five 1.4.2,
> > > Python 2.4.4 (#2, Sep 26 2007, 13:07:27) [GCC 3.4.6 [FreeBSD]
> > > 20060305],
> > > PIL 1.1.6
> > > membrane 1.0
> > > remember 1.0
> > > PluggableAuthService-1.4.2
> > >
> > > The members cannot add portraits to the site, and I get the error
> > > "ValueError: Property portrait: unknown type"
> > > when I do a search for all users in site setup.
> > >
> > > I looked at the bug reports and found 2 that relate to this error:
> > > http://plone.org/products/remember/issues/44
> > > http://plone.org/products/remember/issues/32
> > >
> > > They appear to be duplicates. The suggested solution is to upgrade
> > > PluggableAuthService to version 1.5.2, which I did. However, no one
> > > can
> > > log in now. The remember members are still alive and well, but
> > > entering
> > > the use name and password does nothing - no error, no logged event,
> > > just
> > > return to the login page.
> > >
> > > What else do I have to do to upgrade PluggableAuthService?
> > >
> > > Thanks!
> > >
> > > Mark
> > >
> > >
> > > _______________________________________________
> > > Product-Developers mailing list
> > > Product-Developers at lists.plone.org
> > > http://lists.plone.org/mailman/listinfo/product-developers
> > 
> > 
> > 





More information about the Product-Developers mailing list