You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can create channels, join peers, operate chaincodes (updates also fails, probably due to a version problem in cc_version param).
The initial query of the docs works fine:
I
nit client with profile=test/fixtures/network.json
create org with name=orderer.example.com
create org with name=org1.example.com
create org with name=org2.example.com
create ca with name=ca-org1
create ca with name=ca-org2
Import orderers = dict_keys(['orderer.example.com'])
Import peers = dict_keys(['peer0.org1.example.com', 'peer1.org1.example.com', 'peer0.org2.example.com', 'peer1.org2.example.com'])
cc name ejemplo1, version v1.2, path github.com/example_cc
cc name example_cc, version v1.0, path github.com/example_cc
cc name example_cc, version v1.1, path github.com/example_cc
cc name example_cc, version v1.2, path github.com/example_cc
[chaincodes {
name: "ejemplo1"
version: "v1.2"
path: "github.com/example_cc"
id: ")\235\211\0037\3147\020\327\017x\031w*\375\s\354[\3441[h\266'j\212g\323.\353\273"
}
chaincodes {
name: "example_cc"
version: "v1.0"
path: "github.com/example_cc"
id: "\240\266\363;\024A\266\025;\021\272\340\270\331\252\220\215\034\226\236\002\276\316t\202\272\035\221,^}\237"
}
chaincodes {
name: "example_cc"
version: "v1.1"
path: "github.com/example_cc"
id: "p\255G\260),z\364\024\306\347\216t\260\033\026\005\215k\325\304^\214\022\251F\364\345\333\211g\n"
}
chaincodes {
name: "example_cc"
version: "v1.2"
path: "github.com/example_cc"
id: "\245\220\377\300\371\016\205f\373\272\230\270\344\225\257\031-\006x\216\342\006*_\341k0M\203)\334\004"
}
]
channel id businesschannel
channel id businesschannel2
channels {
channel_id: "businesschannel"
}
channels {
channel_id: "businesschannel2"
}
But after this, the querys of the examples didn´t work anymore.
None
Traceback (most recent call last):
File "/home/xxxxx/Escritorio/fabric_python/fabric-sdk-py/query.py", line 36, in
response = loop.run_until_complete(cli.query_info(
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/xxxxx/Escritorio/fabric_python/fabric-sdk-py/hfc/fabric/client.py", line 1406, in query_info
responses, proposal, header = channel.query_info(tx_context,
AttributeError: 'NoneType' object has no attribute 'query_info'
I think the problem is that it cant found the channel by name, but the name is correct and the channel appear in the first query response.
Thanks in advance for the help.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to make a query, following the tutorial of https://fabric-sdk-py.readthedocs.io/en/latest/tutorial.html#query-informations
I can create channels, join peers, operate chaincodes (updates also fails, probably due to a version problem in cc_version param).
The initial query of the docs works fine:
I
But after this, the querys of the examples didn´t work anymore.
I think the problem is that it cant found the channel by name, but the name is correct and the channel appear in the first query response.
Thanks in advance for the help.
The text was updated successfully, but these errors were encountered: