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
         Discussion Lock: Any
        Operating System: None
         Planned Release: 



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:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to