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

MCRegion based world format bug #126

Open
2 tasks done
SpiceX opened this issue Jul 28, 2021 · 0 comments
Open
2 tasks done

MCRegion based world format bug #126

SpiceX opened this issue Jul 28, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@SpiceX
Copy link

SpiceX commented Jul 28, 2021

Summary

This server software is not joinable

Reproduction Steps

Start the server and join

Expected Results

Join to the server

Actual Results

Exception in thread Thread-9:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/home/diego/Documentos/Podrum/podrum/world/world.py", line 90, in load_worker
self.load_chunk(item[0], item[1])
File "/home/diego/Documentos/Podrum/podrum/world/world.py", line 51, in load_chunk
chunk: object = self.provider.get_chunk(x, z)
File "/home/diego/Documentos/Podrum/podrum/world/provider/anvil/anvil.py", line 105, in get_chunk
chunk_data: bytes = reg.get_chunk_data(chunk_index[0], chunk_index[1])
File "/home/diego/Documentos/Podrum/podrum/world/provider/anvil/region.py", line 52, in get_chunk_data
offset: int = binary_converter.read_unsigned_triad_be(file.read(3))
File "/home/diego/.local/lib/python3.6/site-packages/binary_utils/binary_converter.py", line 101, in read_unsigned_triad_be
return struct.unpack(">I", b"\x00" + data)[0]
struct.error: unpack requires a buffer of 4 bytes

System Information

This server is running Podrum version 0.0.6 Platinum on API 0.0.1. This version is licensed under the GPL v2.0 license.

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.

Additional Context

No response

@SpiceX SpiceX added the bug Something isn't working label Jul 28, 2021
@MFDGaming MFDGaming changed the title Not joinable yet MCRegion based world format bug Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant