collective / pas.plugins.ldap

Zope (and Plone) PAS Plugin providing users and groups from LDAP directory
http://pypi.python.org/pypi/pas.plugins.ldap
Other
13 stars 19 forks source link

Bug in logger #99

Open jensens opened 4 years ago

jensens commented 4 years ago
py2.7.egg/Products/PluggableAuthService/PluggableAuthService.py", line 791, in _verifyUser
    info = enumerator.enumerateUsers(**criteria)
  File "/Users/iham/SandBox/AkBild/akbild.site.egg/eggs/pas.plugins.ldap-1.7.2-py2.7.egg/pas/plugins/ldap/plugin.py", line 97, in _wrapper
    logger.exception("Error in {0} -> {1}".format(prefix))
IndexError: tuple index out of range

Format string and params do not match

iham commented 4 years ago

same issue here :)

iham commented 4 years ago

~~during this exception maybe TypeError('Could not adapt', <PasLdapMemcached [u'127.0.0.1:11211']>, )~~

jensens commented 4 years ago

during this exception maybe TypeError('Could not adapt', <PasLdapMemcached [u'127.0.0.1:11211']>, )

But it is unrelated to this bug.