Skip to content

Minecraft Overviewer version 0.17.39 (2402e41) crashing on Minecraft 1.18 #1996

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

Closed
Mickoloh opened this issue Dec 1, 2021 · 8 comments
Closed

Comments

@Mickoloh
Copy link

Mickoloh commented Dec 1, 2021

$ /opt/minecraft/build/Minecraft-Overviewer/overviewer.py --config=/opt/minecraft/build/config.py
2021-11-30 21:11:47  Welcome to Minecraft Overviewer version 0.17.39 (2402e41)!
2021-11-30 21:11:47  Generating textures...
2021-11-30 21:12:16 E An error has occurred. This may be a bug. Please let us know!
See http://docs.overviewer.org/en/latest/index.html#help

This is the error that occurred:
Traceback (most recent call last):
  File "/opt/minecraft/build/Minecraft-Overviewer/overviewer.py", line 653, in <module>
    ret = main()
  File "/opt/minecraft/build/Minecraft-Overviewer/overviewer.py", line 562, in main
    tileSetOpts.update({"spawn": w.find_true_spawn()})  # TODO find a better way to do this
  File "/opt/minecraft/build/Minecraft-Overviewer-0.17.39/overviewer_core/world.py", line 221, in find_true_spawn
    chunk = regionset.get_chunk(chunkX, chunkZ)
  File "/opt/minecraft/build/Minecraft-Overviewer-0.17.39/overviewer_core/world.py", line 1637, in get_chunk
    level = data[1]['Level']
KeyError: 'Level'

Fedora 35, Minecraft 1.18

@Unix-User
Copy link

same error

2021-12-01 01:41:16  Welcome to Minecraft Overviewer version 0.17.39 (2402e41)!
2021-12-01 01:41:16  Generating textures...
2021-12-01 01:41:45 E An error has occurred. This may be a bug. Please let us know!
See http://docs.overviewer.org/en/latest/index.html#help

This is the error that occurred:
Traceback (most recent call last):
  File "./overviewer.py", line 653, in <module>
    ret = main()
  File "./overviewer.py", line 562, in main
    tileSetOpts.update({"spawn": w.find_true_spawn()})  # TODO find a better way to do this
  File "/opt/minecraft/Minecraft-Overviewer/overviewer_core/world.py", line 221, in find_true_spawn
    chunk = regionset.get_chunk(chunkX, chunkZ)
  File "/opt/minecraft/Minecraft-Overviewer/overviewer_core/world.py", line 1637, in get_chunk
    level = data[1]['Level']
KeyError: 'Level'

Ubuntu 20.04, Minecraft 1.18

@shnizmuffin
Copy link

Same.

Debian 11, Minecraft 1.18

@ST-Electro
Copy link

Same.

Ubuntu 18.04, Minecraft 1.18

@F-Node-Karlsruhe
Copy link

Same here. Seems to be a general problem :)

@IncredibleHolg
Copy link
Contributor

This is a duplicate of #1990

The solving pull request is within this issue,

@oscar230
Copy link

oscar230 commented Dec 1, 2021

Same error here for Minecraft 1.18 on Debian 5.10.70-1 and Python 3.9.2.

Below is the complete log.

2021-12-01 21:53:57  Welcome to Minecraft Overviewer version 0.17.39 (2402e41)!
2021-12-01 21:53:57  Generating textures...
2021-12-01 21:54:12 E An error has occurred. This may be a bug. Please let us know!
See http://docs.overviewer.org/en/latest/index.html#help

This is the error that occurred:
Traceback (most recent call last):
  File "/opt/minecraft-overviewer/Minecraft-Overviewer/overviewer.py", line 653, in <module>
    ret = main()
  File "/opt/minecraft-overviewer/Minecraft-Overviewer/overviewer.py", line 562, in main
    tileSetOpts.update({"spawn": w.find_true_spawn()})  # TODO find a better way to do this
  File "/opt/minecraft-overviewer/Minecraft-Overviewer/overviewer_core/world.py", line 221, in find_true_spawn
    chunk = regionset.get_chunk(chunkX, chunkZ)
  File "/opt/minecraft-overviewer/Minecraft-Overviewer/overviewer_core/world.py", line 1637, in get_chunk
    level = data[1]['Level']
KeyError: 'Level'

I have had some programming in python, but never professionally. Can i contribute in any way? I don't know where to start here.
Sincerely.

@Mickoloh
Copy link
Author

Mickoloh commented Dec 2, 2021

This is a duplicate of #1990

The solving pull request is within this issue,

I applied the patched code and I could successfully generate the graphics with no issues. Thank you!

@BenKennish
Copy link

Same problem here. Does someone need to approve the PR?

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

9 participants