Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

lib/straux attempt to index a local 'str' (a nil value) #1

Open
markuman opened this issue Oct 6, 2017 · 1 comment
Open

lib/straux attempt to index a local 'str' (a nil value) #1

markuman opened this issue Oct 6, 2017 · 1 comment

Comments

@markuman
Copy link

markuman commented Oct 6, 2017

Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> autoswagger = require 'autoswagger.init'
> brain = autoswagger.Brain:new()
> brain:learn('GET', 'google.com', '/users/1/app/5')
./autoswagger/lib/straux.lua:8: attempt to index local 'str' (a nil value)
stack traceback:
	./autoswagger/lib/straux.lua:8: in function 'split'
	./autoswagger/lib/straux.lua:19: in function 'tokenize'
	./autoswagger/host.lua:99: in function 'insert_path'
	./autoswagger/host.lua:138: in function 'add_path'
	./autoswagger/host.lua:229: in function <./autoswagger/host.lua:228>
	(tail call): ?
	stdin:1: in main chunk
	[C]: ?
> 
@markuman
Copy link
Author

markuman commented Oct 6, 2017

this also happen using lua 5.2 and 5.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant