Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example chat.pl fails since Mojolicious 8.71 on Mojo::Redis::PubSub::_on_response() #81

Open
bodo-hugo-barwich opened this issue Nov 17, 2023 · 0 comments

Comments

@bodo-hugo-barwich
Copy link

Running the example application chat.pl on writing a message an error occurs on Mojo::Redis::PubSub::notify():

[2023-11-17 08:23:22.06068] [15202] [trace] [Y7y7Bjxfyppy] 200 OK (0.001964s, 509.165/s)
[2023-11-17 08:23:22.21928] [15202] [trace] [f7wuOk6BXRkh] GET "/socket"
[2023-11-17 08:23:22.21955] [15202] [trace] [f7wuOk6BXRkh] Routing to a callback
[2023-11-17 08:23:22.21980] [15202] [trace] [f7wuOk6BXRkh] 101 Switching Protocols (0.000497s, 2012.072/s)
notify - msg: '08:23:34 <324> hello from tab1 no. 1'
Mojo::Reactor::EV: I/O watcher failed: Too many arguments for subroutine 'Mojo::Server::Sandbox::3ba5867ec1bbaa84ec279dcb1831859a::__ANON__' at /usr/share/perl5/Mojo/Redis/PubSub.pm line 128.

$self->$cb($keyspace_listen ? [@$res[1, 2]] : $res->[2], $res->[1]);

I observed this first on Mojolicious 8.71. Then I updated to Mojolicious 9.26 but it still fails.

This happens on Mojolicious 8.71 and latest Mojolicious 9.26

$ perl -MMojolicious -e 'print $Mojolicious::VERSION, "\n";'
9.26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant