animalpack swap error

brder
Member
 
Posts: 20
Joined: Sat Jan 16, 2016 11:19

animalpack swap error

by brder » Sat Jan 16, 2016 11:35

ERROR[EmergeThread0]: MOBF: failed to swap old conf file to new one

i saw this in debug txt when i play with animalspack 2.5.0
and there is no animal i the world
 

User avatar
Gael de Sailly
Member
 
Posts: 659
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: animalpack swap error

by Gael de Sailly » Wed Jan 20, 2016 19:26

I've searched in the code and I haven't found what is precisely this error message. I haven't tested the new version of animals modpack yet.

There is a file called debug.txt in MT's files in which you can find the error logs. That must help us understanding the problem. If the file is too big, remove it and launch Minetest again with animal_modpack. So you will find a new debug.txt with only the informations we need.

Or you can try other mobs mods like Mobs Redo, that is much lighter.
Contributor of Minetest and OpenStreetMap, on Ubuntu 16.04. ~ ~ ~ Meet me on MinetestForFun, VanessaE's Basic, Capture the Flag and Inside the Box.
 

brder
Member
 
Posts: 20
Joined: Sat Jan 16, 2016 11:19

Re: animalpack swap error

by brder » Thu Jan 21, 2016 08:02

Gael de Sailly thanks for attention. Like you said i download the Mobs Redo, when i try to run this mod i saw this error lines in debug.txt

Can you help me about that

2016-01-21 09:52:03: ERROR[main]: ========== ERROR FROM LUA ===========
2016-01-21 09:52:03: ERROR[main]: Failed to load and run script from
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:5: attempt to concatenate local 'path' (a nil value)
2016-01-21 09:52:03: ERROR[main]: stack traceback:
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:5: in main chunk
2016-01-21 09:52:03: ERROR[main]: ======= END OF ERROR FROM LUA ========
2016-01-21 09:52:03: ERROR[main]: Server: Failed to load and run C:\games\Minetest\bin\..\mods\mobsmaster\init.lua
2016-01-21 09:52:03: ERROR[main]: ModError: ModError: Failed to load and run C:\games\Minetest\bin\..\mods\mobsmaster\init.lua
2016-01-21 09:52:03: ERROR[main]: Error from Lua:
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:5: attempt to concatenate local 'path' (a nil value)
2016-01-21 09:52:03: ERROR[main]: stack traceback:
2016-01-21 09:52:03: ERROR[main]: C:\games\Minetest\bin\..\mods\mobsmaster\init.lua:5: in main chunk
 

KCoombes
Member
 
Posts: 402
Joined: Thu Jun 11, 2015 23:19
Location: SW Florida, USA
In-game: Knatt

Re: animalpack swap error

by KCoombes » Thu Jan 21, 2016 12:40

You need to change the folder name to 'mobs' (remove -'master') for all mods you install.
 

User avatar
Gael de Sailly
Member
 
Posts: 659
Joined: Sun Jan 26, 2014 17:01
Location: Lyon, France
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: animalpack swap error

by Gael de Sailly » Thu Jan 21, 2016 15:27

We need to improve the mods system. That's a very recurrent mistake.
Contributor of Minetest and OpenStreetMap, on Ubuntu 16.04. ~ ~ ~ Meet me on MinetestForFun, VanessaE's Basic, Capture the Flag and Inside the Box.
 

KCoombes
Member
 
Posts: 402
Joined: Thu Jun 11, 2015 23:19
Location: SW Florida, USA
In-game: Knatt

Re: animalpack swap error

by KCoombes » Thu Jan 21, 2016 17:59

I still wondering why the -master is doubled in the file system after unpacking the .zip.
 

brder
Member
 
Posts: 20
Joined: Sat Jan 16, 2016 11:19
 

User avatar
Sheriff
Member
 
Posts: 64
Joined: Thu Nov 09, 2017 21:25

Re: animalpack swap error

by Sheriff » Wed Oct 03, 2018 04:18

Gael de Sailly wrote:We need to improve the mods system. That's a very recurrent mistake.


I know that this is a very old thread, but I just have to say that these have been my thoughts for years on this subject. Whose idea was it to have everyone name their zips and the folder in the zip differently than the folder should be named when it ends up in the mods folder? Whatever problem this idea was trying to solve probably caused far less pain, over-all, than this approach has caused so many people over the years. Does someone consider this the best practice? If so, why? Hopefully, we can figure out where this came from and can stop encouraging mod developers to do it.
 

User avatar
Chiantos
Member
 
Posts: 304
Joined: Sun Jan 15, 2017 09:04
Location: Earth
GitHub: BlockColor
IRC: mrchiantos
In-game: mrchiantos

Re: animalpack swap error

by Chiantos » Wed Oct 03, 2018 08:33

Sheriff wrote:
Gael de Sailly wrote:We need to improve the mods system. That's a very recurrent mistake.


I know that this is a very old thread, but I just have to say that these have been my thoughts for years on this subject. Whose idea was it to have everyone name their zips and the folder in the zip differently than the folder should be named when it ends up in the mods folder? Whatever problem this idea was trying to solve probably caused far less pain, over-all, than this approach has caused so many people over the years. Does someone consider this the best practice? If so, why? Hopefully, we can figure out where this came from and can stop encouraging mod developers to do it.


Hello,

Github Add branche name to zip when you download zip. Majority Time branche is "master", this default branch.
People not choice this for zip, this is Github and other git tools name zip Choice name zip.

Not really choice for name zip ... I think modify name zip is possible only for release, not sure.

After this not idiot, else you have differents branches,

Examples :
_ stable mymod-stable.zip
_ unstable mymod-unstable.zip
_ wip mymod-wip.zip
_ dev mymod-dev.zip

Or for different stable version
_0.1 mymod-0.1.zip
_0.2 mymod-0.2.zip

Good Day.
Game : BlockColor - Avatar Mod with Cms : SkinKey
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 2 guests