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

File 'templates' not found #12

Open
ArturAralin opened this issue Feb 19, 2019 · 2 comments
Open

File 'templates' not found #12

ArturAralin opened this issue Feb 19, 2019 · 2 comments

Comments

@ArturAralin
Copy link

ArturAralin commented Feb 19, 2019

New day, new problems.

I has installed environment on the ubuntu server with following commands

sudo apt-get install lua5.1
sudo apt-get install luarocks
sudo apt-get install tarantool
sudo luarocks install tarantoolapp

And now every call of tarantoolapp returns next

ubuntu@ip-172-31-93-224:~/app$ tarantoolapp dep
Tarantool version: 1.6.7-591-g7d4dbbb
/usr/local/lib/luarocks/rocks/tarantoolapp/1.0.3-1/bin/tarantoolapp: ....luarocks/share/lua/5.1/tarantoolapp/commands/create.lua:72: file 'templates' not found:
    can't open /home/ubuntu/.luarocks/share/lua/5.1/templates: /home/ubuntu/.luarocks/share/lua/5.1/templates: No such file or directory
    can't open /home/ubuntu/.luarocks/share/lua/5.1/tarantoolapp/commands/templates: /home/ubuntu/.luarocks/share/lua/5.1/tarantoolapp/commands/templates: No such file or directory
    can't open /home/ubuntu/.local/share/templates: /home/ubuntu/.local/share/templates: No such file or directory

We're solve this problem by modifying create.lua, but it still a problem.

This bug shows on the 1.6.x, 1.10.x works fine

@igorcoding
Copy link
Member

1.6 version was not tested with tarantoolapp, sorry.
If this is super important I can take a look this week. What modifications to create.lua have you made?

@ArturAralin
Copy link
Author

ArturAralin commented Feb 19, 2019

If this is super important I can take a look this week

It's not super important.

What modifications to create.lua have you made?

Just disable call list_templates

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

2 participants