Rybadour / Foreman

Visual planning tool for the game Factorio
Other
21 stars 7 forks source link

Mods that use StdLib in their Lua don't seem to get parsed correctly #11

Closed Rybadour closed 4 years ago

Rybadour commented 4 years ago

A couple mods that use the StdLib mod (https://mods.factorio.com/mod/stdlib) don't seem to be parsed correctly.

Example error message:

C:\Users\XXX\AppData\Local\Temp\pycoalprocessing_1.2.2\pycoalprocessing_1.2.2\data.lua ([string "chunk"]:13: module 'stdlib/stdlib/data/data' not found:
no field package.preload['stdlib/stdlib/data/data']
no file 'C:\XXX\Foreman\lua_stdlib_/stdlib/data/data.lua'
no file 'C:\XXX\Foreman\lua_stdlib_/stdlib/data/data\init.lua'
no file 'C:\XXX\Foreman_stdlib_/stdlib/data/data.lua'
no file 'C:\XXX\Foreman_stdlib_/stdlib/data/data\init.lua'
no file '._stdlib_/stdlib/data/data.lua'
no file 'C:\XXX\Factorio\data\core\lualib_stdlib_/stdlib/data/data.lua'
no file 'C:\Users\XXX\AppData\Local\Temp\pycoalprocessing_1.2.2\pycoalprocessing_1.2.2_stdlib_/stdlib/data/data.lua'
no file 'C:\XXX\Foreman_stdlib_/stdlib/data/data.dll'
no file 'C:\XXX\Foreman\loadall.dll'
no file '._stdlib_/stdlib/data/data.dll')
Firemonkey08 commented 4 years ago

Nice to see that this tool isn´t given up :D

Rybadour commented 4 years ago

Fixed in the most recent commit!

https://github.com/Rybadour/Foreman/commit/1a54ddc4e306a953b08c390a069096c488f12e8b