Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required tarantool version #10

Open
VifleY opened this issue Aug 17, 2018 · 0 comments
Open

Required tarantool version #10

VifleY opened this issue Aug 17, 2018 · 0 comments

Comments

@VifleY
Copy link

VifleY commented Aug 17, 2018

Create command uses tarantool built-in fio.mktree(), which is not accesible via tarantool version < 1.9 (tested with 1.6, 1.7.6, 1.7-centos and 1.8.1)

Actually fio.mktree() is specified in docs on 1.7 (http://www.tarantool.io:8090/ru/doc/1.7/reference/reference_lua/fio/#fio-mktree)
But I am still unable to call it (using official docker image 1.7.6):

/opt/tarantool # tarantool
Tarantool 1.7.6-0-g7b2945d6c
type 'help' for interactive help
tarantool> require('fio').mktree
---
- null
...

Error stacktrace:

/usr/local/share/lua/5.1/tarantoolapp/commands/create.lua:232: attempt to call field 'mktree' (a nil value)
stack traceback:
	...lib/luarocks/rocks/tarantoolapp/1.0.2-1/bin/tarantoolapp:54: in function 'mktree'
	/usr/local/share/lua/5.1/tarantoolapp/commands/create.lua:232: in function 'run'
	...lib/luarocks/rocks/tarantoolapp/1.0.2-1/bin/tarantoolapp:51: in function <...lib/luarocks/rocks/tarantoolapp/1.0.2-1/bin/tarantoolapp:48>
	[C]: in function 'xpcall'
	...lib/luarocks/rocks/tarantoolapp/1.0.2-1/bin/tarantoolapp:47: in main chunk

Suggestion: specify required tarantool version

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

No branches or pull requests

1 participant