Bug in SQLStore ?

Rene Rattur renerattur at gmail.com
Mon Apr 2 08:52:18 PDT 2007


I'm using python OpenID 1.2.0 combo.

Here's the traceback:

  File "C:\Documents and
Settings\Lessel'id\Desktop\Rene\code-other\todo-ie\todo
\controllers.py", line 736, in login
    auth = consumer.begin(ident)
  File "C:\Python24\Lib\site-packages\openid\consumer\consumer.py", line
308, in
 begin
    return self.beginWithoutDiscovery(service)
  File "C:\Python24\Lib\site-packages\openid\consumer\consumer.py", line
331, in
 beginWithoutDiscovery
    auth_req = self.consumer.begin(service)
  File "C:\Python24\Lib\site-packages\openid\consumer\consumer.py", line
423, in
 begin
    assoc = self._getAssociation(service_endpoint.server_url)
  File "C:\Python24\Lib\site-packages\openid\consumer\consumer.py", line
616, in
 _getAssociation
    assoc = self.store.getAssociation(server_url)
  File "C:\Python24\Lib\site-packages\openid\store\sqlstore.py", line 13, in
wra
pped
    return self._callInTransaction(func, self, *args, **kwargs)
  File "C:\Python24\Lib\site-packages\openid\store\sqlstore.py", line 159,
in _c
allInTransaction
    ret = func(*args, **kwargs)
  File "C:\Python24\Lib\site-packages\openid\store\sqlstore.py", line 242,
in tx
n_getAssociation
    assoc.secret = self.blobDecode(assoc.secret)
  File "C:\Python24\Lib\site-packages\openid\store\sqlstore.py", line 426,
in bl
obDecode
    return blob.tostring()
AttributeError: 'str' object has no attribute 'tostring'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openidenabled.com/pipermail/dev/attachments/20070402/93b7b49f/attachment.htm 


More information about the Dev mailing list