Comments (3)
see the same issue when running tests with python3
======================================================================
ERROR: tarantool (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tarantool
Traceback (most recent call last):
File "/usr/lib/python3.5/unittest/loader.py", line 462, in _find_test_path
package = self._get_module_from_name(name)
File "/usr/lib/python3.5/unittest/loader.py", line 369, in _get_module_from_name
__import__(name)
File "/build/python-tarantool/src/tarantool-0.5.1/tarantool/__init__.py", line 6, in <module>
from tarantool.connection import Connection
File "/build/python-tarantool/src/tarantool-0.5.1/tarantool/connection.py", line 22, in <module>
from tarantool.response import Response
File "/build/python-tarantool/src/tarantool-0.5.1/tarantool/response.py", line 15, in <module>
from tarantool.error import DatabaseError, tnt_strerror
File "/build/python-tarantool/src/tarantool-0.5.1/tarantool/error.py", line 28, in <module>
class Error(StandardError):
NameError: name 'StandardError' is not defined
from tarantool-python.
tarantool/1.6/test-run/lib/tarantool-python/tarantool/connection.py in handshake(self)
135 def handshake(self):
136 greeting_buf = self._recv(IPROTO_GREETING_SIZE)
--> 137 greeting = greeting_decode(greeting_buf)
138 if greeting.protocol != "Binary":
139 raise NetworkError("Unsupported protocol: " + greeting.protocol)
tarantool/1.6/test-run/lib/tarantool-python/tarantool/utils.py in greeting_decode(greeting_buf)
66 return result
67 except Exception as e:
---> 68 raise ValueError("Invalid greeting: " + str(greeting_buf) + ":" + str(e))
ValueError: Invalid greeting: b'Tarantool 1.6.7 (Binary) 166ac153-3577-4bb7-a2f0-d954adc686dd \nlZA2QMXEFgHq028L+sUbrgEWcELxQod8USbepycmk7E= \n':'str' does not support the buffer interface
from tarantool-python.
fixed in b90eef6
from tarantool-python.
Related Issues (20)
- Pack RPM/DEB for obsolete distros
- readthedocs doesn't build on tag HOT 2
- Drop graceful shutdown feature flag HOT 1
- Type hints and type check HOT 2
- IPROTO_ID follow up HOT 1
- Support new authentication mechanisms HOT 4
- Lint Python code
- Exception on connection to server with foreign_key HOT 2
- backward compatibility is broken: module is not compatible with cartridge remote control
- Update favicon config
- Make pandas dependency optional HOT 1
- Remove `box.info.cluster.uuid` usage from tests
- Create connection from socket fd
- Do not use box.session.push
- Need to fix dbapi implementation HOT 1
- Support connecting to a file descriptor HOT 1
- Support watchers (subscription to server events) HOT 1
- Use tt instead of tarantoolctl in usage instructions
- rm this
- flake8 noqa disables all errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tarantool-python.