1. | Traceback (most recent call last): |
dd = dict(locked=False,
client_ip=response.session_client,
modified_datetime=request.now,
session_data=session_pickled,
unique_key=unique_key)dd = dict(locked='False',
client_ip=response.session_client,
modified_datetime=str(request.now),
session_data=session_pickled,
unique_key=unique_key)--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/0iU2wqSik0k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
kwargs['locked'] = str(kwargs['locked'])
kwargs['modified_datetime'] = str(kwargs['modified_datetime'])
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
Traceback (most recent call last):
File "/usr/local/web2py/gluon/restricted.py", line 219, in restricted
exec(ccode, environment)
File "/usr/local/web2py/applications/welcome/models/db.py", line 42, in <module>
session.connect(request, response, db = sessiondb)
File "/usr/local/web2py/gluon/globals.py", line 966, in connect
row = table(record_id, unique_key=unique_key)
File "/usr/local/web2py/gluon/contrib/redis_session.py", line 117, in __call__
row = q.select()
File "/usr/local/web2py/gluon/contrib/redis_session.py", line 189, in select
if rtn['unique_key'] == self.unique_key:
KeyError: 'unique_key'Can anyone help me having web2py python3 and redis (whatever version) work ?I don't want to go back to python2 - spent too much time making the changes so that may app works with python3 ...Help would be greatly appreciated
if 'unique_key' in self and rtn['unique_key'] == self.unique_key:
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/0iU2wqSik0k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/367f279c-f329-47b2-830b-bc3c4f62e82a%40googlegroups.com.
if 'unique_key' in self and rtn['unique_key'] == self.unique_key:
TypeError: argument of type 'MockQuery' is not iterable
Did anyone succeed in running redis sessions in python3 ??
Thanks
stephane
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAERBpoB_kjwwc2Dm293AXHOxULcXkvOgS7vFp08R-7QGszGFcw%40mail.gmail.com.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/0iU2wqSik0k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/a8c8cb9d-590a-43ff-9f1b-b757eabf8537%40googlegroups.com.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/0iU2wqSik0k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/9ed9f575-1764-4dab-a93c-d7ec68e57638%40googlegroups.com.
Is it backward compatible as well?-Jim
To unsubscribe from this group and all its topics, send an email to web...@googlegroups.com.
If you're asking if it runs unmodified under Python2 I do not know as of yet. I would need to e off a Python2 site, apply the patch, configure it for redis, and test.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/d6b522f1-66c2-4392-ac4d-11758d3ddc16%40googlegroups.com.