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

Invalid value (65) for field 'response_type' #88

Open
Bluscream opened this issue Aug 25, 2024 · 0 comments
Open

Invalid value (65) for field 'response_type' #88

Bluscream opened this issue Aug 25, 2024 · 0 comments

Comments

@Bluscream
Copy link

Please describe your issue in detail. Please also include any relevant
stack traces or other error messages. Ideally, if possible, provide a
small snippet that recreates the problem. Finally, fill in the applicable
fields below which describe the environment you witnessed the issue in.

  • Python-valve Version(s): python_valve-0.2.1.dist-info
  • Python Version(s): 3.12
  • Operating System(s)/Platform(s): Win11/x64
  • Game Server(s) and Version(s): Operation Harsh Doorstop 0.13.0.1
Exception has occurred: BrokenMessageError
Invalid value (65) for field 'response_type'
ValueError: 

During handling of the above exception, another exception occurred:

  File "P:\Python\rconMQTTbridge\rcon\source.py", line 28, in _get_server_info
    info = self.querier.info()
           ~~~~~~~~~~~~~~~~~^^
  File "P:\Python\rconMQTTbridge\rcon\source.py", line 56, in update_and_publish_server_info
    self.server_info = self._get_server_info()
                       ~~~~~~~~~~~~~~~~~~~~~^^
  File "P:\Python\rconMQTTbridge\rcon\source.py", line 50, in start
    self.update_and_publish_server_info()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "P:\Python\rconMQTTbridge\__main__.py", line 18, in __init__
    rcon.start()
    ~~~~~~~~~~^^
  File "P:\Python\rconMQTTbridge\__main__.py", line 28, in <module>
    bridge = rcon2mqtt()
             ~~~~~~~~~^^
valve.source.messages.BrokenMessageError: Invalid value (65) for field 'response_type'

P.S. I had to fix another issue by replacing

class Message(collections.Mapping):

with

class Message(collections.abc.Mapping):

in your code

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