missing closing tag

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Lord_Tiberius
Posts: 1
Joined: December 20th, 2005, 8:31 pm

missing closing tag

Post by Lord_Tiberius »

I've just compiled wesnoth 1.1.2a
Here are my computer's major specifications:
Athlon XP 1800+
SlackWare Linux 10.2

to compile, I simply made

Code: Select all

./configure
make
make install
When I try to start Wesnoth, he says me this:

Code: Select all

error config: preprocessor symbol 'UNIT_BODY_SOULLESS' expects 2 
arguments, but has 4 arguments at 83 
/usr/local/share/wesnoth/data/units/Undead_Corpse_Soulless.cfg 10 
data/units.cfg 494 data/game.cfg
Error loading game configuration files
error general: Error loading game configuration files: 'Missing closing 
tag for tag animation at 
/usr/local/share/wesnoth/data/units/Undead_Corpse_Necrophage.cfg:46 
included from data/units.cfg:10 included from data/game.cfg:494 at 
/usr/local/share/wesnoth/data/units/Undead_Corpse_Necrophage.cfg:63 
included from data/units.cfg:10 included from data/game.cfg:494' (The 
game will now exit)
Missing closing tag for tag animation at 
/usr/local/share/wesnoth/data/units/Undead_Corpse_Necrophage.cfg:46 
included from data/units.cfg:10 included from data/game.cfg:494 at 
/usr/local/share/wesnoth/data/units/Undead_Corpse_Necrophage.cfg:63 
included from data/units.cfg:10 included from data/game.cfg:494
And then it exits...
I checked the file /usr/local/share/wesnoth/data/units/Undead_Corpse_Necrophage.cfg and no animation tag is missing...
The Drakôn's Lord
jdrum00
Posts: 4
Joined: June 24th, 2006, 6:05 am

Post by jdrum00 »

First post here, so I feel compelled to say before I start complaining, "Fantastic game! I am way impressed!"

I'm having a similar issue with the Windows version of 1.1.5; for me, it's that Undead_Corpse_Soulless.cfg is missing a unit tag. Or rather, that's the only error I get to the screen; I'm getting the argument error as well if I look in stderr.txt. This is on a Windows XP SP2 box; more details available upon request.

Code: Select all

error config: preprocessor symbol 'UNIT_BODY_SOULLESS' expects 1 arguments, but has 4 arguments at 89 data/units/Undead_Corpse_Soulless.cfg 10 data/units.cfg 512 data/game.cfg
Error loading game configuration files
error general: Error loading game configuration files: 'Missing closing tag for tag unit at data/units/Undead_Corpse_Soulless.cfg:88 included from data/units.cfg:10 included from data/game.cfg:512 at data/units/Undead_Corpse_Soulless.cfg:89 included from data/units.cfg:10 included from data/game.cfg:512' (The game will now exit)
Missing closing tag for tag unit at data/units/Undead_Corpse_Soulless.cfg:88 included from data/units.cfg:10 included from data/game.cfg:512 at data/units/Undead_Corpse_Soulless.cfg:89 included from data/units.cfg:10 included from data/game.cfg:512
I tried fiddling with the configuration file manually, but couldn't seem to get the behavior to change no matter where I put the tags. By comparison to other 1.1.5 units, it looks to my naive eye like the unit is missing unit tags completely, both opening and closing. I tried looking at the 1.0.2 config files for inspiration, but it looks like the format has changed rather substantially. Thanks in advance for any help you can provide; can this possibly be happening to everybody on Windows?
freim
Retired Terrain Art Director
Posts: 1113
Joined: November 29th, 2003, 11:40 pm
Location: Norway

Post by freim »

Make sure you haven't installed on top of a previous install. Always completely remove any previous version if you install to the same location.

Since this crop up all the time I've added it to the read me first thread.
jdrum00
Posts: 4
Joined: June 24th, 2006, 6:05 am

Post by jdrum00 »

That did indeed do the trick. Apologies for bringing up a well-known problem, I suppose, but I didn't see any other reference to it in the forums or the bug tracker. Good call on the readme. Thanks!
gandalf
Posts: 157
Joined: August 24th, 2003, 4:15 pm
Location: Sweden

Post by gandalf »

I had the same problem, and now it's solved. Must say: It looks better and better for each version!
Angband, the ultimate FPS game!
Post Reply