-
Notifications
You must be signed in to change notification settings - Fork 734
Can't connect to another indy ledger with demo #2225
Comments
Hi, You can try to delete the file at As I see current demo scripts it does not support genesis_url yet. |
@krgko Thank you, It works. I really appreciate it. --------------------------------------- log --------------------------------------- |
Hi @steven0301, The problem should be a version of requirements.txt out of date. You can go to |
I've been stuck with this issue for two hours and never realised that the library was really this old. FYI: After changing |
Hi,
I'm testing indy python demos (indy-sdk/vcx/wrappers/python3/demo) and I have some questions.
I wanted to test whether "alice", which is using vcx, can connect to another indy ledger which has its own transaction file.
I ran dummy cloud agent without indy pool and after that I ran ledger of von-network on local computer
I tried to change docker.txn file and then executed "python3 alice.py", followed by error messages below.
Could you tell me on which point I made a mistake?
Or, are there any options like genesis_url so that I can use it instead of using genesis transaction file?
Thank you.
--------------------------------------------------- messages ---------------------------------------------------
#8 Initialize libvcx with new configuration
Traceback (most recent call last):
File "alice.py", line 138, in
loop.run_until_complete(main())
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
return future.result()
File "alice.py", line 29, in main
await init()
File "alice.py", line 78, in init
await vcx_init_with_config(config)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/vcx/api/vcx_init.py", line 68, in vcx_init_with_config
vcx_init_with_config.cb)
vcx.error.VcxError: (<ErrorCode.CreatePoolConfigParameters: 1025>, {'backtrace': '', 'cause': 'Error: Invalid library state\n Caused by: Ledger merkle tree is not acceptable for current tree.\n\n', 'error': 'Connection to Pool Ledger.', 'message': 'Error: Connection to Pool Ledger.\n Caused by: Can not open Pool Ledger\n Caused by: \nindyrs::IndyError: Geneses transactions are invalid.\n Caused by: Error: Invalid library state\n Caused by: Ledger merkle tree is not acceptable for current tree.\n\n\n'})
The text was updated successfully, but these errors were encountered: