Le Sun, 24 May 2009 14:46:19 +0200, Julien Danjou <[email protected]> a écrit :
> At 1243168980 time_t, Сергей Миронов wrote: > > Hi, i have some error message from awesome's internals. > > > > W: awesome: luaA_dofunction:317: error running function: > > /usr/share/awesome/lib/awful/hooks.lua:45: bad argument #1 to 'pairs' > > (table expected, got nil) > > > > The problem is definetly in my rc.lua, but i cant figure out the place. > > Is there something like callstack or other debugging technic in lua? > > It seems a non-existent hook is called. > > Cheers, I've been hit by the same kind of errors while updating my rc.lua script from 3.2 to 3.3-rc3 and I spent quite some time figuring out where I did a mistake. I finally had to write some io.stderr:write() call block by block until I find out I did a mistake migrating one of my key binding to the new awful.key() function :( I don't know if it is possible at all, but more helpful error messages would be a great addition for tracking this kind of problem. -Jonathan
signature.asc
Description: PGP signature
