You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.
result:
(anzu)unknown:chat bbergmann$ python chatdemo.py
Traceback (most recent call last):
File "chatdemo.py", line 203, in
main()
File "chatdemo.py", line 197, in main
app = Application()
File "chatdemo.py", line 52, in init
anzu.web.Application.init(self, **settings)
File "/Developer/anzu/lib/python2.7/site-packages/anzu-2.1.1-py2.7.egg/anzu/web.py", line 1290, in init
settings['session_storage'])
TypeError: unbound method _parse_connection_details() must be called with RedisSession instance as first argument (got str instance instead)
How do I make this work?
The text was updated successfully, but these errors were encountered:
Unable to use RedisSession:
in chatdemo.py:
...
import redis
class Application(anzu.web.Application):
def init(self):
settings = dict(
#other settings
#....
session_storage = "redis://", #redis://[auth@][host[:port]][/db]
)
anzu.web.Application.init(self, **settings)
result:
(anzu)unknown:chat bbergmann$ python chatdemo.py
Traceback (most recent call last):
File "chatdemo.py", line 203, in
main()
File "chatdemo.py", line 197, in main
app = Application()
File "chatdemo.py", line 52, in init
anzu.web.Application.init(self, **settings)
File "/Developer/anzu/lib/python2.7/site-packages/anzu-2.1.1-py2.7.egg/anzu/web.py", line 1290, in init
settings['session_storage'])
TypeError: unbound method _parse_connection_details() must be called with RedisSession instance as first argument (got str instance instead)
How do I make this work?
The text was updated successfully, but these errors were encountered: