Missing FirstRun module

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
sparr
Low Yeek
Posts: 6
Joined: Thu Mar 28, 2019 11:18 pm

Missing FirstRun module

#1 Post by sparr »

Every time I try to launch the game I get stuck in an error loop of this error:

Code: Select all

Lua Error: /mod/class/Game.lua:584: module 'mod.dialogs.FirstRun' not found:
no field package.preload['mod.dialogs.FirstRun']
no file '/mod/dialogs/FirstRun.lua'
  At [C]:-1 
  At [C]:-1 require
  At /mod/class/Game.lua:584 checkFirstTime
  At /mod/class/Game.lua:179 run
  At /engine/Module.lua:1065 instanciate
  At /engine/utils.lua:2442 showMainMenu
  At /engine/init.lua:199 
  At [C]:-1 dofile
  At /loader/init.lua:217
There is no FirstRun.lua anywhere in the files that I have, or inside the teaa zip files for any of the addons I downloaded following the instructions on the wiki.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Missing FirstRun module

#2 Post by darkgod »

Hum this is weird now.
Where from did you install the game please? and did you try without any addons present at all?
Also show me the file te4_log.txt from the game's main folder please

Thanks!
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

sparr
Low Yeek
Posts: 6
Joined: Thu Mar 28, 2019 11:18 pm

Re: Missing FirstRun module

#3 Post by sparr »

Here is the code in question that tries to require the nonexistent module: https://git.net-core.org/tome/t-engine4 ... e.lua#L584

sparr
Low Yeek
Posts: 6
Joined: Thu Mar 28, 2019 11:18 pm

Re: Missing FirstRun module

#4 Post by sparr »

I cloned from git and built from there. I encountered this problem before downloading the three addons suggested by the wiki (and still after).

I don't have a te4_log.txt anywhere that I can find. I do have one error report, which is what I posted above plus some metadata and formatting.

I'd be happy to help troubleshoot if I could find any other reference to that module anywhere.

sparr
Low Yeek
Posts: 6
Joined: Thu Mar 28, 2019 11:18 pm

Re: Missing FirstRun module

#5 Post by sparr »

I ran the game with --logtofile and got the attached log.
Attachments
te4_log.txt
(14.01 KiB) Downloaded 124 times

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Missing FirstRun module

#6 Post by darkgod »

Ahh wait, you're compiling yourself, does this mean you're by any chance using the master branch on git?
It's the WIP branch, you'll want to instead stick to release tags. And indeed FirstRun had to be made quickyl for 1.5 and was not yet backported to master; thanks for the reminder btw :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Missing FirstRun module

#7 Post by darkgod »

I've fixed master branch now. Thank to you I wont forget to do it for the release ;) But still, unless you wish to dev to submit patches or stuff; better to stick to tagged releases :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply