"'txredisapi' is not defined" after Update to Django 1.11 with Django Channels

450 views
Skip to first unread message

Jochen Breuer

unread,
Apr 5, 2017, 10:07:50 AM4/5/17
to Django users
Hi!

After Updating Django to version 1.11 with a current Channels installation based on Redis, `runserver` spams the shell with the following error:

ERROR - server - Error trying to receive messages: name 'txredisapi' is not defined

My consumers are working despite the error. I'm not sure what is causing this error and where to look.


Thanks!

Jochen

Andrew Godwin

unread,
Apr 5, 2017, 10:49:13 AM4/5/17
to django...@googlegroups.com
Hi,

Can you make sure your asgi_redis installation is upgraded all the way too? And which exact version of Channels do you have installed?

Andrew

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/88a33046-79e8-4abe-8616-896299454d2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jochen Breuer

unread,
Apr 5, 2017, 2:45:37 PM4/5/17
to Django users
Thanks Andrew! An outdated asgi_redis package was the issue. I was just checking the package listing in PyCharm, which didn't show me the newer version, so I thought I was on the latest version without checking the CheeseShop. My fault. Sorry!



Am Mittwoch, 5. April 2017 16:49:13 UTC+2 schrieb Andrew Godwin:
Hi,

Can you make sure your asgi_redis installation is upgraded all the way too? And which exact version of Channels do you have installed?

Andrew
On Wed, Apr 5, 2017 at 4:07 PM, Jochen Breuer <bre...@gmail.com> wrote:
Hi!

After Updating Django to version 1.11 with a current Channels installation based on Redis, `runserver` spams the shell with the following error:

ERROR - server - Error trying to receive messages: name 'txredisapi' is not defined

My consumers are working despite the error. I'm not sure what is causing this error and where to look.


Thanks!

Jochen

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages