Comments (10)
请提供你的测试代码,我这完善一下错误捕捉。
对于 session 的入口,我会加入外部控制的接口上去
在 2013年9月21日下午4:49,millken [email protected]写道:
感觉诸多不稳定因素,codecache没有调试模式,setcookie有时重复发了两次(设置session时),session应该做成一个接口,可外接file,memcache,redis等
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-24858721
.
黄慧攀 Gtalk/Mail/QQ: oneoo@yo2 http://goog_583353319.comhttp://yo2.com
Blog:oneoo.com
http://yo2.com http://yo2lua.com , startup project !~
from alilua.
代码很简单
local _SESSION = session()
_SESSION.name = rand(33) --rand()为一个不存在的函数
die("session[name]=" .. _SESSION.name)
在 2013年9月21日下午5:18,oneoo [email protected]写道:
请提供你的测试代码,我这完善一下错误捕捉。
对于 session 的入口,我会加入外部控制的接口上去在 2013年9月21日下午4:49,millken [email protected]写道:
感觉诸多不稳定因素,codecache没有调试模式,setcookie有时重复发了两次(设置session时),session应该做成一个接口,可外接file,memcache,redis等
—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24858721>
.
黄慧攀 Gtalk/Mail/QQ: oneoo@yo2 http://goog_583353319.comhttp://yo2.com
Blog:oneoo.com
http://yo2.com http://yo2lua.com , startup project !~—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-24859086
.
from alilua.
has error at [string ".//alilua-index.lua"]:2: attempt to call global
'rand' (a nil value)
stack traceback:
script.lua:151: in function 'print_error'
host-route.lua:21: in function 'process'
script.lua:449: in function
请确认下你现在的 aLiLua 版本,最新版上是正确捕捉到错误
2013/9/22 millken [email protected]
代码很简单
local _SESSION = session()
_SESSION.name = rand(33) --rand()为一个不存在的函数die("session[name]=" .. _SESSION.name)
在 2013年9月21日下午5:18,oneoo [email protected]写道:
请提供你的测试代码,我这完善一下错误捕捉。
对于 session 的入口,我会加入外部控制的接口上去在 2013年9月21日下午4:49,millken [email protected]写道:
感觉诸多不稳定因素,codecache没有调试模式,setcookie有时重复发了两次(设置session时),session应该做成一个接口,可外接file,memcache,redis等
—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24858721>
.
黄慧攀 Gtalk/Mail/QQ: oneoo@yo2 http://goog_583353319.com<
http://yo2.com>Blog:oneoo.com
http://yo2.com http://yo2lua.com , startup project !~—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24859086>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-24876930
.
黄慧攀 Gtalk/Mail/QQ: oneoo@yo2 http://goog_583353319.comhttp://yo2.com
Blog:oneoo.com
http://yo2.com http://yo2lua.com , startup project !~
from alilua.
定义了host-route.lua
在 2013年9月22日下午2:45,oneoo [email protected]写道:
has error at [string ".//alilua-index.lua"]:2: attempt to call global
'rand' (a nil value)
stack traceback:
script.lua:151: in function 'print_error'
host-route.lua:21: in function 'process'
script.lua:449: in function请确认下你现在的 aLiLua 版本,最新版上是正确捕捉到错误
2013/9/22 millken [email protected]
代码很简单
local _SESSION = session()
_SESSION.name = rand(33) --rand()为一个不存在的函数die("session[name]=" .. _SESSION.name)
在 2013年9月21日下午5:18,oneoo [email protected]写道:
请提供你的测试代码,我这完善一下错误捕捉。
对于 session 的入口,我会加入外部控制的接口上去在 2013年9月21日下午4:49,millken [email protected]写道:
感觉诸多不稳定因素,codecache没有调试模式,setcookie有时重复发了两次(设置session时),session应该做成一个接口,可外接file,memcache,redis等
—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24858721>
.
黄慧攀 Gtalk/Mail/QQ: oneoo@yo2 http://goog_583353319.com<
http://yo2.com>Blog:oneoo.com
http://yo2.com http://yo2lua.com , startup project !~—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24859086>
.—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24876930>
.
黄慧攀 Gtalk/Mail/QQ: oneoo@yo2 http://goog_583353319.comhttp://yo2.com
Blog:oneoo.com
http://yo2.com http://yo2lua.com , startup project !~—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-24877012
.
from alilua.
has error at [string "/Users/oneoo/Downloads//alilua-index.lua"]:2: attempt to call global 'rand' (a nil value)
stack traceback:
script.lua:151: in function 'print_error'
host-route.lua:21: in function 'process'
script.lua:449: in function
即使定义 host-route 也一样。
旧版本是存在你所说的 miss epd 这样的 bug。但最近都修正了,重写了 script.lua 。请你确认下该文件是否已更新
另外 host-route.lua 也有更新的
from alilua.
再次clone安装了alilua,还是报这个错
script.lua:154: miss epd!
2013/9/22 oneoo [email protected]
has error at [string "/Users/oneoo/Downloads//alilua-index.lua"]:2:
attempt to call global 'rand' (a nil value)stack traceback:
script.lua:151: in function 'print_error'
host-route.lua:21: in function 'process'
script.lua:449: in function即使定义 host-route 也一样。
旧版本是存在你所说的 miss epd 这样的 bug。但最近都修正了,重写了 script.lua 。请你确认下该文件是否已更新
另外 host-route.lua 也有更新的—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-24877221
.
from alilua.
请你 ls -l 看看安装目录下的文件状态是怎样的,我不确定 script 文件是否已更新
2013/9/22 millken [email protected]
再次clone安装了alilua,还是报这个错
script.lua:154: miss epd!2013/9/22 oneoo [email protected]
has error at [string "/Users/oneoo/Downloads//alilua-index.lua"]:2:
attempt to call global 'rand' (a nil value)stack traceback:
script.lua:151: in function 'print_error'
host-route.lua:21: in function 'process'
script.lua:449: in function即使定义 host-route 也一样。
旧版本是存在你所说的 miss epd 这样的 bug。但最近都修正了,重写了 script.lua 。请你确认下该文件是否已更新
另外 host-route.lua 也有更新的—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24877221>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-24877324
.
黄慧攀 Gtalk/Mail/QQ: oneoo@yo2 http://goog_583353319.comhttp://yo2.com
Blog:oneoo.com
http://yo2.com http://yo2lua.com , startup project !~
from alilua.
绝对是最新的,因为我删除了原来目录,重新clone一个新的。
2013/9/22 oneoo [email protected]
请你 ls -l 看看安装目录下的文件状态是怎样的,我不确定 script 文件是否已更新
2013/9/22 millken [email protected]
再次clone安装了alilua,还是报这个错
script.lua:154: miss epd!2013/9/22 oneoo [email protected]
has error at [string "/Users/oneoo/Downloads//alilua-index.lua"]:2:
attempt to call global 'rand' (a nil value)stack traceback:
script.lua:151: in function 'print_error'
host-route.lua:21: in function 'process'
script.lua:449: in function即使定义 host-route 也一样。
旧版本是存在你所说的 miss epd 这样的 bug。但最近都修正了,重写了 script.lua 。请你确认下该文件是否已更新
另外 host-route.lua 也有更新的—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24877221>
.—
Reply to this email directly or view it on GitHub<
https://github.com/yo2oneoo/alilua/issues/4#issuecomment-24877324>
.
黄慧攀 Gtalk/Mail/QQ: oneoo@yo2 http://goog_583353319.comhttp://yo2.com
Blog:oneoo.com
http://yo2.com http://yo2lua.com , startup project !~—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-24877402
.
from alilua.
麻烦你加我下 gtalk , oneoo # yo2.com 。很奇怪我这边模拟不到你说的错误
from alilua.
我知道问题原因了
在你的makefile里,有一句
[ -f
这里判断了host-route.lua是否存在,虽然你更新了这个文件,但是不会覆盖以前的文件
2013/9/22 oneoo [email protected]
麻烦你加我下 gtalk , oneoo # yo2.com 。很奇怪我这边模拟不到你说的错误
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-24877480
.
from alilua.
Related Issues (20)
- 关于alilua的建议,作者务必要看看 HOT 11
- add libeio HOT 1
- recode HTTP parser HOT 1
- popen in routes.lua? HOT 5
- HTTPS support HOT 1
- HTTP Chunk output HOT 1
- mac pro compile error. HOT 6
- alilua里面如何处理HTTP POST文件上传的? HOT 1
- llvm版本6.0 在mac osx上编译报错。 HOT 12
- 希望增加一个基于websocket的chat server的 sample。 HOT 1
- 咱们建一个QQ群如何? HOT 1
- websocket example error? HOT 4
- Install error HOT 1
- CodeCache没地方定义它 HOT 2
- 使用mysql报错 attempt to yield across C-call boundary stack traceback HOT 5
- 关于代码中魔数和全局变量的问题
- 想用在openwrt上构建web服务,但是内存占用过高 HOT 3
- var stat = fs.statSync(file); 是在黑Node吗 HOT 1
- 持续开发吗 HOT 1
- readfile函数读的文件内容都是nil HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alilua.