Page 1 of 1
mod error fail to run

Posted:
Mon Apr 01, 2013 04:50
by winaster
VERBOSE[main]: error_message = ModError: Failed to load and run C:\minetest\minetest-0.4.5\minetest-0.4.5\bin\..\mods\minetest\Jeija-minetest-mod-mesecons-20130211-44-g2cc3890\init.lua
I cant figure out how to get multiple results from search so here it is
it wont work when I try to run it. I also get this kind of error with my other mods too. also just got minetest and mod today as of 3/31/2013

Posted:
Mon Apr 01, 2013 05:00
by kaeza
Try renaming Jeija-minetest-mod-mesecons-20130211-44-g2cc3890 to just 'mesecons'

Posted:
Mon Apr 01, 2013 05:31
by VanessaE
The name of the folder doesn't matter in this case, as mesecons is technically a modpack. Can you post the complete error message? It should tell you what line the error occurred in, and what type of error it was.

Posted:
Mon Apr 01, 2013 06:06
by prestidigitator
If it knew it was a modpack, it probably wouldn't be trying to run "init.lua" in its directory. I'm betting that the "modpack.txt" file was missing, deleted, renamed, or something like that. You might want to create that file under that "Jeija-minetest-mod-mesecons-20130211-44-g2cc3890" directory and see if it fixes things. The file should be empty and have that exact name (so make sure Windows' hiding of file extensions doesn't result in either a file named "modpack" or "modpack.txt.txt").

Posted:
Mon Apr 01, 2013 17:01
by winaster
prestidigitator wrote:If it knew it was a modpack, it probably wouldn't be trying to run "init.lua" in its directory. I'm betting that the "modpack.txt" file was missing, deleted, renamed, or something like that. You might want to create that file under that "Jeija-minetest-mod-mesecons-20130211-44-g2cc3890" directory and see if it fixes things. The file should be empty and have that exact name (so make sure Windows' hiding of file extensions doesn't result in either a file named "modpack" or "modpack.txt.txt").
as to this it seems to have what you say it should and it named modpack and inside it says The presence of this file indicates that the current folder is a modpack. and it a txt file
but as to
VanessaE wrote:The name of the folder doesn't matter in this case, as mesecons is technically a modpack. Can you post the complete error message? It should tell you what line the error occurred in, and what type of error it was.
how??

Posted:
Mon Apr 01, 2013 17:10
by winaster
11:06:30: INFO[main]: [Jeija-minetest-mod-mesecons-20130211-44-g2cc3890] ["C:\minetest\minetest-0.4.5\minetest-0.4.5\bin\..\mods\minetest\Jeija-minetest-mod-mesecons-20130211-44-g2cc3890\init.lua"]
11:06:30: ERROR[main]: Error loading mod "Jeija-minetest-mod-mesecons-20130211-44-g2cc3890": modname does not follow naming conventions: Only chararacters [a-z0-9_] are allowed.
11:06:30: ERROR[main]: Server: Failed to load and run C:\minetest\minetest-0.4.5\minetest-0.4.5\bin\..\mods\minetest\Jeija-minetest-mod-mesecons-20130211-44-g2cc3890\init.lua
is this what you mean
sorry for so long following pilzadams instructions
I have no idea what I need sorry for the length.
[ Edited to shorten log output to just the error message we needed. --VanessaE ]

Posted:
Mon Apr 01, 2013 17:14
by ShadowNinja
We need the lines surrounding that error, you should pastebin it so that you don't use so much forum space: [url]pastebin.ubuntu.com[/url].

Posted:
Mon Apr 01, 2013 18:44
by VanessaE
Actually he did get the one line we needed - it complains about invalid characters in the "mod name", which means Minetest thinks it's a mod, not a modpack. So either modpack.txt is missing as prestidigitator suggested, or the modpack was not properly extracted.
Check the contents of the "Jeija-minetest-mod-mesecons-20130211-44-g2cc3890" folder, tell us what is in there either by posting a directory listing of it, or a screenshot showing what your file manager thinks is there when you double click on it.

Posted:
Tue Apr 02, 2013 03:30
by winaster
cant post image how to directory list??????

Posted:
Thu Apr 04, 2013 21:52
by winaster
how do I do a directory list?

Posted:
Thu Apr 04, 2013 22:31
by Topywo
winaster wrote:how do I do a directory list?
Go to the directory/folder, click full screen and the press the "prt sc" key
Use omploader (ompldr), dropbox or another site that allows you to upload the screenshot/print screen image.
Copy the link in a post on this forum. Put it between[img]and[/img].
Example: [img]://dl.dropbox.com/number_1600x900_scrot.png[/img]

Posted:
Fri Apr 05, 2013 22:10
by winaster

Posted:
Fri Apr 05, 2013 23:54
by Menche
To post an image:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
[img]https://www.dropbox.com/s/mscfhgcp9ul2w4e/minetest%20mescons%20folder.jpg[/img]
I notice there's two "mesecons" folders, one inside the other. I recommend renaming the outer one, moving the inner one out, then deleting the outer one.
Or, make sure the outer one contains modpack.txt (which will show up as "modpack" because your extensions are hidden).

Posted:
Sun Apr 07, 2013 19:07
by BAGPIPE
I've been having a similar problem. All mods I try to run don't do anything. But I haven't seen any error messages

Posted:
Sun Apr 07, 2013 20:00
by Topywo
BAGPIPE wrote:I've been having a similar problem. All mods I try to run don't do anything. But I haven't seen any error messages
Somewhere near the end of te 0.4.5 builds (I think) I noticed that the mods in mods/minetest didn't work anymore. I now place the mods in games/build
/mods, but I guess you can also place them
in the mods folder of common, minetest_game and survival (and some in minimal).
Edit: I saw in later posts I forgot to mention the mods folders (thanks Sokomine and Menche)

Posted:
Sun Apr 07, 2013 20:14
by Sokomine
I've got the same problem and place mods (or rather: symlinks) into games/*/mods/ these days. It's a bit inconvenient when switching to a new build.

Posted:
Sun Apr 07, 2013 21:01
by Menche
Mods go in mods/[game name]. If you install a mod to run in the "build" game, put it in mods/build. It was usually mods/minetest previously because "minetest" was the "official" game.

Posted:
Wed Apr 10, 2013 02:31
by BAGPIPE
Topywo wrote:BAGPIPE wrote:I've been having a similar problem. All mods I try to run don't do anything. But I haven't seen any error messages
Somewhere near the end of te 0.4.5 builds (I think) I noticed that the mods in mods/minetest didn't work anymore. I now place the mods in games/build
/mods, but I guess you can also place them
in the mods folder of common, minetest_game and survival (and some in minimal).
Edit: I saw in later posts I forgot to mention the mods folders (thanks Sokomine and Menche)
I tried putting a mod in Games/minimal/mods folder, of the folders that i found containing mods, this had the most and the ones I recognized(buckets).
This did not work
one of these days i'm going to try adding mods to 0.4.5

Posted:
Wed Apr 10, 2013 09:54
by Topywo
BAGPIPE wrote:I tried putting a mod in Games/minimal/mods folder, of the folders that i found containing mods, this had the most and the ones I recognized(buckets).
This did not work
one of these days i'm going to try adding mods to 0.4.5
1. After putting mods in your minimal/mods folder, did you create a world with minimal or maybe by mistake in build?
2. You do have games/common? Afaik the games/build and games/survival can use the mods in there.
3. Try putting one easy mod in games/build/mods - folder and then create a world as (build)

Posted:
Fri Apr 12, 2013 02:48
by BAGPIPE
Got some mods to work, but others saying falier to load and run, going to try more things on the weekend.

Posted:
Fri Apr 12, 2013 06:47
by Cheesus
I redownloaded 0.4.5 and added the same mods in but its no use. still says its unable to load init.lua :/ hopefully tye next update fixes this problem...

Posted:
Fri Apr 12, 2013 09:28
by Topywo
Cheesus wrote:I redownloaded 0.4.5 and added the same mods in but its no use. still says its unable to load init.lua :/ hopefully tye next update fixes this problem...
Why not 0.4.6? (unofficial release)
I think if you downloaded the official 0.4.5 build, the mods need still to be placed in mods/minetest.
Later, unofficial releases of 0.4.5 introduced the common, build and survival games, causing the mods to be placed in games/build, games/survival etc..
BAGPIPE wrote:Got some mods to work, but others saying falier to load and run, going to try more things on the weekend.
Usual suspects:- A folder needs to be renamed to the (low-case) name, used in the init.lua.
Example: VanessaE-homedecor-e5c99a3 --> rename --> homedecor
- Trying to use an older mod version or a not up to date mod version
- Use of an older version of minetest than the latest, unofficial
- Missing dependencies (look in the 1st post or check the depends.txt file
- Bugs in a mod
- Maybe other reasons I can't think of right now

Posted:
Fri Apr 12, 2013 17:31
by BAGPIPE
Topywo wrote:Cheesus wrote:I redownloaded 0.4.5 and added the same mods in but its no use. still says its unable to load init.lua :/ hopefully tye next update fixes this problem...
Why not 0.4.6? (unofficial release)
I think if you downloaded the official 0.4.5 build, the mods need still to be placed in mods/minetest.
Later, unofficial releases of 0.4.5 introduced the common, build and survival games, causing the mods to be placed in games/build, games/survival etc..
BAGPIPE wrote:Got some mods to work, but others saying falier to load and run, going to try more things on the weekend.
Usual suspects:- A folder needs to be renamed to the (low-case) name, used in the init.lua.
Example: VanessaE-homedecor-e5c99a3 --> rename --> homedecor
- Trying to use an older mod version or a not up to date mod version
- Use of an older version of minetest than the latest, unofficial
- Missing dependencies (look in the 1st post or check the depends.txt file
- Bugs in a mod
- Maybe other reasons I can't think of right now
Ok, thanks, will try tonight

Posted:
Sat Apr 13, 2013 02:44
by BAGPIPE
That worked, thanks for the help.

Posted:
Sat Apr 13, 2013 17:06
by xXfrancoXx
VanessaE wrote:The name of the folder doesn't matter in this case, as mesecons is technically a modpack. Can you post the complete error message? It should tell you what line the error occurred in, and what type of error it was.
can you give me permission to make pots in mod releases?, I get sorry, you are not allowed

Posted:
Sat Apr 13, 2013 18:56
by VanessaE
No one except moderators, admins, etc. are allowed to create new topics in Mod Releases, as it is intended more or less as an official list of mods that are known to work well on current versions of Minetest. This is to keep random people from making junk posts there.