-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Traceback (most recent call last):
File "C:\Users\kboness\Documents\BemoApiTests\libbb\ton_wallet.py", line 5, in
client.init_tonlib()
~~~~~~~~~~~~~~~~~~^^
File "C:\Users\kboness\Documents\BemoApiTests.venv\Lib\site-packages\ton\sync.py", line 19, in syncified
return loop.run_until_complete(coro)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users\kboness\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 721, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "C:\Users\kboness\Documents\BemoApiTests.venv\Lib\site-packages\ton\client\tonlib_methods.py", line 67, in init_tonlib
wrapper = TonLib(self.loop, self.ls_index, cdll_path, self.verbosity_level, default_timeout=self.default_timeout)
File "C:\Users\kboness\Documents\BemoApiTests.venv\Lib\site-packages\ton\tonlibjson.py", line 92, in init
tonlib = CDLL(cdll_path)
File "C:\Users\kboness\AppData\Local\Programs\Python\Python313\Lib\ctypes_init_.py", line 390, in init
self._handle = _dlopen(self._name, mode)
~~~~~~~^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'C:\Users\kboness\Documents\BemoApiTests.venv\Lib\site-packages\ton\distlib\windows\tonlibjson.amd64.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Exception in tonlibjson.del: Traceback (most recent call last):
File "C:\Users\kboness\Documents\BemoApiTests.venv\Lib\site-packages\ton\tonlibjson.py", line 133, in del
self._tonlib_json_client_destroy(self._client)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TonLib' object has no attribute '_tonlib_json_client_destroy'
Exception ignored in: <function TonLib.del at 0x000001A621C00F40>
Traceback (most recent call last):
File "C:\Users\kboness\Documents\BemoApiTests.venv\Lib\site-packages\ton\tonlibjson.py", line 136, in del
RuntimeError: Error in tonlibjson.del: 'TonLib' object has no attribute '_tonlib_json_client_destroy'
This error don't give run code:
`from ton.sync import TonlibClient
client = TonlibClient()
TonlibClient.enable_unaudited_binaries()
client.init_tonlib()
wallet = client.create_wallet()
print('Wallet address:', wallet.address)
print('Seed:', wallet.export())`