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

genPOI: Error when using custom (vanilla) dimensions #2057

Open
jobe1986 opened this issue Jul 16, 2022 · 1 comment
Open

genPOI: Error when using custom (vanilla) dimensions #2057

jobe1986 opened this issue Jul 16, 2022 · 1 comment

Comments

@jobe1986
Copy link

genPOI is producing an error when using a custom datapack dimension:

2022-07-16 16:14:36  Loaded UUID cache from '/var/www/simplanet/uuidcache.dat' with 120 entries.
*******************************************************************************
2022-07-16 16:14:36 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 "/home/simplanet/overviewer/bin/overviewer.py", line 653, in <module>
    ret = main()
  File "/home/simplanet/overviewer/bin/overviewer.py", line 168, in main
    g.genPOI.main()
  File "/home/simplanet/overviewer/bin/overviewer_core/aux_files/genPOI.py", line 601, in main
    handlePlayers(worldpath, list(worldpath_filters), markers)
  File "/home/simplanet/overviewer/bin/overviewer_core/aux_files/genPOI.py", line 367, in handlePlayers
    dimension = int(re.match(r"^DIM(_MYST)?(-?\d+)$", rset.get_type()).group(2))
AttributeError: 'NoneType' object has no attribute 'group'

Should be an easy fix, basically appears to be the result of assuming a dimension is only ever "DIM" or "DIM-".

For reference the data pack used is https://github.com/Simplanet/Simplanet-Dimensions-Datapack and the render configuration for the dimension is:

renders["badlands"] = {
    'world': 'Simplanet',
    'title': 'Badlands (Mesa)',
    'rendermode': 'normal',
    'dimension': 'dimensions/simplanet/badlands',
    "northdirection" : "upper-right",
    'markers': badlandsmarkers,
    'minzoom': 2,
    'imgformat': 'jpeg',
    'imgquality': 90,
}
@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