URL: <http://gna.org/bugs/?20108>
Summary: Error logging about missing datebase backend definition broken Project: Freeciv Submitted by: cazfi Submitted on: Wed 29 Aug 2012 12:04:00 AM EEST Category: general Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: Trying to debug authentication problems on friend's computer (Windows, debugging over email) > 1: lua error: > [string "tolua: embedded Lua code"]:6: bad argument #2 to format' > (no value) > stack traceback: > : in function 'format' > [string "tolua: embedded Lua code"]:6: in function 'error' > ../etc/freeciv/database.lua:345: in function > <../etc/freeciv/database.lua:334> database.lua:345 reads: log.error('Database backend \'%s\' not supported by database.lua', backend) I told him to check his config file for correct backend definition. However, there's bug in database.lua in that it doesn't give sensible error message about this. I assume it's just empty or non-existent backend definition that makes that error logging to choke. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20108> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev