Search found 515 matches

by allefant
July 2nd, 2017, 1:27 am
Forum: Website
Topic: Wesnoth's Unit Database
Replies: 60
Views: 19838

Re: Wesnoth's Unit Database

Hm, I'll have to double check the code again - maybe the cyclic dependency is causing problems somehow.
by allefant
June 26th, 2017, 1:45 am
Forum: Website
Topic: Wesnoth's Unit Database
Replies: 60
Views: 19838

Re: Wesnoth's Unit Database

The problem was not the circular dependency, wmlunits handles that just fine. But I believe I just committed a fix for it anyway - a new generation is running and should be done in a few hours. I did not investigate the exact cause so will remain to be seen if my fix worked :)
by allefant
June 12th, 2017, 2:07 pm
Forum: Website
Topic: Wesnoth's Unit Database
Replies: 60
Views: 19838

Re: Wesnoth's Unit Database

The 1.12 version was using master actually. The way it is setup is that the master version of the "wmlunits" script is always used. (Mainly because I got tired of having to backport the script changes to 1.12.) But 1.12 will use the 1.12 wesnoth binary to do the WML parsing while master will use th...
by allefant
June 9th, 2017, 11:30 pm
Forum: Website
Topic: Wesnoth's Unit Database
Replies: 60
Views: 19838

Re: Wesnoth's Unit Database

The problem was that units.wesnoth.org only understood the difficulties=EASY,NORMAL,HARD syntax but would ignore [difficulty] elements. I just updated it to define the very first [difficulty] it finds, so ON_DIFFICULTY works now.
by allefant
June 8th, 2017, 3:31 pm
Forum: Website
Topic: Wesnoth's Unit Database
Replies: 60
Views: 19838

Re: Wesnoth's Unit Database

So where is ON_DIFFICULTY defined or who/when creates it?

@loonycyborg fixed version 1.12 out-of-source builds so units.wesnoth.org should be able to use an 1.12 build to parse the 1.12 addons on the next run.
by allefant
June 4th, 2017, 7:53 pm
Forum: Website
Topic: 1.12 units database not being updated [new problem]
Replies: 7
Views: 2536

Re: 1.12 units database not being updated [new problem]

There was some build troubles for the 1.13 units.wesnoth.org, it should be updated now.
by allefant
June 3rd, 2016, 10:07 pm
Forum: Website
Topic: Wesnoth Units database - how frequently it regenerates?
Replies: 53
Views: 15619

Re: Wesnoth Units database - how frequently it regenerates?

The Golden Age - it has instead lots of errors which I don't understand.
I don't understand them either - looks like a bug either in the --preprocess option or in the units.wesnoth.org script.
by allefant
June 2nd, 2016, 10:43 pm
Forum: Website
Topic: Wesnoth Units database - how frequently it regenerates?
Replies: 53
Views: 15619

Re: Wesnoth Units database - how frequently it regenerates?

I changed Zombies vs Bandits to Zombies:Introduction several weeks ago but still cannot see changes with last update at May 28. It's there it just has 0 units to extract: http://units.wesnoth.org/1.12/overview.html but other, already existing, eras did not get updated there Which one? Maybe it simp...
by allefant
April 23rd, 2015, 11:12 am
Forum: Website
Topic: Wesnoth Units database - how frequently it regenerates?
Replies: 53
Views: 15619

Re: Wesnoth Units database - how frequently it regenerates?

You shouldn't expect the website tool to be able read every addon correctly I think. If understand correctly, it's written in Python, and likely has minor differences with the parser code Such a difference would be a bug though and should be fixed. I think WML follows a rather simple grammar anyway...
by allefant
March 26th, 2015, 12:59 pm
Forum: Website
Topic: Wesnoth Units Database: MISSILE_FRAME bug
Replies: 25
Views: 4761

Re: Wesnoth Units Database: MISSILE_FRAME bug

Ageless Era just is too big - I had to increase the timeout to 60 seconds.

Eagle_11: Which addon is yours?
by allefant
March 22nd, 2015, 6:51 pm
Forum: Website
Topic: Wesnoth Units Database: MISSILE_FRAME bug
Replies: 25
Views: 4761

Re: Wesnoth Units Database: MISSILE_FRAME bug

Hmp, seems the Wesnoth server just is really slow right now. So I don't really have a good option to restore the site while this is ongoing - unless I copy over all of the .html pages.
by allefant
March 22nd, 2015, 6:35 pm
Forum: Website
Topic: Wesnoth Units Database: MISSILE_FRAME bug
Replies: 25
Views: 4761

Re: Wesnoth Units Database: MISSILE_FRAME bug

The timeout is only for the wesnoth executable doing its parsing - the Python code is not affected (and only takes a few ms anyway - wesnoth executable is being slow for some reason). Anyway, increasing the timeout makes it not work at all now, I'm trying to find out why.
by allefant
March 21st, 2015, 8:51 pm
Forum: Website
Topic: Wesnoth Units Database: MISSILE_FRAME bug
Replies: 25
Views: 4761

Re: Wesnoth Units Database: MISSILE_FRAME bug

I don't know if it is possible to run it in Windows.
by allefant
March 21st, 2015, 4:28 pm
Forum: Website
Topic: Wesnoth Units Database: MISSILE_FRAME bug
Replies: 25
Views: 4761

Re: Wesnoth Units Database: MISSILE_FRAME bug

I just increased the timeout to 60 seconds. I seem to remember this causing more serious problems though, but we will see - just issued a manual website regeneration. The original issue with the outdated wesnoth binary seems fixed, I'm investigating the "wml error" every single addon is getting now,...
by allefant
March 21st, 2015, 3:19 am
Forum: Website
Topic: Wesnoth Units Database: MISSILE_FRAME bug
Replies: 25
Views: 4761

Re: Wesnoth Units Database: MISSILE_FRAME bug

Well, just trying it locally. If it works locally then it just takes too long on the server for some reason. If it also takes forever locally, then can try and debug.