From: John L. <jla...@gm...> - 2005-12-15 21:39:14
|
On 12/15/05, Gustl Berger <gu...@gm...> wrote: > >Let me know if the above anonymous cvs command doesn't work for you > > > You were right, Sourceforge was not the problem (I tried and failed > several times, then I read that something was wrong with anonymous CVS...= ). > Compiling it under Visual Studio 2005 worked fine. good. > >and also if you find any bugs. > > > As I wrote in the previous mail, I have already written an application > with an old version of wxLua. But when I run the script in the new > version, coroutines do not work anymore. > > wxLua: Error while running chunk > wxLua: Attempt to call an invalid method '{unknown}'. > stack traceback: > [C]: in function 'resume' > ... Humm, do you have a smallish wxLua script that demonstrates the problem? I think I know what the problem is, but I don't have any coroutine code. We had to make a small modification to lua to stick the wxLuaInterpreter into any new lua_States created by coroutines, but I think I need to do the same for the wxLuaState. I have added this code already, could you try again in a couple hours (for SF to sync it's cvs). > I saw that you made some changes in the lua code. I tried disabling them > / replacing the lua library with the original version, but that did not > solve the problem. I think you're refering to the above, this change in lua itself is unfortunately necessary otherwise the new lua_State created by the coroutine doesn't know anything about the wxLua wrappers. Regards, John Labenski |