Skip to content

RConObserver error #1273

@marceltoepler

Description

@marceltoepler

I try to use RConObserver like this:

from observer import RConObserver
observer = RConObserver("127.0.0.1", "xxxxx", 25565)

When I try to run the overviewer now, following error appears:

2016-01-29 23:31:45 E Partial traceback:
  File "/usr/local/bin/minecraft-scripts/overviewer/config", line 21, in <module>
    observer = RConObserver("127.0.0.1", "xxxxx", 25565)
  File "/usr/lib/python2.7/dist-packages/overviewer_core/observer.py", line 407, in __init__
    self.conn.login(password)
  File "/usr/lib/python2.7/dist-packages/overviewer_core/rcon.py", line 89, in login
    self.send(3, password)
  File "/usr/lib/python2.7/dist-packages/overviewer_core/rcon.py", line 71, in send
    res_len, res_id, res_type = struct.unpack("<iii", self.sock.recv(12))
error: unpack requires a string argument of length 12

Is my config wrong or someting else?

Metadata

Metadata

Assignees

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