Closed lorrod closed 2 years ago
The issue was caused by incorrect rights to the keystore folder.
Make sure the specified folder for keystore have 777 rights
client = TonlibClient(asyncio.get_event_loop(), keystore='/Keystore')
This method caused an error
client.init_tonlib()
Error log:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/ton/ton/sync.py", line 18, in syncified return loop.run_until_complete(coro) File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/ton/ton/client.py", line 71, in init_tonlib self.config_info = r.config_info AttributeError: 'TLObject' object has no attribute 'config_info'
There will be a big library update by this evening and VERSIONS BELOW 0.14 WILL NOT BE COMPATIBLE, so I would advise you to postpone development.
But the specified problem will simply be hidden for ease of use, at the moment there is a problem with KeystoreInMemory in libtonlibjson. Because of this, when initializing the TonlibClient class, you must specify the keystore parameter, where the value is the path to the folder with 777 rights (I don't know which ones are necessary, but this is how 😙 works). It will store the keys to the wallets
That is great, I'm looking forward to the update 👌 Thank you for your development :)
This method caused an error
Error log: