2025-09-08T16:42:48,179 Created temporary directory: /tmp/pip-build-tracker-hjrzcc49 2025-09-08T16:42:48,179 Initialized build tracking at /tmp/pip-build-tracker-hjrzcc49 2025-09-08T16:42:48,179 Created build tracker: /tmp/pip-build-tracker-hjrzcc49 2025-09-08T16:42:48,179 Entered build tracker: /tmp/pip-build-tracker-hjrzcc49 2025-09-08T16:42:48,180 Created temporary directory: /tmp/pip-wheel-rtjong1q 2025-09-08T16:42:48,183 Created temporary directory: /tmp/pip-ephem-wheel-cache-jg0oz6_n 2025-09-08T16:42:48,245 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2025-09-08T16:42:48,247 2 location(s) to search for versions of opendht: 2025-09-08T16:42:48,247 * https://pypi.org/simple/opendht/ 2025-09-08T16:42:48,247 * https://www.piwheels.org/simple/opendht/ 2025-09-08T16:42:48,248 Fetching project page and analyzing links: https://pypi.org/simple/opendht/ 2025-09-08T16:42:48,248 Getting page https://pypi.org/simple/opendht/ 2025-09-08T16:42:48,249 Found index url https://pypi.org/simple/ 2025-09-08T16:42:48,394 Fetched page https://pypi.org/simple/opendht/ as application/vnd.pypi.simple.v1+json 2025-09-08T16:42:48,399 Found link https://files.pythonhosted.org/packages/99/ff/4e77a933075841293345b9b2734b55c7b0693030da5da0b62b3a1311890f/opendht-1.8.1.tar.gz (from https://pypi.org/simple/opendht/), version: 1.8.1 2025-09-08T16:42:48,400 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/6a/60/3bf6fa16830bd126beed9e53d2f0bc96959de922fbc6b6cda93d441a08f5/opendht-3.5.1-cp310-cp310-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,400 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/9c/23/f0490ad0e09ca95bbfbe2ed529c372f69db3aae95d3c8f1efa1a8c026883/opendht-3.5.1-cp310-cp310-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,400 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/dd/35/d2bf99fec4fe6eb09d9aa4018af23258a8737c605bcdb1d17a139d9cebcf/opendht-3.5.1-cp311-cp311-macosx_15_0_arm64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,400 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/3c/c8/245429142062a79b575cd9483ce8446eb47a33a9e5739b4f9b8b065fd4e4/opendht-3.5.1-cp311-cp311-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,400 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/7f/33/d6d953c4bd359a0227fb5451574faa97b3c59ab7f9c97d3b26ab89cc05ff/opendht-3.5.1-cp311-cp311-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,400 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/27/1e/f2e5dfacbee4430420fb32d7a9441cf43b6b949267f42626e7ae1981a9ef/opendht-3.5.1-cp312-cp312-macosx_15_0_arm64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,401 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/e6/2d/ebb48c16bb173bbf8a13c95b93ac6a76e87ba81795da4534d469144321ad/opendht-3.5.1-cp312-cp312-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,401 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/30/06/9f93171bc04f4f64d66f12dd22a66461eef9d590df9e912db7225d750757/opendht-3.5.1-cp312-cp312-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,401 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/64/fd/2875d6bda665f4f16f32cde23db41f17ada80d0e0090f8b243663eafa1c0/opendht-3.5.1-cp39-cp39-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,401 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/9d/50/de3f3fbb4688f55f8318e0646dfb7129c54a217e4aec22f7ca8b41be5bbd/opendht-3.5.2-cp310-cp310-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,401 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/3d/f8/ebc80d8ea3a97d198853c5b0399ab57522933e65408b4a066b1a172a984d/opendht-3.5.2-cp310-cp310-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,401 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/bf/3e/ee9ae7a0860d5e2bb9c0e5e96409cba715b5fd99f3cc22df1ed0fa2255ee/opendht-3.5.2-cp311-cp311-macosx_15_0_arm64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,401 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/b5/07/012aff4a316b1b4e996886ea4c2a48c400a8ad19253902a3d7b7b9e8fc08/opendht-3.5.2-cp311-cp311-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,401 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/5a/d4/0f0636a7bfcd91b4f0e92f1cf0f6c7b1e22453be00beba52d4313051e767/opendht-3.5.2-cp311-cp311-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,402 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/3a/60/497a2b74d2108dbee72bb32fbf6cbf533efe303154fe4d66a30e21889bc6/opendht-3.5.2-cp312-cp312-macosx_15_0_arm64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,402 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/85/2b/d2b1f364ef8a99120186b7976e3c23cddc0dac61d7244c363b159d6601bc/opendht-3.5.2-cp312-cp312-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,402 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/f9/be/0798973e1affc5c280b9a35821839797bee9f9bbda70e25fb9efb5942940/opendht-3.5.2-cp312-cp312-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,402 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/d3/87/db46d96734bbd56f9e20ab6af1e00ffb0dc362b822539ee574df3046e119/opendht-3.5.2-cp313-cp313-macosx_15_0_arm64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,402 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/de/dc/f56914228936eee0dad12fb7346fc5bddf9165c099111c3ae89f990f17f7/opendht-3.5.2-cp313-cp313-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,402 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/2b/c4/ab212eea3ca034a5b4c15643cfe4855de9d9fdd1b3a09b4d184579faaf86/opendht-3.5.2-cp313-cp313-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,402 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/35/24/64256fe27cbf1388eecbe00b4bd48d1137f555b9dfabe8c5662e99831527/opendht-3.5.2-cp39-cp39-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,403 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/71/4d/3f53a2a6f30edf6a0f12e00b69bfd9658c24f25df36808aaa02256ed2f22/opendht-3.5.4-cp310-cp310-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,403 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/8f/25/4adca38c58ab391367468baf14dc8dc097d2aee68d6a5ecfb72b829be871/opendht-3.5.4-cp310-cp310-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,403 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/c1/ae/2ed7e547e5551064ae5b6728a3bbee605d9c059961ab40dd5bf356d8c2eb/opendht-3.5.4-cp311-cp311-macosx_15_0_arm64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,403 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/35/20/aba502f77828b22243e1c7900e57db37344ef43001db6ec74adfba2a3bd8/opendht-3.5.4-cp311-cp311-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,403 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/9e/a7/8abeb13d894f132627d517ee7ac0cb1ff87564292205c87f73eef9ee8ed7/opendht-3.5.4-cp311-cp311-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,403 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/b8/79/f35b07c32991068785477b41c2d088b9ed08c303778f7e1b883973327460/opendht-3.5.4-cp311-cp311-win_amd64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,403 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/af/b4/3010e64033b52a831ec4e70d547e562dd8d4be84dc74897d8f505c6c3e30/opendht-3.5.4-cp312-cp312-macosx_15_0_arm64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,403 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/d2/77/d363411e9692c535593ebcf2251990cbb19f730dd3b1f67cda6c14bb3482/opendht-3.5.4-cp312-cp312-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,404 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/48/7a/51abb90d2506331ca63dad3c1e8b97b07c9aee845a00d3cc9132e36bebbc/opendht-3.5.4-cp312-cp312-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,404 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/81/91/d7a8953f2d8ed2091f90aec51911c423c94b63c67b5c3ee76e9273549254/opendht-3.5.4-cp312-cp312-win_amd64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,404 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/67/3d/dbffe579a22d7d8aa20be6e5e42a6d9a487224f101136e80cadbac80de54/opendht-3.5.4-cp313-cp313-macosx_15_0_arm64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,404 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/a5/eb/0b4a4615ba31f3085ff383f8f9ee3901e071e42d25a118f92b78cb0a040f/opendht-3.5.4-cp313-cp313-manylinux_2_34_aarch64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,404 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/da/cf/98f3663eb7dbb7f19b9d87a69027f6f733c3c7745bc9e30d415720d16325/opendht-3.5.4-cp313-cp313-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,404 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/74/32/27ccf47b07d4d2b9c636460fcbc23a5b69a587210c89a33c36fb14120619/opendht-3.5.4-cp313-cp313-win_amd64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,404 Skipping link: No binaries permitted for opendht: https://files.pythonhosted.org/packages/47/2b/65e0c4a4c8249a2c145560fd0bdf6323b534ae06dc9672eeacda0b0a926d/opendht-3.5.4-cp39-cp39-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/opendht/) 2025-09-08T16:42:48,405 Fetching project page and analyzing links: https://www.piwheels.org/simple/opendht/ 2025-09-08T16:42:48,405 Getting page https://www.piwheels.org/simple/opendht/ 2025-09-08T16:42:48,406 Found index url https://www.piwheels.org/simple/ 2025-09-08T16:42:48,499 Fetched page https://www.piwheels.org/simple/opendht/ as text/html 2025-09-08T16:42:48,500 Skipping link: not a file: https://www.piwheels.org/simple/opendht/ 2025-09-08T16:42:48,500 Skipping link: not a file: https://pypi.org/simple/opendht/ 2025-09-08T16:42:48,524 Given no hashes to check 1 links for project 'opendht': discarding no candidates 2025-09-08T16:42:48,525 Collecting opendht==1.8.1 2025-09-08T16:42:48,526 Created temporary directory: /tmp/pip-unpack-uf8wn96p 2025-09-08T16:42:48,664 Downloading opendht-1.8.1.tar.gz (116 kB) 2025-09-08T16:42:48,716 Added opendht==1.8.1 from https://files.pythonhosted.org/packages/99/ff/4e77a933075841293345b9b2734b55c7b0693030da5da0b62b3a1311890f/opendht-1.8.1.tar.gz to build tracker '/tmp/pip-build-tracker-hjrzcc49' 2025-09-08T16:42:48,717 Running setup.py (path:/tmp/pip-wheel-rtjong1q/opendht_42e5130eba3549a1bf29f330aa7222dc/setup.py) egg_info for package opendht 2025-09-08T16:42:48,717 Created temporary directory: /tmp/pip-pip-egg-info-gutm3743 2025-09-08T16:42:48,718 Preparing metadata (setup.py): started 2025-09-08T16:42:48,718 Running command python setup.py egg_info 2025-09-08T16:42:52,308 Error compiling Cython file: 2025-09-08T16:42:52,308 ------------------------------------------------------------ 2025-09-08T16:42:52,308 ... 2025-09-08T16:42:52,309 from cython.parallel import parallel, prange 2025-09-08T16:42:52,309 from cython.operator cimport dereference as deref, preincrement as inc, predecrement as dec 2025-09-08T16:42:52,309 from cpython cimport ref 2025-09-08T16:42:52,309 cimport opendht_cpp as cpp 2025-09-08T16:42:52,309 ^ 2025-09-08T16:42:52,309 ------------------------------------------------------------ 2025-09-08T16:42:52,309 opendht.pyx:40:8: 'opendht_cpp.pxd' not found 2025-09-08T16:42:52,309 performance hint: opendht.pyx:56:0: Exception check on 'shutdown_callback' will always require the GIL to be acquired. 2025-09-08T16:42:52,310 Possible solutions: 2025-09-08T16:42:52,310 1. Declare 'shutdown_callback' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2025-09-08T16:42:52,310 2. Use an 'int' return type on 'shutdown_callback' to allow an error code to be returned. 2025-09-08T16:42:52,310 Error compiling Cython file: 2025-09-08T16:42:52,310 ------------------------------------------------------------ 2025-09-08T16:42:52,310 ... 2025-09-08T16:42:52,310 cbs = user_data 2025-09-08T16:42:52,310 if 'shutdown' in cbs and cbs['shutdown']: 2025-09-08T16:42:52,310 cbs['shutdown']() 2025-09-08T16:42:52,310 ref.Py_DECREF(cbs) 2025-09-08T16:42:52,311 cdef inline bool get_callback(shared_ptr[cpp.Value] value, void *user_data) with gil: 2025-09-08T16:42:52,311 ^ 2025-09-08T16:42:52,311 ------------------------------------------------------------ 2025-09-08T16:42:52,311 opendht.pyx:62:45: unknown type in template argument 2025-09-08T16:42:52,314 Error compiling Cython file: 2025-09-08T16:42:52,314 ------------------------------------------------------------ 2025-09-08T16:42:52,314 ... 2025-09-08T16:42:52,314 f = cbs['filter'] if 'filter' in cbs else None 2025-09-08T16:42:52,314 pv = Value() 2025-09-08T16:42:52,314 pv._value = value 2025-09-08T16:42:52,314 return cb(pv) if not f or f(pv) else True 2025-09-08T16:42:52,315 cdef inline void done_callback(bool done, cpp.vector[shared_ptr[cpp.Node]]* nodes, void *user_data) with gil: 2025-09-08T16:42:52,315 ^ 2025-09-08T16:42:52,315 ------------------------------------------------------------ 2025-09-08T16:42:52,315 opendht.pyx:70:42: 'vector' is not a type identifier 2025-09-08T16:42:52,315 performance hint: opendht.pyx:70:0: Exception check on 'done_callback' will always require the GIL to be acquired. 2025-09-08T16:42:52,315 Possible solutions: 2025-09-08T16:42:52,315 1. Declare 'done_callback' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2025-09-08T16:42:52,315 2. Use an 'int' return type on 'done_callback' to allow an error code to be returned. 2025-09-08T16:42:52,315 performance hint: opendht.pyx:82:0: Exception check on 'done_callback_simple' will always require the GIL to be acquired. 2025-09-08T16:42:52,316 Possible solutions: 2025-09-08T16:42:52,316 1. Declare 'done_callback_simple' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2025-09-08T16:42:52,316 2. Use an 'int' return type on 'done_callback_simple' to allow an error code to be returned. 2025-09-08T16:42:52,316 Error compiling Cython file: 2025-09-08T16:42:52,316 ------------------------------------------------------------ 2025-09-08T16:42:52,316 ... 2025-09-08T16:42:52,316 return "<%s '%s'>" % (self.__class__.__name__, str(self)) 2025-09-08T16:42:52,316 def __str__(self): 2025-09-08T16:42:52,316 return self.getId().toString().decode() 2025-09-08T16:42:52,317 cdef class InfoHash(_WithID): 2025-09-08T16:42:52,317 cdef cpp.InfoHash _infohash 2025-09-08T16:42:52,317 ^ 2025-09-08T16:42:52,317 ------------------------------------------------------------ 2025-09-08T16:42:52,317 opendht.pyx:95:9: 'InfoHash' is not a type identifier 2025-09-08T16:42:52,328 Error compiling Cython file: 2025-09-08T16:42:52,328 ------------------------------------------------------------ 2025-09-08T16:42:52,328 ... 2025-09-08T16:42:52,328 h = InfoHash() 2025-09-08T16:42:52,328 h._infohash = cpp.InfoHash.getRandom() 2025-09-08T16:42:52,328 return h 2025-09-08T16:42:52,329 cdef class SockAddr(object): 2025-09-08T16:42:52,329 cdef cpp.SockAddr _addr 2025-09-08T16:42:52,329 ^ 2025-09-08T16:42:52,329 ------------------------------------------------------------ 2025-09-08T16:42:52,329 opendht.pyx:133:9: 'SockAddr' is not a type identifier 2025-09-08T16:42:52,329 Error compiling Cython file: 2025-09-08T16:42:52,329 ------------------------------------------------------------ 2025-09-08T16:42:52,329 ... 2025-09-08T16:42:52,330 return self._addr.toString() 2025-09-08T16:42:52,330 def getPort(SockAddr self): 2025-09-08T16:42:52,330 return self._addr.getPort() 2025-09-08T16:42:52,330 def getFamily(SockAddr self): 2025-09-08T16:42:52,330 return self._addr.getFamily() 2025-09-08T16:42:52,330 def setPort(SockAddr self, cpp.in_port_t port): 2025-09-08T16:42:52,330 ^ 2025-09-08T16:42:52,330 ------------------------------------------------------------ 2025-09-08T16:42:52,330 opendht.pyx:140:31: 'in_port_t' is not a type identifier 2025-09-08T16:42:52,331 Error compiling Cython file: 2025-09-08T16:42:52,331 ------------------------------------------------------------ 2025-09-08T16:42:52,331 ... 2025-09-08T16:42:52,331 return self._addr.getPort() 2025-09-08T16:42:52,331 def getFamily(SockAddr self): 2025-09-08T16:42:52,331 return self._addr.getFamily() 2025-09-08T16:42:52,331 def setPort(SockAddr self, cpp.in_port_t port): 2025-09-08T16:42:52,331 return self._addr.setPort(port) 2025-09-08T16:42:52,331 def setFamily(SockAddr self, cpp.sa_family_t af): 2025-09-08T16:42:52,331 ^ 2025-09-08T16:42:52,331 ------------------------------------------------------------ 2025-09-08T16:42:52,332 opendht.pyx:142:33: 'sa_family_t' is not a type identifier 2025-09-08T16:42:52,332 Error compiling Cython file: 2025-09-08T16:42:52,332 ------------------------------------------------------------ 2025-09-08T16:42:52,332 ... 2025-09-08T16:42:52,332 return self.toString().decode() 2025-09-08T16:42:52,332 def __repr__(self): 2025-09-08T16:42:52,332 return "<%s '%s'>" % (self.__class__.__name__, str(self)) 2025-09-08T16:42:52,333 cdef class Node(_WithID): 2025-09-08T16:42:52,333 cdef shared_ptr[cpp.Node] _node 2025-09-08T16:42:52,333 ^ 2025-09-08T16:42:52,333 ------------------------------------------------------------ 2025-09-08T16:42:52,333 opendht.pyx:156:24: unknown type in template argument 2025-09-08T16:42:52,333 Error compiling Cython file: 2025-09-08T16:42:52,333 ------------------------------------------------------------ 2025-09-08T16:42:52,333 ... 2025-09-08T16:42:52,333 return self._node.get().getAddrStr() 2025-09-08T16:42:52,334 def isExpired(self): 2025-09-08T16:42:52,334 return self._node.get().isExpired() 2025-09-08T16:42:52,334 cdef class NodeEntry(_WithID): 2025-09-08T16:42:52,334 cdef cpp.pair[cpp.InfoHash, shared_ptr[cpp.Node]] _v 2025-09-08T16:42:52,334 ^ 2025-09-08T16:42:52,334 ------------------------------------------------------------ 2025-09-08T16:42:52,334 opendht.pyx:167:9: 'pair' is not a type identifier 2025-09-08T16:42:52,335 Error compiling Cython file: 2025-09-08T16:42:52,335 ------------------------------------------------------------ 2025-09-08T16:42:52,335 ... 2025-09-08T16:42:52,335 n = Node() 2025-09-08T16:42:52,335 n._node = self._v.second 2025-09-08T16:42:52,335 return n 2025-09-08T16:42:52,335 cdef class Query(object): 2025-09-08T16:42:52,335 cdef cpp.Query _query 2025-09-08T16:42:52,335 ^ 2025-09-08T16:42:52,335 ------------------------------------------------------------ 2025-09-08T16:42:52,336 opendht.pyx:178:9: 'Query' is not a type identifier 2025-09-08T16:42:52,336 Error compiling Cython file: 2025-09-08T16:42:52,336 ------------------------------------------------------------ 2025-09-08T16:42:52,336 ... 2025-09-08T16:42:52,336 self._query = cpp.Query(s._select, w._where) 2025-09-08T16:42:52,336 def isSatisfiedBy(self, Query q): 2025-09-08T16:42:52,336 return self._query.isSatisfiedBy(q._query) 2025-09-08T16:42:52,336 cdef class Select(object): 2025-09-08T16:42:52,337 cdef cpp.Select _select 2025-09-08T16:42:52,337 ^ 2025-09-08T16:42:52,337 ------------------------------------------------------------ 2025-09-08T16:42:52,337 opendht.pyx:189:9: 'Select' is not a type identifier 2025-09-08T16:42:52,337 Error compiling Cython file: 2025-09-08T16:42:52,337 ------------------------------------------------------------ 2025-09-08T16:42:52,337 ... 2025-09-08T16:42:52,338 def field(self, int field): 2025-09-08T16:42:52,338 self._select.field( field) 2025-09-08T16:42:52,338 return self 2025-09-08T16:42:52,338 cdef class Where(object): 2025-09-08T16:42:52,338 cdef cpp.Where _where 2025-09-08T16:42:52,338 ^ 2025-09-08T16:42:52,338 ------------------------------------------------------------ 2025-09-08T16:42:52,338 opendht.pyx:204:9: 'Where' is not a type identifier 2025-09-08T16:42:52,339 Error compiling Cython file: 2025-09-08T16:42:52,339 ------------------------------------------------------------ 2025-09-08T16:42:52,339 ... 2025-09-08T16:42:52,339 self._where = cpp.Where() 2025-09-08T16:42:52,339 def __str__(self): 2025-09-08T16:42:52,339 return self._where.toString().decode() 2025-09-08T16:42:52,339 def isSatisfiedBy(self, Where where): 2025-09-08T16:42:52,339 return self._where.isSatisfiedBy(where._where) 2025-09-08T16:42:52,339 def id(self, cpp.uint64_t id): 2025-09-08T16:42:52,339 ^ 2025-09-08T16:42:52,339 ------------------------------------------------------------ 2025-09-08T16:42:52,340 opendht.pyx:214:17: 'uint64_t' is not a type identifier 2025-09-08T16:42:52,340 Error compiling Cython file: 2025-09-08T16:42:52,340 ------------------------------------------------------------ 2025-09-08T16:42:52,340 ... 2025-09-08T16:42:52,340 def isSatisfiedBy(self, Where where): 2025-09-08T16:42:52,340 return self._where.isSatisfiedBy(where._where) 2025-09-08T16:42:52,340 def id(self, cpp.uint64_t id): 2025-09-08T16:42:52,340 self._where.id(id) 2025-09-08T16:42:52,340 return self 2025-09-08T16:42:52,341 def valueType(self, cpp.uint16_t type): 2025-09-08T16:42:52,341 ^ 2025-09-08T16:42:52,341 ------------------------------------------------------------ 2025-09-08T16:42:52,341 opendht.pyx:217:24: 'uint16_t' is not a type identifier 2025-09-08T16:42:52,341 Error compiling Cython file: 2025-09-08T16:42:52,341 ------------------------------------------------------------ 2025-09-08T16:42:52,341 ... 2025-09-08T16:42:52,341 self._where.valueType(type) 2025-09-08T16:42:52,341 return self 2025-09-08T16:42:52,342 def owner(self, InfoHash owner_pk_hash): 2025-09-08T16:42:52,342 self._where.owner(owner_pk_hash._infohash) 2025-09-08T16:42:52,342 return self 2025-09-08T16:42:52,342 def seq(self, cpp.uint16_t seq_no): 2025-09-08T16:42:52,342 ^ 2025-09-08T16:42:52,342 ------------------------------------------------------------ 2025-09-08T16:42:52,342 opendht.pyx:223:18: 'uint16_t' is not a type identifier 2025-09-08T16:42:52,342 Error compiling Cython file: 2025-09-08T16:42:52,342 ------------------------------------------------------------ 2025-09-08T16:42:52,342 ... 2025-09-08T16:42:52,343 def userType(self, str user_type): 2025-09-08T16:42:52,343 self._where.userType(user_type.encode()) 2025-09-08T16:42:52,343 return self 2025-09-08T16:42:52,343 cdef class Value(object): 2025-09-08T16:42:52,343 cdef shared_ptr[cpp.Value] _value 2025-09-08T16:42:52,343 ^ 2025-09-08T16:42:52,343 ------------------------------------------------------------ 2025-09-08T16:42:52,343 opendht.pyx:231:24: unknown type in template argument 2025-09-08T16:42:52,343 Error compiling Cython file: 2025-09-08T16:42:52,344 ------------------------------------------------------------ 2025-09-08T16:42:52,344 ... 2025-09-08T16:42:52,344 def __set__(self, str t): 2025-09-08T16:42:52,344 self._value.get().user_type = t.encode() 2025-09-08T16:42:52,344 property id: 2025-09-08T16:42:52,344 def __get__(self): 2025-09-08T16:42:52,344 return self._value.get().id 2025-09-08T16:42:52,344 def __set__(self, cpp.uint64_t value): 2025-09-08T16:42:52,344 ^ 2025-09-08T16:42:52,344 ------------------------------------------------------------ 2025-09-08T16:42:52,344 opendht.pyx:261:26: 'uint64_t' is not a type identifier 2025-09-08T16:42:52,345 Error compiling Cython file: 2025-09-08T16:42:52,345 ------------------------------------------------------------ 2025-09-08T16:42:52,345 ... 2025-09-08T16:42:52,345 property size: 2025-09-08T16:42:52,345 def __get__(self): 2025-09-08T16:42:52,345 return self._value.get().size() 2025-09-08T16:42:52,345 cdef class NodeSetIter(object): 2025-09-08T16:42:52,345 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]]* _nodes 2025-09-08T16:42:52,345 ^ 2025-09-08T16:42:52,345 ------------------------------------------------------------ 2025-09-08T16:42:52,346 opendht.pyx:268:17: unknown type in template argument 2025-09-08T16:42:52,346 Error compiling Cython file: 2025-09-08T16:42:52,346 ------------------------------------------------------------ 2025-09-08T16:42:52,346 ... 2025-09-08T16:42:52,346 property size: 2025-09-08T16:42:52,346 def __get__(self): 2025-09-08T16:42:52,346 return self._value.get().size() 2025-09-08T16:42:52,346 cdef class NodeSetIter(object): 2025-09-08T16:42:52,346 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]]* _nodes 2025-09-08T16:42:52,347 ^ 2025-09-08T16:42:52,347 ------------------------------------------------------------ 2025-09-08T16:42:52,347 opendht.pyx:268:42: unknown type in template argument 2025-09-08T16:42:52,355 Error compiling Cython file: 2025-09-08T16:42:52,355 ------------------------------------------------------------ 2025-09-08T16:42:52,355 ... 2025-09-08T16:42:52,355 def __get__(self): 2025-09-08T16:42:52,355 return self._value.get().size() 2025-09-08T16:42:52,356 cdef class NodeSetIter(object): 2025-09-08T16:42:52,356 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]]* _nodes 2025-09-08T16:42:52,356 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator _curIter 2025-09-08T16:42:52,356 ^ 2025-09-08T16:42:52,356 ------------------------------------------------------------ 2025-09-08T16:42:52,356 opendht.pyx:269:17: unknown type in template argument 2025-09-08T16:42:52,356 Error compiling Cython file: 2025-09-08T16:42:52,356 ------------------------------------------------------------ 2025-09-08T16:42:52,357 ... 2025-09-08T16:42:52,357 def __get__(self): 2025-09-08T16:42:52,357 return self._value.get().size() 2025-09-08T16:42:52,357 cdef class NodeSetIter(object): 2025-09-08T16:42:52,357 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]]* _nodes 2025-09-08T16:42:52,357 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator _curIter 2025-09-08T16:42:52,357 ^ 2025-09-08T16:42:52,357 ------------------------------------------------------------ 2025-09-08T16:42:52,357 opendht.pyx:269:42: unknown type in template argument 2025-09-08T16:42:52,358 Error compiling Cython file: 2025-09-08T16:42:52,358 ------------------------------------------------------------ 2025-09-08T16:42:52,358 ... 2025-09-08T16:42:52,358 h._v = deref(self._curIter) 2025-09-08T16:42:52,358 inc(self._curIter) 2025-09-08T16:42:52,358 return h 2025-09-08T16:42:52,358 cdef class NodeSet(object): 2025-09-08T16:42:52,358 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]] _nodes 2025-09-08T16:42:52,358 ^ 2025-09-08T16:42:52,359 ------------------------------------------------------------ 2025-09-08T16:42:52,359 opendht.pyx:282:17: unknown type in template argument 2025-09-08T16:42:52,359 Error compiling Cython file: 2025-09-08T16:42:52,359 ------------------------------------------------------------ 2025-09-08T16:42:52,359 ... 2025-09-08T16:42:52,359 h._v = deref(self._curIter) 2025-09-08T16:42:52,359 inc(self._curIter) 2025-09-08T16:42:52,359 return h 2025-09-08T16:42:52,359 cdef class NodeSet(object): 2025-09-08T16:42:52,360 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]] _nodes 2025-09-08T16:42:52,360 ^ 2025-09-08T16:42:52,360 ------------------------------------------------------------ 2025-09-08T16:42:52,360 opendht.pyx:282:42: unknown type in template argument 2025-09-08T16:42:52,360 Error compiling Cython file: 2025-09-08T16:42:52,360 ------------------------------------------------------------ 2025-09-08T16:42:52,360 ... 2025-09-08T16:42:52,360 return s 2025-09-08T16:42:52,360 def __iter__(self): 2025-09-08T16:42:52,361 return NodeSetIter(self) 2025-09-08T16:42:52,361 cdef class PrivateKey(_WithID): 2025-09-08T16:42:52,361 cdef shared_ptr[cpp.PrivateKey] _key 2025-09-08T16:42:52,361 ^ 2025-09-08T16:42:52,361 ------------------------------------------------------------ 2025-09-08T16:42:52,361 opendht.pyx:313:24: unknown type in template argument 2025-09-08T16:42:52,361 Error compiling Cython file: 2025-09-08T16:42:52,361 ------------------------------------------------------------ 2025-09-08T16:42:52,361 ... 2025-09-08T16:42:52,362 k = PrivateKey() 2025-09-08T16:42:52,362 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generateEC()) 2025-09-08T16:42:52,362 return k 2025-09-08T16:42:52,362 cdef class PublicKey(_WithID): 2025-09-08T16:42:52,362 cdef cpp.PublicKey _key 2025-09-08T16:42:52,362 ^ 2025-09-08T16:42:52,362 ------------------------------------------------------------ 2025-09-08T16:42:52,362 opendht.pyx:345:9: 'PublicKey' is not a type identifier 2025-09-08T16:42:52,363 Error compiling Cython file: 2025-09-08T16:42:52,363 ------------------------------------------------------------ 2025-09-08T16:42:52,363 ... 2025-09-08T16:42:52,363 cdef char* encrypted_c_str = encrypted.data() 2025-09-08T16:42:52,363 cdef Py_ssize_t length = encrypted.size() 2025-09-08T16:42:52,363 return encrypted_c_str[:length] 2025-09-08T16:42:52,363 cdef class Certificate(_WithID): 2025-09-08T16:42:52,363 cdef shared_ptr[cpp.Certificate] _cert 2025-09-08T16:42:52,363 ^ 2025-09-08T16:42:52,363 ------------------------------------------------------------ 2025-09-08T16:42:52,364 opendht.pyx:361:24: unknown type in template argument 2025-09-08T16:42:52,364 Error compiling Cython file: 2025-09-08T16:42:52,364 ------------------------------------------------------------ 2025-09-08T16:42:52,364 ... 2025-09-08T16:42:52,364 c = Certificate() 2025-09-08T16:42:52,364 c._cert = cpp.make_shared[cpp.Certificate](cpp.Certificate.generate(deref(k._key.get()), name.encode(), i._id, is_ca)) 2025-09-08T16:42:52,364 return c 2025-09-08T16:42:52,364 cdef class VerifyResult(object): 2025-09-08T16:42:52,364 cdef cpp.TrustListVerifyResult _result 2025-09-08T16:42:52,365 ^ 2025-09-08T16:42:52,365 ------------------------------------------------------------ 2025-09-08T16:42:52,365 opendht.pyx:390:9: 'TrustListVerifyResult' is not a type identifier 2025-09-08T16:42:52,365 Error compiling Cython file: 2025-09-08T16:42:52,365 ------------------------------------------------------------ 2025-09-08T16:42:52,365 ... 2025-09-08T16:42:52,365 return self._result.isValid() 2025-09-08T16:42:52,365 def __str(self): 2025-09-08T16:42:52,365 return self._result.toString() 2025-09-08T16:42:52,366 cdef class TrustList(object): 2025-09-08T16:42:52,366 cdef cpp.TrustList _trust 2025-09-08T16:42:52,366 ^ 2025-09-08T16:42:52,366 ------------------------------------------------------------ 2025-09-08T16:42:52,366 opendht.pyx:397:9: 'TrustList' is not a type identifier 2025-09-08T16:42:52,366 Error compiling Cython file: 2025-09-08T16:42:52,366 ------------------------------------------------------------ 2025-09-08T16:42:52,366 ... 2025-09-08T16:42:52,366 r = VerifyResult() 2025-09-08T16:42:52,367 r._result = self._trust.verify(deref(cert._cert.get())) 2025-09-08T16:42:52,367 return r 2025-09-08T16:42:52,367 cdef class ListenToken(object): 2025-09-08T16:42:52,367 cdef cpp.InfoHash _h 2025-09-08T16:42:52,367 ^ 2025-09-08T16:42:52,367 ------------------------------------------------------------ 2025-09-08T16:42:52,367 opendht.pyx:408:9: 'InfoHash' is not a type identifier 2025-09-08T16:42:52,368 Error compiling Cython file: 2025-09-08T16:42:52,368 ------------------------------------------------------------ 2025-09-08T16:42:52,368 ... 2025-09-08T16:42:52,368 r._result = self._trust.verify(deref(cert._cert.get())) 2025-09-08T16:42:52,368 return r 2025-09-08T16:42:52,368 cdef class ListenToken(object): 2025-09-08T16:42:52,368 cdef cpp.InfoHash _h 2025-09-08T16:42:52,368 cdef cpp.shared_future[size_t] _t 2025-09-08T16:42:52,368 ^ 2025-09-08T16:42:52,368 ------------------------------------------------------------ 2025-09-08T16:42:52,369 opendht.pyx:409:9: 'shared_future' is not a type identifier 2025-09-08T16:42:52,369 Error compiling Cython file: 2025-09-08T16:42:52,369 ------------------------------------------------------------ 2025-09-08T16:42:52,369 ... 2025-09-08T16:42:52,369 r._result = self._trust.verify(deref(cert._cert.get())) 2025-09-08T16:42:52,369 return r 2025-09-08T16:42:52,369 cdef class ListenToken(object): 2025-09-08T16:42:52,369 cdef cpp.InfoHash _h 2025-09-08T16:42:52,369 cdef cpp.shared_future[size_t] _t 2025-09-08T16:42:52,370 ^ 2025-09-08T16:42:52,370 ------------------------------------------------------------ 2025-09-08T16:42:52,370 opendht.pyx:409:9: 'shared_future' is not a type identifier 2025-09-08T16:42:52,370 Error compiling Cython file: 2025-09-08T16:42:52,370 ------------------------------------------------------------ 2025-09-08T16:42:52,370 ... 2025-09-08T16:42:52,370 cdef cpp.InfoHash _h 2025-09-08T16:42:52,370 cdef cpp.shared_future[size_t] _t 2025-09-08T16:42:52,370 _cb = dict() 2025-09-08T16:42:52,371 cdef class Identity(object): 2025-09-08T16:42:52,371 cdef cpp.Identity _id 2025-09-08T16:42:52,371 ^ 2025-09-08T16:42:52,371 ------------------------------------------------------------ 2025-09-08T16:42:52,371 opendht.pyx:413:9: 'Identity' is not a type identifier 2025-09-08T16:42:52,371 Error compiling Cython file: 2025-09-08T16:42:52,371 ------------------------------------------------------------ 2025-09-08T16:42:52,371 ... 2025-09-08T16:42:52,371 k = PrivateKey() 2025-09-08T16:42:52,372 k._key = self._id.first 2025-09-08T16:42:52,372 return k 2025-09-08T16:42:52,372 cdef class DhtConfig(object): 2025-09-08T16:42:52,372 cdef cpp.DhtRunnerConfig _config 2025-09-08T16:42:52,372 ^ 2025-09-08T16:42:52,372 ------------------------------------------------------------ 2025-09-08T16:42:52,372 opendht.pyx:441:9: 'DhtRunnerConfig' is not a type identifier 2025-09-08T16:42:52,372 Error compiling Cython file: 2025-09-08T16:42:52,372 ------------------------------------------------------------ 2025-09-08T16:42:52,373 ... 2025-09-08T16:42:52,373 self._config.dht_config.node_config.network = netid 2025-09-08T16:42:52,373 def setMaintainStorage(self, bool maintain_storage): 2025-09-08T16:42:52,373 self._config.dht_config.node_config.maintain_storage = maintain_storage 2025-09-08T16:42:52,373 cdef class DhtRunner(_WithID): 2025-09-08T16:42:52,373 cdef cpp.shared_ptr[cpp.DhtRunner] thisptr 2025-09-08T16:42:52,373 ^ 2025-09-08T16:42:52,373 ------------------------------------------------------------ 2025-09-08T16:42:52,373 opendht.pyx:457:9: 'shared_ptr' is not a type identifier 2025-09-08T16:42:52,374 Error compiling Cython file: 2025-09-08T16:42:52,374 ------------------------------------------------------------ 2025-09-08T16:42:52,374 ... 2025-09-08T16:42:52,374 self._config.dht_config.node_config.network = netid 2025-09-08T16:42:52,374 def setMaintainStorage(self, bool maintain_storage): 2025-09-08T16:42:52,374 self._config.dht_config.node_config.maintain_storage = maintain_storage 2025-09-08T16:42:52,374 cdef class DhtRunner(_WithID): 2025-09-08T16:42:52,374 cdef cpp.shared_ptr[cpp.DhtRunner] thisptr 2025-09-08T16:42:52,374 ^ 2025-09-08T16:42:52,374 ------------------------------------------------------------ 2025-09-08T16:42:52,375 opendht.pyx:457:9: 'shared_ptr' is not a type identifier 2025-09-08T16:42:52,375 Error compiling Cython file: 2025-09-08T16:42:52,375 ------------------------------------------------------------ 2025-09-08T16:42:52,375 ... 2025-09-08T16:42:52,375 return ok 2025-09-08T16:42:52,375 def bootstrap(self, str host, str port=None): 2025-09-08T16:42:52,375 host_bytes = host.encode() 2025-09-08T16:42:52,375 port_bytes = port.encode() if port else b'4222' 2025-09-08T16:42:52,375 self.thisptr.get().bootstrap(host_bytes, port_bytes) 2025-09-08T16:42:52,375 def run(self, Identity id=None, is_bootstrap=False, cpp.in_port_t port=0, str ipv4="", str ipv6="", DhtConfig config=DhtConfig()): 2025-09-08T16:42:52,376 ^ 2025-09-08T16:42:52,376 ------------------------------------------------------------ 2025-09-08T16:42:52,376 opendht.pyx:492:56: 'in_port_t' is not a type identifier 2025-09-08T16:42:52,376 Error compiling Cython file: 2025-09-08T16:42:52,376 ------------------------------------------------------------ 2025-09-08T16:42:52,376 ... 2025-09-08T16:42:52,376 cpp.disableLogging(self.thisptr.get()[0]) 2025-09-08T16:42:52,376 def enableFileLogging(self, str path): 2025-09-08T16:42:52,376 cpp.enableFileLogging(self.thisptr.get()[0], path.encode()) 2025-09-08T16:42:52,376 def isRunning(self): 2025-09-08T16:42:52,377 return self.thisptr.get().isRunning() 2025-09-08T16:42:52,377 def getBound(self, cpp.sa_family_t af = 0): 2025-09-08T16:42:52,377 ^ 2025-09-08T16:42:52,377 ------------------------------------------------------------ 2025-09-08T16:42:52,377 opendht.pyx:515:23: 'sa_family_t' is not a type identifier 2025-09-08T16:42:52,377 Error compiling Cython file: 2025-09-08T16:42:52,377 ------------------------------------------------------------ 2025-09-08T16:42:52,377 ... 2025-09-08T16:42:52,378 s = SockAddr() 2025-09-08T16:42:52,378 s._addr = self.thisptr.get().getBound(af) 2025-09-08T16:42:52,378 return s 2025-09-08T16:42:52,378 def getStorageLog(self): 2025-09-08T16:42:52,378 return self.thisptr.get().getStorageLog().decode() 2025-09-08T16:42:52,378 def getRoutingTablesLog(self, cpp.sa_family_t af): 2025-09-08T16:42:52,378 ^ 2025-09-08T16:42:52,378 ------------------------------------------------------------ 2025-09-08T16:42:52,378 opendht.pyx:521:34: 'sa_family_t' is not a type identifier 2025-09-08T16:42:52,379 Error compiling Cython file: 2025-09-08T16:42:52,379 ------------------------------------------------------------ 2025-09-08T16:42:52,379 ... 2025-09-08T16:42:52,379 return s 2025-09-08T16:42:52,379 def getStorageLog(self): 2025-09-08T16:42:52,379 return self.thisptr.get().getStorageLog().decode() 2025-09-08T16:42:52,379 def getRoutingTablesLog(self, cpp.sa_family_t af): 2025-09-08T16:42:52,379 return self.thisptr.get().getRoutingTablesLog(af).decode() 2025-09-08T16:42:52,379 def getSearchesLog(self, cpp.sa_family_t af): 2025-09-08T16:42:52,379 ^ 2025-09-08T16:42:52,379 ------------------------------------------------------------ 2025-09-08T16:42:52,380 opendht.pyx:523:29: 'sa_family_t' is not a type identifier 2025-09-08T16:42:52,435 Error compiling Cython file: 2025-09-08T16:42:52,435 ------------------------------------------------------------ 2025-09-08T16:42:52,435 ... 2025-09-08T16:42:52,435 h = InfoHash() 2025-09-08T16:42:52,436 h._infohash = deref(dec(self._nodes.end())).first 2025-09-08T16:42:52,436 return h 2025-09-08T16:42:52,436 def __str__(self): 2025-09-08T16:42:52,436 s = '' 2025-09-08T16:42:52,436 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator it = self._nodes.begin() 2025-09-08T16:42:52,436 ^ 2025-09-08T16:42:52,436 ------------------------------------------------------------ 2025-09-08T16:42:52,436 opendht.pyx:304:21: unknown type in template argument 2025-09-08T16:42:52,436 Error compiling Cython file: 2025-09-08T16:42:52,437 ------------------------------------------------------------ 2025-09-08T16:42:52,437 ... 2025-09-08T16:42:52,437 h = InfoHash() 2025-09-08T16:42:52,437 h._infohash = deref(dec(self._nodes.end())).first 2025-09-08T16:42:52,437 return h 2025-09-08T16:42:52,437 def __str__(self): 2025-09-08T16:42:52,437 s = '' 2025-09-08T16:42:52,437 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator it = self._nodes.begin() 2025-09-08T16:42:52,437 ^ 2025-09-08T16:42:52,437 ------------------------------------------------------------ 2025-09-08T16:42:52,437 opendht.pyx:304:46: unknown type in template argument 2025-09-08T16:42:52,440 Error compiling Cython file: 2025-09-08T16:42:52,441 ------------------------------------------------------------ 2025-09-08T16:42:52,441 ... 2025-09-08T16:42:52,441 pk = PublicKey() 2025-09-08T16:42:52,441 pk._key = self._key.get().getPublicKey() 2025-09-08T16:42:52,441 return pk 2025-09-08T16:42:52,441 def decrypt(self, bytes dat): 2025-09-08T16:42:52,441 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,441 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,441 ^ 2025-09-08T16:42:52,441 ------------------------------------------------------------ 2025-09-08T16:42:52,441 opendht.pyx:324:13: 'uint8_t' is not a type identifier 2025-09-08T16:42:52,442 Error compiling Cython file: 2025-09-08T16:42:52,442 ------------------------------------------------------------ 2025-09-08T16:42:52,442 ... 2025-09-08T16:42:52,442 pk._key = self._key.get().getPublicKey() 2025-09-08T16:42:52,442 return pk 2025-09-08T16:42:52,442 def decrypt(self, bytes dat): 2025-09-08T16:42:52,442 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,442 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,442 cdef cpp.Blob indat 2025-09-08T16:42:52,442 ^ 2025-09-08T16:42:52,443 ------------------------------------------------------------ 2025-09-08T16:42:52,443 opendht.pyx:325:13: 'Blob' is not a type identifier 2025-09-08T16:42:52,443 Error compiling Cython file: 2025-09-08T16:42:52,443 ------------------------------------------------------------ 2025-09-08T16:42:52,443 ... 2025-09-08T16:42:52,443 def decrypt(self, bytes dat): 2025-09-08T16:42:52,443 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,443 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,443 cdef cpp.Blob indat 2025-09-08T16:42:52,444 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,444 cdef cpp.Blob decrypted = self._key.get().decrypt(indat) 2025-09-08T16:42:52,444 ^ 2025-09-08T16:42:52,444 ------------------------------------------------------------ 2025-09-08T16:42:52,444 opendht.pyx:327:13: 'Blob' is not a type identifier 2025-09-08T16:42:52,446 Error compiling Cython file: 2025-09-08T16:42:52,446 ------------------------------------------------------------ 2025-09-08T16:42:52,446 ... 2025-09-08T16:42:52,446 h = InfoHash() 2025-09-08T16:42:52,447 h._infohash = self._key.getId() 2025-09-08T16:42:52,447 return h 2025-09-08T16:42:52,447 def encrypt(self, bytes dat): 2025-09-08T16:42:52,447 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,447 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,447 ^ 2025-09-08T16:42:52,447 ------------------------------------------------------------ 2025-09-08T16:42:52,447 opendht.pyx:352:13: 'uint8_t' is not a type identifier 2025-09-08T16:42:52,447 Error compiling Cython file: 2025-09-08T16:42:52,448 ------------------------------------------------------------ 2025-09-08T16:42:52,448 ... 2025-09-08T16:42:52,448 h._infohash = self._key.getId() 2025-09-08T16:42:52,448 return h 2025-09-08T16:42:52,448 def encrypt(self, bytes dat): 2025-09-08T16:42:52,448 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,448 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,448 cdef cpp.Blob indat 2025-09-08T16:42:52,448 ^ 2025-09-08T16:42:52,448 ------------------------------------------------------------ 2025-09-08T16:42:52,449 opendht.pyx:353:13: 'Blob' is not a type identifier 2025-09-08T16:42:52,449 Error compiling Cython file: 2025-09-08T16:42:52,449 ------------------------------------------------------------ 2025-09-08T16:42:52,449 ... 2025-09-08T16:42:52,449 def encrypt(self, bytes dat): 2025-09-08T16:42:52,449 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,449 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,449 cdef cpp.Blob indat 2025-09-08T16:42:52,449 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,449 cdef cpp.Blob encrypted = self._key.encrypt(indat) 2025-09-08T16:42:52,449 ^ 2025-09-08T16:42:52,450 ------------------------------------------------------------ 2025-09-08T16:42:52,450 opendht.pyx:355:13: 'Blob' is not a type identifier 2025-09-08T16:42:52,487 Error compiling Cython file: 2025-09-08T16:42:52,487 ------------------------------------------------------------ 2025-09-08T16:42:52,487 ... 2025-09-08T16:42:52,487 return self.thisptr.get().getRoutingTablesLog(af).decode() 2025-09-08T16:42:52,487 def getSearchesLog(self, cpp.sa_family_t af): 2025-09-08T16:42:52,487 return self.thisptr.get().getSearchesLog(af).decode() 2025-09-08T16:42:52,487 def getNodeMessageStats(self): 2025-09-08T16:42:52,487 stats = [] 2025-09-08T16:42:52,488 cdef cpp.vector[unsigned] res = self.thisptr.get().getNodeMessageStats(False) 2025-09-08T16:42:52,488 ^ 2025-09-08T16:42:52,488 ------------------------------------------------------------ 2025-09-08T16:42:52,488 opendht.pyx:527:13: 'vector' is not a type identifier 2025-09-08T16:42:52,488 Error compiling Cython file: 2025-09-08T16:42:52,488 ------------------------------------------------------------ 2025-09-08T16:42:52,488 ... 2025-09-08T16:42:52,488 return self.thisptr.get().getRoutingTablesLog(af).decode() 2025-09-08T16:42:52,488 def getSearchesLog(self, cpp.sa_family_t af): 2025-09-08T16:42:52,489 return self.thisptr.get().getSearchesLog(af).decode() 2025-09-08T16:42:52,489 def getNodeMessageStats(self): 2025-09-08T16:42:52,489 stats = [] 2025-09-08T16:42:52,489 cdef cpp.vector[unsigned] res = self.thisptr.get().getNodeMessageStats(False) 2025-09-08T16:42:52,489 ^ 2025-09-08T16:42:52,489 ------------------------------------------------------------ 2025-09-08T16:42:52,489 opendht.pyx:527:13: 'vector' is not a type identifier 2025-09-08T16:42:52,680 Error compiling Cython file: 2025-09-08T16:42:52,680 ------------------------------------------------------------ 2025-09-08T16:42:52,680 ... 2025-09-08T16:42:52,681 return self.getId().toString().decode() 2025-09-08T16:42:52,681 cdef class InfoHash(_WithID): 2025-09-08T16:42:52,681 cdef cpp.InfoHash _infohash 2025-09-08T16:42:52,681 def __cinit__(self, bytes str=b''): 2025-09-08T16:42:52,681 self._infohash = cpp.InfoHash(str) if str else cpp.InfoHash() 2025-09-08T16:42:52,681 ^ 2025-09-08T16:42:52,681 ------------------------------------------------------------ 2025-09-08T16:42:52,681 opendht.pyx:97:28: cimported module has no attribute 'InfoHash' 2025-09-08T16:42:52,682 Error compiling Cython file: 2025-09-08T16:42:52,682 ------------------------------------------------------------ 2025-09-08T16:42:52,682 ... 2025-09-08T16:42:52,682 return self.getId().toString().decode() 2025-09-08T16:42:52,682 cdef class InfoHash(_WithID): 2025-09-08T16:42:52,682 cdef cpp.InfoHash _infohash 2025-09-08T16:42:52,682 def __cinit__(self, bytes str=b''): 2025-09-08T16:42:52,682 self._infohash = cpp.InfoHash(str) if str else cpp.InfoHash() 2025-09-08T16:42:52,682 ^ 2025-09-08T16:42:52,682 ------------------------------------------------------------ 2025-09-08T16:42:52,683 opendht.pyx:97:58: cimported module has no attribute 'InfoHash' 2025-09-08T16:42:52,684 Error compiling Cython file: 2025-09-08T16:42:52,684 ------------------------------------------------------------ 2025-09-08T16:42:52,685 ... 2025-09-08T16:42:52,685 return self._infohash.toString() 2025-09-08T16:42:52,685 def toFloat(InfoHash self): 2025-09-08T16:42:52,685 return self._infohash.toFloat() 2025-09-08T16:42:52,685 @staticmethod 2025-09-08T16:42:52,685 def commonBits(InfoHash a, InfoHash b): 2025-09-08T16:42:52,685 return cpp.InfoHash.commonBits(a._infohash, b._infohash) 2025-09-08T16:42:52,685 ^ 2025-09-08T16:42:52,685 ------------------------------------------------------------ 2025-09-08T16:42:52,685 opendht.pyx:120:18: cimported module has no attribute 'InfoHash' 2025-09-08T16:42:52,686 Error compiling Cython file: 2025-09-08T16:42:52,686 ------------------------------------------------------------ 2025-09-08T16:42:52,686 ... 2025-09-08T16:42:52,686 def commonBits(InfoHash a, InfoHash b): 2025-09-08T16:42:52,686 return cpp.InfoHash.commonBits(a._infohash, b._infohash) 2025-09-08T16:42:52,686 @staticmethod 2025-09-08T16:42:52,686 def get(str key): 2025-09-08T16:42:52,686 h = InfoHash() 2025-09-08T16:42:52,686 h._infohash = cpp.InfoHash.get(key.encode()) 2025-09-08T16:42:52,686 ^ 2025-09-08T16:42:52,686 ------------------------------------------------------------ 2025-09-08T16:42:52,687 opendht.pyx:124:25: cimported module has no attribute 'InfoHash' 2025-09-08T16:42:52,687 Error compiling Cython file: 2025-09-08T16:42:52,687 ------------------------------------------------------------ 2025-09-08T16:42:52,687 ... 2025-09-08T16:42:52,687 h._infohash = cpp.InfoHash.get(key.encode()) 2025-09-08T16:42:52,687 return h 2025-09-08T16:42:52,687 @staticmethod 2025-09-08T16:42:52,687 def getRandom(): 2025-09-08T16:42:52,688 h = InfoHash() 2025-09-08T16:42:52,688 h._infohash = cpp.InfoHash.getRandom() 2025-09-08T16:42:52,688 ^ 2025-09-08T16:42:52,688 ------------------------------------------------------------ 2025-09-08T16:42:52,688 opendht.pyx:129:25: cimported module has no attribute 'InfoHash' 2025-09-08T16:42:52,692 Error compiling Cython file: 2025-09-08T16:42:52,692 ------------------------------------------------------------ 2025-09-08T16:42:52,692 ... 2025-09-08T16:42:52,692 cdef class Node(_WithID): 2025-09-08T16:42:52,692 cdef shared_ptr[cpp.Node] _node 2025-09-08T16:42:52,692 def getId(self): 2025-09-08T16:42:52,693 h = InfoHash() 2025-09-08T16:42:52,693 h._infohash = self._node.get().getId() 2025-09-08T16:42:52,693 ^ 2025-09-08T16:42:52,693 ------------------------------------------------------------ 2025-09-08T16:42:52,693 opendht.pyx:159:36: Cannot convert '' to Python object 2025-09-08T16:42:52,693 Error compiling Cython file: 2025-09-08T16:42:52,693 ------------------------------------------------------------ 2025-09-08T16:42:52,693 ... 2025-09-08T16:42:52,693 def getId(self): 2025-09-08T16:42:52,694 h = InfoHash() 2025-09-08T16:42:52,694 h._infohash = self._node.get().getId() 2025-09-08T16:42:52,694 return h 2025-09-08T16:42:52,694 def getAddr(self): 2025-09-08T16:42:52,694 return self._node.get().getAddrStr() 2025-09-08T16:42:52,694 ^ 2025-09-08T16:42:52,694 ------------------------------------------------------------ 2025-09-08T16:42:52,694 opendht.pyx:162:29: Cannot convert '' to Python object 2025-09-08T16:42:52,694 Error compiling Cython file: 2025-09-08T16:42:52,694 ------------------------------------------------------------ 2025-09-08T16:42:52,695 ... 2025-09-08T16:42:52,695 h._infohash = self._node.get().getId() 2025-09-08T16:42:52,695 return h 2025-09-08T16:42:52,695 def getAddr(self): 2025-09-08T16:42:52,695 return self._node.get().getAddrStr() 2025-09-08T16:42:52,695 def isExpired(self): 2025-09-08T16:42:52,695 return self._node.get().isExpired() 2025-09-08T16:42:52,695 ^ 2025-09-08T16:42:52,695 ------------------------------------------------------------ 2025-09-08T16:42:52,695 opendht.pyx:164:29: Cannot convert '' to Python object 2025-09-08T16:42:52,696 Error compiling Cython file: 2025-09-08T16:42:52,696 ------------------------------------------------------------ 2025-09-08T16:42:52,696 ... 2025-09-08T16:42:52,696 h = InfoHash() 2025-09-08T16:42:52,696 h._infohash = self._v.first 2025-09-08T16:42:52,696 return h 2025-09-08T16:42:52,696 def getNode(self): 2025-09-08T16:42:52,696 n = Node() 2025-09-08T16:42:52,696 n._node = self._v.second 2025-09-08T16:42:52,696 ^ 2025-09-08T16:42:52,696 ------------------------------------------------------------ 2025-09-08T16:42:52,697 opendht.pyx:174:25: Cannot convert Python object to 'shared_ptr[]' 2025-09-08T16:42:52,697 Error compiling Cython file: 2025-09-08T16:42:52,697 ------------------------------------------------------------ 2025-09-08T16:42:52,697 ... 2025-09-08T16:42:52,697 return n 2025-09-08T16:42:52,697 cdef class Query(object): 2025-09-08T16:42:52,697 cdef cpp.Query _query 2025-09-08T16:42:52,698 def __cinit__(self, str q_str=''): 2025-09-08T16:42:52,698 self._query = cpp.Query(q_str.encode()) 2025-09-08T16:42:52,698 ^ 2025-09-08T16:42:52,698 ------------------------------------------------------------ 2025-09-08T16:42:52,698 opendht.pyx:180:25: cimported module has no attribute 'Query' 2025-09-08T16:42:52,698 Error compiling Cython file: 2025-09-08T16:42:52,698 ------------------------------------------------------------ 2025-09-08T16:42:52,698 ... 2025-09-08T16:42:52,698 def __cinit__(self, str q_str=''): 2025-09-08T16:42:52,698 self._query = cpp.Query(q_str.encode()) 2025-09-08T16:42:52,699 def __str__(self): 2025-09-08T16:42:52,699 return self._query.toString().decode() 2025-09-08T16:42:52,699 def buildFrom(self, Select s, Where w): 2025-09-08T16:42:52,699 self._query = cpp.Query(s._select, w._where) 2025-09-08T16:42:52,699 ^ 2025-09-08T16:42:52,699 ------------------------------------------------------------ 2025-09-08T16:42:52,699 opendht.pyx:184:25: cimported module has no attribute 'Query' 2025-09-08T16:42:52,699 Error compiling Cython file: 2025-09-08T16:42:52,699 ------------------------------------------------------------ 2025-09-08T16:42:52,700 ... 2025-09-08T16:42:52,700 cdef class Select(object): 2025-09-08T16:42:52,700 cdef cpp.Select _select 2025-09-08T16:42:52,700 def __cinit__(self, str q_str=None): 2025-09-08T16:42:52,700 if q_str: 2025-09-08T16:42:52,700 self._select = cpp.Select(q_str.encode()) 2025-09-08T16:42:52,700 ^ 2025-09-08T16:42:52,700 ------------------------------------------------------------ 2025-09-08T16:42:52,700 opendht.pyx:192:30: cimported module has no attribute 'Select' 2025-09-08T16:42:52,701 Error compiling Cython file: 2025-09-08T16:42:52,701 ------------------------------------------------------------ 2025-09-08T16:42:52,701 ... 2025-09-08T16:42:52,701 cdef cpp.Select _select 2025-09-08T16:42:52,701 def __cinit__(self, str q_str=None): 2025-09-08T16:42:52,701 if q_str: 2025-09-08T16:42:52,701 self._select = cpp.Select(q_str.encode()) 2025-09-08T16:42:52,701 else: 2025-09-08T16:42:52,701 self._select = cpp.Select() 2025-09-08T16:42:52,701 ^ 2025-09-08T16:42:52,701 ------------------------------------------------------------ 2025-09-08T16:42:52,702 opendht.pyx:194:30: cimported module has no attribute 'Select' 2025-09-08T16:42:52,702 Error compiling Cython file: 2025-09-08T16:42:52,702 ------------------------------------------------------------ 2025-09-08T16:42:52,702 ... 2025-09-08T16:42:52,702 def __str__(self): 2025-09-08T16:42:52,702 return self._select.toString().decode() 2025-09-08T16:42:52,702 def isSatisfiedBy(self, Select os): 2025-09-08T16:42:52,702 return self._select.isSatisfiedBy(os._select) 2025-09-08T16:42:52,702 def field(self, int field): 2025-09-08T16:42:52,702 self._select.field( field) 2025-09-08T16:42:52,703 ^ 2025-09-08T16:42:52,703 ------------------------------------------------------------ 2025-09-08T16:42:52,703 opendht.pyx:200:28: 'Field' is not a type identifier 2025-09-08T16:42:52,703 Error compiling Cython file: 2025-09-08T16:42:52,703 ------------------------------------------------------------ 2025-09-08T16:42:52,703 ... 2025-09-08T16:42:52,703 cdef class Where(object): 2025-09-08T16:42:52,703 cdef cpp.Where _where 2025-09-08T16:42:52,704 def __cinit__(self, str q_str=None): 2025-09-08T16:42:52,704 if q_str: 2025-09-08T16:42:52,704 self._where = cpp.Where(q_str.encode()) 2025-09-08T16:42:52,704 ^ 2025-09-08T16:42:52,704 ------------------------------------------------------------ 2025-09-08T16:42:52,704 opendht.pyx:207:29: cimported module has no attribute 'Where' 2025-09-08T16:42:52,704 Error compiling Cython file: 2025-09-08T16:42:52,704 ------------------------------------------------------------ 2025-09-08T16:42:52,704 ... 2025-09-08T16:42:52,704 cdef cpp.Where _where 2025-09-08T16:42:52,705 def __cinit__(self, str q_str=None): 2025-09-08T16:42:52,705 if q_str: 2025-09-08T16:42:52,705 self._where = cpp.Where(q_str.encode()) 2025-09-08T16:42:52,705 else: 2025-09-08T16:42:52,705 self._where = cpp.Where() 2025-09-08T16:42:52,705 ^ 2025-09-08T16:42:52,705 ------------------------------------------------------------ 2025-09-08T16:42:52,705 opendht.pyx:209:29: cimported module has no attribute 'Where' 2025-09-08T16:42:52,705 Error compiling Cython file: 2025-09-08T16:42:52,706 ------------------------------------------------------------ 2025-09-08T16:42:52,706 ... 2025-09-08T16:42:52,706 return self 2025-09-08T16:42:52,706 cdef class Value(object): 2025-09-08T16:42:52,706 cdef shared_ptr[cpp.Value] _value 2025-09-08T16:42:52,706 def __init__(self, bytes val=b''): 2025-09-08T16:42:52,706 self._value.reset(new cpp.Value(val, len(val))) 2025-09-08T16:42:52,706 ^ 2025-09-08T16:42:52,706 ------------------------------------------------------------ 2025-09-08T16:42:52,706 opendht.pyx:233:30: 'Value' is not a type identifier 2025-09-08T16:42:52,707 Error compiling Cython file: 2025-09-08T16:42:52,707 ------------------------------------------------------------ 2025-09-08T16:42:52,707 ... 2025-09-08T16:42:52,707 return self 2025-09-08T16:42:52,707 cdef class Value(object): 2025-09-08T16:42:52,707 cdef shared_ptr[cpp.Value] _value 2025-09-08T16:42:52,707 def __init__(self, bytes val=b''): 2025-09-08T16:42:52,707 self._value.reset(new cpp.Value(val, len(val))) 2025-09-08T16:42:52,707 ^ 2025-09-08T16:42:52,708 ------------------------------------------------------------ 2025-09-08T16:42:52,708 opendht.pyx:233:26: new operator can only be applied to a C++ class 2025-09-08T16:42:52,708 Error compiling Cython file: 2025-09-08T16:42:52,708 ------------------------------------------------------------ 2025-09-08T16:42:52,708 ... 2025-09-08T16:42:52,708 cdef class Value(object): 2025-09-08T16:42:52,708 cdef shared_ptr[cpp.Value] _value 2025-09-08T16:42:52,708 def __init__(self, bytes val=b''): 2025-09-08T16:42:52,708 self._value.reset(new cpp.Value(val, len(val))) 2025-09-08T16:42:52,709 def __str__(self): 2025-09-08T16:42:52,709 return self._value.get().toString().decode() 2025-09-08T16:42:52,709 ^ 2025-09-08T16:42:52,709 ------------------------------------------------------------ 2025-09-08T16:42:52,709 opendht.pyx:235:30: Cannot convert '' to Python object 2025-09-08T16:42:52,709 Error compiling Cython file: 2025-09-08T16:42:52,709 ------------------------------------------------------------ 2025-09-08T16:42:52,709 ... 2025-09-08T16:42:52,709 def __str__(self): 2025-09-08T16:42:52,709 return self._value.get().toString().decode() 2025-09-08T16:42:52,710 property owner: 2025-09-08T16:42:52,710 def __get__(self): 2025-09-08T16:42:52,710 h = InfoHash() 2025-09-08T16:42:52,710 h._infohash = self._value.get().owner.get().getId() 2025-09-08T16:42:52,710 ^ 2025-09-08T16:42:52,710 ------------------------------------------------------------ 2025-09-08T16:42:52,710 opendht.pyx:239:41: Cannot convert '' to Python object 2025-09-08T16:42:52,710 Error compiling Cython file: 2025-09-08T16:42:52,710 ------------------------------------------------------------ 2025-09-08T16:42:52,711 ... 2025-09-08T16:42:52,711 h._infohash = self._value.get().owner.get().getId() 2025-09-08T16:42:52,711 return h 2025-09-08T16:42:52,711 property recipient: 2025-09-08T16:42:52,711 def __get__(self): 2025-09-08T16:42:52,711 h = InfoHash() 2025-09-08T16:42:52,711 h._infohash = self._value.get().recipient 2025-09-08T16:42:52,711 ^ 2025-09-08T16:42:52,711 ------------------------------------------------------------ 2025-09-08T16:42:52,711 opendht.pyx:244:41: Cannot convert '' to Python object 2025-09-08T16:42:52,712 Error compiling Cython file: 2025-09-08T16:42:52,712 ------------------------------------------------------------ 2025-09-08T16:42:52,712 ... 2025-09-08T16:42:52,712 def __get__(self): 2025-09-08T16:42:52,712 h = InfoHash() 2025-09-08T16:42:52,712 h._infohash = self._value.get().recipient 2025-09-08T16:42:52,712 return h 2025-09-08T16:42:52,712 def __set__(self, InfoHash h): 2025-09-08T16:42:52,712 self._value.get().recipient = h._infohash 2025-09-08T16:42:52,712 ^ 2025-09-08T16:42:52,712 ------------------------------------------------------------ 2025-09-08T16:42:52,713 opendht.pyx:247:27: Cannot convert '' to Python object 2025-09-08T16:42:52,713 Error compiling Cython file: 2025-09-08T16:42:52,713 ------------------------------------------------------------ 2025-09-08T16:42:52,713 ... 2025-09-08T16:42:52,713 return h 2025-09-08T16:42:52,713 def __set__(self, InfoHash h): 2025-09-08T16:42:52,713 self._value.get().recipient = h._infohash 2025-09-08T16:42:52,713 property data: 2025-09-08T16:42:52,713 def __get__(self): 2025-09-08T16:42:52,713 return string(self._value.get().data.data(), self._value.get().data.size()) 2025-09-08T16:42:52,714 ^ 2025-09-08T16:42:52,714 ------------------------------------------------------------ 2025-09-08T16:42:52,714 opendht.pyx:250:48: Cannot convert '' to Python object 2025-09-08T16:42:52,714 Error compiling Cython file: 2025-09-08T16:42:52,714 ------------------------------------------------------------ 2025-09-08T16:42:52,714 ... 2025-09-08T16:42:52,714 return h 2025-09-08T16:42:52,714 def __set__(self, InfoHash h): 2025-09-08T16:42:52,714 self._value.get().recipient = h._infohash 2025-09-08T16:42:52,715 property data: 2025-09-08T16:42:52,715 def __get__(self): 2025-09-08T16:42:52,715 return string(self._value.get().data.data(), self._value.get().data.size()) 2025-09-08T16:42:52,715 ^ 2025-09-08T16:42:52,715 ------------------------------------------------------------ 2025-09-08T16:42:52,715 opendht.pyx:250:26: Casting temporary Python object to non-numeric non-Python type 2025-09-08T16:42:52,715 Error compiling Cython file: 2025-09-08T16:42:52,715 ------------------------------------------------------------ 2025-09-08T16:42:52,715 ... 2025-09-08T16:42:52,715 return h 2025-09-08T16:42:52,716 def __set__(self, InfoHash h): 2025-09-08T16:42:52,716 self._value.get().recipient = h._infohash 2025-09-08T16:42:52,716 property data: 2025-09-08T16:42:52,716 def __get__(self): 2025-09-08T16:42:52,716 return string(self._value.get().data.data(), self._value.get().data.size()) 2025-09-08T16:42:52,716 ^ 2025-09-08T16:42:52,716 ------------------------------------------------------------ 2025-09-08T16:42:52,716 opendht.pyx:250:79: Cannot convert '' to Python object 2025-09-08T16:42:52,716 Error compiling Cython file: 2025-09-08T16:42:52,717 ------------------------------------------------------------ 2025-09-08T16:42:52,717 ... 2025-09-08T16:42:52,717 return h 2025-09-08T16:42:52,717 def __set__(self, InfoHash h): 2025-09-08T16:42:52,717 self._value.get().recipient = h._infohash 2025-09-08T16:42:52,717 property data: 2025-09-08T16:42:52,717 def __get__(self): 2025-09-08T16:42:52,717 return string(self._value.get().data.data(), self._value.get().data.size()) 2025-09-08T16:42:52,717 ^ 2025-09-08T16:42:52,717 ------------------------------------------------------------ 2025-09-08T16:42:52,718 opendht.pyx:250:25: no suitable method found (candidates: 9) 2025-09-08T16:42:52,718 Error compiling Cython file: 2025-09-08T16:42:52,718 ------------------------------------------------------------ 2025-09-08T16:42:52,718 ... 2025-09-08T16:42:52,718 self._value.get().recipient = h._infohash 2025-09-08T16:42:52,718 property data: 2025-09-08T16:42:52,718 def __get__(self): 2025-09-08T16:42:52,718 return string(self._value.get().data.data(), self._value.get().data.size()) 2025-09-08T16:42:52,718 def __set__(self, bytes value): 2025-09-08T16:42:52,718 self._value.get().data = value 2025-09-08T16:42:52,719 ^ 2025-09-08T16:42:52,719 ------------------------------------------------------------ 2025-09-08T16:42:52,719 opendht.pyx:252:27: Cannot convert '' to Python object 2025-09-08T16:42:52,719 Error compiling Cython file: 2025-09-08T16:42:52,719 ------------------------------------------------------------ 2025-09-08T16:42:52,719 ... 2025-09-08T16:42:52,719 return string(self._value.get().data.data(), self._value.get().data.size()) 2025-09-08T16:42:52,719 def __set__(self, bytes value): 2025-09-08T16:42:52,719 self._value.get().data = value 2025-09-08T16:42:52,719 property user_type: 2025-09-08T16:42:52,720 def __get__(self): 2025-09-08T16:42:52,720 return self._value.get().user_type.decode() 2025-09-08T16:42:52,720 ^ 2025-09-08T16:42:52,720 ------------------------------------------------------------ 2025-09-08T16:42:52,720 opendht.pyx:255:34: Cannot convert '' to Python object 2025-09-08T16:42:52,720 Error compiling Cython file: 2025-09-08T16:42:52,720 ------------------------------------------------------------ 2025-09-08T16:42:52,720 ... 2025-09-08T16:42:52,720 self._value.get().data = value 2025-09-08T16:42:52,720 property user_type: 2025-09-08T16:42:52,721 def __get__(self): 2025-09-08T16:42:52,721 return self._value.get().user_type.decode() 2025-09-08T16:42:52,721 def __set__(self, str t): 2025-09-08T16:42:52,721 self._value.get().user_type = t.encode() 2025-09-08T16:42:52,721 ^ 2025-09-08T16:42:52,721 ------------------------------------------------------------ 2025-09-08T16:42:52,721 opendht.pyx:257:27: Cannot convert '' to Python object 2025-09-08T16:42:52,721 Error compiling Cython file: 2025-09-08T16:42:52,721 ------------------------------------------------------------ 2025-09-08T16:42:52,722 ... 2025-09-08T16:42:52,722 return self._value.get().user_type.decode() 2025-09-08T16:42:52,722 def __set__(self, str t): 2025-09-08T16:42:52,722 self._value.get().user_type = t.encode() 2025-09-08T16:42:52,722 property id: 2025-09-08T16:42:52,722 def __get__(self): 2025-09-08T16:42:52,722 return self._value.get().id 2025-09-08T16:42:52,722 ^ 2025-09-08T16:42:52,722 ------------------------------------------------------------ 2025-09-08T16:42:52,722 opendht.pyx:260:34: Cannot convert '' to Python object 2025-09-08T16:42:52,723 Error compiling Cython file: 2025-09-08T16:42:52,723 ------------------------------------------------------------ 2025-09-08T16:42:52,723 ... 2025-09-08T16:42:52,723 self._value.get().user_type = t.encode() 2025-09-08T16:42:52,723 property id: 2025-09-08T16:42:52,723 def __get__(self): 2025-09-08T16:42:52,723 return self._value.get().id 2025-09-08T16:42:52,723 def __set__(self, cpp.uint64_t value): 2025-09-08T16:42:52,723 self._value.get().id = value 2025-09-08T16:42:52,723 ^ 2025-09-08T16:42:52,723 ------------------------------------------------------------ 2025-09-08T16:42:52,724 opendht.pyx:262:27: Cannot convert '' to Python object 2025-09-08T16:42:52,724 Error compiling Cython file: 2025-09-08T16:42:52,724 ------------------------------------------------------------ 2025-09-08T16:42:52,724 ... 2025-09-08T16:42:52,724 return self._value.get().id 2025-09-08T16:42:52,724 def __set__(self, cpp.uint64_t value): 2025-09-08T16:42:52,724 self._value.get().id = value 2025-09-08T16:42:52,724 property size: 2025-09-08T16:42:52,724 def __get__(self): 2025-09-08T16:42:52,724 return self._value.get().size() 2025-09-08T16:42:52,725 ^ 2025-09-08T16:42:52,725 ------------------------------------------------------------ 2025-09-08T16:42:52,725 opendht.pyx:265:34: Cannot convert '' to Python object 2025-09-08T16:42:52,731 Error compiling Cython file: 2025-09-08T16:42:52,731 ------------------------------------------------------------ 2025-09-08T16:42:52,731 ... 2025-09-08T16:42:52,732 return h 2025-09-08T16:42:52,732 def __str__(self): 2025-09-08T16:42:52,732 s = '' 2025-09-08T16:42:52,732 cdef map[cpp.InfoHash, shared_ptr[cpp.Node]].iterator it = self._nodes.begin() 2025-09-08T16:42:52,732 while it != self._nodes.end(): 2025-09-08T16:42:52,732 s += deref(it).first.toString().decode() + ' ' + deref(it).second.get().getAddrStr().decode() + '\n' 2025-09-08T16:42:52,732 ^ 2025-09-08T16:42:52,732 ------------------------------------------------------------ 2025-09-08T16:42:52,732 opendht.pyx:306:81: Cannot convert '' to Python object 2025-09-08T16:42:52,733 Error compiling Cython file: 2025-09-08T16:42:52,734 ------------------------------------------------------------ 2025-09-08T16:42:52,734 ... 2025-09-08T16:42:52,734 cdef class PrivateKey(_WithID): 2025-09-08T16:42:52,734 cdef shared_ptr[cpp.PrivateKey] _key 2025-09-08T16:42:52,734 def getId(self): 2025-09-08T16:42:52,734 h = InfoHash() 2025-09-08T16:42:52,734 h._infohash = self._key.get().getPublicKey().getId() 2025-09-08T16:42:52,734 ^ 2025-09-08T16:42:52,734 ------------------------------------------------------------ 2025-09-08T16:42:52,734 opendht.pyx:316:35: Cannot convert '' to Python object 2025-09-08T16:42:52,735 Error compiling Cython file: 2025-09-08T16:42:52,735 ------------------------------------------------------------ 2025-09-08T16:42:52,735 ... 2025-09-08T16:42:52,735 h = InfoHash() 2025-09-08T16:42:52,735 h._infohash = self._key.get().getPublicKey().getId() 2025-09-08T16:42:52,735 return h 2025-09-08T16:42:52,735 def getPublicKey(self): 2025-09-08T16:42:52,735 pk = PublicKey() 2025-09-08T16:42:52,735 pk._key = self._key.get().getPublicKey() 2025-09-08T16:42:52,735 ^ 2025-09-08T16:42:52,736 ------------------------------------------------------------ 2025-09-08T16:42:52,736 opendht.pyx:320:31: Cannot convert '' to Python object 2025-09-08T16:42:52,736 Error compiling Cython file: 2025-09-08T16:42:52,736 ------------------------------------------------------------ 2025-09-08T16:42:52,736 ... 2025-09-08T16:42:52,736 pk = PublicKey() 2025-09-08T16:42:52,736 pk._key = self._key.get().getPublicKey() 2025-09-08T16:42:52,736 return pk 2025-09-08T16:42:52,736 def decrypt(self, bytes dat): 2025-09-08T16:42:52,737 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,737 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,737 ^ 2025-09-08T16:42:52,737 ------------------------------------------------------------ 2025-09-08T16:42:52,737 opendht.pyx:324:35: 'uint8_t' is not a type identifier 2025-09-08T16:42:52,737 Error compiling Cython file: 2025-09-08T16:42:52,737 ------------------------------------------------------------ 2025-09-08T16:42:52,737 ... 2025-09-08T16:42:52,737 return pk 2025-09-08T16:42:52,738 def decrypt(self, bytes dat): 2025-09-08T16:42:52,738 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,738 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,738 cdef cpp.Blob indat 2025-09-08T16:42:52,738 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,738 ^ 2025-09-08T16:42:52,738 ------------------------------------------------------------ 2025-09-08T16:42:52,738 opendht.pyx:326:29: 'uint8_t' is not a type identifier 2025-09-08T16:42:52,738 Error compiling Cython file: 2025-09-08T16:42:52,739 ------------------------------------------------------------ 2025-09-08T16:42:52,739 ... 2025-09-08T16:42:52,739 def decrypt(self, bytes dat): 2025-09-08T16:42:52,739 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,739 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,739 cdef cpp.Blob indat 2025-09-08T16:42:52,739 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,739 cdef cpp.Blob decrypted = self._key.get().decrypt(indat) 2025-09-08T16:42:52,739 ^ 2025-09-08T16:42:52,739 ------------------------------------------------------------ 2025-09-08T16:42:52,740 opendht.pyx:327:47: Cannot convert '' to Python object 2025-09-08T16:42:52,740 Error compiling Cython file: 2025-09-08T16:42:52,740 ------------------------------------------------------------ 2025-09-08T16:42:52,740 ... 2025-09-08T16:42:52,740 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,740 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,740 cdef cpp.Blob indat 2025-09-08T16:42:52,740 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,740 cdef cpp.Blob decrypted = self._key.get().decrypt(indat) 2025-09-08T16:42:52,740 cdef char* decrypted_c_str = decrypted.data() 2025-09-08T16:42:52,740 ^ 2025-09-08T16:42:52,741 ------------------------------------------------------------ 2025-09-08T16:42:52,741 opendht.pyx:328:37: Casting temporary Python object to non-numeric non-Python type 2025-09-08T16:42:52,741 Error compiling Cython file: 2025-09-08T16:42:52,741 ------------------------------------------------------------ 2025-09-08T16:42:52,741 ... 2025-09-08T16:42:52,741 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,741 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,741 cdef cpp.Blob indat 2025-09-08T16:42:52,741 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,742 cdef cpp.Blob decrypted = self._key.get().decrypt(indat) 2025-09-08T16:42:52,742 cdef char* decrypted_c_str = decrypted.data() 2025-09-08T16:42:52,742 ^ 2025-09-08T16:42:52,742 ------------------------------------------------------------ 2025-09-08T16:42:52,742 opendht.pyx:328:8: Storing unsafe C derivative of temporary Python reference 2025-09-08T16:42:52,742 Error compiling Cython file: 2025-09-08T16:42:52,742 ------------------------------------------------------------ 2025-09-08T16:42:52,742 ... 2025-09-08T16:42:52,742 def __str__(self): 2025-09-08T16:42:52,742 return self.getId().toString().decode() 2025-09-08T16:42:52,743 @staticmethod 2025-09-08T16:42:52,743 def generate(): 2025-09-08T16:42:52,743 k = PrivateKey() 2025-09-08T16:42:52,743 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generate()) 2025-09-08T16:42:52,743 ^ 2025-09-08T16:42:52,743 ------------------------------------------------------------ 2025-09-08T16:42:52,743 opendht.pyx:336:20: cimported module has no attribute 'make_shared' 2025-09-08T16:42:52,743 Error compiling Cython file: 2025-09-08T16:42:52,743 ------------------------------------------------------------ 2025-09-08T16:42:52,744 ... 2025-09-08T16:42:52,744 def __str__(self): 2025-09-08T16:42:52,744 return self.getId().toString().decode() 2025-09-08T16:42:52,744 @staticmethod 2025-09-08T16:42:52,744 def generate(): 2025-09-08T16:42:52,744 k = PrivateKey() 2025-09-08T16:42:52,744 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generate()) 2025-09-08T16:42:52,744 ^ 2025-09-08T16:42:52,744 ------------------------------------------------------------ 2025-09-08T16:42:52,744 opendht.pyx:336:52: cimported module has no attribute 'PrivateKey' 2025-09-08T16:42:52,745 Error compiling Cython file: 2025-09-08T16:42:52,745 ------------------------------------------------------------ 2025-09-08T16:42:52,745 ... 2025-09-08T16:42:52,745 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generate()) 2025-09-08T16:42:52,745 return k 2025-09-08T16:42:52,745 @staticmethod 2025-09-08T16:42:52,745 def generateEC(): 2025-09-08T16:42:52,745 k = PrivateKey() 2025-09-08T16:42:52,745 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generateEC()) 2025-09-08T16:42:52,745 ^ 2025-09-08T16:42:52,746 ------------------------------------------------------------ 2025-09-08T16:42:52,746 opendht.pyx:341:20: cimported module has no attribute 'make_shared' 2025-09-08T16:42:52,746 Error compiling Cython file: 2025-09-08T16:42:52,746 ------------------------------------------------------------ 2025-09-08T16:42:52,746 ... 2025-09-08T16:42:52,746 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generate()) 2025-09-08T16:42:52,746 return k 2025-09-08T16:42:52,746 @staticmethod 2025-09-08T16:42:52,746 def generateEC(): 2025-09-08T16:42:52,746 k = PrivateKey() 2025-09-08T16:42:52,747 k._key = cpp.make_shared[cpp.PrivateKey](cpp.PrivateKey.generateEC()) 2025-09-08T16:42:52,747 ^ 2025-09-08T16:42:52,747 ------------------------------------------------------------ 2025-09-08T16:42:52,747 opendht.pyx:341:52: cimported module has no attribute 'PrivateKey' 2025-09-08T16:42:52,747 Error compiling Cython file: 2025-09-08T16:42:52,747 ------------------------------------------------------------ 2025-09-08T16:42:52,747 ... 2025-09-08T16:42:52,747 h = InfoHash() 2025-09-08T16:42:52,747 h._infohash = self._key.getId() 2025-09-08T16:42:52,748 return h 2025-09-08T16:42:52,748 def encrypt(self, bytes dat): 2025-09-08T16:42:52,748 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,748 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,748 ^ 2025-09-08T16:42:52,748 ------------------------------------------------------------ 2025-09-08T16:42:52,748 opendht.pyx:352:35: 'uint8_t' is not a type identifier 2025-09-08T16:42:52,748 Error compiling Cython file: 2025-09-08T16:42:52,748 ------------------------------------------------------------ 2025-09-08T16:42:52,749 ... 2025-09-08T16:42:52,749 return h 2025-09-08T16:42:52,749 def encrypt(self, bytes dat): 2025-09-08T16:42:52,749 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,749 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,749 cdef cpp.Blob indat 2025-09-08T16:42:52,749 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,749 ^ 2025-09-08T16:42:52,749 ------------------------------------------------------------ 2025-09-08T16:42:52,750 opendht.pyx:354:29: 'uint8_t' is not a type identifier 2025-09-08T16:42:52,750 Error compiling Cython file: 2025-09-08T16:42:52,750 ------------------------------------------------------------ 2025-09-08T16:42:52,750 ... 2025-09-08T16:42:52,750 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,750 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,750 cdef cpp.Blob indat 2025-09-08T16:42:52,750 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,750 cdef cpp.Blob encrypted = self._key.encrypt(indat) 2025-09-08T16:42:52,750 cdef char* encrypted_c_str = encrypted.data() 2025-09-08T16:42:52,751 ^ 2025-09-08T16:42:52,751 ------------------------------------------------------------ 2025-09-08T16:42:52,751 opendht.pyx:356:37: Casting temporary Python object to non-numeric non-Python type 2025-09-08T16:42:52,751 Error compiling Cython file: 2025-09-08T16:42:52,751 ------------------------------------------------------------ 2025-09-08T16:42:52,751 ... 2025-09-08T16:42:52,751 cdef size_t d_len = len(dat) 2025-09-08T16:42:52,751 cdef cpp.uint8_t* d_ptr = dat 2025-09-08T16:42:52,751 cdef cpp.Blob indat 2025-09-08T16:42:52,751 indat.assign(d_ptr, (d_ptr + d_len)) 2025-09-08T16:42:52,752 cdef cpp.Blob encrypted = self._key.encrypt(indat) 2025-09-08T16:42:52,752 cdef char* encrypted_c_str = encrypted.data() 2025-09-08T16:42:52,752 ^ 2025-09-08T16:42:52,752 ------------------------------------------------------------ 2025-09-08T16:42:52,752 opendht.pyx:356:8: Storing unsafe C derivative of temporary Python reference 2025-09-08T16:42:52,752 Error compiling Cython file: 2025-09-08T16:42:52,752 ------------------------------------------------------------ 2025-09-08T16:42:52,752 ... 2025-09-08T16:42:52,753 cdef class Certificate(_WithID): 2025-09-08T16:42:52,753 cdef shared_ptr[cpp.Certificate] _cert 2025-09-08T16:42:52,753 def __init__(self, bytes dat = None): 2025-09-08T16:42:52,753 if dat: 2025-09-08T16:42:52,753 self._cert = cpp.make_shared[cpp.Certificate](dat) 2025-09-08T16:42:52,753 ^ 2025-09-08T16:42:52,753 ------------------------------------------------------------ 2025-09-08T16:42:52,753 opendht.pyx:364:28: cimported module has no attribute 'make_shared' 2025-09-08T16:42:52,753 Error compiling Cython file: 2025-09-08T16:42:52,753 ------------------------------------------------------------ 2025-09-08T16:42:52,754 ... 2025-09-08T16:42:52,754 cdef class Certificate(_WithID): 2025-09-08T16:42:52,754 cdef shared_ptr[cpp.Certificate] _cert 2025-09-08T16:42:52,754 def __init__(self, bytes dat = None): 2025-09-08T16:42:52,754 if dat: 2025-09-08T16:42:52,754 self._cert = cpp.make_shared[cpp.Certificate](dat) 2025-09-08T16:42:52,754 ^ 2025-09-08T16:42:52,754 ------------------------------------------------------------ 2025-09-08T16:42:52,754 opendht.pyx:364:59: 'string' is not a type identifier 2025-09-08T16:42:52,755 Error compiling Cython file: 2025-09-08T16:42:52,755 ------------------------------------------------------------ 2025-09-08T16:42:52,755 ... 2025-09-08T16:42:52,755 if dat: 2025-09-08T16:42:52,755 self._cert = cpp.make_shared[cpp.Certificate](dat) 2025-09-08T16:42:52,755 def getId(self): 2025-09-08T16:42:52,755 h = InfoHash() 2025-09-08T16:42:52,755 if self._cert: 2025-09-08T16:42:52,755 h._infohash = self._cert.get().getId() 2025-09-08T16:42:52,755 ^ 2025-09-08T16:42:52,755 ------------------------------------------------------------ 2025-09-08T16:42:52,756 opendht.pyx:368:40: Cannot convert '' to Python object 2025-09-08T16:42:52,756 Error compiling Cython file: 2025-09-08T16:42:52,756 ------------------------------------------------------------ 2025-09-08T16:42:52,756 ... 2025-09-08T16:42:52,756 h = InfoHash() 2025-09-08T16:42:52,756 if self._cert: 2025-09-08T16:42:52,756 h._infohash = self._cert.get().getId() 2025-09-08T16:42:52,756 return h 2025-09-08T16:42:52,756 def toString(self): 2025-09-08T16:42:52,757 return self._cert.get().toString().decode() 2025-09-08T16:42:52,757 ^ 2025-09-08T16:42:52,757 ------------------------------------------------------------ 2025-09-08T16:42:52,757 opendht.pyx:371:29: Cannot convert '' to Python object 2025-09-08T16:42:52,757 Error compiling Cython file: 2025-09-08T16:42:52,757 ------------------------------------------------------------ 2025-09-08T16:42:52,757 ... 2025-09-08T16:42:52,757 h._infohash = self._cert.get().getId() 2025-09-08T16:42:52,757 return h 2025-09-08T16:42:52,757 def toString(self): 2025-09-08T16:42:52,758 return self._cert.get().toString().decode() 2025-09-08T16:42:52,758 def getName(self): 2025-09-08T16:42:52,758 return self._cert.get().getName() 2025-09-08T16:42:52,758 ^ 2025-09-08T16:42:52,758 ------------------------------------------------------------ 2025-09-08T16:42:52,758 opendht.pyx:373:29: Cannot convert '' to Python object 2025-09-08T16:42:52,758 Error compiling Cython file: 2025-09-08T16:42:52,758 ------------------------------------------------------------ 2025-09-08T16:42:52,758 ... 2025-09-08T16:42:52,758 def toString(self): 2025-09-08T16:42:52,759 return self._cert.get().toString().decode() 2025-09-08T16:42:52,759 def getName(self): 2025-09-08T16:42:52,759 return self._cert.get().getName() 2025-09-08T16:42:52,759 def revoke(self, PrivateKey k, Certificate c): 2025-09-08T16:42:52,759 self._cert.get().revoke(deref(k._key.get()), deref(c._cert.get())); 2025-09-08T16:42:52,759 ^ 2025-09-08T16:42:52,759 ------------------------------------------------------------ 2025-09-08T16:42:52,759 opendht.pyx:375:22: Cannot convert '' to Python object 2025-09-08T16:42:52,759 Error compiling Cython file: 2025-09-08T16:42:52,759 ------------------------------------------------------------ 2025-09-08T16:42:52,760 ... 2025-09-08T16:42:52,760 def getName(self): 2025-09-08T16:42:52,760 return self._cert.get().getName() 2025-09-08T16:42:52,760 def revoke(self, PrivateKey k, Certificate c): 2025-09-08T16:42:52,760 self._cert.get().revoke(deref(k._key.get()), deref(c._cert.get())); 2025-09-08T16:42:52,760 def __bytes__(self): 2025-09-08T16:42:52,760 return self._cert.get().toString() if self._cert else b'' 2025-09-08T16:42:52,760 ^ 2025-09-08T16:42:52,760 ------------------------------------------------------------ 2025-09-08T16:42:52,760 opendht.pyx:377:29: Cannot convert '' to Python object 2025-09-08T16:42:52,761 Error compiling Cython file: 2025-09-08T16:42:52,761 ------------------------------------------------------------ 2025-09-08T16:42:52,761 ... 2025-09-08T16:42:52,761 def __bytes__(self): 2025-09-08T16:42:52,761 return self._cert.get().toString() if self._cert else b'' 2025-09-08T16:42:52,761 property issuer: 2025-09-08T16:42:52,761 def __get__(self): 2025-09-08T16:42:52,761 c = Certificate() 2025-09-08T16:42:52,761 c._cert = self._cert.get().issuer 2025-09-08T16:42:52,761 ^ 2025-09-08T16:42:52,761 ------------------------------------------------------------ 2025-09-08T16:42:52,762 opendht.pyx:381:36: Cannot convert '' to Python object 2025-09-08T16:42:52,762 Error compiling Cython file: 2025-09-08T16:42:52,762 ------------------------------------------------------------ 2025-09-08T16:42:52,762 ... 2025-09-08T16:42:52,762 def __bytes__(self): 2025-09-08T16:42:52,762 return self._cert.get().toString() if self._cert else b'' 2025-09-08T16:42:52,762 property issuer: 2025-09-08T16:42:52,762 def __get__(self): 2025-09-08T16:42:52,762 c = Certificate() 2025-09-08T16:42:52,762 c._cert = self._cert.get().issuer 2025-09-08T16:42:52,763 ^ 2025-09-08T16:42:52,763 ------------------------------------------------------------ 2025-09-08T16:42:52,763 opendht.pyx:381:38: Cannot convert Python object to 'shared_ptr[]' 2025-09-08T16:42:52,763 Error compiling Cython file: 2025-09-08T16:42:52,763 ------------------------------------------------------------ 2025-09-08T16:42:52,763 ... 2025-09-08T16:42:52,763 c._cert = self._cert.get().issuer 2025-09-08T16:42:52,763 return c; 2025-09-08T16:42:52,763 @staticmethod 2025-09-08T16:42:52,764 def generate(PrivateKey k, str name, Identity i = Identity(), bool is_ca = False): 2025-09-08T16:42:52,764 c = Certificate() 2025-09-08T16:42:52,764 c._cert = cpp.make_shared[cpp.Certificate](cpp.Certificate.generate(deref(k._key.get()), name.encode(), i._id, is_ca)) 2025-09-08T16:42:52,764 ^ 2025-09-08T16:42:52,764 ------------------------------------------------------------ 2025-09-08T16:42:52,764 opendht.pyx:386:21: cimported module has no attribute 'make_shared' 2025-09-08T16:42:52,764 Error compiling Cython file: 2025-09-08T16:42:52,764 ------------------------------------------------------------ 2025-09-08T16:42:52,764 ... 2025-09-08T16:42:52,764 c._cert = self._cert.get().issuer 2025-09-08T16:42:52,765 return c; 2025-09-08T16:42:52,765 @staticmethod 2025-09-08T16:42:52,765 def generate(PrivateKey k, str name, Identity i = Identity(), bool is_ca = False): 2025-09-08T16:42:52,765 c = Certificate() 2025-09-08T16:42:52,765 c._cert = cpp.make_shared[cpp.Certificate](cpp.Certificate.generate(deref(k._key.get()), name.encode(), i._id, is_ca)) 2025-09-08T16:42:52,765 ^ 2025-09-08T16:42:52,765 ------------------------------------------------------------ 2025-09-08T16:42:52,765 opendht.pyx:386:54: cimported module has no attribute 'Certificate' 2025-09-08T16:42:52,765 Error compiling Cython file: 2025-09-08T16:42:52,766 ------------------------------------------------------------ 2025-09-08T16:42:52,766 ... 2025-09-08T16:42:52,766 cdef class Identity(object): 2025-09-08T16:42:52,766 cdef cpp.Identity _id 2025-09-08T16:42:52,766 def __init__(self, PrivateKey k = None, Certificate c = None): 2025-09-08T16:42:52,766 if k: 2025-09-08T16:42:52,766 self._id.first = k._key 2025-09-08T16:42:52,766 ^ 2025-09-08T16:42:52,766 ------------------------------------------------------------ 2025-09-08T16:42:52,766 opendht.pyx:416:30: Cannot convert 'shared_ptr[]' to Python object 2025-09-08T16:42:52,767 Error compiling Cython file: 2025-09-08T16:42:52,767 ------------------------------------------------------------ 2025-09-08T16:42:52,767 ... 2025-09-08T16:42:52,767 cdef cpp.Identity _id 2025-09-08T16:42:52,767 def __init__(self, PrivateKey k = None, Certificate c = None): 2025-09-08T16:42:52,767 if k: 2025-09-08T16:42:52,767 self._id.first = k._key 2025-09-08T16:42:52,767 if c: 2025-09-08T16:42:52,767 self._id.second = c._cert 2025-09-08T16:42:52,767 ^ 2025-09-08T16:42:52,768 ------------------------------------------------------------ 2025-09-08T16:42:52,768 opendht.pyx:418:31: Cannot convert 'shared_ptr[]' to Python object 2025-09-08T16:42:52,768 Error compiling Cython file: 2025-09-08T16:42:52,768 ------------------------------------------------------------ 2025-09-08T16:42:52,768 ... 2025-09-08T16:42:52,768 if c: 2025-09-08T16:42:52,768 self._id.second = c._cert 2025-09-08T16:42:52,768 @staticmethod 2025-09-08T16:42:52,768 def generate(str name = "pydht", Identity ca = Identity(), unsigned bits = 4096): 2025-09-08T16:42:52,768 i = Identity() 2025-09-08T16:42:52,769 i._id = cpp.generateIdentity(name.encode(), ca._id, bits) 2025-09-08T16:42:52,769 ^ 2025-09-08T16:42:52,769 ------------------------------------------------------------ 2025-09-08T16:42:52,769 opendht.pyx:422:19: cimported module has no attribute 'generateIdentity' 2025-09-08T16:42:52,769 Error compiling Cython file: 2025-09-08T16:42:52,769 ------------------------------------------------------------ 2025-09-08T16:42:52,769 ... 2025-09-08T16:42:52,769 k._key = self._id.first.get().getPublicKey() 2025-09-08T16:42:52,769 return k 2025-09-08T16:42:52,770 property certificate: 2025-09-08T16:42:52,770 def __get__(self): 2025-09-08T16:42:52,770 c = Certificate() 2025-09-08T16:42:52,770 c._cert = self._id.second 2025-09-08T16:42:52,770 ^ 2025-09-08T16:42:52,770 ------------------------------------------------------------ 2025-09-08T16:42:52,770 opendht.pyx:432:30: Cannot convert Python object to 'shared_ptr[]' 2025-09-08T16:42:52,770 Error compiling Cython file: 2025-09-08T16:42:52,770 ------------------------------------------------------------ 2025-09-08T16:42:52,770 ... 2025-09-08T16:42:52,771 c._cert = self._id.second 2025-09-08T16:42:52,771 return c 2025-09-08T16:42:52,771 property key: 2025-09-08T16:42:52,771 def __get__(self): 2025-09-08T16:42:52,771 k = PrivateKey() 2025-09-08T16:42:52,771 k._key = self._id.first 2025-09-08T16:42:52,771 ^ 2025-09-08T16:42:52,771 ------------------------------------------------------------ 2025-09-08T16:42:52,771 opendht.pyx:437:29: Cannot convert Python object to 'shared_ptr[]' 2025-09-08T16:42:52,771 Error compiling Cython file: 2025-09-08T16:42:52,772 ------------------------------------------------------------ 2025-09-08T16:42:52,772 ... 2025-09-08T16:42:52,772 return k 2025-09-08T16:42:52,772 cdef class DhtConfig(object): 2025-09-08T16:42:52,772 cdef cpp.DhtRunnerConfig _config 2025-09-08T16:42:52,772 def __init__(self): 2025-09-08T16:42:52,772 self._config = cpp.DhtRunnerConfig() 2025-09-08T16:42:52,772 ^ 2025-09-08T16:42:52,772 ------------------------------------------------------------ 2025-09-08T16:42:52,773 opendht.pyx:443:26: cimported module has no attribute 'DhtRunnerConfig' 2025-09-08T16:42:52,773 Error compiling Cython file: 2025-09-08T16:42:52,773 ------------------------------------------------------------ 2025-09-08T16:42:52,773 ... 2025-09-08T16:42:52,773 self._config.dht_config.node_config.maintain_storage = maintain_storage 2025-09-08T16:42:52,773 cdef class DhtRunner(_WithID): 2025-09-08T16:42:52,773 cdef cpp.shared_ptr[cpp.DhtRunner] thisptr 2025-09-08T16:42:52,773 def __cinit__(self): 2025-09-08T16:42:52,773 self.thisptr.reset(new cpp.DhtRunner()) 2025-09-08T16:42:52,774 ^ 2025-09-08T16:42:52,774 ------------------------------------------------------------ 2025-09-08T16:42:52,774 opendht.pyx:459:31: 'DhtRunner' is not a type identifier 2025-09-08T16:42:52,774 Error compiling Cython file: 2025-09-08T16:42:52,774 ------------------------------------------------------------ 2025-09-08T16:42:52,774 ... 2025-09-08T16:42:52,774 self._config.dht_config.node_config.maintain_storage = maintain_storage 2025-09-08T16:42:52,774 cdef class DhtRunner(_WithID): 2025-09-08T16:42:52,774 cdef cpp.shared_ptr[cpp.DhtRunner] thisptr 2025-09-08T16:42:52,775 def __cinit__(self): 2025-09-08T16:42:52,775 self.thisptr.reset(new cpp.DhtRunner()) 2025-09-08T16:42:52,775 ^ 2025-09-08T16:42:52,775 ------------------------------------------------------------ 2025-09-08T16:42:52,775 opendht.pyx:459:27: new operator can only be applied to a C++ class 2025-09-08T16:42:52,775 Error compiling Cython file: 2025-09-08T16:42:52,775 ------------------------------------------------------------ 2025-09-08T16:42:52,775 ... 2025-09-08T16:42:52,775 return self.thisptr.get().getNodeId().toString() 2025-09-08T16:42:52,776 def ping(self, SockAddr addr, done_cb=None): 2025-09-08T16:42:52,776 if done_cb: 2025-09-08T16:42:52,776 cb_obj = {'done':done_cb} 2025-09-08T16:42:52,776 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,776 self.thisptr.get().bootstrap(addr._addr, cpp.bindDoneCbSimple(done_callback_simple, cb_obj)) 2025-09-08T16:42:52,776 ^ 2025-09-08T16:42:52,776 ------------------------------------------------------------ 2025-09-08T16:42:52,776 opendht.pyx:471:56: cimported module has no attribute 'bindDoneCbSimple' 2025-09-08T16:42:52,778 Error compiling Cython file: 2025-09-08T16:42:52,778 ------------------------------------------------------------ 2025-09-08T16:42:52,778 ... 2025-09-08T16:42:52,778 lock.wait() 2025-09-08T16:42:52,778 return ok 2025-09-08T16:42:52,778 def bootstrap(self, str host, str port=None): 2025-09-08T16:42:52,778 host_bytes = host.encode() 2025-09-08T16:42:52,778 port_bytes = port.encode() if port else b'4222' 2025-09-08T16:42:52,779 self.thisptr.get().bootstrap(host_bytes, port_bytes) 2025-09-08T16:42:52,779 ^ 2025-09-08T16:42:52,779 ------------------------------------------------------------ 2025-09-08T16:42:52,779 opendht.pyx:491:38: 'const_char' is not a type identifier 2025-09-08T16:42:52,779 Error compiling Cython file: 2025-09-08T16:42:52,779 ------------------------------------------------------------ 2025-09-08T16:42:52,779 ... 2025-09-08T16:42:52,779 lock.wait() 2025-09-08T16:42:52,779 return ok 2025-09-08T16:42:52,780 def bootstrap(self, str host, str port=None): 2025-09-08T16:42:52,780 host_bytes = host.encode() 2025-09-08T16:42:52,780 port_bytes = port.encode() if port else b'4222' 2025-09-08T16:42:52,780 self.thisptr.get().bootstrap(host_bytes, port_bytes) 2025-09-08T16:42:52,780 ^ 2025-09-08T16:42:52,780 ------------------------------------------------------------ 2025-09-08T16:42:52,780 opendht.pyx:491:67: 'const_char' is not a type identifier 2025-09-08T16:42:52,782 Error compiling Cython file: 2025-09-08T16:42:52,782 ------------------------------------------------------------ 2025-09-08T16:42:52,782 ... 2025-09-08T16:42:52,783 def join(self): 2025-09-08T16:42:52,783 self.thisptr.get().join() 2025-09-08T16:42:52,783 def shutdown(self, shutdown_cb=None): 2025-09-08T16:42:52,783 cb_obj = {'shutdown':shutdown_cb} 2025-09-08T16:42:52,783 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,783 self.thisptr.get().shutdown(cpp.bindShutdownCb(shutdown_callback, cb_obj)) 2025-09-08T16:42:52,783 ^ 2025-09-08T16:42:52,783 ------------------------------------------------------------ 2025-09-08T16:42:52,783 opendht.pyx:506:39: cimported module has no attribute 'bindShutdownCb' 2025-09-08T16:42:52,784 Error compiling Cython file: 2025-09-08T16:42:52,784 ------------------------------------------------------------ 2025-09-08T16:42:52,784 ... 2025-09-08T16:42:52,784 def shutdown(self, shutdown_cb=None): 2025-09-08T16:42:52,784 cb_obj = {'shutdown':shutdown_cb} 2025-09-08T16:42:52,784 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,784 self.thisptr.get().shutdown(cpp.bindShutdownCb(shutdown_callback, cb_obj)) 2025-09-08T16:42:52,784 def enableLogging(self): 2025-09-08T16:42:52,784 cpp.enableLogging(self.thisptr.get()[0]) 2025-09-08T16:42:52,784 ^ 2025-09-08T16:42:52,784 ------------------------------------------------------------ 2025-09-08T16:42:52,785 opendht.pyx:508:11: cimported module has no attribute 'enableLogging' 2025-09-08T16:42:52,785 Error compiling Cython file: 2025-09-08T16:42:52,785 ------------------------------------------------------------ 2025-09-08T16:42:52,785 ... 2025-09-08T16:42:52,785 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,785 self.thisptr.get().shutdown(cpp.bindShutdownCb(shutdown_callback, cb_obj)) 2025-09-08T16:42:52,785 def enableLogging(self): 2025-09-08T16:42:52,785 cpp.enableLogging(self.thisptr.get()[0]) 2025-09-08T16:42:52,785 def disableLogging(self): 2025-09-08T16:42:52,785 cpp.disableLogging(self.thisptr.get()[0]) 2025-09-08T16:42:52,786 ^ 2025-09-08T16:42:52,786 ------------------------------------------------------------ 2025-09-08T16:42:52,786 opendht.pyx:510:11: cimported module has no attribute 'disableLogging' 2025-09-08T16:42:52,786 Error compiling Cython file: 2025-09-08T16:42:52,786 ------------------------------------------------------------ 2025-09-08T16:42:52,786 ... 2025-09-08T16:42:52,786 def enableLogging(self): 2025-09-08T16:42:52,786 cpp.enableLogging(self.thisptr.get()[0]) 2025-09-08T16:42:52,786 def disableLogging(self): 2025-09-08T16:42:52,787 cpp.disableLogging(self.thisptr.get()[0]) 2025-09-08T16:42:52,787 def enableFileLogging(self, str path): 2025-09-08T16:42:52,787 cpp.enableFileLogging(self.thisptr.get()[0], path.encode()) 2025-09-08T16:42:52,787 ^ 2025-09-08T16:42:52,787 ------------------------------------------------------------ 2025-09-08T16:42:52,787 opendht.pyx:512:11: cimported module has no attribute 'enableFileLogging' 2025-09-08T16:42:52,792 Error compiling Cython file: 2025-09-08T16:42:52,792 ------------------------------------------------------------ 2025-09-08T16:42:52,792 ... 2025-09-08T16:42:52,792 if get_cb: 2025-09-08T16:42:52,792 cb_obj = {'get':get_cb, 'done':done_cb, 'filter':filter} 2025-09-08T16:42:52,792 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,792 if where is None: 2025-09-08T16:42:52,792 where = Where() 2025-09-08T16:42:52,792 self.thisptr.get().get(key._infohash, cpp.bindGetCb(get_callback, cb_obj), 2025-09-08T16:42:52,792 ^ 2025-09-08T16:42:52,793 ------------------------------------------------------------ 2025-09-08T16:42:52,793 opendht.pyx:546:53: cimported module has no attribute 'bindGetCb' 2025-09-08T16:42:52,793 Error compiling Cython file: 2025-09-08T16:42:52,793 ------------------------------------------------------------ 2025-09-08T16:42:52,793 ... 2025-09-08T16:42:52,793 cb_obj = {'get':get_cb, 'done':done_cb, 'filter':filter} 2025-09-08T16:42:52,793 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,793 if where is None: 2025-09-08T16:42:52,793 where = Where() 2025-09-08T16:42:52,794 self.thisptr.get().get(key._infohash, cpp.bindGetCb(get_callback, cb_obj), 2025-09-08T16:42:52,794 cpp.bindDoneCb(done_callback, cb_obj), 2025-09-08T16:42:52,794 ^ 2025-09-08T16:42:52,794 ------------------------------------------------------------ 2025-09-08T16:42:52,794 opendht.pyx:547:23: cimported module has no attribute 'bindDoneCb' 2025-09-08T16:42:52,794 Error compiling Cython file: 2025-09-08T16:42:52,794 ------------------------------------------------------------ 2025-09-08T16:42:52,794 ... 2025-09-08T16:42:52,794 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,794 if where is None: 2025-09-08T16:42:52,795 where = Where() 2025-09-08T16:42:52,795 self.thisptr.get().get(key._infohash, cpp.bindGetCb(get_callback, cb_obj), 2025-09-08T16:42:52,795 cpp.bindDoneCb(done_callback, cb_obj), 2025-09-08T16:42:52,795 cpp.nullptr, #filter implemented in the get_callback 2025-09-08T16:42:52,795 ^ 2025-09-08T16:42:52,795 ------------------------------------------------------------ 2025-09-08T16:42:52,795 opendht.pyx:548:23: cimported module has no attribute 'nullptr' 2025-09-08T16:42:52,798 Error compiling Cython file: 2025-09-08T16:42:52,798 ------------------------------------------------------------ 2025-09-08T16:42:52,798 ... 2025-09-08T16:42:52,798 done_cb -- optional callback called when the operation is completed. 2025-09-08T16:42:52,798 """ 2025-09-08T16:42:52,798 if done_cb: 2025-09-08T16:42:52,798 cb_obj = {'done':done_cb} 2025-09-08T16:42:52,798 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,798 self.thisptr.get().put(key._infohash, val._value, cpp.bindDoneCb(done_callback, cb_obj)) 2025-09-08T16:42:52,798 ^ 2025-09-08T16:42:52,798 ------------------------------------------------------------ 2025-09-08T16:42:52,799 opendht.pyx:579:65: cimported module has no attribute 'bindDoneCb' 2025-09-08T16:42:52,799 Error compiling Cython file: 2025-09-08T16:42:52,799 ------------------------------------------------------------ 2025-09-08T16:42:52,799 ... 2025-09-08T16:42:52,799 done_cb -- optional callback called when the operation is completed. 2025-09-08T16:42:52,799 """ 2025-09-08T16:42:52,799 if done_cb: 2025-09-08T16:42:52,799 cb_obj = {'done':done_cb} 2025-09-08T16:42:52,799 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,800 self.thisptr.get().put(key._infohash, val._value, cpp.bindDoneCb(done_callback, cb_obj)) 2025-09-08T16:42:52,800 ^ 2025-09-08T16:42:52,800 ------------------------------------------------------------ 2025-09-08T16:42:52,800 opendht.pyx:579:53: Cannot convert 'shared_ptr[]' to Python object 2025-09-08T16:42:52,802 Error compiling Cython file: 2025-09-08T16:42:52,802 ------------------------------------------------------------ 2025-09-08T16:42:52,803 ... 2025-09-08T16:42:52,803 t._h = key._infohash 2025-09-08T16:42:52,803 cb_obj = {'get':get_cb} 2025-09-08T16:42:52,803 t._cb['cb'] = cb_obj 2025-09-08T16:42:52,803 # avoid the callback being destructed if the token is destroyed 2025-09-08T16:42:52,803 ref.Py_INCREF(cb_obj) 2025-09-08T16:42:52,803 t._t = self.thisptr.get().listen(t._h, cpp.bindGetCb(get_callback, cb_obj)).share() 2025-09-08T16:42:52,803 ^ 2025-09-08T16:42:52,803 ------------------------------------------------------------ 2025-09-08T16:42:52,803 opendht.pyx:603:50: cimported module has no attribute 'bindGetCb' 2025-09-08T16:42:52,996 Traceback (most recent call last): 2025-09-08T16:42:52,999 File "", line 2, in 2025-09-08T16:42:52,999 exec(compile(''' 2025-09-08T16:42:52,999 ~~~~^^^^^^^^^^^^ 2025-09-08T16:42:52,999 # This is -- a caller that pip uses to run setup.py 2025-09-08T16:42:52,999 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:52,999 ...<32 lines>... 2025-09-08T16:42:52,999 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T16:42:52,999 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,000 ''' % ('/tmp/pip-wheel-rtjong1q/opendht_42e5130eba3549a1bf29f330aa7222dc/setup.py',), "", "exec")) 2025-09-08T16:42:53,000 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,000 File "", line 35, in 2025-09-08T16:42:53,000 File "/tmp/pip-wheel-rtjong1q/opendht_42e5130eba3549a1bf29f330aa7222dc/setup.py", line 7, in 2025-09-08T16:42:53,000 ext_modules=cythonize("opendht.pyx")) 2025-09-08T16:42:53,000 ~~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,000 File "/usr/local/lib/python3.13/dist-packages/Cython/Build/Dependencies.py", line 1154, in cythonize 2025-09-08T16:42:53,000 cythonize_one(*args) 2025-09-08T16:42:53,000 ~~~~~~~~~~~~~^^^^^^^ 2025-09-08T16:42:53,001 File "/usr/local/lib/python3.13/dist-packages/Cython/Build/Dependencies.py", line 1298, in cythonize_one 2025-09-08T16:42:53,001 raise CompileError(None, pyx_file) 2025-09-08T16:42:53,001 Cython.Compiler.Errors.CompileError: opendht.pyx 2025-09-08T16:42:53,001 Compiling opendht.pyx because it changed. 2025-09-08T16:42:53,001 [1/1] Cythonizing opendht.pyx 2025-09-08T16:42:53,431 ERROR: python setup.py egg_info exited with 1 2025-09-08T16:42:53,443 [bold magenta]full command[/]: [blue]/usr/bin/python3 -c ' 2025-09-08T16:42:53,443 exec(compile('"'"''"'"''"'"' 2025-09-08T16:42:53,443 # This is -- a caller that pip uses to run setup.py 2025-09-08T16:42:53,443 # 2025-09-08T16:42:53,443 # - It imports setuptools before invoking setup.py, to enable projects that directly 2025-09-08T16:42:53,443 # import from `distutils.core` to work with newer packaging standards. 2025-09-08T16:42:53,443 # - It provides a clear error message when setuptools is not installed. 2025-09-08T16:42:53,443 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2025-09-08T16:42:53,443 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2025-09-08T16:42:53,443 # manifest_maker: standard file '"'"'-c'"'"' not found". 2025-09-08T16:42:53,443 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2025-09-08T16:42:53,443 import os, sys, tokenize, traceback 2025-09-08T16:42:53,443 2025-09-08T16:42:53,443 try: 2025-09-08T16:42:53,443 import setuptools 2025-09-08T16:42:53,443 except ImportError: 2025-09-08T16:42:53,443 print( 2025-09-08T16:42:53,443 "ERROR: Can not execute `setup.py` since setuptools failed to import in " 2025-09-08T16:42:53,443 "the build environment with exception:", 2025-09-08T16:42:53,443 file=sys.stderr, 2025-09-08T16:42:53,443 ) 2025-09-08T16:42:53,443 traceback.print_exc() 2025-09-08T16:42:53,443 sys.exit(1) 2025-09-08T16:42:53,443 2025-09-08T16:42:53,443 __file__ = %r 2025-09-08T16:42:53,443 sys.argv[0] = __file__ 2025-09-08T16:42:53,443 2025-09-08T16:42:53,443 if os.path.exists(__file__): 2025-09-08T16:42:53,443 filename = __file__ 2025-09-08T16:42:53,443 with tokenize.open(__file__) as f: 2025-09-08T16:42:53,443 setup_py_code = f.read() 2025-09-08T16:42:53,443 else: 2025-09-08T16:42:53,443 filename = "" 2025-09-08T16:42:53,443 setup_py_code = "from setuptools import setup; setup()" 2025-09-08T16:42:53,443 2025-09-08T16:42:53,443 exec(compile(setup_py_code, filename, "exec")) 2025-09-08T16:42:53,443 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-rtjong1q/opendht_42e5130eba3549a1bf29f330aa7222dc/setup.py'"'"',), "", "exec"))' egg_info --egg-base /tmp/pip-pip-egg-info-gutm3743[/] 2025-09-08T16:42:53,443 [bold magenta]cwd[/]: /tmp/pip-wheel-rtjong1q/opendht_42e5130eba3549a1bf29f330aa7222dc/ 2025-09-08T16:42:53,443 Preparing metadata (setup.py): finished with status 'error' 2025-09-08T16:42:53,444 ERROR: metadata generation failed 2025-09-08T16:42:53,449 Exception information: 2025-09-08T16:42:53,449 Traceback (most recent call last): 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 63, in generate_metadata 2025-09-08T16:42:53,449 call_subprocess( 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~^ 2025-09-08T16:42:53,449 args, 2025-09-08T16:42:53,449 ^^^^^ 2025-09-08T16:42:53,449 ...<2 lines>... 2025-09-08T16:42:53,449 spinner=spinner, 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 ) 2025-09-08T16:42:53,449 ^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/utils/subprocess.py", line 209, in call_subprocess 2025-09-08T16:42:53,449 raise error 2025-09-08T16:42:53,449 pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1 2025-09-08T16:42:53,449 2025-09-08T16:42:53,449 The above exception was the direct cause of the following exception: 2025-09-08T16:42:53,449 2025-09-08T16:42:53,449 Traceback (most recent call last): 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper 2025-09-08T16:42:53,449 status = _inner_run() 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run 2025-09-08T16:42:53,449 return self.run(options, args) 2025-09-08T16:42:53,449 ~~~~~~~~^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 68, in wrapper 2025-09-08T16:42:53,449 return func(self, options, args) 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 147, in run 2025-09-08T16:42:53,449 requirement_set = resolver.resolve(reqs, check_supported_wheels=True) 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 96, in resolve 2025-09-08T16:42:53,449 result = self._result = resolver.resolve( 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~^ 2025-09-08T16:42:53,449 collected.requirements, max_rounds=limit_how_complex_resolution_can_be 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 ) 2025-09-08T16:42:53,449 ^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 515, in resolve 2025-09-08T16:42:53,449 state = resolution.resolve(requirements, max_rounds=max_rounds) 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 388, in resolve 2025-09-08T16:42:53,449 self._add_to_criteria(self.state.criteria, r, parent=None) 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/resolvers/resolution.py", line 141, in _add_to_criteria 2025-09-08T16:42:53,449 if not criterion.candidates: 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_vendor/resolvelib/structs.py", line 194, in __bool__ 2025-09-08T16:42:53,449 return bool(self._sequence) 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 163, in __bool__ 2025-09-08T16:42:53,449 self._bool = any(self) 2025-09-08T16:42:53,449 ~~~^^^^^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 147, in 2025-09-08T16:42:53,449 return (c for c in iterator if id(c) not in self._incompatible_ids) 2025-09-08T16:42:53,449 ^^^^^^^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 37, in _iter_built 2025-09-08T16:42:53,449 candidate = func() 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 187, in _make_candidate_from_link 2025-09-08T16:42:53,449 base: Optional[BaseCandidate] = self._make_base_candidate_from_link( 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T16:42:53,449 link, template, name, version 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 ) 2025-09-08T16:42:53,449 ^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/factory.py", line 233, in _make_base_candidate_from_link 2025-09-08T16:42:53,449 self._link_candidate_cache[link] = LinkCandidate( 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~^ 2025-09-08T16:42:53,449 link, 2025-09-08T16:42:53,449 ^^^^^ 2025-09-08T16:42:53,449 ...<3 lines>... 2025-09-08T16:42:53,449 version=version, 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 ) 2025-09-08T16:42:53,449 ^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 306, in __init__ 2025-09-08T16:42:53,449 super().__init__( 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~^ 2025-09-08T16:42:53,449 link=link, 2025-09-08T16:42:53,449 ^^^^^^^^^^ 2025-09-08T16:42:53,449 ...<4 lines>... 2025-09-08T16:42:53,449 version=version, 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 ) 2025-09-08T16:42:53,449 ^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 159, in __init__ 2025-09-08T16:42:53,449 self.dist = self._prepare() 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 236, in _prepare 2025-09-08T16:42:53,449 dist = self._prepare_distribution() 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/candidates.py", line 317, in _prepare_distribution 2025-09-08T16:42:53,449 return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 532, in prepare_linked_requirement 2025-09-08T16:42:53,449 return self._prepare_linked_requirement(req, parallel_builds) 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 647, in _prepare_linked_requirement 2025-09-08T16:42:53,449 dist = _get_prepared_distribution( 2025-09-08T16:42:53,449 req, 2025-09-08T16:42:53,449 ...<3 lines>... 2025-09-08T16:42:53,449 self.check_build_deps, 2025-09-08T16:42:53,449 ) 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution 2025-09-08T16:42:53,449 abstract_dist.prepare_distribution_metadata( 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T16:42:53,449 finder, build_isolation, check_build_deps 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 ) 2025-09-08T16:42:53,449 ^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/distributions/sdist.py", line 69, in prepare_distribution_metadata 2025-09-08T16:42:53,449 self.req.prepare_metadata() 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/req/req_install.py", line 581, in prepare_metadata 2025-09-08T16:42:53,449 self.metadata_directory = generate_metadata_legacy( 2025-09-08T16:42:53,449 ~~~~~~~~~~~~~~~~~~~~~~~~^ 2025-09-08T16:42:53,449 build_env=self.build_env, 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 ...<3 lines>... 2025-09-08T16:42:53,449 details=details, 2025-09-08T16:42:53,449 ^^^^^^^^^^^^^^^^ 2025-09-08T16:42:53,449 ) 2025-09-08T16:42:53,449 ^ 2025-09-08T16:42:53,449 File "/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata_legacy.py", line 70, in generate_metadata 2025-09-08T16:42:53,449 raise MetadataGenerationFailed(package_details=details) from error 2025-09-08T16:42:53,449 pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed 2025-09-08T16:42:53,470 Removed opendht==1.8.1 from https://files.pythonhosted.org/packages/99/ff/4e77a933075841293345b9b2734b55c7b0693030da5da0b62b3a1311890f/opendht-1.8.1.tar.gz from build tracker '/tmp/pip-build-tracker-hjrzcc49' 2025-09-08T16:42:53,470 Removed build tracker: '/tmp/pip-build-tracker-hjrzcc49'