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

No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> #2771

Closed
hyunlee1o opened this issue Nov 27, 2023 · 5 comments
Closed

No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> #2771

hyunlee1o opened this issue Nov 27, 2023 · 5 comments
Labels
Milestone

Comments

@hyunlee1o
Copy link

Nicotine+ version: Nicotine+ 3.2.9
Operating System/Distribution: Debian trixie/testing

Describe the bug

I am getting this message on the cli:

 No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']

and on the interface
Image

Expected behavior

I think this message shouldn't appear

Steps to reproduce the bug

I don't know exactly but it's kinda frequent.

Additional context

This is what appears raw on my cli.

[2023-11-27 03:13:33] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:14:06] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:16:39] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:17:18] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:17:24] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:18:00] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:18:16] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:18:17] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:18:50] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
[2023-11-27 03:19:35] No handler for class <class 'pynicotine.slskmessages.UserLeftRoom'> ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'debug', 'make_network_message', 'msgtype', 'pack_bool', 'pack_bytes', 'pack_int32', 'pack_string', 'pack_uint32', 'pack_uint64', 'pack_uint8', 'parse_network_message', 'room', 'unpack_bool', 'unpack_bytes', 'unpack_int32', 'unpack_ip', 'unpack_string', 'unpack_uint32', 'unpack_uint64', 'unpack_uint8', 'username']
@hyunlee1o hyunlee1o added the bug label Nov 27, 2023
@mathiascode
Copy link
Member

Any custom plugins? Does the issue persist after a restart? 3.2.9 definitely has a handler for that class, not sure what happened there.

@hyunlee1o
Copy link
Author

I'm using the default plugins that come with nicotine.

@slook
Copy link
Member

slook commented Dec 1, 2023

With which installation method was used to install the nicotine package?

@hyunlee1o
Copy link
Author

hyunlee1o commented Dec 1, 2023 via email

@mathiascode
Copy link
Member

The affected code has been rewritten in the development version, so this should no longer be an issue. If you can, please test the latest development build and see if you run into any issues: https://nicotine-plus.org/doc/TESTING.html

@mathiascode mathiascode added this to the 3.3.0 milestone Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants