supersuehiro

Ikemen GO

Last Update: 2017-03-22 11:19 Created at: 2017-03-22 11:19 RSS
panic: script/main.lua:46: script/select.lua line:1(column:1) near '?': Invalid token

Status
Priority
Milestone
Tags
No Tags

./Ikemen_GO panic: script/main.lua:46: script/select.lua line:1(column:1) near '?': Invalid token

stack traceback: G: in function 'assert' script/main.lua:46: in main chunk G: ?

goroutine 1 locked to thread: panic(0x4406ec0, 0xc420180a00) /usr/local/go/src/runtime/panic.go:500 +0x1a1 main.main()

2017-12-28
00:51 Comment posted by blue_jay

Reply to this ticket

./Ikemen_GO panic: script/main.lua:46: script/select.lua line:1(column:1) near '?': Invalid token stack traceback: G: in function 'assert' script/main.lua:46: in main chunk G: ? goroutine 1 locked to thread: panic(0x4406ec0, 0xc420180a00) /usr/local/go/src/runtime/panic.go:500 +0x1a1 main.main()

00:33 Comment posted by blue_jay

Reply to this ticket I'm still not sure exactly why this is happening since I converted the imported select.lua from crlf to lf, but if you import select.lua from other packages and try to run this in linux, will be funky. I solved this issue by creating a select.lua file from my ubuntu system ( using touch select.lua ) and manually entering the addChar and addStage calls in my editor through unix.

tl;dr: just create a select.lua from your unix system

./Ikemen_GO panic: script/main.lua:46: script/select.lua line:1(column:1) near '?': Invalid token stack traceback: G: in function 'assert' script/main.lua:46: in main chunk G: ? goroutine 1 locked to thread: panic(0x4406ec0, 0xc420180a00) /usr/local/go/src/runtime/panic.go:500 +0x1a1 main.main()

2017-03-22
11:21 Comment posted by zhosdnnet

on mac os , go version go1.7.3 darwin/amd64

./Ikemen_GO panic: script/main.lua:46: script/select.lua line:1(column:1) near '?': Invalid token stack traceback: G: in function 'assert' script/main.lua:46: in main chunk G: ? goroutine 1 locked to thread: panic(0x4406ec0, 0xc420180a00) /usr/local/go/src/runtime/panic.go:500 +0x1a1 main.main()

11:19 Create New Ticket(#50677): panic: script/main.lua:46: script/select.lua line:1(column:1) near '?': Invalid token (zhosdnnet)