0.9.2 fails during debugging with run-time error
Posted: Wed Jun 03, 2015 4:30 pm
@bartbes (or anyone else who can help),
I got two reports about Love2d throwing a run-time error during debugging from ZeroBrane Studio: "bad argument #1 to 'pairs' (table expected, got boolean)". The error comes from Mobdebug during initialization of Serpent serializer, which goes through several global tables to capture their entries. It seems like one of the tables occasionally get "boolean" value: {'coroutine', 'debug', 'io', 'math', 'string', 'table', 'os'}.
The reason I'm asking here instead of investigating myself is that I have not been able to reproduce it myself and can't follow-up on the first report and the error disappeared for the second user; see the discussion here: http://www.freelists.org/post/zerobrane ... art-fail,2 (the relevant code fragment is here: https://github.com/pkulchenko/ZeroBrane ... a#L139-140).
Does anyone have any idea what might have contributed to it? I patched the serializer by checking the type of the value first, but would still like to know if there is some issue I'm missing. Thanks. Paul.
I got two reports about Love2d throwing a run-time error during debugging from ZeroBrane Studio: "bad argument #1 to 'pairs' (table expected, got boolean)". The error comes from Mobdebug during initialization of Serpent serializer, which goes through several global tables to capture their entries. It seems like one of the tables occasionally get "boolean" value: {'coroutine', 'debug', 'io', 'math', 'string', 'table', 'os'}.
The reason I'm asking here instead of investigating myself is that I have not been able to reproduce it myself and can't follow-up on the first report and the error disappeared for the second user; see the discussion here: http://www.freelists.org/post/zerobrane ... art-fail,2 (the relevant code fragment is here: https://github.com/pkulchenko/ZeroBrane ... a#L139-140).
Does anyone have any idea what might have contributed to it? I patched the serializer by checking the type of the value first, but would still like to know if there is some issue I'm missing. Thanks. Paul.