cpypasta / cotw-mod-builder

A tool to create custom mods for COTW.
44 stars 2 forks source link

Unhandled exception when building mods #8

Closed Roope00 closed 5 months ago

Roope00 commented 5 months ago

First of all, thanks a lot for the mod and still updating it!

With the newest game and modbuilder updates, the modbuilder fails to build with the selected mods for me. The error it gives is as follows:

Unhandled exception in script
Failed to execute script 'modbuilder' due to unhandled exception: 'NoneType' object has no attribute 'get_files'

Traceback (most recent call last):
  File "modbuilder.py", line 4, in
  File "modbuilder\__main__.py", line 4, in main
  File "modbuilder\gui.py", line 268, in main
AttributeError: 'NoneType' object has no attribute 'get_files'

It however seems to work with the default presets. I'll attach the mod preset I've used which gives the error. Roopes preset.json

cpypasta commented 5 months ago

Thanks for sharing your save file. The newest release will now avoid this error.