I released new versions of DyTech, but some people (not all of them) are getting this error:
http://puu.sh/j7oMk/841e833b69.jpg
It searches for DyTech files in the lualib folder in core, odd!
placing the folder from dytech power (the gui folder0 in the lualib folder fixes the issue
this seems like a factorio issue, instead of DyTech issue
[0.12] Searching for DyTech files in core of Factorio
[0.12] Searching for DyTech files in core of Factorio
Creator of:
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
- DyTech
- DyWorld
- DyWorld-Dynamics
- DyWorld-Dynamics 2
Active since Factorio 0.6
Re: [0.12] Searching for DyTech files in core of Factorio
You have "require "gui.gui"" in your control.lua file. On non-windows that is case sensitive and your "GUI" folder is not the same case as your require.
The error message is saying (in a sort of weirdly aligned way):
__MAIN-DyTech-Power__/control.lua:5: module gui.gui not found:
no such file __MAIN-DyTech-Power/gui/gui.lua
no such file __MAIN-DyTech-Power/gui/gui.lua
no such file E:\Spill/Factorio_x64_0.12.0/Factorio_0.12.0/data/core/lualib/gui/gui.lua
It's listing locations it has attempted and saying it can't find the file you're asking for (because you miss-typed the capitalization between the folder and the require directive).
In other words, this isn't a bug You just need to ether change your "require"s to match the folder names letter for letter case for case.
The error message is saying (in a sort of weirdly aligned way):
__MAIN-DyTech-Power__/control.lua:5: module gui.gui not found:
no such file __MAIN-DyTech-Power/gui/gui.lua
no such file __MAIN-DyTech-Power/gui/gui.lua
no such file E:\Spill/Factorio_x64_0.12.0/Factorio_0.12.0/data/core/lualib/gui/gui.lua
It's listing locations it has attempted and saying it can't find the file you're asking for (because you miss-typed the capitalization between the folder and the require directive).
In other words, this isn't a bug You just need to ether change your "require"s to match the folder names letter for letter case for case.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.12] Searching for DyTech files in core of Factorio
Just a note in regards to this:
This isn't just a case of windows vs non-windows treating file paths differently, which is what I thought of it when I first saw it as well. As a windows user I get the error as well when the path is in the zip form, but not when it is extracted, so that makes it all the more confusing for someone testing a mod if you aren't looking for the differences in how file paths can be handled.
This isn't just a case of windows vs non-windows treating file paths differently, which is what I thought of it when I first saw it as well. As a windows user I get the error as well when the path is in the zip form, but not when it is extracted, so that makes it all the more confusing for someone testing a mod if you aren't looking for the differences in how file paths can be handled.
Re: [0.12] Searching for DyTech files in core of Factorio
Going into zip and changing GUI to gui fixes the issue.
Difference between zip handling and extracted directories on windows is confusing.
Difference between zip handling and extracted directories on windows is confusing.