Comments (3)
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')
from pytonlib.
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
from pytonlib.
That is great, I'm looking forward to the update π
Thank you for your development :)
from pytonlib.
Related Issues (20)
- AttributeError: 'TLObject' object has no attribute 'config_info' HOT 1
- AssertionError: source must be specified HOT 1
- Wallet alt-coin HOT 1
- nft transfer WalletInterface.cpp error HOT 1
- Is there a Testnet? HOT 1
- can't install in python 3.11
- SxSky
- Apple M1 HOT 2
- ΠΠ°ΠΊ ΡΠΎΠ±ΡΠ°ΡΡ libtonlibjson Π² windows? HOT 1
- [SxSky}
- Init wallet? HOT 1
- Error in tonlibjson.__del__: 'TonLib' object has no attribute '_tonlib_json_client_destroy' HOT 7
- [Solved] DANGEROUS_TRANSACTION: Transfer to uninited wallet / ACCOUNT_TYPE_UNKNOWN HOT 2
- I can't use it on the apple mac arm chip HOT 1
- ACCOUNT_TYPE_UNKNOWN
- How to connect a wallet using a QR code?
- timeout
- Great work! But how to use it?
- How to swap tokens? (Buy and sell tokens)
- Platform could not be identified OR illegal instructions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytonlib.