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

Overviewer 0.19.9 with Minecraft 1.18.2 world "IndexError: index 1 is out of bounds for axis 0 with size 1" #2071

Open
sethborg opened this issue Oct 1, 2022 · 1 comment

Comments

@sethborg
Copy link

sethborg commented Oct 1, 2022

This is a very old world from 2011 that has been updated to each patch throughout the years.

Error:

2022-10-01 12:38:23  Rendered 1958 of 2773.  70% complete.  ETA: 00h 00m 46s
ERROR:root:Could not render chunk 58,129 for some reason. This is likely a render primitive option error.
ERROR:root:Full error was:
Traceback (most recent call last):
  File "overviewer_core\tileset.py", line 1107, in _render_rendertile
  File "overviewer_core\world.py", line 2078, in get_chunk
  File "overviewer_core\world.py", line 1893, in get_chunk
  File "overviewer_core\world.py", line 1749, in get_chunk
  File "overviewer_core\world.py", line 1532, in _get_blockdata_v118
IndexError: index 1 is out of bounds for axis 0 with size 1

Here's that block of code in world.py around line 1532 with the second to last line being line 1532:

        # Turn the BlockStates array into a 16x16x16 numpy matrix of shorts.
        blocks = numpy.empty((4096,), dtype=numpy.uint16)
        data = numpy.empty((4096,), dtype=numpy.uint8)
        block_states = longarray_unpacker(block_states_data, 4096, num_palette_entries)
        blocks[:] = translated_blocks[block_states]
        data[:] = translated_data[block_states]

Seems to be some issue reading the 1.18.2 blocks? Is there any way overviewer can be made to skip chunks with issues and keep rendering rather than hang?

@sethborg sethborg changed the title Overviewer 0.19.9 with Minecraft 1.18.2 world Overviewer 0.19.9 with Minecraft 1.18.2 world "IndexError: index 1 is out of bounds for axis 0 with size 1" Oct 1, 2022
@ajh123
Copy link

ajh123 commented Jul 10, 2023

The main README states ..

PLEASE NOTE: Overviewer is currently unmaintained. PRs will not be merged and issues will not be addressed. The website and repository will remain online and accessible.

Instead please use the new working (“successor”) version of Overviewer supporting 1.20 worlds and textures.
https://github.com/GregoryAM-SP/The-Minecraft-Overviewer

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

2 participants