Coder Social home page Coder Social logo

调试都报一个错 about alilua HOT 10 CLOSED

oneoo avatar oneoo commented on July 24, 2024
调试都报一个错

from alilua.

Comments (10)

oneoo avatar oneoo commented on July 24, 2024

请提供你的测试代码,我这完善一下错误捕捉。
对于 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.

millken avatar millken commented on July 24, 2024

代码很简单
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.

oneoo avatar oneoo commented on July 24, 2024

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.

millken avatar millken commented on July 24, 2024

定义了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.

oneoo avatar oneoo commented on July 24, 2024

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.

millken avatar millken commented on July 24, 2024

再次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.

oneoo avatar oneoo commented on July 24, 2024

请你 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.

millken avatar millken commented on July 24, 2024

绝对是最新的,因为我删除了原来目录,重新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.

oneoo avatar oneoo commented on July 24, 2024

麻烦你加我下 gtalk , oneoo # yo2.com 。很奇怪我这边模拟不到你说的错误

from alilua.

millken avatar millken commented on July 24, 2024

我知道问题原因了

在你的makefile里,有一句
[ -f $(PREFIX)/host-route.lua ] || cp host-route.lua $(PREFIX)/
这里判断了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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.