toncenter / pytonlib

Python SDK for TON via tonlib
GNU General Public License v3.0
80 stars 21 forks source link

RuntimeError: Error in tonlibjson.__del__: 'TonLib' object has no attribute '_tonlib_json_client_destroy' #38

Open iQiexie opened 1 year ago

iQiexie commented 1 year ago

When I'm trying to initialize tonlib, I get this error: RuntimeError: Error in tonlibjson.__del__: 'TonLib' object has no attribute '_tonlib_json_client_destroy'

No matter the tonlibjson, whether I allow unaudited binaries or not (specifying cdll_path) I get this error. I've installed already OpenSSL. I'm using Windows 64 bit with 32bit python environment

OpenSSL version:

PS C:\Users\user> openssl
OpenSSL> version
OpenSSL 1.1.1t  7 Feb 2023

Update: Same thing on linux

netbriler commented 1 year ago

Hey, I also have this error. The issue was in debian version.

FROM python:3.11.4-slim-bullseye

this docker image is working