In data Tuesday 23 February 2016 06:21:21, hai scritto: > I've just installed Invenio 1.2.1 onto Ubuntu 14.04 and I can't login any > users due to a server error. There seems to be one precedent: > https://www.mail-archive.com/project-invenio-general@cern.ch/msg01065.html
OK, found the culprit. In redis-py-2.4.10: <https://github.com/andymccurdy/redis-py/blob/master/CHANGES#L303> [...] SETEX in StrictRedis is now compliant with official Redis SETEX command. the name, value, time implementation moved to "Redis" for backwards compatability. [...] So the call in: https://github.com/inveniosoftware/invenio/blob/maint-1.2/modules/websession/ lib/session.py#L622 need to have the session_object and timeout arguments swapped. Cheers! Sam -- Samuele Kaplun INSPIRE Service Manager ** <http://inspirehep.net/>