Coder Social home page Coder Social logo

Comments (3)

lorrod avatar lorrod commented on July 21, 2024 1

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.

psylopunk avatar psylopunk commented on July 21, 2024

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.

lorrod avatar lorrod commented on July 21, 2024

That is great, I'm looking forward to the update πŸ‘Œ
Thank you for your development :)

from pytonlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.