eschwartz /tmp/unrardll $ ./.venv/bin/python setup.py test
running test
running build
running build_py
copying src/unrardll/__init__.py -> build/lib.linux-x86_64-cpython-311/unrardll
running build_ext
Modules/gcmodule.c:113: gc_decref: Assertion "gc_get_refs(g) > 0" failed: refcount is too small
Enable tracemalloc to get the memory block allocation traceback
object address : 0x556e471ffa20
object refcount : 3
object type : 0x7f0ea7d89700
object type name: type
object repr : <class 'unrar.UNRARError'>
Fatal Python error: _PyObject_AssertFailed: _PyObject_AssertFailed
Python runtime state: initialized
Current thread 0x00007f0ea7ebe740 (most recent call first):
Garbage-collecting
File "/usr/lib/python3.11/collections/__init__.py", line 436 in namedtuple
File "/tmp/unrardll/build/lib.linux-x86_64-cpython-311/unrardll/__init__.py", line 16 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "/tmp/unrardll/test/test_basic.py", line 13 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1147 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1176 in _find_and_load
File "<frozen importlib._bootstrap>", line 1204 in _gcd_import
File "/usr/lib/python3.11/importlib/__init__.py", line 126 in import_module
File "/tmp/unrardll/setup.py", line 22 in find_tests
File "/tmp/unrardll/setup.py", line 54 in run
File "/tmp/unrardll/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988 in run_command
File "/tmp/unrardll/.venv/lib/python3.11/site-packages/setuptools/dist.py", line 963 in run_command
File "/tmp/unrardll/.venv/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969 in run_commands
File "/tmp/unrardll/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201 in run_commands
File "/tmp/unrardll/.venv/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185 in setup
File "/tmp/unrardll/.venv/lib/python3.11/site-packages/setuptools/__init__.py", line 103 in setup
File "/tmp/unrardll/setup.py", line 86 in <module>
Extension modules: unrardll.unrar (total: 1)
Aborted (core dumped)