You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I randomly have the following error, when a python code called from lua raise an exception.
TypeError: attribute name must be string, not 'int'
File "lupa/lua54.pyx", line 1031, in lupa.lua54._LuaObject.__getitem__
File "lupa/lua54.pyx", line 1049, in lupa.lua54._LuaObject._getitem
File "lupa/lua54.pyx", line 1944, in lupa.lua54.execute_lua_call
File "lupa/lua54.pyx", line 413, in lupa.lua54.LuaRuntime.reraise_on_exception
File "lupa/lua54.pyx", line 2254, in lupa.lua54.py_object_getindex_with_gil
File "lupa/lua54.pyx", line 2230, in lupa.lua54.getattr_for_lua
TypeError: attribute name must be string, not 'int'
I think the error comes from reraise_on_exception when indexing exception object, it tries to access to elements 0, 1 and 2.
Hello,
I randomly have the following error, when a python code called from lua raise an exception.
TypeError: attribute name must be string, not 'int'
I think the error comes from reraise_on_exception when indexing exception object, it tries to access to elements 0, 1 and 2.
I am investigating a fix as follows
and
and change the typing:
The text was updated successfully, but these errors were encountered: