"Standard is not a field in this table." when accessing Options

Bug #1485332 reported by Hans Joachim Desserud
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
Unassigned

Bug Description

Steps to reproduce:
0. Run Widelands from a terminal
1. Go to Options.

Expected result:
Navigated to options. Nothing out of the ordinary.

Actual result:
While it works as expected, the following error message is printed in the terminal:
Could not read font set 'Standard': [../src/scripting/lua_errors.cc:22] Standard is not a field in this table.

I suspect the font might be tied to the language used, but I get this error message no matter which language I switch to.

Widelands r7512 on Ubuntu 15.04.

Related branches

Revision history for this message
GunChleoc (gunchleoc) wrote :

I have seen this error message as well, so I'm setting this to "confirmed". Will have to grep where this is coming from.

Changed in widelands:
status: New → Confirmed
Revision history for this message
kaputtnik (franku) wrote :

it seems like it is related to german localisation in files:

1. /i18n/locales.lua
2. /i18n/locales/de.json

In there are definitions for "font" respectively "font-set" which are declared as "Standard". I changed these values from "Standard" to "default" and the error do not appear anymore. See attached diff.

Revision history for this message
kaputtnik (franku) wrote :

Changing the string only in i18n/locales.lua is enough to let disappear the message :-)

Revision history for this message
GunChleoc (gunchleoc) wrote :

Thanks for tracking it down. I personally fixed up and reviewed the translation files for all of these, but another translator with reviewer powers must have messed with it afterwards. I have gone through all the languages and it will fix itself with the next translation update.

Revision history for this message
GunChleoc (gunchleoc) wrote :

P.S. let's leave this bug open for now, because we should have a better error message.

GunChleoc (gunchleoc)
Changed in widelands:
assignee: nobody → GunChleoc (gunchleoc)
milestone: none → build19-rc1
GunChleoc (gunchleoc)
Changed in widelands:
status: Confirmed → In Progress
GunChleoc (gunchleoc)
Changed in widelands:
status: In Progress → Fix Committed
GunChleoc (gunchleoc)
Changed in widelands:
assignee: GunChleoc (gunchleoc) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.