[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: no calling environment
- From: Andreas Stenius <kaos@...>
- Date: Mon, 03 Jul 2006 18:13:46 +0200
This sounds like you call luaopen_io directly. You should call it from
lua (see linit.c).
Brian Weed skrev:
After recently upgrading to Lua v5.1.1, I am now getting an error when
trying to call luaopen_io (previously known as lua_iolibopen):
lapi.c line 203:
/* explicit test for incompatible code */
luaG_runerror(L, "no calling environment")
Can someone tell me why one would get this error? I'm not messing with
environments (not on purpose, anyway).