Skip to content

Failed to parse schema (index) #127

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

Closed
YadrovSergey opened this issue Oct 25, 2017 · 4 comments
Closed

Failed to parse schema (index) #127

YadrovSergey opened this issue Oct 25, 2017 · 4 comments
Labels
bug Something isn't working

Comments

@YadrovSergey
Copy link

YadrovSergey commented Oct 25, 2017

Подскажите в чем может быть проблема.
Все обращения к tarantool приводят к фатальной ошибке Failed to parse schema (index)

@YadrovSergey
Copy link
Author

YadrovSergey commented Oct 25, 2017

Версия php 7
tarantool модуль взят из php7-v2 tag 0.3.0
версия tarantool 1.7.5-165-ge3d97f6

Как повторить проблему
Шаг 1. Создаю пользователя:
box.schema.user.create('app', { password = 'xxx' })
Вызов php кода работает: (new \Tarantool($host, $port, 'app', 'xxx'))->ping();

Шаг 2. Даю права пользователю
box.schema.user.grant('app', 'read,write,execute', 'universe', nil)

Вызов php кода : (new \Tarantool($host, $port, 'app', 'xxx'))->ping();
Приводит к фатальной ошибке: Failed to parse schema (index)

@bigbes
Copy link
Contributor

bigbes commented Oct 26, 2017

Здравствуйте, Сергей.

Скорее всего это связано с частичным изменением формата схемы в тарантуле. Я проверю попозже, благодарю за терпение.

@YadrovSergey
Copy link
Author

Спасибо.
Пока перешел на https://github.com/tarantool-php/client В ней такой ошибки не наблюдается.

@Totktonada Totktonada added the bug Something isn't working label Mar 23, 2020
@Totktonada
Copy link
Member

The same as #151.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants