Skip to content

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

@Bluscream

Description

@Bluscream

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions