2021-07-14T08:56:20,046 Created temporary directory: /tmp/pip-ephem-wheel-cache-nsw4vxl_ 2021-07-14T08:56:20,049 Created temporary directory: /tmp/pip-req-tracker-b9q6q9v2 2021-07-14T08:56:20,049 Initialized build tracking at /tmp/pip-req-tracker-b9q6q9v2 2021-07-14T08:56:20,050 Created build tracker: /tmp/pip-req-tracker-b9q6q9v2 2021-07-14T08:56:20,050 Entered build tracker: /tmp/pip-req-tracker-b9q6q9v2 2021-07-14T08:56:20,051 Created temporary directory: /tmp/pip-wheel-8ue1mmlh 2021-07-14T08:56:20,078 1 location(s) to search for versions of opendht: 2021-07-14T08:56:20,078 * https://pypi.org/simple/opendht/ 2021-07-14T08:56:20,079 Fetching project page and analyzing links: https://pypi.org/simple/opendht/ 2021-07-14T08:56:20,079 Getting page https://pypi.org/simple/opendht/ 2021-07-14T08:56:20,081 Found index url https://pypi.org/simple 2021-07-14T08:56:20,263 Found link https://files.pythonhosted.org/packages/99/ff/4e77a933075841293345b9b2734b55c7b0693030da5da0b62b3a1311890f/opendht-1.8.1.tar.gz#sha256=ad2c2c58c13ab021a1b52f19d7466dc5b4a9b99685b99ad7a9a07e049080995c (from https://pypi.org/simple/opendht/), version: 1.8.1 2021-07-14T08:56:20,263 Skipping link: not a file: https://pypi.org/simple/opendht/ 2021-07-14T08:56:20,281 Given no hashes to check 1 links for project 'opendht': discarding no candidates 2021-07-14T08:56:20,300 Collecting opendht==1.8.1 2021-07-14T08:56:20,302 Created temporary directory: /tmp/pip-unpack-d864odci 2021-07-14T08:56:20,489 Downloading opendht-1.8.1.tar.gz (116 kB) 2021-07-14T08:56:20,571 Added opendht==1.8.1 from https://files.pythonhosted.org/packages/99/ff/4e77a933075841293345b9b2734b55c7b0693030da5da0b62b3a1311890f/opendht-1.8.1.tar.gz#sha256=ad2c2c58c13ab021a1b52f19d7466dc5b4a9b99685b99ad7a9a07e049080995c to build tracker '/tmp/pip-req-tracker-b9q6q9v2' 2021-07-14T08:56:20,572 Running setup.py (path:/tmp/pip-wheel-8ue1mmlh/opendht_68f77bf46a0a4f399b6dd9a7d6ec465c/setup.py) egg_info for package opendht 2021-07-14T08:56:20,573 Created temporary directory: /tmp/pip-pip-egg-info-a3hga194 2021-07-14T08:56:20,573 Running command python setup.py egg_info 2021-07-14T08:56:24,924 Error compiling Cython file: 2021-07-14T08:56:24,924 ------------------------------------------------------------ 2021-07-14T08:56:24,924 ... 2021-07-14T08:56:24,925 from cython.parallel import parallel, prange 2021-07-14T08:56:24,925 from cython.operator cimport dereference as deref, preincrement as inc, predecrement as dec 2021-07-14T08:56:24,925 from cpython cimport ref 2021-07-14T08:56:24,925 cimport opendht_cpp as cpp 2021-07-14T08:56:24,925 ^ 2021-07-14T08:56:24,925 ------------------------------------------------------------ 2021-07-14T08:56:24,926 opendht.pyx:40:8: 'opendht_cpp.pxd' not found 2021-07-14T08:56:24,926 Error compiling Cython file: 2021-07-14T08:56:24,926 ------------------------------------------------------------ 2021-07-14T08:56:24,926 ... 2021-07-14T08:56:24,926 cbs = user_data 2021-07-14T08:56:24,926 if 'shutdown' in cbs and cbs['shutdown']: 2021-07-14T08:56:24,926 cbs['shutdown']() 2021-07-14T08:56:24,927 ref.Py_DECREF(cbs) 2021-07-14T08:56:24,927 cdef inline bool get_callback(shared_ptr[cpp.Value] value, void *user_data) with gil: 2021-07-14T08:56:24,927 ^ 2021-07-14T08:56:24,927 ------------------------------------------------------------ 2021-07-14T08:56:24,927 opendht.pyx:62:50: unknown type in template argument 2021-07-14T08:56:24,930 Error compiling Cython file: 2021-07-14T08:56:24,930 ------------------------------------------------------------ 2021-07-14T08:56:24,930 ... 2021-07-14T08:56:24,930 f = cbs['filter'] if 'filter' in cbs else None 2021-07-14T08:56:24,930 pv = Value() 2021-07-14T08:56:24,931 pv._value = value 2021-07-14T08:56:24,931 return cb(pv) if not f or f(pv) else True 2021-07-14T08:56:24,931 cdef inline void done_callback(bool done, cpp.vector[shared_ptr[cpp.Node]]* nodes, void *user_data) with gil: 2021-07-14T08:56:24,931 ^ 2021-07-14T08:56:24,931 ------------------------------------------------------------ 2021-07-14T08:56:24,931 opendht.pyx:70:42: 'vector' is not a type identifier 2021-07-14T08:56:24,932 Error compiling Cython file: 2021-07-14T08:56:24,932 ------------------------------------------------------------ 2021-07-14T08:56:24,932 ... 2021-07-14T08:56:24,932 return "<%s '%s'>" % (self.__class__.__name__, str(self)) 2021-07-14T08:56:24,932 def __str__(self): 2021-07-14T08:56:24,932 return self.getId().toString().decode() 2021-07-14T08:56:24,933 cdef class InfoHash(_WithID): 2021-07-14T08:56:24,933 cdef cpp.InfoHash _infohash 2021-07-14T08:56:24,933 ^ 2021-07-14T08:56:24,933 ------------------------------------------------------------ 2021-07-14T08:56:24,933 opendht.pyx:95:9: 'InfoHash' is not a type identifier 2021-07-14T08:56:24,934 Error compiling Cython file: 2021-07-14T08:56:24,934 ------------------------------------------------------------ 2021-07-14T08:56:24,935 ... 2021-07-14T08:56:24,935 h = InfoHash() 2021-07-14T08:56:24,935 h._infohash = cpp.InfoHash.getRandom() 2021-07-14T08:56:24,935 return h 2021-07-14T08:56:24,935 cdef class SockAddr(object): 2021-07-14T08:56:24,935 cdef cpp.SockAddr _addr 2021-07-14T08:56:24,935 ^ 2021-07-14T08:56:24,936 ------------------------------------------------------------ 2021-07-14T08:56:24,936 opendht.pyx:133:9: 'SockAddr' is not a type identifier 2021-07-14T08:56:24,936 Error compiling Cython file: 2021-07-14T08:56:24,936 ------------------------------------------------------------ 2021-07-14T08:56:24,936 ... 2021-07-14T08:56:24,936 return self._addr.toString() 2021-07-14T08:56:24,937 def getPort(SockAddr self): 2021-07-14T08:56:24,937 return self._addr.getPort() 2021-07-14T08:56:24,937 def getFamily(SockAddr self): 2021-07-14T08:56:24,937 return self._addr.getFamily() 2021-07-14T08:56:24,937 def setPort(SockAddr self, cpp.in_port_t port): 2021-07-14T08:56:24,937 ^ 2021-07-14T08:56:24,937 ------------------------------------------------------------ 2021-07-14T08:56:24,937 opendht.pyx:140:31: 'in_port_t' is not a type identifier 2021-07-14T08:56:24,938 Error compiling Cython file: 2021-07-14T08:56:24,938 ------------------------------------------------------------ 2021-07-14T08:56:24,938 ... 2021-07-14T08:56:24,938 return self._addr.getPort() 2021-07-14T08:56:24,938 def getFamily(SockAddr self): 2021-07-14T08:56:24,938 return self._addr.getFamily() 2021-07-14T08:56:24,938 def setPort(SockAddr self, cpp.in_port_t port): 2021-07-14T08:56:24,939 return self._addr.setPort(port) 2021-07-14T08:56:24,939 def setFamily(SockAddr self, cpp.sa_family_t af): 2021-07-14T08:56:24,939 ^ 2021-07-14T08:56:24,939 ------------------------------------------------------------ 2021-07-14T08:56:24,939 opendht.pyx:142:33: 'sa_family_t' is not a type identifier 2021-07-14T08:56:24,939 Error compiling Cython file: 2021-07-14T08:56:24,939 ------------------------------------------------------------ 2021-07-14T08:56:24,940 ... 2021-07-14T08:56:24,940 return self.toString().decode() 2021-07-14T08:56:24,940 def __repr__(self): 2021-07-14T08:56:24,940 return "<%s '%s'>" % (self.__class__.__name__, str(self)) 2021-07-14T08:56:24,940 cdef class Node(_WithID): 2021-07-14T08:56:24,940 cdef shared_ptr[cpp.Node] _node 2021-07-14T08:56:24,940 ^ 2021-07-14T08:56:24,941 ------------------------------------------------------------ 2021-07-14T08:56:24,941 opendht.pyx:156:28: unknown type in template argument 2021-07-14T08:56:24,941 Error compiling Cython file: 2021-07-14T08:56:24,941 ------------------------------------------------------------ 2021-07-14T08:56:24,941 ... 2021-07-14T08:56:24,941 return self._node.get().getAddrStr() 2021-07-14T08:56:24,942 def isExpired(self): 2021-07-14T08:56:24,942 return self._node.get().isExpired() 2021-07-14T08:56:24,942 cdef class NodeEntry(_WithID): 2021-07-14T08:56:24,942 cdef cpp.pair[cpp.InfoHash, shared_ptr[cpp.Node]] _v 2021-07-14T08:56:24,942 ^ 2021-07-14T08:56:24,942 ------------------------------------------------------------ 2021-07-14T08:56:24,942 opendht.pyx:167:9: 'pair' is not a type identifier 2021-07-14T08:56:24,943 Error compiling Cython file: 2021-07-14T08:56:24,943 ------------------------------------------------------------ 2021-07-14T08:56:24,943 ... 2021-07-14T08:56:24,943 n = Node() 2021-07-14T08:56:24,943 n._node = self._v.second 2021-07-14T08:56:24,943 return n 2021-07-14T08:56:24,944 cdef class Query(object): 2021-07-14T08:56:24,944 cdef cpp.Query _query 2021-07-14T08:56:24,944 ^ 2021-07-14T08:56:24,944 ------------------------------------------------------------ 2021-07-14T08:56:24,944 opendht.pyx:178:9: 'Query' is not a type identifier 2021-07-14T08:56:24,944 Error compiling Cython file: 2021-07-14T08:56:24,944 ------------------------------------------------------------ 2021-07-14T08:56:24,945 ... 2021-07-14T08:56:24,945 self._query = cpp.Query(s._select, w._where) 2021-07-14T08:56:24,945 def isSatisfiedBy(self, Query q): 2021-07-14T08:56:24,945 return self._query.isSatisfiedBy(q._query) 2021-07-14T08:56:24,945 cdef class Select(object): 2021-07-14T08:56:24,945 cdef cpp.Select _select 2021-07-14T08:56:24,945 ^ 2021-07-14T08:56:24,945 ------------------------------------------------------------ 2021-07-14T08:56:24,946 opendht.pyx:189:9: 'Select' is not a type identifier 2021-07-14T08:56:24,946 Error compiling Cython file: 2021-07-14T08:56:24,946 ------------------------------------------------------------ 2021-07-14T08:56:24,946 ... 2021-07-14T08:56:24,946 def field(self, int field): 2021-07-14T08:56:24,946 self._select.field( field) 2021-07-14T08:56:24,947 return self 2021-07-14T08:56:24,947 cdef class Where(object): 2021-07-14T08:56:24,947 cdef cpp.Where _where 2021-07-14T08:56:24,947 ^ 2021-07-14T08:56:24,947 ------------------------------------------------------------ 2021-07-14T08:56:24,947 opendht.pyx:204:9: 'Where' is not a type identifier 2021-07-14T08:56:24,948 Error compiling Cython file: 2021-07-14T08:56:24,948 ------------------------------------------------------------ 2021-07-14T08:56:24,948 ... 2021-07-14T08:56:24,948 self._where = cpp.Where() 2021-07-14T08:56:24,948 def __str__(self): 2021-07-14T08:56:24,948 return self._where.toString().decode() 2021-07-14T08:56:24,948 def isSatisfiedBy(self, Where where): 2021-07-14T08:56:24,948 return self._where.isSatisfiedBy(where._where) 2021-07-14T08:56:24,948 def id(self, cpp.uint64_t id): 2021-07-14T08:56:24,949 ^ 2021-07-14T08:56:24,949 ------------------------------------------------------------ 2021-07-14T08:56:24,949 opendht.pyx:214:17: 'uint64_t' is not a type identifier 2021-07-14T08:56:24,949 Error compiling Cython file: 2021-07-14T08:56:24,949 ------------------------------------------------------------ 2021-07-14T08:56:24,949 ... 2021-07-14T08:56:24,949 def isSatisfiedBy(self, Where where): 2021-07-14T08:56:24,950 return self._where.isSatisfiedBy(where._where) 2021-07-14T08:56:24,950 def id(self, cpp.uint64_t id): 2021-07-14T08:56:24,950 self._where.id(id) 2021-07-14T08:56:24,950 return self 2021-07-14T08:56:24,950 def valueType(self, cpp.uint16_t type): 2021-07-14T08:56:24,950 ^ 2021-07-14T08:56:24,950 ------------------------------------------------------------ 2021-07-14T08:56:24,951 opendht.pyx:217:24: 'uint16_t' is not a type identifier 2021-07-14T08:56:24,951 Error compiling Cython file: 2021-07-14T08:56:24,951 ------------------------------------------------------------ 2021-07-14T08:56:24,951 ... 2021-07-14T08:56:24,951 self._where.valueType(type) 2021-07-14T08:56:24,951 return self 2021-07-14T08:56:24,951 def owner(self, InfoHash owner_pk_hash): 2021-07-14T08:56:24,951 self._where.owner(owner_pk_hash._infohash) 2021-07-14T08:56:24,952 return self 2021-07-14T08:56:24,952 def seq(self, cpp.uint16_t seq_no): 2021-07-14T08:56:24,952 ^ 2021-07-14T08:56:24,952 ------------------------------------------------------------ 2021-07-14T08:56:24,952 opendht.pyx:223:18: 'uint16_t' is not a type identifier 2021-07-14T08:56:24,952 Error compiling Cython file: 2021-07-14T08:56:24,952 ------------------------------------------------------------ 2021-07-14T08:56:24,952 ... 2021-07-14T08:56:24,953 def userType(self, str user_type): 2021-07-14T08:56:24,953 self._where.userType(user_type.encode()) 2021-07-14T08:56:24,953 return self 2021-07-14T08:56:24,953 cdef class Value(object): 2021-07-14T08:56:24,953 cdef shared_ptr[cpp.Value] _value 2021-07-14T08:56:24,953 ^ 2021-07-14T08:56:24,953 ------------------------------------------------------------ 2021-07-14T08:56:24,954 opendht.pyx:231:29: unknown type in template argument 2021-07-14T08:56:24,954 Error compiling Cython file: 2021-07-14T08:56:24,954 ------------------------------------------------------------ 2021-07-14T08:56:24,954 ... 2021-07-14T08:56:24,954 def __set__(self, str t): 2021-07-14T08:56:24,954 self._value.get().user_type = t.encode() 2021-07-14T08:56:24,954 property id: 2021-07-14T08:56:24,955 def __get__(self): 2021-07-14T08:56:24,955 return self._value.get().id 2021-07-14T08:56:24,955 def __set__(self, cpp.uint64_t value): 2021-07-14T08:56:24,955 ^ 2021-07-14T08:56:24,955 ------------------------------------------------------------ 2021-07-14T08:56:24,955 opendht.pyx:261:26: 'uint64_t' is not a type identifier 2021-07-14T08:56:24,956 Error compiling Cython file: 2021-07-14T08:56:24,956 ------------------------------------------------------------ 2021-07-14T08:56:24,956 ... 2021-07-14T08:56:24,956 property size: 2021-07-14T08:56:24,956 def __get__(self): 2021-07-14T08:56:24,956 return self._value.get().size() 2021-07-14T08:56:24,956 cdef class NodeSetIter(object): 2021-07-14T08:56:24,956 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]]* _nodes 2021-07-14T08:56:24,957 ^ 2021-07-14T08:56:24,957 ------------------------------------------------------------ 2021-07-14T08:56:24,957 opendht.pyx:268:25: unknown type in template argument 2021-07-14T08:56:24,957 Error compiling Cython file: 2021-07-14T08:56:24,958 ------------------------------------------------------------ 2021-07-14T08:56:24,958 ... 2021-07-14T08:56:24,958 property size: 2021-07-14T08:56:24,958 def __get__(self): 2021-07-14T08:56:24,958 return self._value.get().size() 2021-07-14T08:56:24,959 cdef class NodeSetIter(object): 2021-07-14T08:56:24,959 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]]* _nodes 2021-07-14T08:56:24,959 ^ 2021-07-14T08:56:24,959 ------------------------------------------------------------ 2021-07-14T08:56:24,959 opendht.pyx:268:46: unknown type in template argument 2021-07-14T08:56:24,962 Error compiling Cython file: 2021-07-14T08:56:24,962 ------------------------------------------------------------ 2021-07-14T08:56:24,962 ... 2021-07-14T08:56:24,963 def __get__(self): 2021-07-14T08:56:24,963 return self._value.get().size() 2021-07-14T08:56:24,963 cdef class NodeSetIter(object): 2021-07-14T08:56:24,963 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]]* _nodes 2021-07-14T08:56:24,963 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator _curIter 2021-07-14T08:56:24,963 ^ 2021-07-14T08:56:24,963 ------------------------------------------------------------ 2021-07-14T08:56:24,964 opendht.pyx:269:25: unknown type in template argument 2021-07-14T08:56:24,964 Error compiling Cython file: 2021-07-14T08:56:24,964 ------------------------------------------------------------ 2021-07-14T08:56:24,964 ... 2021-07-14T08:56:24,964 def __get__(self): 2021-07-14T08:56:24,964 return self._value.get().size() 2021-07-14T08:56:24,965 cdef class NodeSetIter(object): 2021-07-14T08:56:24,965 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]]* _nodes 2021-07-14T08:56:24,965 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator _curIter 2021-07-14T08:56:24,965 ^ 2021-07-14T08:56:24,965 ------------------------------------------------------------ 2021-07-14T08:56:24,965 opendht.pyx:269:46: unknown type in template argument 2021-07-14T08:56:24,966 Error compiling Cython file: 2021-07-14T08:56:24,966 ------------------------------------------------------------ 2021-07-14T08:56:24,966 ... 2021-07-14T08:56:24,966 h._v = deref(self._curIter) 2021-07-14T08:56:24,966 inc(self._curIter) 2021-07-14T08:56:24,966 return h 2021-07-14T08:56:24,966 cdef class NodeSet(object): 2021-07-14T08:56:24,967 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]] _nodes 2021-07-14T08:56:24,967 ^ 2021-07-14T08:56:24,967 ------------------------------------------------------------ 2021-07-14T08:56:24,967 opendht.pyx:282:25: unknown type in template argument 2021-07-14T08:56:24,967 Error compiling Cython file: 2021-07-14T08:56:24,967 ------------------------------------------------------------ 2021-07-14T08:56:24,967 ... 2021-07-14T08:56:24,968 h._v = deref(self._curIter) 2021-07-14T08:56:24,968 inc(self._curIter) 2021-07-14T08:56:24,968 return h 2021-07-14T08:56:24,968 cdef class NodeSet(object): 2021-07-14T08:56:24,968 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]] _nodes 2021-07-14T08:56:24,968 ^ 2021-07-14T08:56:24,968 ------------------------------------------------------------ 2021-07-14T08:56:24,969 opendht.pyx:282:46: unknown type in template argument 2021-07-14T08:56:24,969 Error compiling Cython file: 2021-07-14T08:56:24,969 ------------------------------------------------------------ 2021-07-14T08:56:24,969 ... 2021-07-14T08:56:24,969 return s 2021-07-14T08:56:24,969 def __iter__(self): 2021-07-14T08:56:24,969 return NodeSetIter(self) 2021-07-14T08:56:24,970 cdef class PrivateKey(_WithID): 2021-07-14T08:56:24,970 cdef shared_ptr[cpp.PrivateKey] _key 2021-07-14T08:56:24,970 ^ 2021-07-14T08:56:24,970 ------------------------------------------------------------ 2021-07-14T08:56:24,970 opendht.pyx:313:34: unknown type in template argument 2021-07-14T08:56:24,970 Error compiling Cython file: 2021-07-14T08:56:24,971 ------------------------------------------------------------ 2021-07-14T08:56:24,971 ... 2021-07-14T08:56:24,971 k = PrivateKey() 2021-07-14T08:56:24,971 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generateEC()) 2021-07-14T08:56:24,971 return k 2021-07-14T08:56:24,971 cdef class PublicKey(_WithID): 2021-07-14T08:56:24,971 cdef cpp.PublicKey _key 2021-07-14T08:56:24,972 ^ 2021-07-14T08:56:24,972 ------------------------------------------------------------ 2021-07-14T08:56:24,972 opendht.pyx:345:9: 'PublicKey' is not a type identifier 2021-07-14T08:56:24,972 Error compiling Cython file: 2021-07-14T08:56:24,972 ------------------------------------------------------------ 2021-07-14T08:56:24,972 ... 2021-07-14T08:56:24,973 cdef char* encrypted_c_str = encrypted.data() 2021-07-14T08:56:24,973 cdef Py_ssize_t length = encrypted.size() 2021-07-14T08:56:24,973 return encrypted_c_str[:length] 2021-07-14T08:56:24,973 cdef class Certificate(_WithID): 2021-07-14T08:56:24,973 cdef shared_ptr[cpp.Certificate] _cert 2021-07-14T08:56:24,973 ^ 2021-07-14T08:56:24,973 ------------------------------------------------------------ 2021-07-14T08:56:24,974 opendht.pyx:361:35: unknown type in template argument 2021-07-14T08:56:24,974 Error compiling Cython file: 2021-07-14T08:56:24,974 ------------------------------------------------------------ 2021-07-14T08:56:24,974 ... 2021-07-14T08:56:24,974 c = Certificate() 2021-07-14T08:56:24,974 c._cert = cpp.make_shared[cpp.Certificate](cpp.Certificate.generate(deref(k._key.get()), name.encode(), i._id, is_ca)) 2021-07-14T08:56:24,975 return c 2021-07-14T08:56:24,975 cdef class VerifyResult(object): 2021-07-14T08:56:24,975 cdef cpp.TrustListVerifyResult _result 2021-07-14T08:56:24,975 ^ 2021-07-14T08:56:24,975 ------------------------------------------------------------ 2021-07-14T08:56:24,975 opendht.pyx:390:9: 'TrustListVerifyResult' is not a type identifier 2021-07-14T08:56:24,976 Error compiling Cython file: 2021-07-14T08:56:24,976 ------------------------------------------------------------ 2021-07-14T08:56:24,976 ... 2021-07-14T08:56:24,976 return self._result.isValid() 2021-07-14T08:56:24,976 def __str(self): 2021-07-14T08:56:24,976 return self._result.toString() 2021-07-14T08:56:24,976 cdef class TrustList(object): 2021-07-14T08:56:24,976 cdef cpp.TrustList _trust 2021-07-14T08:56:24,977 ^ 2021-07-14T08:56:24,977 ------------------------------------------------------------ 2021-07-14T08:56:24,977 opendht.pyx:397:9: 'TrustList' is not a type identifier 2021-07-14T08:56:24,977 Error compiling Cython file: 2021-07-14T08:56:24,977 ------------------------------------------------------------ 2021-07-14T08:56:24,977 ... 2021-07-14T08:56:24,977 r = VerifyResult() 2021-07-14T08:56:24,978 r._result = self._trust.verify(deref(cert._cert.get())) 2021-07-14T08:56:24,978 return r 2021-07-14T08:56:24,978 cdef class ListenToken(object): 2021-07-14T08:56:24,978 cdef cpp.InfoHash _h 2021-07-14T08:56:24,978 ^ 2021-07-14T08:56:24,978 ------------------------------------------------------------ 2021-07-14T08:56:24,979 opendht.pyx:408:9: 'InfoHash' is not a type identifier 2021-07-14T08:56:24,979 Error compiling Cython file: 2021-07-14T08:56:24,979 ------------------------------------------------------------ 2021-07-14T08:56:24,979 ... 2021-07-14T08:56:24,979 r._result = self._trust.verify(deref(cert._cert.get())) 2021-07-14T08:56:24,979 return r 2021-07-14T08:56:24,979 cdef class ListenToken(object): 2021-07-14T08:56:24,980 cdef cpp.InfoHash _h 2021-07-14T08:56:24,980 cdef cpp.shared_future[size_t] _t 2021-07-14T08:56:24,980 ^ 2021-07-14T08:56:24,980 ------------------------------------------------------------ 2021-07-14T08:56:24,980 opendht.pyx:409:9: 'shared_future' is not a type identifier 2021-07-14T08:56:24,980 Error compiling Cython file: 2021-07-14T08:56:24,980 ------------------------------------------------------------ 2021-07-14T08:56:24,981 ... 2021-07-14T08:56:24,981 cdef cpp.InfoHash _h 2021-07-14T08:56:24,981 cdef cpp.shared_future[size_t] _t 2021-07-14T08:56:24,981 _cb = dict() 2021-07-14T08:56:24,981 cdef class Identity(object): 2021-07-14T08:56:24,981 cdef cpp.Identity _id 2021-07-14T08:56:24,981 ^ 2021-07-14T08:56:24,981 ------------------------------------------------------------ 2021-07-14T08:56:24,982 opendht.pyx:413:9: 'Identity' is not a type identifier 2021-07-14T08:56:24,982 Error compiling Cython file: 2021-07-14T08:56:24,982 ------------------------------------------------------------ 2021-07-14T08:56:24,982 ... 2021-07-14T08:56:24,982 k = PrivateKey() 2021-07-14T08:56:24,982 k._key = self._id.first 2021-07-14T08:56:24,982 return k 2021-07-14T08:56:24,983 cdef class DhtConfig(object): 2021-07-14T08:56:24,983 cdef cpp.DhtRunnerConfig _config 2021-07-14T08:56:24,983 ^ 2021-07-14T08:56:24,983 ------------------------------------------------------------ 2021-07-14T08:56:24,983 opendht.pyx:441:9: 'DhtRunnerConfig' is not a type identifier 2021-07-14T08:56:24,984 Error compiling Cython file: 2021-07-14T08:56:24,984 ------------------------------------------------------------ 2021-07-14T08:56:24,984 ... 2021-07-14T08:56:24,984 self._config.dht_config.node_config.network = netid 2021-07-14T08:56:24,984 def setMaintainStorage(self, bool maintain_storage): 2021-07-14T08:56:24,984 self._config.dht_config.node_config.maintain_storage = maintain_storage 2021-07-14T08:56:24,984 cdef class DhtRunner(_WithID): 2021-07-14T08:56:24,985 cdef cpp.shared_ptr[cpp.DhtRunner] thisptr 2021-07-14T08:56:24,985 ^ 2021-07-14T08:56:24,985 ------------------------------------------------------------ 2021-07-14T08:56:24,985 opendht.pyx:457:9: 'shared_ptr' is not a type identifier 2021-07-14T08:56:24,985 Error compiling Cython file: 2021-07-14T08:56:24,985 ------------------------------------------------------------ 2021-07-14T08:56:24,985 ... 2021-07-14T08:56:24,986 return ok 2021-07-14T08:56:24,986 def bootstrap(self, str host, str port=None): 2021-07-14T08:56:24,986 host_bytes = host.encode() 2021-07-14T08:56:24,986 port_bytes = port.encode() if port else b'4222' 2021-07-14T08:56:24,986 self.thisptr.get().bootstrap(host_bytes, port_bytes) 2021-07-14T08:56:24,986 def run(self, Identity id=None, is_bootstrap=False, cpp.in_port_t port=0, str ipv4="", str ipv6="", DhtConfig config=DhtConfig()): 2021-07-14T08:56:24,986 ^ 2021-07-14T08:56:24,986 ------------------------------------------------------------ 2021-07-14T08:56:24,987 opendht.pyx:492:56: 'in_port_t' is not a type identifier 2021-07-14T08:56:24,987 Error compiling Cython file: 2021-07-14T08:56:24,987 ------------------------------------------------------------ 2021-07-14T08:56:24,987 ... 2021-07-14T08:56:24,987 cpp.disableLogging(self.thisptr.get()[0]) 2021-07-14T08:56:24,987 def enableFileLogging(self, str path): 2021-07-14T08:56:24,987 cpp.enableFileLogging(self.thisptr.get()[0], path.encode()) 2021-07-14T08:56:24,987 def isRunning(self): 2021-07-14T08:56:24,988 return self.thisptr.get().isRunning() 2021-07-14T08:56:24,988 def getBound(self, cpp.sa_family_t af = 0): 2021-07-14T08:56:24,988 ^ 2021-07-14T08:56:24,988 ------------------------------------------------------------ 2021-07-14T08:56:24,988 opendht.pyx:515:23: 'sa_family_t' is not a type identifier 2021-07-14T08:56:24,988 Error compiling Cython file: 2021-07-14T08:56:24,988 ------------------------------------------------------------ 2021-07-14T08:56:24,989 ... 2021-07-14T08:56:24,989 s = SockAddr() 2021-07-14T08:56:24,989 s._addr = self.thisptr.get().getBound(af) 2021-07-14T08:56:24,989 return s 2021-07-14T08:56:24,989 def getStorageLog(self): 2021-07-14T08:56:24,989 return self.thisptr.get().getStorageLog().decode() 2021-07-14T08:56:24,989 def getRoutingTablesLog(self, cpp.sa_family_t af): 2021-07-14T08:56:24,989 ^ 2021-07-14T08:56:24,989 ------------------------------------------------------------ 2021-07-14T08:56:24,990 opendht.pyx:521:34: 'sa_family_t' is not a type identifier 2021-07-14T08:56:24,990 Error compiling Cython file: 2021-07-14T08:56:24,990 ------------------------------------------------------------ 2021-07-14T08:56:24,990 ... 2021-07-14T08:56:24,990 return s 2021-07-14T08:56:24,990 def getStorageLog(self): 2021-07-14T08:56:24,990 return self.thisptr.get().getStorageLog().decode() 2021-07-14T08:56:24,991 def getRoutingTablesLog(self, cpp.sa_family_t af): 2021-07-14T08:56:24,991 return self.thisptr.get().getRoutingTablesLog(af).decode() 2021-07-14T08:56:24,991 def getSearchesLog(self, cpp.sa_family_t af): 2021-07-14T08:56:24,991 ^ 2021-07-14T08:56:24,991 ------------------------------------------------------------ 2021-07-14T08:56:24,991 opendht.pyx:523:29: 'sa_family_t' is not a type identifier 2021-07-14T08:56:25,084 Error compiling Cython file: 2021-07-14T08:56:25,084 ------------------------------------------------------------ 2021-07-14T08:56:25,084 ... 2021-07-14T08:56:25,084 h = InfoHash() 2021-07-14T08:56:25,084 h._infohash = deref(dec(self._nodes.end())).first 2021-07-14T08:56:25,084 return h 2021-07-14T08:56:25,084 def __str__(self): 2021-07-14T08:56:25,084 s = '' 2021-07-14T08:56:25,085 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator it = self._nodes.begin() 2021-07-14T08:56:25,085 ^ 2021-07-14T08:56:25,085 ------------------------------------------------------------ 2021-07-14T08:56:25,085 opendht.pyx:304:29: unknown type in template argument 2021-07-14T08:56:25,085 Error compiling Cython file: 2021-07-14T08:56:25,085 ------------------------------------------------------------ 2021-07-14T08:56:25,086 ... 2021-07-14T08:56:25,086 h = InfoHash() 2021-07-14T08:56:25,086 h._infohash = deref(dec(self._nodes.end())).first 2021-07-14T08:56:25,086 return h 2021-07-14T08:56:25,086 def __str__(self): 2021-07-14T08:56:25,086 s = '' 2021-07-14T08:56:25,086 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator it = self._nodes.begin() 2021-07-14T08:56:25,086 ^ 2021-07-14T08:56:25,087 ------------------------------------------------------------ 2021-07-14T08:56:25,087 opendht.pyx:304:50: unknown type in template argument 2021-07-14T08:56:25,092 Error compiling Cython file: 2021-07-14T08:56:25,092 ------------------------------------------------------------ 2021-07-14T08:56:25,092 ... 2021-07-14T08:56:25,092 pk = PublicKey() 2021-07-14T08:56:25,093 pk._key = self._key.get().getPublicKey() 2021-07-14T08:56:25,093 return pk 2021-07-14T08:56:25,093 def decrypt(self, bytes dat): 2021-07-14T08:56:25,093 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,093 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,093 ^ 2021-07-14T08:56:25,093 ------------------------------------------------------------ 2021-07-14T08:56:25,094 opendht.pyx:324:13: 'uint8_t' is not a type identifier 2021-07-14T08:56:25,094 Error compiling Cython file: 2021-07-14T08:56:25,094 ------------------------------------------------------------ 2021-07-14T08:56:25,094 ... 2021-07-14T08:56:25,094 pk._key = self._key.get().getPublicKey() 2021-07-14T08:56:25,094 return pk 2021-07-14T08:56:25,095 def decrypt(self, bytes dat): 2021-07-14T08:56:25,095 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,095 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,095 cdef cpp.Blob indat 2021-07-14T08:56:25,095 ^ 2021-07-14T08:56:25,095 ------------------------------------------------------------ 2021-07-14T08:56:25,095 opendht.pyx:325:13: 'Blob' is not a type identifier 2021-07-14T08:56:25,096 Error compiling Cython file: 2021-07-14T08:56:25,096 ------------------------------------------------------------ 2021-07-14T08:56:25,096 ... 2021-07-14T08:56:25,096 def decrypt(self, bytes dat): 2021-07-14T08:56:25,096 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,096 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,096 cdef cpp.Blob indat 2021-07-14T08:56:25,096 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,096 cdef cpp.Blob decrypted = self._key.get().decrypt(indat) 2021-07-14T08:56:25,097 ^ 2021-07-14T08:56:25,097 ------------------------------------------------------------ 2021-07-14T08:56:25,097 opendht.pyx:327:13: 'Blob' is not a type identifier 2021-07-14T08:56:25,101 Error compiling Cython file: 2021-07-14T08:56:25,102 ------------------------------------------------------------ 2021-07-14T08:56:25,102 ... 2021-07-14T08:56:25,102 h = InfoHash() 2021-07-14T08:56:25,102 h._infohash = self._key.getId() 2021-07-14T08:56:25,102 return h 2021-07-14T08:56:25,102 def encrypt(self, bytes dat): 2021-07-14T08:56:25,102 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,102 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,102 ^ 2021-07-14T08:56:25,103 ------------------------------------------------------------ 2021-07-14T08:56:25,103 opendht.pyx:352:13: 'uint8_t' is not a type identifier 2021-07-14T08:56:25,103 Error compiling Cython file: 2021-07-14T08:56:25,103 ------------------------------------------------------------ 2021-07-14T08:56:25,103 ... 2021-07-14T08:56:25,103 h._infohash = self._key.getId() 2021-07-14T08:56:25,104 return h 2021-07-14T08:56:25,104 def encrypt(self, bytes dat): 2021-07-14T08:56:25,104 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,104 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,104 cdef cpp.Blob indat 2021-07-14T08:56:25,104 ^ 2021-07-14T08:56:25,104 ------------------------------------------------------------ 2021-07-14T08:56:25,104 opendht.pyx:353:13: 'Blob' is not a type identifier 2021-07-14T08:56:25,105 Error compiling Cython file: 2021-07-14T08:56:25,105 ------------------------------------------------------------ 2021-07-14T08:56:25,105 ... 2021-07-14T08:56:25,105 def encrypt(self, bytes dat): 2021-07-14T08:56:25,105 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,105 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,105 cdef cpp.Blob indat 2021-07-14T08:56:25,105 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,106 cdef cpp.Blob encrypted = self._key.encrypt(indat) 2021-07-14T08:56:25,106 ^ 2021-07-14T08:56:25,106 ------------------------------------------------------------ 2021-07-14T08:56:25,106 opendht.pyx:355:13: 'Blob' is not a type identifier 2021-07-14T08:56:25,164 Error compiling Cython file: 2021-07-14T08:56:25,164 ------------------------------------------------------------ 2021-07-14T08:56:25,164 ... 2021-07-14T08:56:25,164 return self.thisptr.get().getRoutingTablesLog(af).decode() 2021-07-14T08:56:25,164 def getSearchesLog(self, cpp.sa_family_t af): 2021-07-14T08:56:25,165 return self.thisptr.get().getSearchesLog(af).decode() 2021-07-14T08:56:25,165 def getNodeMessageStats(self): 2021-07-14T08:56:25,165 stats = [] 2021-07-14T08:56:25,165 cdef cpp.vector[unsigned] res = self.thisptr.get().getNodeMessageStats(False) 2021-07-14T08:56:25,165 ^ 2021-07-14T08:56:25,165 ------------------------------------------------------------ 2021-07-14T08:56:25,165 opendht.pyx:527:13: 'vector' is not a type identifier 2021-07-14T08:56:25,611 Error compiling Cython file: 2021-07-14T08:56:25,611 ------------------------------------------------------------ 2021-07-14T08:56:25,611 ... 2021-07-14T08:56:25,611 return self.getId().toString().decode() 2021-07-14T08:56:25,612 cdef class InfoHash(_WithID): 2021-07-14T08:56:25,612 cdef cpp.InfoHash _infohash 2021-07-14T08:56:25,612 def __cinit__(self, bytes str=b''): 2021-07-14T08:56:25,612 self._infohash = cpp.InfoHash(str) if str else cpp.InfoHash() 2021-07-14T08:56:25,612 ^ 2021-07-14T08:56:25,612 ------------------------------------------------------------ 2021-07-14T08:56:25,612 opendht.pyx:97:28: cimported module has no attribute 'InfoHash' 2021-07-14T08:56:25,613 Error compiling Cython file: 2021-07-14T08:56:25,613 ------------------------------------------------------------ 2021-07-14T08:56:25,613 ... 2021-07-14T08:56:25,613 return self.getId().toString().decode() 2021-07-14T08:56:25,613 cdef class InfoHash(_WithID): 2021-07-14T08:56:25,613 cdef cpp.InfoHash _infohash 2021-07-14T08:56:25,613 def __cinit__(self, bytes str=b''): 2021-07-14T08:56:25,614 self._infohash = cpp.InfoHash(str) if str else cpp.InfoHash() 2021-07-14T08:56:25,614 ^ 2021-07-14T08:56:25,614 ------------------------------------------------------------ 2021-07-14T08:56:25,614 opendht.pyx:97:58: cimported module has no attribute 'InfoHash' 2021-07-14T08:56:25,616 Error compiling Cython file: 2021-07-14T08:56:25,616 ------------------------------------------------------------ 2021-07-14T08:56:25,616 ... 2021-07-14T08:56:25,616 return self._infohash.toString() 2021-07-14T08:56:25,616 def toFloat(InfoHash self): 2021-07-14T08:56:25,616 return self._infohash.toFloat() 2021-07-14T08:56:25,616 @staticmethod 2021-07-14T08:56:25,616 def commonBits(InfoHash a, InfoHash b): 2021-07-14T08:56:25,617 return cpp.InfoHash.commonBits(a._infohash, b._infohash) 2021-07-14T08:56:25,617 ^ 2021-07-14T08:56:25,617 ------------------------------------------------------------ 2021-07-14T08:56:25,617 opendht.pyx:120:18: cimported module has no attribute 'InfoHash' 2021-07-14T08:56:25,617 Error compiling Cython file: 2021-07-14T08:56:25,617 ------------------------------------------------------------ 2021-07-14T08:56:25,618 ... 2021-07-14T08:56:25,618 def commonBits(InfoHash a, InfoHash b): 2021-07-14T08:56:25,618 return cpp.InfoHash.commonBits(a._infohash, b._infohash) 2021-07-14T08:56:25,618 @staticmethod 2021-07-14T08:56:25,618 def get(str key): 2021-07-14T08:56:25,618 h = InfoHash() 2021-07-14T08:56:25,618 h._infohash = cpp.InfoHash.get(key.encode()) 2021-07-14T08:56:25,618 ^ 2021-07-14T08:56:25,618 ------------------------------------------------------------ 2021-07-14T08:56:25,619 opendht.pyx:124:25: cimported module has no attribute 'InfoHash' 2021-07-14T08:56:25,619 Error compiling Cython file: 2021-07-14T08:56:25,619 ------------------------------------------------------------ 2021-07-14T08:56:25,619 ... 2021-07-14T08:56:25,619 h._infohash = cpp.InfoHash.get(key.encode()) 2021-07-14T08:56:25,619 return h 2021-07-14T08:56:25,620 @staticmethod 2021-07-14T08:56:25,620 def getRandom(): 2021-07-14T08:56:25,620 h = InfoHash() 2021-07-14T08:56:25,620 h._infohash = cpp.InfoHash.getRandom() 2021-07-14T08:56:25,620 ^ 2021-07-14T08:56:25,620 ------------------------------------------------------------ 2021-07-14T08:56:25,620 opendht.pyx:129:25: cimported module has no attribute 'InfoHash' 2021-07-14T08:56:25,625 Error compiling Cython file: 2021-07-14T08:56:25,625 ------------------------------------------------------------ 2021-07-14T08:56:25,625 ... 2021-07-14T08:56:25,625 cdef class Node(_WithID): 2021-07-14T08:56:25,625 cdef shared_ptr[cpp.Node] _node 2021-07-14T08:56:25,626 def getId(self): 2021-07-14T08:56:25,626 h = InfoHash() 2021-07-14T08:56:25,626 h._infohash = self._node.get().getId() 2021-07-14T08:56:25,626 ^ 2021-07-14T08:56:25,626 ------------------------------------------------------------ 2021-07-14T08:56:25,626 opendht.pyx:159:36: Cannot convert '' to Python object 2021-07-14T08:56:25,626 Error compiling Cython file: 2021-07-14T08:56:25,627 ------------------------------------------------------------ 2021-07-14T08:56:25,627 ... 2021-07-14T08:56:25,627 def getId(self): 2021-07-14T08:56:25,627 h = InfoHash() 2021-07-14T08:56:25,627 h._infohash = self._node.get().getId() 2021-07-14T08:56:25,629 return h 2021-07-14T08:56:25,629 def getAddr(self): 2021-07-14T08:56:25,629 return self._node.get().getAddrStr() 2021-07-14T08:56:25,629 ^ 2021-07-14T08:56:25,630 ------------------------------------------------------------ 2021-07-14T08:56:25,630 opendht.pyx:162:29: Cannot convert '' to Python object 2021-07-14T08:56:25,631 Error compiling Cython file: 2021-07-14T08:56:25,631 ------------------------------------------------------------ 2021-07-14T08:56:25,631 ... 2021-07-14T08:56:25,631 h._infohash = self._node.get().getId() 2021-07-14T08:56:25,631 return h 2021-07-14T08:56:25,631 def getAddr(self): 2021-07-14T08:56:25,632 return self._node.get().getAddrStr() 2021-07-14T08:56:25,632 def isExpired(self): 2021-07-14T08:56:25,632 return self._node.get().isExpired() 2021-07-14T08:56:25,632 ^ 2021-07-14T08:56:25,632 ------------------------------------------------------------ 2021-07-14T08:56:25,633 opendht.pyx:164:29: Cannot convert '' to Python object 2021-07-14T08:56:25,634 Error compiling Cython file: 2021-07-14T08:56:25,634 ------------------------------------------------------------ 2021-07-14T08:56:25,634 ... 2021-07-14T08:56:25,634 h = InfoHash() 2021-07-14T08:56:25,635 h._infohash = self._v.first 2021-07-14T08:56:25,635 return h 2021-07-14T08:56:25,635 def getNode(self): 2021-07-14T08:56:25,635 n = Node() 2021-07-14T08:56:25,636 n._node = self._v.second 2021-07-14T08:56:25,636 ^ 2021-07-14T08:56:25,636 ------------------------------------------------------------ 2021-07-14T08:56:25,636 opendht.pyx:174:25: Cannot convert Python object to 'shared_ptr[]' 2021-07-14T08:56:25,637 Error compiling Cython file: 2021-07-14T08:56:25,637 ------------------------------------------------------------ 2021-07-14T08:56:25,637 ... 2021-07-14T08:56:25,637 return n 2021-07-14T08:56:25,653 cdef class Query(object): 2021-07-14T08:56:25,653 cdef cpp.Query _query 2021-07-14T08:56:25,653 def __cinit__(self, str q_str=''): 2021-07-14T08:56:25,653 self._query = cpp.Query(q_str.encode()) 2021-07-14T08:56:25,654 ^ 2021-07-14T08:56:25,654 ------------------------------------------------------------ 2021-07-14T08:56:25,654 opendht.pyx:180:25: cimported module has no attribute 'Query' 2021-07-14T08:56:25,654 Error compiling Cython file: 2021-07-14T08:56:25,654 ------------------------------------------------------------ 2021-07-14T08:56:25,654 ... 2021-07-14T08:56:25,655 def __cinit__(self, str q_str=''): 2021-07-14T08:56:25,655 self._query = cpp.Query(q_str.encode()) 2021-07-14T08:56:25,655 def __str__(self): 2021-07-14T08:56:25,655 return self._query.toString().decode() 2021-07-14T08:56:25,655 def buildFrom(self, Select s, Where w): 2021-07-14T08:56:25,655 self._query = cpp.Query(s._select, w._where) 2021-07-14T08:56:25,655 ^ 2021-07-14T08:56:25,655 ------------------------------------------------------------ 2021-07-14T08:56:25,656 opendht.pyx:184:25: cimported module has no attribute 'Query' 2021-07-14T08:56:25,656 Error compiling Cython file: 2021-07-14T08:56:25,656 ------------------------------------------------------------ 2021-07-14T08:56:25,656 ... 2021-07-14T08:56:25,656 cdef class Select(object): 2021-07-14T08:56:25,657 cdef cpp.Select _select 2021-07-14T08:56:25,657 def __cinit__(self, str q_str=None): 2021-07-14T08:56:25,657 if q_str: 2021-07-14T08:56:25,657 self._select = cpp.Select(q_str.encode()) 2021-07-14T08:56:25,657 ^ 2021-07-14T08:56:25,657 ------------------------------------------------------------ 2021-07-14T08:56:25,657 opendht.pyx:192:30: cimported module has no attribute 'Select' 2021-07-14T08:56:25,658 Error compiling Cython file: 2021-07-14T08:56:25,658 ------------------------------------------------------------ 2021-07-14T08:56:25,658 ... 2021-07-14T08:56:25,658 cdef cpp.Select _select 2021-07-14T08:56:25,658 def __cinit__(self, str q_str=None): 2021-07-14T08:56:25,658 if q_str: 2021-07-14T08:56:25,658 self._select = cpp.Select(q_str.encode()) 2021-07-14T08:56:25,659 else: 2021-07-14T08:56:25,659 self._select = cpp.Select() 2021-07-14T08:56:25,659 ^ 2021-07-14T08:56:25,659 ------------------------------------------------------------ 2021-07-14T08:56:25,659 opendht.pyx:194:30: cimported module has no attribute 'Select' 2021-07-14T08:56:25,659 Error compiling Cython file: 2021-07-14T08:56:25,659 ------------------------------------------------------------ 2021-07-14T08:56:25,660 ... 2021-07-14T08:56:25,660 def __str__(self): 2021-07-14T08:56:25,660 return self._select.toString().decode() 2021-07-14T08:56:25,660 def isSatisfiedBy(self, Select os): 2021-07-14T08:56:25,660 return self._select.isSatisfiedBy(os._select) 2021-07-14T08:56:25,660 def field(self, int field): 2021-07-14T08:56:25,660 self._select.field( field) 2021-07-14T08:56:25,660 ^ 2021-07-14T08:56:25,660 ------------------------------------------------------------ 2021-07-14T08:56:25,661 opendht.pyx:200:28: 'Field' is not a type identifier 2021-07-14T08:56:25,661 Error compiling Cython file: 2021-07-14T08:56:25,661 ------------------------------------------------------------ 2021-07-14T08:56:25,661 ... 2021-07-14T08:56:25,661 cdef class Where(object): 2021-07-14T08:56:25,662 cdef cpp.Where _where 2021-07-14T08:56:25,662 def __cinit__(self, str q_str=None): 2021-07-14T08:56:25,662 if q_str: 2021-07-14T08:56:25,662 self._where = cpp.Where(q_str.encode()) 2021-07-14T08:56:25,662 ^ 2021-07-14T08:56:25,662 ------------------------------------------------------------ 2021-07-14T08:56:25,662 opendht.pyx:207:29: cimported module has no attribute 'Where' 2021-07-14T08:56:25,663 Error compiling Cython file: 2021-07-14T08:56:25,663 ------------------------------------------------------------ 2021-07-14T08:56:25,663 ... 2021-07-14T08:56:25,663 cdef cpp.Where _where 2021-07-14T08:56:25,663 def __cinit__(self, str q_str=None): 2021-07-14T08:56:25,663 if q_str: 2021-07-14T08:56:25,663 self._where = cpp.Where(q_str.encode()) 2021-07-14T08:56:25,664 else: 2021-07-14T08:56:25,664 self._where = cpp.Where() 2021-07-14T08:56:25,664 ^ 2021-07-14T08:56:25,664 ------------------------------------------------------------ 2021-07-14T08:56:25,665 opendht.pyx:209:29: cimported module has no attribute 'Where' 2021-07-14T08:56:25,665 Error compiling Cython file: 2021-07-14T08:56:25,665 ------------------------------------------------------------ 2021-07-14T08:56:25,665 ... 2021-07-14T08:56:25,665 return self 2021-07-14T08:56:25,666 cdef class Value(object): 2021-07-14T08:56:25,666 cdef shared_ptr[cpp.Value] _value 2021-07-14T08:56:25,666 def __init__(self, bytes val=b''): 2021-07-14T08:56:25,666 self._value.reset(new cpp.Value(val, len(val))) 2021-07-14T08:56:25,667 ^ 2021-07-14T08:56:25,667 ------------------------------------------------------------ 2021-07-14T08:56:25,667 opendht.pyx:233:30: 'Value' is not a type identifier 2021-07-14T08:56:25,668 Error compiling Cython file: 2021-07-14T08:56:25,668 ------------------------------------------------------------ 2021-07-14T08:56:25,668 ... 2021-07-14T08:56:25,668 return self 2021-07-14T08:56:25,668 cdef class Value(object): 2021-07-14T08:56:25,668 cdef shared_ptr[cpp.Value] _value 2021-07-14T08:56:25,668 def __init__(self, bytes val=b''): 2021-07-14T08:56:25,669 self._value.reset(new cpp.Value(val, len(val))) 2021-07-14T08:56:25,669 ^ 2021-07-14T08:56:25,669 ------------------------------------------------------------ 2021-07-14T08:56:25,669 opendht.pyx:233:30: new operator can only be applied to a C++ class 2021-07-14T08:56:25,669 Error compiling Cython file: 2021-07-14T08:56:25,670 ------------------------------------------------------------ 2021-07-14T08:56:25,670 ... 2021-07-14T08:56:25,670 cdef class Value(object): 2021-07-14T08:56:25,670 cdef shared_ptr[cpp.Value] _value 2021-07-14T08:56:25,670 def __init__(self, bytes val=b''): 2021-07-14T08:56:25,670 self._value.reset(new cpp.Value(val, len(val))) 2021-07-14T08:56:25,671 def __str__(self): 2021-07-14T08:56:25,671 return self._value.get().toString().decode() 2021-07-14T08:56:25,671 ^ 2021-07-14T08:56:25,671 ------------------------------------------------------------ 2021-07-14T08:56:25,671 opendht.pyx:235:30: Cannot convert '' to Python object 2021-07-14T08:56:25,672 Error compiling Cython file: 2021-07-14T08:56:25,672 ------------------------------------------------------------ 2021-07-14T08:56:25,672 ... 2021-07-14T08:56:25,672 def __str__(self): 2021-07-14T08:56:25,672 return self._value.get().toString().decode() 2021-07-14T08:56:25,673 property owner: 2021-07-14T08:56:25,673 def __get__(self): 2021-07-14T08:56:25,673 h = InfoHash() 2021-07-14T08:56:25,673 h._infohash = self._value.get().owner.get().getId() 2021-07-14T08:56:25,673 ^ 2021-07-14T08:56:25,674 ------------------------------------------------------------ 2021-07-14T08:56:25,674 opendht.pyx:239:41: Cannot convert '' to Python object 2021-07-14T08:56:25,674 Error compiling Cython file: 2021-07-14T08:56:25,674 ------------------------------------------------------------ 2021-07-14T08:56:25,674 ... 2021-07-14T08:56:25,675 h._infohash = self._value.get().owner.get().getId() 2021-07-14T08:56:25,675 return h 2021-07-14T08:56:25,675 property recipient: 2021-07-14T08:56:25,675 def __get__(self): 2021-07-14T08:56:25,675 h = InfoHash() 2021-07-14T08:56:25,675 h._infohash = self._value.get().recipient 2021-07-14T08:56:25,676 ^ 2021-07-14T08:56:25,676 ------------------------------------------------------------ 2021-07-14T08:56:25,677 opendht.pyx:244:41: Cannot convert '' to Python object 2021-07-14T08:56:25,677 Error compiling Cython file: 2021-07-14T08:56:25,677 ------------------------------------------------------------ 2021-07-14T08:56:25,677 ... 2021-07-14T08:56:25,677 def __get__(self): 2021-07-14T08:56:25,678 h = InfoHash() 2021-07-14T08:56:25,678 h._infohash = self._value.get().recipient 2021-07-14T08:56:25,678 return h 2021-07-14T08:56:25,678 def __set__(self, InfoHash h): 2021-07-14T08:56:25,679 self._value.get().recipient = h._infohash 2021-07-14T08:56:25,679 ^ 2021-07-14T08:56:25,679 ------------------------------------------------------------ 2021-07-14T08:56:25,679 opendht.pyx:247:27: Cannot convert '' to Python object 2021-07-14T08:56:25,680 Error compiling Cython file: 2021-07-14T08:56:25,680 ------------------------------------------------------------ 2021-07-14T08:56:25,680 ... 2021-07-14T08:56:25,680 return h 2021-07-14T08:56:25,680 def __set__(self, InfoHash h): 2021-07-14T08:56:25,680 self._value.get().recipient = h._infohash 2021-07-14T08:56:25,680 property data: 2021-07-14T08:56:25,681 def __get__(self): 2021-07-14T08:56:25,681 return string(self._value.get().data.data(), self._value.get().data.size()) 2021-07-14T08:56:25,681 ^ 2021-07-14T08:56:25,681 ------------------------------------------------------------ 2021-07-14T08:56:25,682 opendht.pyx:250:48: Cannot convert '' to Python object 2021-07-14T08:56:25,682 Error compiling Cython file: 2021-07-14T08:56:25,683 ------------------------------------------------------------ 2021-07-14T08:56:25,683 ... 2021-07-14T08:56:25,683 return h 2021-07-14T08:56:25,683 def __set__(self, InfoHash h): 2021-07-14T08:56:25,683 self._value.get().recipient = h._infohash 2021-07-14T08:56:25,684 property data: 2021-07-14T08:56:25,684 def __get__(self): 2021-07-14T08:56:25,684 return string(self._value.get().data.data(), self._value.get().data.size()) 2021-07-14T08:56:25,684 ^ 2021-07-14T08:56:25,685 ------------------------------------------------------------ 2021-07-14T08:56:25,685 opendht.pyx:250:26: Casting temporary Python object to non-numeric non-Python type 2021-07-14T08:56:25,685 Error compiling Cython file: 2021-07-14T08:56:25,685 ------------------------------------------------------------ 2021-07-14T08:56:25,686 ... 2021-07-14T08:56:25,686 return h 2021-07-14T08:56:25,686 def __set__(self, InfoHash h): 2021-07-14T08:56:25,686 self._value.get().recipient = h._infohash 2021-07-14T08:56:25,686 property data: 2021-07-14T08:56:25,686 def __get__(self): 2021-07-14T08:56:25,687 return string(self._value.get().data.data(), self._value.get().data.size()) 2021-07-14T08:56:25,687 ^ 2021-07-14T08:56:25,687 ------------------------------------------------------------ 2021-07-14T08:56:25,687 opendht.pyx:250:79: Cannot convert '' to Python object 2021-07-14T08:56:25,687 Error compiling Cython file: 2021-07-14T08:56:25,688 ------------------------------------------------------------ 2021-07-14T08:56:25,688 ... 2021-07-14T08:56:25,688 return h 2021-07-14T08:56:25,688 def __set__(self, InfoHash h): 2021-07-14T08:56:25,688 self._value.get().recipient = h._infohash 2021-07-14T08:56:25,688 property data: 2021-07-14T08:56:25,689 def __get__(self): 2021-07-14T08:56:25,689 return string(self._value.get().data.data(), self._value.get().data.size()) 2021-07-14T08:56:25,689 ^ 2021-07-14T08:56:25,689 ------------------------------------------------------------ 2021-07-14T08:56:25,689 opendht.pyx:250:25: no suitable method found 2021-07-14T08:56:25,690 Error compiling Cython file: 2021-07-14T08:56:25,690 ------------------------------------------------------------ 2021-07-14T08:56:25,690 ... 2021-07-14T08:56:25,690 self._value.get().recipient = h._infohash 2021-07-14T08:56:25,690 property data: 2021-07-14T08:56:25,691 def __get__(self): 2021-07-14T08:56:25,691 return string(self._value.get().data.data(), self._value.get().data.size()) 2021-07-14T08:56:25,691 def __set__(self, bytes value): 2021-07-14T08:56:25,691 self._value.get().data = value 2021-07-14T08:56:25,691 ^ 2021-07-14T08:56:25,691 ------------------------------------------------------------ 2021-07-14T08:56:25,692 opendht.pyx:252:27: Cannot convert '' to Python object 2021-07-14T08:56:25,692 Error compiling Cython file: 2021-07-14T08:56:25,692 ------------------------------------------------------------ 2021-07-14T08:56:25,692 ... 2021-07-14T08:56:25,692 return string(self._value.get().data.data(), self._value.get().data.size()) 2021-07-14T08:56:25,692 def __set__(self, bytes value): 2021-07-14T08:56:25,693 self._value.get().data = value 2021-07-14T08:56:25,693 property user_type: 2021-07-14T08:56:25,693 def __get__(self): 2021-07-14T08:56:25,693 return self._value.get().user_type.decode() 2021-07-14T08:56:25,693 ^ 2021-07-14T08:56:25,694 ------------------------------------------------------------ 2021-07-14T08:56:25,694 opendht.pyx:255:34: Cannot convert '' to Python object 2021-07-14T08:56:25,694 Error compiling Cython file: 2021-07-14T08:56:25,694 ------------------------------------------------------------ 2021-07-14T08:56:25,695 ... 2021-07-14T08:56:25,695 self._value.get().data = value 2021-07-14T08:56:25,695 property user_type: 2021-07-14T08:56:25,695 def __get__(self): 2021-07-14T08:56:25,695 return self._value.get().user_type.decode() 2021-07-14T08:56:25,695 def __set__(self, str t): 2021-07-14T08:56:25,695 self._value.get().user_type = t.encode() 2021-07-14T08:56:25,696 ^ 2021-07-14T08:56:25,696 ------------------------------------------------------------ 2021-07-14T08:56:25,696 opendht.pyx:257:27: Cannot convert '' to Python object 2021-07-14T08:56:25,696 Error compiling Cython file: 2021-07-14T08:56:25,696 ------------------------------------------------------------ 2021-07-14T08:56:25,697 ... 2021-07-14T08:56:25,697 return self._value.get().user_type.decode() 2021-07-14T08:56:25,697 def __set__(self, str t): 2021-07-14T08:56:25,697 self._value.get().user_type = t.encode() 2021-07-14T08:56:25,698 property id: 2021-07-14T08:56:25,698 def __get__(self): 2021-07-14T08:56:25,698 return self._value.get().id 2021-07-14T08:56:25,698 ^ 2021-07-14T08:56:25,698 ------------------------------------------------------------ 2021-07-14T08:56:25,699 opendht.pyx:260:34: Cannot convert '' to Python object 2021-07-14T08:56:25,699 Error compiling Cython file: 2021-07-14T08:56:25,699 ------------------------------------------------------------ 2021-07-14T08:56:25,699 ... 2021-07-14T08:56:25,699 self._value.get().user_type = t.encode() 2021-07-14T08:56:25,700 property id: 2021-07-14T08:56:25,700 def __get__(self): 2021-07-14T08:56:25,700 return self._value.get().id 2021-07-14T08:56:25,700 def __set__(self, cpp.uint64_t value): 2021-07-14T08:56:25,700 self._value.get().id = value 2021-07-14T08:56:25,700 ^ 2021-07-14T08:56:25,701 ------------------------------------------------------------ 2021-07-14T08:56:25,701 opendht.pyx:262:27: Cannot convert '' to Python object 2021-07-14T08:56:25,701 Error compiling Cython file: 2021-07-14T08:56:25,701 ------------------------------------------------------------ 2021-07-14T08:56:25,701 ... 2021-07-14T08:56:25,702 return self._value.get().id 2021-07-14T08:56:25,702 def __set__(self, cpp.uint64_t value): 2021-07-14T08:56:25,702 self._value.get().id = value 2021-07-14T08:56:25,702 property size: 2021-07-14T08:56:25,702 def __get__(self): 2021-07-14T08:56:25,702 return self._value.get().size() 2021-07-14T08:56:25,702 ^ 2021-07-14T08:56:25,703 ------------------------------------------------------------ 2021-07-14T08:56:25,703 opendht.pyx:265:34: Cannot convert '' to Python object 2021-07-14T08:56:25,703 Error compiling Cython file: 2021-07-14T08:56:25,703 ------------------------------------------------------------ 2021-07-14T08:56:25,704 ... 2021-07-14T08:56:25,704 return h 2021-07-14T08:56:25,704 def __str__(self): 2021-07-14T08:56:25,704 s = '' 2021-07-14T08:56:25,704 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator it = self._nodes.begin() 2021-07-14T08:56:25,704 while it != self._nodes.end(): 2021-07-14T08:56:25,704 s += deref(it).first.toString().decode() + ' ' + deref(it).second.get().getAddrStr().decode() + '\n' 2021-07-14T08:56:25,705 ^ 2021-07-14T08:56:25,705 ------------------------------------------------------------ 2021-07-14T08:56:25,705 opendht.pyx:306:81: Cannot convert '' to Python object 2021-07-14T08:56:25,705 Error compiling Cython file: 2021-07-14T08:56:25,706 ------------------------------------------------------------ 2021-07-14T08:56:25,706 ... 2021-07-14T08:56:25,706 cdef class PrivateKey(_WithID): 2021-07-14T08:56:25,707 cdef shared_ptr[cpp.PrivateKey] _key 2021-07-14T08:56:25,707 def getId(self): 2021-07-14T08:56:25,707 h = InfoHash() 2021-07-14T08:56:25,707 h._infohash = self._key.get().getPublicKey().getId() 2021-07-14T08:56:25,707 ^ 2021-07-14T08:56:25,708 ------------------------------------------------------------ 2021-07-14T08:56:25,708 opendht.pyx:316:35: Cannot convert '' to Python object 2021-07-14T08:56:25,708 Error compiling Cython file: 2021-07-14T08:56:25,708 ------------------------------------------------------------ 2021-07-14T08:56:25,708 ... 2021-07-14T08:56:25,709 h = InfoHash() 2021-07-14T08:56:25,709 h._infohash = self._key.get().getPublicKey().getId() 2021-07-14T08:56:25,709 return h 2021-07-14T08:56:25,709 def getPublicKey(self): 2021-07-14T08:56:25,709 pk = PublicKey() 2021-07-14T08:56:25,709 pk._key = self._key.get().getPublicKey() 2021-07-14T08:56:25,709 ^ 2021-07-14T08:56:25,710 ------------------------------------------------------------ 2021-07-14T08:56:25,710 opendht.pyx:320:31: Cannot convert '' to Python object 2021-07-14T08:56:25,710 Error compiling Cython file: 2021-07-14T08:56:25,710 ------------------------------------------------------------ 2021-07-14T08:56:25,710 ... 2021-07-14T08:56:25,711 pk = PublicKey() 2021-07-14T08:56:25,711 pk._key = self._key.get().getPublicKey() 2021-07-14T08:56:25,711 return pk 2021-07-14T08:56:25,711 def decrypt(self, bytes dat): 2021-07-14T08:56:25,712 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,712 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,712 ^ 2021-07-14T08:56:25,712 ------------------------------------------------------------ 2021-07-14T08:56:25,712 opendht.pyx:324:35: 'uint8_t' is not a type identifier 2021-07-14T08:56:25,712 Error compiling Cython file: 2021-07-14T08:56:25,713 ------------------------------------------------------------ 2021-07-14T08:56:25,713 ... 2021-07-14T08:56:25,713 return pk 2021-07-14T08:56:25,713 def decrypt(self, bytes dat): 2021-07-14T08:56:25,713 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,713 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,714 cdef cpp.Blob indat 2021-07-14T08:56:25,714 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,714 ^ 2021-07-14T08:56:25,714 ------------------------------------------------------------ 2021-07-14T08:56:25,714 opendht.pyx:326:29: 'uint8_t' is not a type identifier 2021-07-14T08:56:25,715 Error compiling Cython file: 2021-07-14T08:56:25,715 ------------------------------------------------------------ 2021-07-14T08:56:25,715 ... 2021-07-14T08:56:25,715 def decrypt(self, bytes dat): 2021-07-14T08:56:25,715 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,715 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,716 cdef cpp.Blob indat 2021-07-14T08:56:25,716 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,716 cdef cpp.Blob decrypted = self._key.get().decrypt(indat) 2021-07-14T08:56:25,716 ^ 2021-07-14T08:56:25,716 ------------------------------------------------------------ 2021-07-14T08:56:25,716 opendht.pyx:327:47: Cannot convert '' to Python object 2021-07-14T08:56:25,717 Error compiling Cython file: 2021-07-14T08:56:25,717 ------------------------------------------------------------ 2021-07-14T08:56:25,717 ... 2021-07-14T08:56:25,718 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,718 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,718 cdef cpp.Blob indat 2021-07-14T08:56:25,718 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,718 cdef cpp.Blob decrypted = self._key.get().decrypt(indat) 2021-07-14T08:56:25,719 cdef char* decrypted_c_str = decrypted.data() 2021-07-14T08:56:25,719 ^ 2021-07-14T08:56:25,719 ------------------------------------------------------------ 2021-07-14T08:56:25,719 opendht.pyx:328:37: Casting temporary Python object to non-numeric non-Python type 2021-07-14T08:56:25,720 Error compiling Cython file: 2021-07-14T08:56:25,720 ------------------------------------------------------------ 2021-07-14T08:56:25,720 ... 2021-07-14T08:56:25,721 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,721 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,721 cdef cpp.Blob indat 2021-07-14T08:56:25,721 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,722 cdef cpp.Blob decrypted = self._key.get().decrypt(indat) 2021-07-14T08:56:25,722 cdef char* decrypted_c_str = decrypted.data() 2021-07-14T08:56:25,722 ^ 2021-07-14T08:56:25,722 ------------------------------------------------------------ 2021-07-14T08:56:25,723 opendht.pyx:328:13: Storing unsafe C derivative of temporary Python reference 2021-07-14T08:56:25,723 Error compiling Cython file: 2021-07-14T08:56:25,723 ------------------------------------------------------------ 2021-07-14T08:56:25,723 ... 2021-07-14T08:56:25,723 def __str__(self): 2021-07-14T08:56:25,724 return self.getId().toString().decode() 2021-07-14T08:56:25,724 @staticmethod 2021-07-14T08:56:25,724 def generate(): 2021-07-14T08:56:25,724 k = PrivateKey() 2021-07-14T08:56:25,724 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generate()) 2021-07-14T08:56:25,724 ^ 2021-07-14T08:56:25,725 ------------------------------------------------------------ 2021-07-14T08:56:25,725 opendht.pyx:336:20: cimported module has no attribute 'make_shared' 2021-07-14T08:56:25,725 Error compiling Cython file: 2021-07-14T08:56:25,725 ------------------------------------------------------------ 2021-07-14T08:56:25,725 ... 2021-07-14T08:56:25,726 def __str__(self): 2021-07-14T08:56:25,726 return self.getId().toString().decode() 2021-07-14T08:56:25,726 @staticmethod 2021-07-14T08:56:25,726 def generate(): 2021-07-14T08:56:25,726 k = PrivateKey() 2021-07-14T08:56:25,726 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generate()) 2021-07-14T08:56:25,726 ^ 2021-07-14T08:56:25,727 ------------------------------------------------------------ 2021-07-14T08:56:25,727 opendht.pyx:336:52: cimported module has no attribute 'PrivateKey' 2021-07-14T08:56:25,727 Error compiling Cython file: 2021-07-14T08:56:25,727 ------------------------------------------------------------ 2021-07-14T08:56:25,728 ... 2021-07-14T08:56:25,728 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generate()) 2021-07-14T08:56:25,728 return k 2021-07-14T08:56:25,728 @staticmethod 2021-07-14T08:56:25,728 def generateEC(): 2021-07-14T08:56:25,728 k = PrivateKey() 2021-07-14T08:56:25,728 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generateEC()) 2021-07-14T08:56:25,729 ^ 2021-07-14T08:56:25,729 ------------------------------------------------------------ 2021-07-14T08:56:25,729 opendht.pyx:341:20: cimported module has no attribute 'make_shared' 2021-07-14T08:56:25,730 Error compiling Cython file: 2021-07-14T08:56:25,730 ------------------------------------------------------------ 2021-07-14T08:56:25,730 ... 2021-07-14T08:56:25,730 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generate()) 2021-07-14T08:56:25,730 return k 2021-07-14T08:56:25,731 @staticmethod 2021-07-14T08:56:25,731 def generateEC(): 2021-07-14T08:56:25,731 k = PrivateKey() 2021-07-14T08:56:25,731 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generateEC()) 2021-07-14T08:56:25,731 ^ 2021-07-14T08:56:25,731 ------------------------------------------------------------ 2021-07-14T08:56:25,731 opendht.pyx:341:52: cimported module has no attribute 'PrivateKey' 2021-07-14T08:56:25,732 Error compiling Cython file: 2021-07-14T08:56:25,732 ------------------------------------------------------------ 2021-07-14T08:56:25,732 ... 2021-07-14T08:56:25,732 h = InfoHash() 2021-07-14T08:56:25,732 h._infohash = self._key.getId() 2021-07-14T08:56:25,732 return h 2021-07-14T08:56:25,733 def encrypt(self, bytes dat): 2021-07-14T08:56:25,733 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,733 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,733 ^ 2021-07-14T08:56:25,733 ------------------------------------------------------------ 2021-07-14T08:56:25,734 opendht.pyx:352:35: 'uint8_t' is not a type identifier 2021-07-14T08:56:25,734 Error compiling Cython file: 2021-07-14T08:56:25,734 ------------------------------------------------------------ 2021-07-14T08:56:25,734 ... 2021-07-14T08:56:25,734 return h 2021-07-14T08:56:25,734 def encrypt(self, bytes dat): 2021-07-14T08:56:25,735 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,735 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,735 cdef cpp.Blob indat 2021-07-14T08:56:25,735 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,735 ^ 2021-07-14T08:56:25,735 ------------------------------------------------------------ 2021-07-14T08:56:25,736 opendht.pyx:354:29: 'uint8_t' is not a type identifier 2021-07-14T08:56:25,736 Error compiling Cython file: 2021-07-14T08:56:25,736 ------------------------------------------------------------ 2021-07-14T08:56:25,736 ... 2021-07-14T08:56:25,736 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,737 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,737 cdef cpp.Blob indat 2021-07-14T08:56:25,737 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,737 cdef cpp.Blob encrypted = self._key.encrypt(indat) 2021-07-14T08:56:25,737 cdef char* encrypted_c_str = encrypted.data() 2021-07-14T08:56:25,737 ^ 2021-07-14T08:56:25,737 ------------------------------------------------------------ 2021-07-14T08:56:25,738 opendht.pyx:356:37: Casting temporary Python object to non-numeric non-Python type 2021-07-14T08:56:25,738 Error compiling Cython file: 2021-07-14T08:56:25,738 ------------------------------------------------------------ 2021-07-14T08:56:25,739 ... 2021-07-14T08:56:25,739 cdef size_t d_len = len(dat) 2021-07-14T08:56:25,739 cdef cpp.uint8_t* d_ptr = dat 2021-07-14T08:56:25,739 cdef cpp.Blob indat 2021-07-14T08:56:25,739 indat.assign(d_ptr, (d_ptr + d_len)) 2021-07-14T08:56:25,739 cdef cpp.Blob encrypted = self._key.encrypt(indat) 2021-07-14T08:56:25,739 cdef char* encrypted_c_str = encrypted.data() 2021-07-14T08:56:25,739 ^ 2021-07-14T08:56:25,740 ------------------------------------------------------------ 2021-07-14T08:56:25,740 opendht.pyx:356:13: Storing unsafe C derivative of temporary Python reference 2021-07-14T08:56:25,740 Error compiling Cython file: 2021-07-14T08:56:25,740 ------------------------------------------------------------ 2021-07-14T08:56:25,740 ... 2021-07-14T08:56:25,741 cdef class Certificate(_WithID): 2021-07-14T08:56:25,741 cdef shared_ptr[cpp.Certificate] _cert 2021-07-14T08:56:25,741 def __init__(self, bytes dat = None): 2021-07-14T08:56:25,741 if dat: 2021-07-14T08:56:25,741 self._cert = cpp.make_shared[cpp.Certificate](dat) 2021-07-14T08:56:25,741 ^ 2021-07-14T08:56:25,741 ------------------------------------------------------------ 2021-07-14T08:56:25,742 opendht.pyx:364:28: cimported module has no attribute 'make_shared' 2021-07-14T08:56:25,742 Error compiling Cython file: 2021-07-14T08:56:25,742 ------------------------------------------------------------ 2021-07-14T08:56:25,742 ... 2021-07-14T08:56:25,743 cdef class Certificate(_WithID): 2021-07-14T08:56:25,743 cdef shared_ptr[cpp.Certificate] _cert 2021-07-14T08:56:25,743 def __init__(self, bytes dat = None): 2021-07-14T08:56:25,743 if dat: 2021-07-14T08:56:25,743 self._cert = cpp.make_shared[cpp.Certificate](dat) 2021-07-14T08:56:25,743 ^ 2021-07-14T08:56:25,744 ------------------------------------------------------------ 2021-07-14T08:56:25,744 opendht.pyx:364:59: 'string' is not a type identifier 2021-07-14T08:56:25,744 Error compiling Cython file: 2021-07-14T08:56:25,744 ------------------------------------------------------------ 2021-07-14T08:56:25,744 ... 2021-07-14T08:56:25,745 if dat: 2021-07-14T08:56:25,745 self._cert = cpp.make_shared[cpp.Certificate](dat) 2021-07-14T08:56:25,745 def getId(self): 2021-07-14T08:56:25,745 h = InfoHash() 2021-07-14T08:56:25,745 if self._cert: 2021-07-14T08:56:25,745 h._infohash = self._cert.get().getId() 2021-07-14T08:56:25,745 ^ 2021-07-14T08:56:25,745 ------------------------------------------------------------ 2021-07-14T08:56:25,746 opendht.pyx:368:40: Cannot convert '' to Python object 2021-07-14T08:56:25,746 Error compiling Cython file: 2021-07-14T08:56:25,746 ------------------------------------------------------------ 2021-07-14T08:56:25,746 ... 2021-07-14T08:56:25,746 h = InfoHash() 2021-07-14T08:56:25,747 if self._cert: 2021-07-14T08:56:25,747 h._infohash = self._cert.get().getId() 2021-07-14T08:56:25,747 return h 2021-07-14T08:56:25,747 def toString(self): 2021-07-14T08:56:25,748 return self._cert.get().toString().decode() 2021-07-14T08:56:25,748 ^ 2021-07-14T08:56:25,748 ------------------------------------------------------------ 2021-07-14T08:56:25,748 opendht.pyx:371:29: Cannot convert '' to Python object 2021-07-14T08:56:25,748 Error compiling Cython file: 2021-07-14T08:56:25,748 ------------------------------------------------------------ 2021-07-14T08:56:25,749 ... 2021-07-14T08:56:25,749 h._infohash = self._cert.get().getId() 2021-07-14T08:56:25,749 return h 2021-07-14T08:56:25,749 def toString(self): 2021-07-14T08:56:25,749 return self._cert.get().toString().decode() 2021-07-14T08:56:25,749 def getName(self): 2021-07-14T08:56:25,750 return self._cert.get().getName() 2021-07-14T08:56:25,750 ^ 2021-07-14T08:56:25,750 ------------------------------------------------------------ 2021-07-14T08:56:25,750 opendht.pyx:373:29: Cannot convert '' to Python object 2021-07-14T08:56:25,750 Error compiling Cython file: 2021-07-14T08:56:25,751 ------------------------------------------------------------ 2021-07-14T08:56:25,751 ... 2021-07-14T08:56:25,751 def toString(self): 2021-07-14T08:56:25,751 return self._cert.get().toString().decode() 2021-07-14T08:56:25,751 def getName(self): 2021-07-14T08:56:25,752 return self._cert.get().getName() 2021-07-14T08:56:25,752 def revoke(self, PrivateKey k, Certificate c): 2021-07-14T08:56:25,752 self._cert.get().revoke(deref(k._key.get()), deref(c._cert.get())); 2021-07-14T08:56:25,752 ^ 2021-07-14T08:56:25,752 ------------------------------------------------------------ 2021-07-14T08:56:25,752 opendht.pyx:375:22: Cannot convert '' to Python object 2021-07-14T08:56:25,753 Error compiling Cython file: 2021-07-14T08:56:25,753 ------------------------------------------------------------ 2021-07-14T08:56:25,753 ... 2021-07-14T08:56:25,753 def getName(self): 2021-07-14T08:56:25,753 return self._cert.get().getName() 2021-07-14T08:56:25,754 def revoke(self, PrivateKey k, Certificate c): 2021-07-14T08:56:25,754 self._cert.get().revoke(deref(k._key.get()), deref(c._cert.get())); 2021-07-14T08:56:25,754 def __bytes__(self): 2021-07-14T08:56:25,754 return self._cert.get().toString() if self._cert else b'' 2021-07-14T08:56:25,754 ^ 2021-07-14T08:56:25,754 ------------------------------------------------------------ 2021-07-14T08:56:25,755 opendht.pyx:377:29: Cannot convert '' to Python object 2021-07-14T08:56:25,755 Error compiling Cython file: 2021-07-14T08:56:25,755 ------------------------------------------------------------ 2021-07-14T08:56:25,755 ... 2021-07-14T08:56:25,755 def __bytes__(self): 2021-07-14T08:56:25,755 return self._cert.get().toString() if self._cert else b'' 2021-07-14T08:56:25,756 property issuer: 2021-07-14T08:56:25,756 def __get__(self): 2021-07-14T08:56:25,756 c = Certificate() 2021-07-14T08:56:25,756 c._cert = self._cert.get().issuer 2021-07-14T08:56:25,756 ^ 2021-07-14T08:56:25,756 ------------------------------------------------------------ 2021-07-14T08:56:25,757 opendht.pyx:381:36: Cannot convert '' to Python object 2021-07-14T08:56:25,757 Error compiling Cython file: 2021-07-14T08:56:25,757 ------------------------------------------------------------ 2021-07-14T08:56:25,757 ... 2021-07-14T08:56:25,757 def __bytes__(self): 2021-07-14T08:56:25,757 return self._cert.get().toString() if self._cert else b'' 2021-07-14T08:56:25,758 property issuer: 2021-07-14T08:56:25,758 def __get__(self): 2021-07-14T08:56:25,758 c = Certificate() 2021-07-14T08:56:25,758 c._cert = self._cert.get().issuer 2021-07-14T08:56:25,758 ^ 2021-07-14T08:56:25,758 ------------------------------------------------------------ 2021-07-14T08:56:25,759 opendht.pyx:381:38: Cannot convert Python object to 'shared_ptr[]' 2021-07-14T08:56:25,759 Error compiling Cython file: 2021-07-14T08:56:25,760 ------------------------------------------------------------ 2021-07-14T08:56:25,760 ... 2021-07-14T08:56:25,760 c._cert = self._cert.get().issuer 2021-07-14T08:56:25,760 return c; 2021-07-14T08:56:25,760 @staticmethod 2021-07-14T08:56:25,760 def generate(PrivateKey k, str name, Identity i = Identity(), bool is_ca = False): 2021-07-14T08:56:25,760 c = Certificate() 2021-07-14T08:56:25,761 c._cert = cpp.make_shared[cpp.Certificate](cpp.Certificate.generate(deref(k._key.get()), name.encode(), i._id, is_ca)) 2021-07-14T08:56:25,761 ^ 2021-07-14T08:56:25,761 ------------------------------------------------------------ 2021-07-14T08:56:25,761 opendht.pyx:386:21: cimported module has no attribute 'make_shared' 2021-07-14T08:56:25,761 Error compiling Cython file: 2021-07-14T08:56:25,761 ------------------------------------------------------------ 2021-07-14T08:56:25,762 ... 2021-07-14T08:56:25,762 c._cert = self._cert.get().issuer 2021-07-14T08:56:25,762 return c; 2021-07-14T08:56:25,762 @staticmethod 2021-07-14T08:56:25,762 def generate(PrivateKey k, str name, Identity i = Identity(), bool is_ca = False): 2021-07-14T08:56:25,762 c = Certificate() 2021-07-14T08:56:25,763 c._cert = cpp.make_shared[cpp.Certificate](cpp.Certificate.generate(deref(k._key.get()), name.encode(), i._id, is_ca)) 2021-07-14T08:56:25,763 ^ 2021-07-14T08:56:25,763 ------------------------------------------------------------ 2021-07-14T08:56:25,763 opendht.pyx:386:54: cimported module has no attribute 'Certificate' 2021-07-14T08:56:25,764 Error compiling Cython file: 2021-07-14T08:56:25,764 ------------------------------------------------------------ 2021-07-14T08:56:25,764 ... 2021-07-14T08:56:25,764 cdef class Identity(object): 2021-07-14T08:56:25,764 cdef cpp.Identity _id 2021-07-14T08:56:25,764 def __init__(self, PrivateKey k = None, Certificate c = None): 2021-07-14T08:56:25,765 if k: 2021-07-14T08:56:25,765 self._id.first = k._key 2021-07-14T08:56:25,765 ^ 2021-07-14T08:56:25,765 ------------------------------------------------------------ 2021-07-14T08:56:25,765 opendht.pyx:416:30: Cannot convert 'shared_ptr[]' to Python object 2021-07-14T08:56:25,766 Error compiling Cython file: 2021-07-14T08:56:25,766 ------------------------------------------------------------ 2021-07-14T08:56:25,766 ... 2021-07-14T08:56:25,766 cdef cpp.Identity _id 2021-07-14T08:56:25,767 def __init__(self, PrivateKey k = None, Certificate c = None): 2021-07-14T08:56:25,767 if k: 2021-07-14T08:56:25,767 self._id.first = k._key 2021-07-14T08:56:25,767 if c: 2021-07-14T08:56:25,767 self._id.second = c._cert 2021-07-14T08:56:25,767 ^ 2021-07-14T08:56:25,768 ------------------------------------------------------------ 2021-07-14T08:56:25,768 opendht.pyx:418:31: Cannot convert 'shared_ptr[]' to Python object 2021-07-14T08:56:25,768 Error compiling Cython file: 2021-07-14T08:56:25,769 ------------------------------------------------------------ 2021-07-14T08:56:25,769 ... 2021-07-14T08:56:25,769 if c: 2021-07-14T08:56:25,769 self._id.second = c._cert 2021-07-14T08:56:25,769 @staticmethod 2021-07-14T08:56:25,769 def generate(str name = "pydht", Identity ca = Identity(), unsigned bits = 4096): 2021-07-14T08:56:25,770 i = Identity() 2021-07-14T08:56:25,770 i._id = cpp.generateIdentity(name.encode(), ca._id, bits) 2021-07-14T08:56:25,770 ^ 2021-07-14T08:56:25,770 ------------------------------------------------------------ 2021-07-14T08:56:25,770 opendht.pyx:422:19: cimported module has no attribute 'generateIdentity' 2021-07-14T08:56:25,771 Error compiling Cython file: 2021-07-14T08:56:25,771 ------------------------------------------------------------ 2021-07-14T08:56:25,771 ... 2021-07-14T08:56:25,771 k._key = self._id.first.get().getPublicKey() 2021-07-14T08:56:25,771 return k 2021-07-14T08:56:25,771 property certificate: 2021-07-14T08:56:25,772 def __get__(self): 2021-07-14T08:56:25,772 c = Certificate() 2021-07-14T08:56:25,772 c._cert = self._id.second 2021-07-14T08:56:25,772 ^ 2021-07-14T08:56:25,772 ------------------------------------------------------------ 2021-07-14T08:56:25,772 opendht.pyx:432:30: Cannot convert Python object to 'shared_ptr[]' 2021-07-14T08:56:25,773 Error compiling Cython file: 2021-07-14T08:56:25,773 ------------------------------------------------------------ 2021-07-14T08:56:25,773 ... 2021-07-14T08:56:25,773 c._cert = self._id.second 2021-07-14T08:56:25,773 return c 2021-07-14T08:56:25,773 property key: 2021-07-14T08:56:25,774 def __get__(self): 2021-07-14T08:56:25,774 k = PrivateKey() 2021-07-14T08:56:25,774 k._key = self._id.first 2021-07-14T08:56:25,774 ^ 2021-07-14T08:56:25,774 ------------------------------------------------------------ 2021-07-14T08:56:25,774 opendht.pyx:437:29: Cannot convert Python object to 'shared_ptr[]' 2021-07-14T08:56:25,775 Error compiling Cython file: 2021-07-14T08:56:25,775 ------------------------------------------------------------ 2021-07-14T08:56:25,775 ... 2021-07-14T08:56:25,775 return k 2021-07-14T08:56:25,775 cdef class DhtConfig(object): 2021-07-14T08:56:25,775 cdef cpp.DhtRunnerConfig _config 2021-07-14T08:56:25,776 def __init__(self): 2021-07-14T08:56:25,776 self._config = cpp.DhtRunnerConfig() 2021-07-14T08:56:25,776 ^ 2021-07-14T08:56:25,776 ------------------------------------------------------------ 2021-07-14T08:56:25,776 opendht.pyx:443:26: cimported module has no attribute 'DhtRunnerConfig' 2021-07-14T08:56:25,777 Error compiling Cython file: 2021-07-14T08:56:25,777 ------------------------------------------------------------ 2021-07-14T08:56:25,777 ... 2021-07-14T08:56:25,777 self._config.dht_config.node_config.maintain_storage = maintain_storage 2021-07-14T08:56:25,777 cdef class DhtRunner(_WithID): 2021-07-14T08:56:25,778 cdef cpp.shared_ptr[cpp.DhtRunner] thisptr 2021-07-14T08:56:25,778 def __cinit__(self): 2021-07-14T08:56:25,778 self.thisptr.reset(new cpp.DhtRunner()) 2021-07-14T08:56:25,778 ^ 2021-07-14T08:56:25,778 ------------------------------------------------------------ 2021-07-14T08:56:25,778 opendht.pyx:459:31: 'DhtRunner' is not a type identifier 2021-07-14T08:56:25,779 Error compiling Cython file: 2021-07-14T08:56:25,779 ------------------------------------------------------------ 2021-07-14T08:56:25,779 ... 2021-07-14T08:56:25,779 self._config.dht_config.node_config.maintain_storage = maintain_storage 2021-07-14T08:56:25,780 cdef class DhtRunner(_WithID): 2021-07-14T08:56:25,780 cdef cpp.shared_ptr[cpp.DhtRunner] thisptr 2021-07-14T08:56:25,780 def __cinit__(self): 2021-07-14T08:56:25,780 self.thisptr.reset(new cpp.DhtRunner()) 2021-07-14T08:56:25,780 ^ 2021-07-14T08:56:25,780 ------------------------------------------------------------ 2021-07-14T08:56:25,780 opendht.pyx:459:31: new operator can only be applied to a C++ class 2021-07-14T08:56:25,781 Error compiling Cython file: 2021-07-14T08:56:25,781 ------------------------------------------------------------ 2021-07-14T08:56:25,781 ... 2021-07-14T08:56:25,781 return self.thisptr.get().getNodeId().toString() 2021-07-14T08:56:25,781 def ping(self, SockAddr addr, done_cb=None): 2021-07-14T08:56:25,782 if done_cb: 2021-07-14T08:56:25,782 cb_obj = {'done':done_cb} 2021-07-14T08:56:25,782 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,782 self.thisptr.get().bootstrap(addr._addr, cpp.bindDoneCbSimple(done_callback_simple, cb_obj)) 2021-07-14T08:56:25,782 ^ 2021-07-14T08:56:25,783 ------------------------------------------------------------ 2021-07-14T08:56:25,783 opendht.pyx:471:56: cimported module has no attribute 'bindDoneCbSimple' 2021-07-14T08:56:25,783 Error compiling Cython file: 2021-07-14T08:56:25,783 ------------------------------------------------------------ 2021-07-14T08:56:25,783 ... 2021-07-14T08:56:25,784 lock.wait() 2021-07-14T08:56:25,784 return ok 2021-07-14T08:56:25,784 def bootstrap(self, str host, str port=None): 2021-07-14T08:56:25,784 host_bytes = host.encode() 2021-07-14T08:56:25,784 port_bytes = port.encode() if port else b'4222' 2021-07-14T08:56:25,784 self.thisptr.get().bootstrap(host_bytes, port_bytes) 2021-07-14T08:56:25,784 ^ 2021-07-14T08:56:25,785 ------------------------------------------------------------ 2021-07-14T08:56:25,785 opendht.pyx:491:38: 'const_char' is not a type identifier 2021-07-14T08:56:25,785 Error compiling Cython file: 2021-07-14T08:56:25,785 ------------------------------------------------------------ 2021-07-14T08:56:25,785 ... 2021-07-14T08:56:25,786 lock.wait() 2021-07-14T08:56:25,786 return ok 2021-07-14T08:56:25,786 def bootstrap(self, str host, str port=None): 2021-07-14T08:56:25,786 host_bytes = host.encode() 2021-07-14T08:56:25,786 port_bytes = port.encode() if port else b'4222' 2021-07-14T08:56:25,786 self.thisptr.get().bootstrap(host_bytes, port_bytes) 2021-07-14T08:56:25,786 ^ 2021-07-14T08:56:25,787 ------------------------------------------------------------ 2021-07-14T08:56:25,787 opendht.pyx:491:67: 'const_char' is not a type identifier 2021-07-14T08:56:25,787 Error compiling Cython file: 2021-07-14T08:56:25,787 ------------------------------------------------------------ 2021-07-14T08:56:25,787 ... 2021-07-14T08:56:25,787 def join(self): 2021-07-14T08:56:25,788 self.thisptr.get().join() 2021-07-14T08:56:25,788 def shutdown(self, shutdown_cb=None): 2021-07-14T08:56:25,788 cb_obj = {'shutdown':shutdown_cb} 2021-07-14T08:56:25,788 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,788 self.thisptr.get().shutdown(cpp.bindShutdownCb(shutdown_callback, cb_obj)) 2021-07-14T08:56:25,788 ^ 2021-07-14T08:56:25,788 ------------------------------------------------------------ 2021-07-14T08:56:25,789 opendht.pyx:506:39: cimported module has no attribute 'bindShutdownCb' 2021-07-14T08:56:25,789 Error compiling Cython file: 2021-07-14T08:56:25,789 ------------------------------------------------------------ 2021-07-14T08:56:25,789 ... 2021-07-14T08:56:25,789 def shutdown(self, shutdown_cb=None): 2021-07-14T08:56:25,789 cb_obj = {'shutdown':shutdown_cb} 2021-07-14T08:56:25,790 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,790 self.thisptr.get().shutdown(cpp.bindShutdownCb(shutdown_callback, cb_obj)) 2021-07-14T08:56:25,790 def enableLogging(self): 2021-07-14T08:56:25,790 cpp.enableLogging(self.thisptr.get()[0]) 2021-07-14T08:56:25,790 ^ 2021-07-14T08:56:25,790 ------------------------------------------------------------ 2021-07-14T08:56:25,791 opendht.pyx:508:11: cimported module has no attribute 'enableLogging' 2021-07-14T08:56:25,791 Error compiling Cython file: 2021-07-14T08:56:25,791 ------------------------------------------------------------ 2021-07-14T08:56:25,791 ... 2021-07-14T08:56:25,791 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,791 self.thisptr.get().shutdown(cpp.bindShutdownCb(shutdown_callback, cb_obj)) 2021-07-14T08:56:25,791 def enableLogging(self): 2021-07-14T08:56:25,792 cpp.enableLogging(self.thisptr.get()[0]) 2021-07-14T08:56:25,792 def disableLogging(self): 2021-07-14T08:56:25,792 cpp.disableLogging(self.thisptr.get()[0]) 2021-07-14T08:56:25,792 ^ 2021-07-14T08:56:25,792 ------------------------------------------------------------ 2021-07-14T08:56:25,792 opendht.pyx:510:11: cimported module has no attribute 'disableLogging' 2021-07-14T08:56:25,793 Error compiling Cython file: 2021-07-14T08:56:25,793 ------------------------------------------------------------ 2021-07-14T08:56:25,793 ... 2021-07-14T08:56:25,793 def enableLogging(self): 2021-07-14T08:56:25,793 cpp.enableLogging(self.thisptr.get()[0]) 2021-07-14T08:56:25,793 def disableLogging(self): 2021-07-14T08:56:25,794 cpp.disableLogging(self.thisptr.get()[0]) 2021-07-14T08:56:25,794 def enableFileLogging(self, str path): 2021-07-14T08:56:25,794 cpp.enableFileLogging(self.thisptr.get()[0], path.encode()) 2021-07-14T08:56:25,794 ^ 2021-07-14T08:56:25,794 ------------------------------------------------------------ 2021-07-14T08:56:25,794 opendht.pyx:512:11: cimported module has no attribute 'enableFileLogging' 2021-07-14T08:56:25,794 Error compiling Cython file: 2021-07-14T08:56:25,795 ------------------------------------------------------------ 2021-07-14T08:56:25,795 ... 2021-07-14T08:56:25,795 if get_cb: 2021-07-14T08:56:25,795 cb_obj = {'get':get_cb, 'done':done_cb, 'filter':filter} 2021-07-14T08:56:25,795 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,795 if where is None: 2021-07-14T08:56:25,796 where = Where() 2021-07-14T08:56:25,796 self.thisptr.get().get(key._infohash, cpp.bindGetCb(get_callback, cb_obj), 2021-07-14T08:56:25,796 ^ 2021-07-14T08:56:25,796 ------------------------------------------------------------ 2021-07-14T08:56:25,797 opendht.pyx:546:53: cimported module has no attribute 'bindGetCb' 2021-07-14T08:56:25,797 Error compiling Cython file: 2021-07-14T08:56:25,797 ------------------------------------------------------------ 2021-07-14T08:56:25,797 ... 2021-07-14T08:56:25,797 cb_obj = {'get':get_cb, 'done':done_cb, 'filter':filter} 2021-07-14T08:56:25,797 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,798 if where is None: 2021-07-14T08:56:25,798 where = Where() 2021-07-14T08:56:25,798 self.thisptr.get().get(key._infohash, cpp.bindGetCb(get_callback, cb_obj), 2021-07-14T08:56:25,798 cpp.bindDoneCb(done_callback, cb_obj), 2021-07-14T08:56:25,798 ^ 2021-07-14T08:56:25,798 ------------------------------------------------------------ 2021-07-14T08:56:25,798 opendht.pyx:547:23: cimported module has no attribute 'bindDoneCb' 2021-07-14T08:56:25,799 Error compiling Cython file: 2021-07-14T08:56:25,799 ------------------------------------------------------------ 2021-07-14T08:56:25,799 ... 2021-07-14T08:56:25,799 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,799 if where is None: 2021-07-14T08:56:25,799 where = Where() 2021-07-14T08:56:25,799 self.thisptr.get().get(key._infohash, cpp.bindGetCb(get_callback, cb_obj), 2021-07-14T08:56:25,799 cpp.bindDoneCb(done_callback, cb_obj), 2021-07-14T08:56:25,799 cpp.nullptr, #filter implemented in the get_callback 2021-07-14T08:56:25,799 ^ 2021-07-14T08:56:25,800 ------------------------------------------------------------ 2021-07-14T08:56:25,800 opendht.pyx:548:23: cimported module has no attribute 'nullptr' 2021-07-14T08:56:25,800 Error compiling Cython file: 2021-07-14T08:56:25,800 ------------------------------------------------------------ 2021-07-14T08:56:25,800 ... 2021-07-14T08:56:25,800 done_cb -- optional callback called when the operation is completed. 2021-07-14T08:56:25,800 """ 2021-07-14T08:56:25,801 if done_cb: 2021-07-14T08:56:25,801 cb_obj = {'done':done_cb} 2021-07-14T08:56:25,801 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,801 self.thisptr.get().put(key._infohash, val._value, cpp.bindDoneCb(done_callback, cb_obj)) 2021-07-14T08:56:25,801 ^ 2021-07-14T08:56:25,801 ------------------------------------------------------------ 2021-07-14T08:56:25,801 opendht.pyx:579:65: cimported module has no attribute 'bindDoneCb' 2021-07-14T08:56:25,802 Error compiling Cython file: 2021-07-14T08:56:25,802 ------------------------------------------------------------ 2021-07-14T08:56:25,802 ... 2021-07-14T08:56:25,802 done_cb -- optional callback called when the operation is completed. 2021-07-14T08:56:25,802 """ 2021-07-14T08:56:25,802 if done_cb: 2021-07-14T08:56:25,802 cb_obj = {'done':done_cb} 2021-07-14T08:56:25,802 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,802 self.thisptr.get().put(key._infohash, val._value, cpp.bindDoneCb(done_callback, cb_obj)) 2021-07-14T08:56:25,803 ^ 2021-07-14T08:56:25,803 ------------------------------------------------------------ 2021-07-14T08:56:25,803 opendht.pyx:579:53: Cannot convert 'shared_ptr[]' to Python object 2021-07-14T08:56:25,803 Error compiling Cython file: 2021-07-14T08:56:25,803 ------------------------------------------------------------ 2021-07-14T08:56:25,803 ... 2021-07-14T08:56:25,803 t._h = key._infohash 2021-07-14T08:56:25,804 cb_obj = {'get':get_cb} 2021-07-14T08:56:25,804 t._cb['cb'] = cb_obj 2021-07-14T08:56:25,804 # avoid the callback being destructed if the token is destroyed 2021-07-14T08:56:25,804 ref.Py_INCREF(cb_obj) 2021-07-14T08:56:25,804 t._t = self.thisptr.get().listen(t._h, cpp.bindGetCb(get_callback, cb_obj)).share() 2021-07-14T08:56:25,804 ^ 2021-07-14T08:56:25,804 ------------------------------------------------------------ 2021-07-14T08:56:25,804 opendht.pyx:603:50: cimported module has no attribute 'bindGetCb' 2021-07-14T08:56:26,277 Traceback (most recent call last): 2021-07-14T08:56:26,277 File "", line 1, in 2021-07-14T08:56:26,278 File "/tmp/pip-wheel-8ue1mmlh/opendht_68f77bf46a0a4f399b6dd9a7d6ec465c/setup.py", line 7, in 2021-07-14T08:56:26,278 ext_modules=cythonize("opendht.pyx")) 2021-07-14T08:56:26,278 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1102, in cythonize 2021-07-14T08:56:26,279 cythonize_one(*args) 2021-07-14T08:56:26,279 File "/usr/local/lib/python3.9/dist-packages/Cython/Build/Dependencies.py", line 1225, in cythonize_one 2021-07-14T08:56:26,280 raise CompileError(None, pyx_file) 2021-07-14T08:56:26,280 Cython.Compiler.Errors.CompileError: opendht.pyx 2021-07-14T08:56:26,281 Compiling opendht.pyx because it depends on /usr/local/lib/python3.9/dist-packages/Cython/Includes/libcpp/utility.pxd. 2021-07-14T08:56:26,281 [1/1] Cythonizing opendht.pyx 2021-07-14T08:56:26,508 WARNING: Discarding https://files.pythonhosted.org/packages/99/ff/4e77a933075841293345b9b2734b55c7b0693030da5da0b62b3a1311890f/opendht-1.8.1.tar.gz#sha256=ad2c2c58c13ab021a1b52f19d7466dc5b4a9b99685b99ad7a9a07e049080995c (from https://pypi.org/simple/opendht/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. 2021-07-14T08:56:26,509 ERROR: Could not find a version that satisfies the requirement opendht==1.8.1 (from versions: 1.8.1) 2021-07-14T08:56:26,510 ERROR: No matching distribution found for opendht==1.8.1 2021-07-14T08:56:26,510 Exception information: 2021-07-14T08:56:26,510 Traceback (most recent call last): 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 341, in resolve 2021-07-14T08:56:26,510 name, crit = self._merge_into_criterion(r, parent=None) 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _merge_into_criterion 2021-07-14T08:56:26,510 raise RequirementsConflicted(criterion) 2021-07-14T08:56:26,510 pip._vendor.resolvelib.resolvers.RequirementsConflicted: Requirements conflict: SpecifierRequirement('opendht==1.8.1') 2021-07-14T08:56:26,510 2021-07-14T08:56:26,510 During handling of the above exception, another exception occurred: 2021-07-14T08:56:26,510 2021-07-14T08:56:26,510 Traceback (most recent call last): 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 127, in resolve 2021-07-14T08:56:26,510 result = self._result = resolver.resolve( 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 473, in resolve 2021-07-14T08:56:26,510 state = resolution.resolve(requirements, max_rounds=max_rounds) 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/resolvelib/resolvers.py", line 343, in resolve 2021-07-14T08:56:26,510 raise ResolutionImpossible(e.criterion.information) 2021-07-14T08:56:26,510 pip._vendor.resolvelib.resolvers.ResolutionImpossible: [RequirementInformation(requirement=SpecifierRequirement('opendht==1.8.1'), parent=None)] 2021-07-14T08:56:26,510 2021-07-14T08:56:26,510 The above exception was the direct cause of the following exception: 2021-07-14T08:56:26,510 2021-07-14T08:56:26,510 Traceback (most recent call last): 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 180, in _main 2021-07-14T08:56:26,510 status = self.run(options, args) 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper 2021-07-14T08:56:26,510 return func(self, options, args) 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 142, in run 2021-07-14T08:56:26,510 requirement_set = resolver.resolve( 2021-07-14T08:56:26,510 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 136, in resolve 2021-07-14T08:56:26,510 raise error from e 2021-07-14T08:56:26,510 pip._internal.exceptions.DistributionNotFound: No matching distribution found for opendht==1.8.1 2021-07-14T08:56:26,515 Removed opendht==1.8.1 from https://files.pythonhosted.org/packages/99/ff/4e77a933075841293345b9b2734b55c7b0693030da5da0b62b3a1311890f/opendht-1.8.1.tar.gz#sha256=ad2c2c58c13ab021a1b52f19d7466dc5b4a9b99685b99ad7a9a07e049080995c from build tracker '/tmp/pip-req-tracker-b9q6q9v2' 2021-07-14T08:56:26,515 Removed build tracker: '/tmp/pip-req-tracker-b9q6q9v2'