L0laapk3 / FactorioMaps

L0laapk3's FactorioMaps mod
https://mods.factorio.com/mod/L0laapk3_FactorioMaps
Other
118 stars 22 forks source link

link_renderbox_area processing fail when some of the renderboxes are on surfaces that aren't being rendered #118

Closed muuyo closed 9 months ago

muuyo commented 11 months ago

I can't make heads or tails of the error I'm getting to be honest, besides being something about "zoom" and "filename". Pastebins below, at the very least. Log: https://pastebin.com/B2MQ8kri Modlist: https://pastebin.com/8E3N5Xj6

Relevant error:

Traceback (most recent call last):
  File "C:\Users\USER\AppData\Roaming\Factorio\mods\L0laapk3_FactorioMaps_4.3.0\auto.py", line 904, in <module>
    auto(*sys.argv[1:])
  File "C:\Users\USER\AppData\Roaming\Factorio\mods\L0laapk3_FactorioMaps_4.3.0\auto.py", line 723, in auto
    refZoom()
  File "C:\Users\USER\AppData\Roaming\Factorio\mods\L0laapk3_FactorioMaps_4.3.0\auto.py", line 703, in refZoom
    ref(outFolder, timestamp, surface, daytime, args.basepath, args)
  File "C:\Users\USER\AppData\Roaming\Factorio\mods\L0laapk3_FactorioMaps_4.3.0\ref.py", line 330, in ref
    path = os.path.join(link["toSurface"], daytime if link["daynight"] else "day", "renderboxes", str(surface["zoom"]["max"]), link["filename"])
KeyError: 'filename'
L0laapk3 commented 11 months ago

Seems like something is going wrong with factorissimo integration.

muuyo commented 11 months ago

Command used: python3 .\auto.py --verbose, run in an administrator Powershell terminal exact mod folder used: modfolder.zip save: gmaeoing.zip Was when creating a new timeline, as there was none to iterate on (this is my first time using the program). Had to delete the output from the previous runs as it was throwing a different error, probably from them not finishing...