markparz (Thu, 02 Feb 2017 23:30:17 GMT):
Discuss Python SDK

grapebaba (Fri, 03 Feb 2017 01:17:50 GMT):
Has joined the channel.

salmanbaset (Fri, 03 Feb 2017 01:20:20 GMT):
Has joined the channel.

didnotgetagoodname (Fri, 03 Feb 2017 03:58:33 GMT):
Has joined the channel.

rock_martin (Fri, 03 Feb 2017 05:29:18 GMT):
Has joined the channel.

grapebaba (Fri, 03 Feb 2017 10:16:36 GMT):
https://gerrit.hyperledger.org/r/#/c/5501/1

silliman (Fri, 03 Feb 2017 13:57:48 GMT):
Has joined the channel.

gormand (Fri, 03 Feb 2017 14:44:04 GMT):
Has joined the channel.

latitiah (Fri, 03 Feb 2017 15:56:11 GMT):
Has joined the channel.

david_dornseifer (Fri, 03 Feb 2017 18:17:21 GMT):
Has joined the channel.

karkal (Fri, 03 Feb 2017 19:56:20 GMT):
Has joined the channel.

charlesbrandontheis (Fri, 03 Feb 2017 20:22:56 GMT):
Has joined the channel.

ericmvaughn (Fri, 03 Feb 2017 22:06:27 GMT):
Has joined the channel.

genggjh (Sat, 04 Feb 2017 03:45:24 GMT):
Has joined the channel.

schwentker2 (Sun, 05 Feb 2017 15:50:36 GMT):
Has joined the channel.

kkpatel (Sun, 05 Feb 2017 18:04:54 GMT):
Has joined the channel.

bryanhuang (Mon, 06 Feb 2017 04:34:59 GMT):
Has joined the channel.

baohua (Mon, 06 Feb 2017 06:09:29 GMT):
Has joined the channel.

baohua (Mon, 06 Feb 2017 06:11:25 GMT):
Thanks to help create the channel, @markparz

pd93 (Mon, 06 Feb 2017 09:28:02 GMT):
Has joined the channel.

david.peyronnin (Mon, 06 Feb 2017 09:53:45 GMT):
Has joined the channel.

weeds (Mon, 06 Feb 2017 20:28:33 GMT):
Has joined the channel.

markparz (Tue, 07 Feb 2017 00:43:46 GMT):
you bet @baohua

baohua (Tue, 07 Feb 2017 01:20:59 GMT):
@markparz Could u help add me and grapebaba (Existing project maintainers) inside the owners of this channel. Will use this channel for our project discussions.

david_dornseifer (Tue, 07 Feb 2017 02:57:54 GMT):
Hi just wondering, can everybody contribute to the sdk via pull requests on gerrit?

david_dornseifer (Tue, 07 Feb 2017 02:59:19 GMT):
or better via commit / reviews on gerrit ;)

grapebaba (Tue, 07 Feb 2017 03:12:51 GMT):
@david_dornseifer actually pull requests is a notion in github, you can do same thing using gerrit

grapebaba (Tue, 07 Feb 2017 03:13:04 GMT):
welcome to contribute

chadgates (Tue, 07 Feb 2017 06:57:42 GMT):
Has joined the channel.

mbaizan (Tue, 07 Feb 2017 07:50:41 GMT):
Has joined the channel.

gatakka (Tue, 07 Feb 2017 09:29:03 GMT):
Has joined the channel.

cbf (Tue, 07 Feb 2017 15:15:55 GMT):
Has joined the channel.

mihaig (Tue, 07 Feb 2017 15:18:56 GMT):
Has joined the channel.

markparz (Tue, 07 Feb 2017 15:30:22 GMT):
baohua

markparz (Tue, 07 Feb 2017 15:34:08 GMT):
grapebaba

markparz (Tue, 07 Feb 2017 15:34:18 GMT):
@baohua done

robear (Tue, 07 Feb 2017 16:32:40 GMT):
Has joined the channel.

beauson45 (Tue, 07 Feb 2017 21:00:34 GMT):
Has joined the channel.

baohua (Wed, 08 Feb 2017 01:25:05 GMT):
Thanks markparz!

baohua (Wed, 08 Feb 2017 01:26:43 GMT):
fabric-sdk-python

baohua (Wed, 08 Feb 2017 01:40:40 GMT):
Room name changed to: fabric-sdk-py by baohua

baohua (Wed, 08 Feb 2017 01:40:50 GMT):
fabric-sdk-py

baohua (Wed, 08 Feb 2017 01:41:12 GMT):
Python SDK for Hyperledger Fabric

baohua (Wed, 08 Feb 2017 02:07:51 GMT):
User User_1 added by baohua.

baohua (Wed, 08 Feb 2017 02:08:12 GMT):
Private Group

baohua (Wed, 08 Feb 2017 02:09:31 GMT):
Channel

baohua (Wed, 08 Feb 2017 02:09:45 GMT):
User User_2 added by baohua.

baohua (Wed, 08 Feb 2017 02:10:01 GMT):
User User_3 added by baohua.

ckeyer (Wed, 08 Feb 2017 02:10:23 GMT):
:smiley:

baohua (Wed, 08 Feb 2017 02:11:55 GMT):
User User_4 added by baohua.

baohua (Wed, 08 Feb 2017 02:12:27 GMT):
User User_5 added by baohua.

tcz001 (Wed, 08 Feb 2017 02:13:56 GMT):
thanks

baohua (Wed, 08 Feb 2017 02:14:22 GMT):
not sure if network problem, keep loading sometime

baohua (Wed, 08 Feb 2017 02:25:40 GMT):
@all Dear, we will have the weekly meeting this Friday, pls feel free to update the agenda and attendee list. Thanks!

baohua (Wed, 08 Feb 2017 02:26:00 GMT):
https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170210.md

bryanhuang (Wed, 08 Feb 2017 02:26:05 GMT):
got it

baohua (Wed, 08 Feb 2017 02:26:48 GMT):
yeap, if you can attend, pls add ur name at the attendee list, thanks!

markparz (Thu, 09 Feb 2017 01:57:32 GMT):
hi @baohua I just sent an email out and could really use your help with some documentation on the python-sdk if possible.... when you get a chance please check out the email (hope you are subscribed) :grinning:

baohua (Thu, 09 Feb 2017 01:59:06 GMT):
sure, which mail-list?

markparz (Thu, 09 Feb 2017 02:18:41 GMT):
hyperledger-fabric@lists

lafenicecc (Thu, 09 Feb 2017 06:12:04 GMT):
https://gerrit.hyperledger.org/r/#/c/5769/

baohua (Fri, 10 Feb 2017 02:37:02 GMT):
@tcz001 @SeeGo will u attend today's meeting? There are issues related to u. Thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170210.md

SeeGo (Fri, 10 Feb 2017 02:40:45 GMT):
i am on line now.

baohua (Fri, 10 Feb 2017 02:52:53 GMT):
thanks

baohua (Fri, 10 Feb 2017 02:54:30 GMT):
@all The meeting will start in 5 mins. Pls check the agenda and attendees, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170210.md

grapebaba (Fri, 10 Feb 2017 02:55:57 GMT):
:raised_hand:

baohua (Fri, 10 Feb 2017 02:57:25 GMT):
:grinning:

lafenicecc (Fri, 10 Feb 2017 02:59:37 GMT):
:hand_splayed:

baohua (Fri, 10 Feb 2017 02:59:39 GMT):
OK, who's online, pls hands up

SeeGo (Fri, 10 Feb 2017 02:59:57 GMT):
:raised_hand:

baohua (Fri, 10 Feb 2017 03:00:02 GMT):
OK

baohua (Fri, 10 Feb 2017 03:00:05 GMT):
=== Meeting Start ===

baohua (Fri, 10 Feb 2017 03:00:18 GMT):
Today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170210.md

baohua (Fri, 10 Feb 2017 03:00:35 GMT):
Item 1: Jira board status. There are several old tasks need to be clear soon.

baohua (Fri, 10 Feb 2017 03:00:51 GMT):
I'm checking the jira board, pls visit https://jira.hyperledger.org/browse/FAB-737?jql=project%20%3D%20FAB%20AND%20status%20in%20(%22In%20Progress%22%2C%20%22To%20Do%22%2C%20%22In%20Review%22)%20AND%20component%20%3D%20fabric-sdk-py%20ORDER%20BY%20created%20ASC%2C%20Rank%20ASC

baohua (Fri, 10 Feb 2017 03:01:05 GMT):
There are several old issues, need to check the status.

baohua (Fri, 10 Feb 2017 03:01:24 GMT):
@bryanhuang for https://jira.hyperledger.org/browse/FAB-697

baohua (Fri, 10 Feb 2017 03:01:34 GMT):
How's the work going?

baohua (Fri, 10 Feb 2017 03:02:46 GMT):
Aha, seems yan is not online.

bryanhuang (Fri, 10 Feb 2017 03:02:57 GMT):
:raised_hand:

bryanhuang (Fri, 10 Feb 2017 03:03:01 GMT):
Im late

baohua (Fri, 10 Feb 2017 03:03:05 GMT):
haha

grapebaba (Fri, 10 Feb 2017 03:03:20 GMT):
:grinning:

baohua (Fri, 10 Feb 2017 03:03:25 GMT):
So how's going with https://jira.hyperledger.org/browse/FAB-697 and https://jira.hyperledger.org/browse/FAB-738?

baohua (Fri, 10 Feb 2017 03:04:24 GMT):
@bryanhuang ?

bryanhuang (Fri, 10 Feb 2017 03:05:11 GMT):
those items need be refined :)

grapebaba (Fri, 10 Feb 2017 03:05:16 GMT):
这个登录做完了

baohua (Fri, 10 Feb 2017 03:05:25 GMT):
Thanks!

bryanhuang (Fri, 10 Feb 2017 03:05:26 GMT):
its for the 0.6

grapebaba (Fri, 10 Feb 2017 03:05:31 GMT):
其他的需要针对新的CA做

bryanhuang (Fri, 10 Feb 2017 03:05:42 GMT):
yes

baohua (Fri, 10 Feb 2017 03:05:45 GMT):
and for each task assigner, pls remember to update the status in time.

bryanhuang (Fri, 10 Feb 2017 03:05:53 GMT):
sure

bryanhuang (Fri, 10 Feb 2017 03:06:00 GMT):
:grin:

baohua (Fri, 10 Feb 2017 03:06:26 GMT):
Pls help drive the work, and make appropriate change if necessary, e.g., update task aims and progress, thanks!

baohua (Fri, 10 Feb 2017 03:06:37 GMT):
:airplane_departure:

baohua (Fri, 10 Feb 2017 03:06:40 GMT):
Fan is on the flight, and he is working with https://jira.hyperledger.org/browse/FAB-737, hope we can finish it soon.

baohua (Fri, 10 Feb 2017 03:06:59 GMT):
For https://jira.hyperledger.org/browse/FAB-801, @SeeGo

baohua (Fri, 10 Feb 2017 03:07:12 GMT):
Could u help tell the progress?

SeeGo (Fri, 10 Feb 2017 03:07:34 GMT):
on going. Most code will be reviewed next week

baohua (Fri, 10 Feb 2017 03:07:54 GMT):
There are several sub-tasks for it

SeeGo (Fri, 10 Feb 2017 03:08:34 GMT):
yes

baohua (Fri, 10 Feb 2017 03:08:37 GMT):
Do you need more assigners?

baohua (Fri, 10 Feb 2017 03:09:16 GMT):
As the main task owner, pls help drive and call for volunteers if needed.

SeeGo (Fri, 10 Feb 2017 03:09:24 GMT):
not now.thanks.

SeeGo (Fri, 10 Feb 2017 03:09:50 GMT):
ok

baohua (Fri, 10 Feb 2017 03:10:00 GMT):
OK, pls feel free to tell if u need help to solve it in future, thanks and look forward to seeing the progress. :)

SeeGo (Fri, 10 Feb 2017 03:10:16 GMT):
ok .

baohua (Fri, 10 Feb 2017 03:10:27 GMT):
OK. any other questions on the jira task board? Let's use it more this year for task tracking.

baohua (Fri, 10 Feb 2017 03:10:44 GMT):
OK

baohua (Fri, 10 Feb 2017 03:10:47 GMT):
Item 2: Patchset for review.

baohua (Fri, 10 Feb 2017 03:10:57 GMT):
https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 10 Feb 2017 03:11:25 GMT):
Everyone, pls help review for each new patchset. +1, -1 or any comments are welcome.

baohua (Fri, 10 Feb 2017 03:12:02 GMT):
We need to enhance the review process and appreciate for every reviewer. Thanks!

baohua (Fri, 10 Feb 2017 03:12:27 GMT):
Any comment on this?

baohua (Fri, 10 Feb 2017 03:13:16 GMT):
OK. item 3: MVP design and implementation progress

baohua (Fri, 10 Feb 2017 03:13:39 GMT):
@lafenicecc @latitiah Would u like to update the status?

lafenicecc (Fri, 10 Feb 2017 03:13:45 GMT):
ok

lafenicecc (Fri, 10 Feb 2017 03:14:13 GMT):
there are already two patchsets merged, mainly for create_deploy_proposal

lafenicecc (Fri, 10 Feb 2017 03:14:20 GMT):
to do through all the process

lafenicecc (Fri, 10 Feb 2017 03:14:20 GMT):
to go through all the processes

lafenicecc (Fri, 10 Feb 2017 03:14:30 GMT):
there are still some missing pieces

lafenicecc (Fri, 10 Feb 2017 03:14:43 GMT):
for example, msp and identity

lafenicecc (Fri, 10 Feb 2017 03:15:04 GMT):
we might also need to implement a User class

lafenicecc (Fri, 10 Feb 2017 03:15:19 GMT):
Can anyone help with that?

baohua (Fri, 10 Feb 2017 03:15:34 GMT):
https://jira.hyperledger.org/browse/FAB-1637

baohua (Fri, 10 Feb 2017 03:16:02 GMT):
U need to splits the task and then call for volunteers to help :)

lafenicecc (Fri, 10 Feb 2017 03:16:23 GMT):
i noticed @grapebaba has picked up the send_transaction_proposal subtask

lafenicecc (Fri, 10 Feb 2017 03:16:30 GMT):
any progress or idea?

lafenicecc (Fri, 10 Feb 2017 03:17:36 GMT):
ok. i'll call for volunteers to help with those subtasks

baohua (Fri, 10 Feb 2017 03:17:43 GMT):
@grapebaba online?

grapebaba (Fri, 10 Feb 2017 03:17:51 GMT):
yes

grapebaba (Fri, 10 Feb 2017 03:18:04 GMT):
doing now

grapebaba (Fri, 10 Feb 2017 03:18:14 GMT):
send_transaction_proposal

lafenicecc (Fri, 10 Feb 2017 03:18:21 GMT):
:thumbsup:

grapebaba (Fri, 10 Feb 2017 03:19:05 GMT):
as it need call multiple peers

baohua (Fri, 10 Feb 2017 03:19:06 GMT):
Thanks, this task is of the highest priority. Everyone is encouraged to help on it. Pls feel free to add ur name at the task descriptions or create new sub-tasks. @all

grapebaba (Fri, 10 Feb 2017 03:19:24 GMT):
so it is better to use rx extension

baohua (Fri, 10 Feb 2017 03:19:29 GMT):
@lafenicecc pls help drive this and keep sync with the team

grapebaba (Fri, 10 Feb 2017 03:19:34 GMT):
for parallel

baohua (Fri, 10 Feb 2017 03:19:53 GMT):
Yeap

baohua (Fri, 10 Feb 2017 03:20:10 GMT):
:bulb:

grapebaba (Fri, 10 Feb 2017 03:20:18 GMT):
i am doing investigation

baohua (Fri, 10 Feb 2017 03:20:55 GMT):
nice to know that :)

grapebaba (Fri, 10 Feb 2017 03:21:14 GMT):
test is more difficult, however i find a correct way

baohua (Fri, 10 Feb 2017 03:21:17 GMT):
@genggjh jianhua, i also would like to know if your team can help on this task, thanks!

baohua (Fri, 10 Feb 2017 03:21:29 GMT):
OK

baohua (Fri, 10 Feb 2017 03:22:00 GMT):
item 4: sdk spec has some piece out-of-date, pls also see the fabric-sdk-node for reference.

baohua (Fri, 10 Feb 2017 03:22:17 GMT):
especially there's a `examples` dir, as good starting place.

baohua (Fri, 10 Feb 2017 03:23:55 GMT):
bad network....

baohua (Fri, 10 Feb 2017 03:24:02 GMT):
i got lost just ..

lafenicecc (Fri, 10 Feb 2017 03:24:06 GMT):
haha

baohua (Fri, 10 Feb 2017 03:24:23 GMT):
Any other issue to discuss today?

genggjh (Fri, 10 Feb 2017 03:25:03 GMT):
which one task you mentioned? @baohua

baohua (Fri, 10 Feb 2017 03:25:23 GMT):
Aha, the mvp work https://jira.hyperledger.org/browse/FAB-1637

baohua (Fri, 10 Feb 2017 03:25:34 GMT):
This is of the highest pri.

genggjh (Fri, 10 Feb 2017 03:26:53 GMT):
ok, I will figure out. will let you know later

baohua (Fri, 10 Feb 2017 03:26:59 GMT):
Thanks, jianhua!

baohua (Fri, 10 Feb 2017 03:27:08 GMT):
Ok, if no other issue, will end

baohua (Fri, 10 Feb 2017 03:27:16 GMT):
Have a nice weekend and happy latern festival!

baohua (Fri, 10 Feb 2017 03:27:16 GMT):
Have a nice weekend and happy lantern festival!

baohua (Fri, 10 Feb 2017 03:27:32 GMT):
=== Meeting End ===

latitiah (Fri, 10 Feb 2017 03:44:50 GMT):
Hi all! My apologies for missing the scrum meeting. I haven't forgotten. I have been working on the MVP issue (send_transaction_proposal). I've been delayed, but hope to have code pushed within the next week.

lafenicecc (Fri, 10 Feb 2017 04:02:01 GMT):
@latitiah Great! Please coordinate with @grapebaba , just in case of conflict

grapebaba (Fri, 10 Feb 2017 04:42:25 GMT):
https://gerrit.hyperledger.org/r/#/c/5827/

genggjh (Fri, 10 Feb 2017 07:27:33 GMT):
@baohua, I am reading the py sdk code, looks like the create_transaction_proposal does still not implemented yet, the related task had been marked done in the early of today. So, did i missing something?

baohua (Fri, 10 Feb 2017 07:28:17 GMT):
@genggjh can u help provide the task link?

genggjh (Fri, 10 Feb 2017 07:28:36 GMT):
https://jira.hyperledger.org/browse/FAB-1767

baohua (Fri, 10 Feb 2017 07:28:44 GMT):
let me see

baohua (Fri, 10 Feb 2017 07:29:19 GMT):
aha, i thought it was for create a deployment proposal? @latitiah

baohua (Fri, 10 Feb 2017 07:29:41 GMT):
@genggjh how do u think?

lafenicecc (Fri, 10 Feb 2017 07:33:03 GMT):
I thought create_deploy_proposal and create_transaction_proposal should be two subtasks?

baohua (Fri, 10 Feb 2017 07:34:07 GMT):
aha, then my mistake to close it. I will reopen.

lafenicecc (Fri, 10 Feb 2017 07:34:15 GMT):
And even create_deploy_proposal is not 100% done yet. "sign_proposal" is not done yet

lafenicecc (Fri, 10 Feb 2017 07:34:15 GMT):
And even create_deploy_proposal is not 100% done yet. "sign_proposal" is not done

baohua (Fri, 10 Feb 2017 07:34:45 GMT):
sure, re-open now. :)

baohua (Fri, 10 Feb 2017 07:35:18 GMT):
:rowboat:

genggjh (Fri, 10 Feb 2017 08:07:01 GMT):
ok

grapebaba (Fri, 10 Feb 2017 08:11:05 GMT):
是啊,也在看

grapebaba (Fri, 10 Feb 2017 08:11:33 GMT):
现在必须signed proposal才能send

grapebaba (Fri, 10 Feb 2017 08:12:17 GMT):
who is responsible for sign

baohua (Fri, 10 Feb 2017 08:41:13 GMT):
let's do them in parallel, with creating those apis first.

baohua (Fri, 10 Feb 2017 08:41:30 GMT):
@grapebaba I remember u and fan have done some crypto works?

baohua (Fri, 10 Feb 2017 08:42:10 GMT):
I saw node sdk have a cryptosuite to provide ecdsa and aes

grapebaba (Fri, 10 Feb 2017 08:42:10 GMT):
but i cannot test

baohua (Fri, 10 Feb 2017 08:42:36 GMT):
any problem with test?

grapebaba (Fri, 10 Feb 2017 08:43:12 GMT):
can it allow sending unsigned proposal?

grapebaba (Fri, 10 Feb 2017 08:43:22 GMT):
i suspect not

baohua (Fri, 10 Feb 2017 08:43:58 GMT):
cannot. before sending, we need a sign part.

baohua (Fri, 10 Feb 2017 08:44:43 GMT):
py sdk now already has a api/crypto module, was implemented by u or fan?

grapebaba (Fri, 10 Feb 2017 08:45:09 GMT):
i checked latest code

grapebaba (Fri, 10 Feb 2017 08:45:11 GMT):
node

grapebaba (Fri, 10 Feb 2017 08:45:27 GMT):
seems we should implement msp first

baohua (Fri, 10 Feb 2017 08:46:28 GMT):
yeap, then let's work on the msp part first. would u like to be the task driver :)

grapebaba (Fri, 10 Feb 2017 08:46:54 GMT):
ok

baohua (Fri, 10 Feb 2017 08:47:26 GMT):
thanks, pls help drive the progress. I will also work on it.

grapebaba (Fri, 10 Feb 2017 08:47:54 GMT):
i will submit a structure of sending proposal first, then take msp impl

baohua (Fri, 10 Feb 2017 08:49:14 GMT):
thanks. yes, let's first create those framework, then fill the implementation together.

grapebaba (Fri, 10 Feb 2017 09:34:03 GMT):
https://gerrit.hyperledger.org/r/#/c/5839/1

grapebaba (Fri, 10 Feb 2017 09:34:15 GMT):
a tmp change for sending

grapebaba (Fri, 10 Feb 2017 09:34:27 GMT):
will continue when msp done

baohua (Fri, 10 Feb 2017 13:39:05 GMT):
https://gerrit.hyperledger.org/r/#/c/5837/

baohua (Mon, 13 Feb 2017 04:32:13 GMT):
pls help review: https://gerrit.hyperledger.org/r/5925

baohua (Mon, 13 Feb 2017 04:36:07 GMT):
https://gerrit.hyperledger.org/r/#/c/5927/

grapebaba (Tue, 14 Feb 2017 07:30:45 GMT):
https://gerrit.hyperledger.org/r/#/c/5987/

baohua (Tue, 14 Feb 2017 08:19:30 GMT):
merged :) @grapebaba

baohua (Tue, 14 Feb 2017 08:19:33 GMT):
Thanks!

grapebaba (Tue, 14 Feb 2017 08:29:16 GMT):
:thumbsup:

david_dornseifer (Tue, 14 Feb 2017 18:22:34 GMT):
Hi, what is the idea about the missing tox dependency? you just want to run the tests in the fabric-sdk-py container?

baohua (Wed, 15 Feb 2017 01:37:55 GMT):
@david_dornseifer which dependency is missing? Currently we run the ci tests directly in the ci vm. Thanks!

david_dornseifer (Wed, 15 Feb 2017 01:40:12 GMT):
ok, thx - was just wondering since that tox was not mentioned in the test-requirements and it is missing when you execute the make check outside the container

baohua (Wed, 15 Feb 2017 01:59:14 GMT):
pls have a look at the tox.ini

baohua (Wed, 15 Feb 2017 01:59:31 GMT):
there's some basic dependency description :)

baohua (Thu, 16 Feb 2017 03:11:22 GMT):
@all Dear all, since most of the team is focusing on the MVP implementation this week, will cancel the meeting tmr, let's collaborate online if any issues. Everyone pls help contribute and review the patchsets in time: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py. Thanks!

baohua (Fri, 17 Feb 2017 05:39:24 GMT):
https://gerrit.hyperledger.org/r/#/c/6129/

baohua (Fri, 17 Feb 2017 05:40:27 GMT):
https://gerrit.hyperledger.org/r/#/c/6125/

grapebaba (Fri, 17 Feb 2017 06:00:00 GMT):
https://gerrit.hyperledger.org/r/#/c/5937/

baohua (Fri, 17 Feb 2017 07:33:50 GMT):
https://gerrit.hyperledger.org/r/#/c/6139/

baohua (Mon, 20 Feb 2017 03:46:00 GMT):
https://gerrit.hyperledger.org/r/#/c/6177/

Ying (Tue, 21 Feb 2017 02:10:31 GMT):
Has joined the channel.

lafenicecc (Tue, 21 Feb 2017 07:09:29 GMT):
https://gerrit.hyperledger.org/r/#/c/6145/

baohua (Wed, 22 Feb 2017 13:39:41 GMT):
@all Dear all, we will have weekly meeting this Friday morning, pls help update the agenda and attendee list. Thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170224.md

grapebaba (Thu, 23 Feb 2017 06:55:53 GMT):
https://gerrit.hyperledger.org/r/#/c/6405/

grapebaba (Thu, 23 Feb 2017 06:57:41 GMT):
https://gerrit.hyperledger.org/r/#/c/6405/

latitiah (Thu, 23 Feb 2017 23:34:13 GMT):
Hi all, I will not be able to attend scrum tonight. I'm trying to finish up some behave test implementations, so I'll be focusing on that tonight. (BTW: great job on 6405! I had some minor comments, but I was a little late getting them in before it was merged.) :)

baohua (Fri, 24 Feb 2017 01:06:30 GMT):
@ray here

ray (Fri, 24 Feb 2017 01:06:30 GMT):
Has joined the channel.

baohua (Fri, 24 Feb 2017 01:07:34 GMT):
@latitiah thanks latitiah. since the release is soon, let's keep efficient moving by agile collaboration. small change, and quick evolvement.

baohua (Fri, 24 Feb 2017 02:32:57 GMT):
@rjones here :)

rjones (Fri, 24 Feb 2017 02:32:57 GMT):
Has joined the channel.

ray (Fri, 24 Feb 2017 02:46:40 GMT):
Thx baohua

baohua (Fri, 24 Feb 2017 02:59:33 GMT):
will start, pls hands up

grapebaba (Fri, 24 Feb 2017 02:59:49 GMT):
:raised_hand:

ray (Fri, 24 Feb 2017 03:00:30 GMT):
:raised_back_of_hand_tone2:

SeeGo (Fri, 24 Feb 2017 03:01:39 GMT):
:raised_hand:

baohua (Fri, 24 Feb 2017 03:01:49 GMT):
ok, meeting start

baohua (Fri, 24 Feb 2017 03:02:12 GMT):
today's agenda is https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170224.md

baohua (Fri, 24 Feb 2017 03:02:31 GMT):
first, we have new volunteer @ray, welcome, would u like to introduce urself?

ray (Fri, 24 Feb 2017 03:03:26 GMT):
Hi all, this is Ray from Qulian Tech, hope I can make contribution to the python SDK dev!

baohua (Fri, 24 Feb 2017 03:04:05 GMT):
welcome!

lafenicecc (Fri, 24 Feb 2017 03:04:40 GMT):
welcome!

baohua (Fri, 24 Feb 2017 03:04:41 GMT):
OK, item#1: jira board: https://jira.hyperledger.org/secure/RapidBoard.jspa?rapidView=85.

baohua (Fri, 24 Feb 2017 03:05:30 GMT):
@SeeGo any update on https://jira.hyperledger.org/browse/FAB-801)?

SeeGo (Fri, 24 Feb 2017 03:05:38 GMT):
yes

baohua (Fri, 24 Feb 2017 03:05:39 GMT):
@huang

SeeGo (Fri, 24 Feb 2017 03:06:46 GMT):
The the some func of client is updated by author of other class.

baohua (Fri, 24 Feb 2017 03:07:14 GMT):
so it's fixed? saw a done mark

SeeGo (Fri, 24 Feb 2017 03:07:20 GMT):
yes

baohua (Fri, 24 Feb 2017 03:07:36 GMT):
thanks for that!

SeeGo (Fri, 24 Feb 2017 03:07:55 GMT):
i am available now, can pick up other task.

baohua (Fri, 24 Feb 2017 03:08:19 GMT):
thanks, yan, pls pick the new tasks, especially for the MVP. And we do not have yan and fan today, so will ping them offline.

baohua (Fri, 24 Feb 2017 03:08:27 GMT):
item #2: patchsets: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

SeeGo (Fri, 24 Feb 2017 03:08:31 GMT):
ok

baohua (Fri, 24 Feb 2017 03:08:40 GMT):
We made great progress in last week!

baohua (Fri, 24 Feb 2017 03:08:59 GMT):
9 patchsets!

baohua (Fri, 24 Feb 2017 03:09:14 GMT):
everyone pls help review for new patchset

baohua (Fri, 24 Feb 2017 03:09:28 GMT):
we appreciate any kind of comment and contribution!

baohua (Fri, 24 Feb 2017 03:09:57 GMT):
item #3: MVP design. any update @lafenicecc

lafenicecc (Fri, 24 Feb 2017 03:10:11 GMT):
Hi

lafenicecc (Fri, 24 Feb 2017 03:10:32 GMT):
In the last 2 weeks, we did some ... inevitable works to carry the MVP work forward

lafenicecc (Fri, 24 Feb 2017 03:10:51 GMT):
for example, the user module, identity and msp module, crypto sign...

lafenicecc (Fri, 24 Feb 2017 03:10:59 GMT):
Thanks for all your help!

lafenicecc (Fri, 24 Feb 2017 03:11:34 GMT):
Now we have removed some of the obstacles, but still a lot ahead

lafenicecc (Fri, 24 Feb 2017 03:12:19 GMT):
@grapebaba any plans or comments about the current work?

grapebaba (Fri, 24 Feb 2017 03:12:44 GMT):
for the e2e test

grapebaba (Fri, 24 Feb 2017 03:13:17 GMT):
we still need preventmalleability feature and complete MSP feature

baohua (Fri, 24 Feb 2017 03:13:38 GMT):
@tcz001 said to help on this feature

baohua (Fri, 24 Feb 2017 03:13:52 GMT):
are we blocked on that now, to finish the MVP?

grapebaba (Fri, 24 Feb 2017 03:14:13 GMT):
i think so

lafenicecc (Fri, 24 Feb 2017 03:14:30 GMT):
why blocked by preventmalleability?

baohua (Fri, 24 Feb 2017 03:14:40 GMT):
assume the users are not doing evil first?

grapebaba (Fri, 24 Feb 2017 03:15:06 GMT):
i am not quite sure

grapebaba (Fri, 24 Feb 2017 03:15:24 GMT):
but i saw the code will change the signature

grapebaba (Fri, 24 Feb 2017 03:15:37 GMT):
in node SDK

grapebaba (Fri, 24 Feb 2017 03:15:54 GMT):
i am not sure if it will fail in server side

baohua (Fri, 24 Feb 2017 03:16:21 GMT):
IMHO, i guess we can ignore the preventmalleability feature for the e2e currently, as it's only for security. @grapebaba can u help make sure the code change in node sdk? whether it's matter to the e2e test?

grapebaba (Fri, 24 Feb 2017 03:16:25 GMT):
another we missing signing_identity serialize() method

lafenicecc (Fri, 24 Feb 2017 03:17:23 GMT):
@SeeGo can u help look at this method?

lafenicecc (Fri, 24 Feb 2017 03:18:14 GMT):
is it the only block before we can send the proposal and get response? @grapebaba

baohua (Fri, 24 Feb 2017 03:18:46 GMT):
i suppose @SeeGo will be back later :):cat:

grapebaba (Fri, 24 Feb 2017 03:19:36 GMT):
seems

baohua (Fri, 24 Feb 2017 03:20:03 GMT):
@ray feel free to pick tasks, too. now we are finishing the MVP with e2e testing :)

baohua (Fri, 24 Feb 2017 03:20:20 GMT):
OK, any more comments on the MVP work?

lafenicecc (Fri, 24 Feb 2017 03:20:32 GMT):
yea, i can help explain the work, feel free to ask me anything anytime

baohua (Fri, 24 Feb 2017 03:20:33 GMT):
:dromedary_camel:

ray (Fri, 24 Feb 2017 03:20:53 GMT):
Thanks @lafenicecc :-)

baohua (Fri, 24 Feb 2017 03:20:56 GMT):
ok, cool~

baohua (Fri, 24 Feb 2017 03:21:11 GMT):
SDK spec can be found at ttps://docs.google.com/document/d/1R5RtIBMW9fZpli37E5Li5_Q9ve3BnQ4q3gWmGZj6Sv4

baohua (Fri, 24 Feb 2017 03:21:33 GMT):
although some minor differ from that. can also look at the node sdk as reference.

baohua (Fri, 24 Feb 2017 03:21:53 GMT):
but we can be flexible to adopt the pythonic way :snake:

ray (Fri, 24 Feb 2017 03:22:25 GMT):
Thanks, will do some investigation first. I love :snake:

baohua (Fri, 24 Feb 2017 03:22:31 GMT):
thanks

baohua (Fri, 24 Feb 2017 03:22:40 GMT):
item #5: hackathon!

baohua (Fri, 24 Feb 2017 03:22:54 GMT):
pls help share and also encourage to attend as players: http://szqy.ffan.com/hack/Hack/

lafenicecc (Fri, 24 Feb 2017 03:23:45 GMT):
will go

baohua (Fri, 24 Feb 2017 03:24:06 GMT):
I was told the food standard is 5+ stars, over 1000Y/day!:fried_shrimp::taco::stew:

lafenicecc (Fri, 24 Feb 2017 03:24:15 GMT):
i've got three teams, :stuck_out_tongue_winking_eye:

baohua (Fri, 24 Feb 2017 03:24:50 GMT):
cool

baohua (Fri, 24 Feb 2017 03:25:08 GMT):
the registration is closing, so hurry up~~

baohua (Fri, 24 Feb 2017 03:25:26 GMT):
OK. any other issue to discuss today?

grapebaba (Fri, 24 Feb 2017 03:26:01 GMT):
```func (csp *impl) verifyECDSA(k *ecdsa.PublicKey, signature, digest []byte, opts bccsp.SignerOpts) (valid bool, err error) { r, s, err := unmarshalECDSASignature(signature) if err != nil { return false, fmt.Errorf("Failed unmashalling signature [%s]", err) } // check for low-S halfOrder, ok := curveHalfOrders[k.Curve] if !ok { return false, fmt.Errorf("Curve not recognized [%s]", k.Curve) } // If s > halfOrder Then if s.Cmp(halfOrder) == 1 { return false, fmt.Errorf("Invalid S. Must be smaller than half the order [%s][%s].", s, halfOrder) } return ecdsa.Verify(k, digest, r, s), nil }```

grapebaba (Fri, 24 Feb 2017 03:27:46 GMT):
i still suspect preventmalleability will block

baohua (Fri, 24 Feb 2017 03:28:54 GMT):
aha, let's ask @tcz001 to help confirm. besides that, let's finish other part soon.

baohua (Fri, 24 Feb 2017 03:29:45 GMT):
signing_identity serialize() method, @ray i may ask u to pick up this task as a practice on hand :)

grapebaba (Fri, 24 Feb 2017 03:30:09 GMT):
i invite @muralisr to help us review the tasks for MVP

muralisr (Fri, 24 Feb 2017 03:30:09 GMT):
Has joined the channel.

baohua (Fri, 24 Feb 2017 03:30:27 GMT):
sure, welcome, he is nice guy

baohua (Fri, 24 Feb 2017 03:30:48 GMT):
and @latitiah will help on that later with bdd experience, too.

baohua (Fri, 24 Feb 2017 03:31:50 GMT):
OK, any other issue to talk?

grapebaba (Fri, 24 Feb 2017 03:32:02 GMT):
no for me

baohua (Fri, 24 Feb 2017 03:32:39 GMT):
@ray feel free to discuss with kai and chang on it. guess will be not difficult too much :fish:

ray (Fri, 24 Feb 2017 03:32:47 GMT):
@baohua I see, will try to implement this task :-)

grapebaba (Fri, 24 Feb 2017 03:33:09 GMT):
thanks

baohua (Fri, 24 Feb 2017 03:33:18 GMT):
thanks, OK, thanks for everyone, have a nice weekend! :wine_glass:

baohua (Fri, 24 Feb 2017 03:59:58 GMT):
@aratic here

aratic (Fri, 24 Feb 2017 03:59:59 GMT):
Has joined the channel.

pd93 (Fri, 24 Feb 2017 10:16:15 GMT):
Has left the channel.

melek (Sat, 25 Feb 2017 23:35:24 GMT):
Has joined the channel.

melek (Sat, 25 Feb 2017 23:35:31 GMT):
Hi all

melek (Sat, 25 Feb 2017 23:36:00 GMT):
I am just starting to explore hyperledger and the SDK

melek (Sat, 25 Feb 2017 23:36:48 GMT):
and when running the command `make check` I receive this error:

melek (Sat, 25 Feb 2017 23:37:41 GMT):
```ERROR: invocation failed (exit code 100), logfile: hyperledger-py/.tox/pylint/log/pylint-0.log ERROR: actionid: pylint msg: getenv cmdargs: ['/Users/XXXXX/anaconda3/bin/python', '-m', 'virtualenv', '--python', '/Users/XXXXX/anaconda3/bin/python', 'pylint']```

melek (Sat, 25 Feb 2017 23:39:27 GMT):
Any idea how to solve the error?

aratic (Sun, 26 Feb 2017 05:36:06 GMT):
would you please print more section of the build log? or you may try to "pip install pylint" if you found some command missing at the very first line of the error log

melek (Sun, 26 Feb 2017 10:03:56 GMT):
Hi @aratic , here is more details

melek (Sun, 26 Feb 2017 10:04:04 GMT):
```===Starting test... + make unittest run python tox pylint # set -o pipefail rm -rf .tox/pylint/log # bin_path=.tox/pylint/bin # export PYTHON=in_path/python tox -v -epylint using tox.ini: /Users/mydirectory/hyperledger-py/tox.ini using tox-2.6.0 from /Users/myusername/anaconda3/lib/python3.5/site-packages/tox/__init__.py pylint create: /Users/mydirectory/hyperledger-py/.tox/pylint /Users/mydirectory/hyperledger-py/.tox$ /Users/myusername/anaconda3/bin/python -m virtualenv --python /Users/myusername/anaconda3/bin/python pylint >/Users/mydirectory/hyperledger-py/.tox/pylint/log/pylint-0.log ERROR: invocation failed (exit code 100), logfile: /Users/mydirectory/hyperledger-py/.tox/pylint/log/pylint-0.log ERROR: actionid: pylint msg: getenv cmdargs: ['/Users/myusername/anaconda3/bin/python', '-m', 'virtualenv', '--python', '/Users/myusername/anaconda3/bin/python', 'pylint'] env: {'NVM_IOJS_ORG_MIRROR': 'https://iojs.org/dist', 'LANG': 'en_GB.UTF-8', 'PWD': '/Users/mydirectory/hyperledger-py', 'ITERM_SESSION_ID': 'w0t0p0:75FE837F-1D0C-494E-8F8A-5C70919B8DE3', 'TERM_PROGRAM': 'iTerm.app', 'LESS': '-R', 'TERM_SESSION_ID': 'w0t0p0:75FE837F-1D0C-494E-8F8A-5C70919B8DE3', 'NVM_DIR': '/Users/myusername/.nvm', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.s6TCOizv7p/Listeners', 'LC_CTYPE': 'en_GB.UTF-8', '__CF_USER_TEXT_ENCODING': '0x1F5:0x0:0x2', 'HOME': '/Users/myusername', 'SHELL': '/bin/zsh', 'MANPATH': '/Users/myusername/.nvm/versions/node/v6.9.5/share/man:/Users/myusername/anaconda3/share/man:/usr/local/share/man:/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man', 'NVM_NODEJS_ORG_MIRROR': 'https://nodejs.org/dist', 'LSCOLORS': 'Gxfxcxdxbxegedabagacad', 'PATH': '/Users/mydirectory/hyperledger-py/.tox/pylint/bin:/Users/myusername/.nvm/versions/node/v6.9.5/bin:/Users/myusername/anaconda3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin', 'LOGNAME': 'melek', 'ZSH': '/Users/myusername/.oh-my-zsh', 'TERM_PROGRAM_VERSION': '3.0.14', 'PAGER': 'less', 'COLORFGBG': '15;0', 'MAKELEVEL': '2', 'TMPDIR': '/var/folders/6p/1bvt4yjj1cx1rh3chzyrhhfr0000gn/T/', 'TERM': 'xterm-256color', 'PYTHONHASHSEED': '918176985', 'USER': 'melek', 'XPC_SERVICE_NAME': '0', '_': '/usr/bin/make', 'XPC_FLAGS': '0x0', 'NVM_BIN': '/Users/myusername/.nvm/versions/node/v6.9.5/bin', 'Apple_PubSub_Socket_Render': '/private/tmp/com.apple.launchd.GUlACWZi9V/Render', 'SHLVL': '2', 'VIRTUAL_ENV': '/Users/mydirectory/hyperledger-py/.tox/pylint', 'MFLAGS': '', 'ITERM_PROFILE': 'Default', 'NVM_CD_FLAGS': '-q', 'MAKEFLAGS': ''} dyld: Library not loaded: @rpath/libpython3.5m.dylib Referenced from: /Users/mydirectory/hyperledger-py/.tox/pylint/bin/python Reason: image not found Already using interpreter /Users/myusername/anaconda3/bin/python Using base prefix '/Users/myusername/anaconda3' New python executable in /Users/mydirectory/hyperledger-py/.tox/pylint/bin/python ERROR: The executable /Users/mydirectory/hyperledger-py/.tox/pylint/bin/python is not functioning ERROR: It thinks sys.prefix is '/Users/mydirectory/hyperledger-py/.tox' (should be '/Users/mydirectory/hyperledger-py/.tox/pylint') ERROR: virtualenv is not compatible with this system or executable ERROR: InvocationError: /Users/myusername/anaconda3/bin/python -m virtualenv --python /Users/myusername/anaconda3/bin/python pylint (see /Users/mydirectory/hyperledger-py/.tox/pylint/log/pylint-0.log) _________________________________________________________ summary __________________________________________________________ ERROR: pylint: InvocationError: /Users/myusername/anaconda3/bin/python -m virtualenv --python /Users/myusername/anaconda3/bin/python pylint (see /Users/mydirectory/hyperledger-py/.tox/pylint/log/pylint-0.log) make[1]: *** [pylint] Error 1 make: *** [check] Error 2```

aratic (Sun, 26 Feb 2017 10:05:53 GMT):
make sure you got both python tox pylint docker-compose installed, and try make clean, and then make check / make image ?

aratic (Sun, 26 Feb 2017 10:06:38 GMT):
there is a wierd "image not found", i belive it do fetch a library/python docker image in the process, and some path / prefix error, but since you are using macOs, i'm not familiar with the details

baohua (Sun, 26 Feb 2017 10:22:38 GMT):
@melek u need install following softwares: python, Docker and docker-compose in the server first.

baohua (Tue, 28 Feb 2017 03:33:08 GMT):
https://gerrit.hyperledger.org/r/#/c/6611/

lafenicecc (Tue, 28 Feb 2017 08:37:55 GMT):
https://gerrit.hyperledger.org/r/#/c/6615

grapebaba (Wed, 01 Mar 2017 05:44:27 GMT):
https://gerrit.hyperledger.org/r/#/c/6627/

ray (Wed, 01 Mar 2017 08:03:07 GMT):
Just be curious about what is "hfc" stand for. Hyperledger Fabric Code?

baohua (Wed, 01 Mar 2017 08:23:02 GMT):
hyperledger fabric client

baohua (Wed, 01 Mar 2017 08:23:17 GMT):
in future we may take a better name :)

baohua (Wed, 01 Mar 2017 08:30:16 GMT):
https://gerrit.hyperledger.org/r/#/c/6665/

muralisr (Wed, 01 Mar 2017 13:27:13 GMT):
@grapebaba did I miss any questions for me

muralisr (Wed, 01 Mar 2017 13:27:13 GMT):
@grapebaba did I miss any questions for me ?

grapebaba (Thu, 02 Mar 2017 00:13:02 GMT):
:grinning:@muralisr I don't think so

grapebaba (Thu, 02 Mar 2017 02:00:12 GMT):
https://gerrit.hyperledger.org/r/#/c/6669/

grapebaba (Thu, 02 Mar 2017 02:00:25 GMT):
fix grpc invocation error

baohua (Thu, 02 Mar 2017 02:44:32 GMT):
:wine_glass:

baohua (Fri, 03 Mar 2017 02:49:09 GMT):
The meeting will start in 10 mins: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170303.md

baohua (Fri, 03 Mar 2017 02:49:57 GMT):
@grapebaba @lafenicecc @tcz001 @genggjh @bryanhuang @SeeGo

grapebaba (Fri, 03 Mar 2017 02:50:16 GMT):
:raised_hand:

lafenicecc (Fri, 03 Mar 2017 02:59:19 GMT):
:hand_splayed:

baohua (Fri, 03 Mar 2017 03:00:22 GMT):
thanks

baohua (Fri, 03 Mar 2017 03:00:27 GMT):
meeting starts!

baohua (Fri, 03 Mar 2017 03:00:42 GMT):
today's agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170303.md

baohua (Fri, 03 Mar 2017 03:01:32 GMT):
item #1: jira board checking. will encourage everyone to update the task status @bryanhuang @tcz001 pls help update those two items.

baohua (Fri, 03 Mar 2017 03:01:39 GMT):
https://jira.hyperledger.org/browse/FAB-697

baohua (Fri, 03 Mar 2017 03:01:44 GMT):
https://jira.hyperledger.org/browse/FAB-738

baohua (Fri, 03 Mar 2017 03:01:50 GMT):
https://jira.hyperledger.org/browse/FAB-737

baohua (Fri, 03 Mar 2017 03:01:56 GMT):
oops, three ones :)

baohua (Fri, 03 Mar 2017 03:02:08 GMT):
any question on the jira board?

baohua (Fri, 03 Mar 2017 03:02:48 GMT):
@ray seems u wanna say sth?

baohua (Fri, 03 Mar 2017 03:02:58 GMT):
:nerd:

ray (Fri, 03 Mar 2017 03:03:10 GMT):
yep, I made it, will join you all

ray (Fri, 03 Mar 2017 03:03:15 GMT):
;-)

baohua (Fri, 03 Mar 2017 03:03:25 GMT):
thanks, glad to have u here, remember to add ur name to the list

baohua (Fri, 03 Mar 2017 03:03:49 GMT):
OK, item #2: gerrit items: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

ray (Fri, 03 Mar 2017 03:03:50 GMT):
sure

baohua (Fri, 03 Mar 2017 03:04:06 GMT):
last week we made great progress on mvp, thanks everyone!

baohua (Fri, 03 Mar 2017 03:04:34 GMT):
@david_dornseifer would u like to take care of the proposed patchset? https://gerrit.hyperledger.org/r/#/c/6181/. Thanks!

baohua (Fri, 03 Mar 2017 03:04:53 GMT):
this one remains for two weeks, need to update soon :)

baohua (Fri, 03 Mar 2017 03:05:19 GMT):
@grapebaba @lafenicecc

baohua (Fri, 03 Mar 2017 03:05:33 GMT):
will u help sync the status of our mvp?

baohua (Fri, 03 Mar 2017 03:05:56 GMT):
i saw lots of progress, need to clarify the next steps.

lafenicecc (Fri, 03 Mar 2017 03:06:19 GMT):
how's the signature issue? @grapebaba

grapebaba (Fri, 03 Mar 2017 03:06:31 GMT):
still block

baohua (Fri, 03 Mar 2017 03:07:07 GMT):
guess @tcz001 is working on this?

grapebaba (Fri, 03 Mar 2017 03:07:24 GMT):
yeah, hope he can help

baohua (Fri, 03 Mar 2017 03:07:40 GMT):
great, pls keep syncing

baohua (Fri, 03 Mar 2017 03:07:52 GMT):
other issues to do for mvp?

lafenicecc (Fri, 03 Mar 2017 03:08:05 GMT):
how about the protos path issue?

grapebaba (Fri, 03 Mar 2017 03:08:25 GMT):
alreay fixed

lafenicecc (Fri, 03 Mar 2017 03:08:35 GMT):
:thumbsup:

baohua (Fri, 03 Mar 2017 03:09:02 GMT):
so now we can pickup protos from fabric code directly without any modification?

baohua (Fri, 03 Mar 2017 03:09:08 GMT):
great!

grapebaba (Fri, 03 Mar 2017 03:09:10 GMT):
no

baohua (Fri, 03 Mar 2017 03:09:26 GMT):
ooops

baohua (Fri, 03 Mar 2017 03:09:34 GMT):
:penguin:

baohua (Fri, 03 Mar 2017 03:10:12 GMT):
aha, we still need to use abstract path in the import `xxxx`

baohua (Fri, 03 Mar 2017 03:10:28 GMT):
e.g., `import "hfc/protos/common/common.proto";`

baohua (Fri, 03 Mar 2017 03:10:43 GMT):
but the `package` should keep unchanged

baohua (Fri, 03 Mar 2017 03:10:47 GMT):
correct?

grapebaba (Fri, 03 Mar 2017 03:11:14 GMT):
yes

baohua (Fri, 03 Mar 2017 03:11:43 GMT):
ok. @ray i remember u've helped a serialization item last week?

ray (Fri, 03 Mar 2017 03:12:05 GMT):
Yes, that's already merged into master

baohua (Fri, 03 Mar 2017 03:12:26 GMT):
thanks, and feel free to pick other tasks: https://jira.hyperledger.org/secure/RapidBoard.jspa?rapidView=85

baohua (Fri, 03 Mar 2017 03:12:46 GMT):
Also, welcome to help on new ones like refining the documentation.

baohua (Fri, 03 Mar 2017 03:12:59 GMT):
documentation is complaining too much recently on the fabric project :(

baohua (Fri, 03 Mar 2017 03:12:59 GMT):
documentation is complained too much recently on the fabric project :(

baohua (Fri, 03 Mar 2017 03:13:50 GMT):
i would encourage everyone too to help on the documentation, it's very important for open-source projects!

lafenicecc (Fri, 03 Mar 2017 03:14:32 GMT):
what documentation, give an example?

baohua (Fri, 03 Mar 2017 03:14:50 GMT):
e.g., we have making lots of change on the structure.

baohua (Fri, 03 Mar 2017 03:15:09 GMT):
some notes on the design structure/how to use the mvp would be appreciated.

baohua (Fri, 03 Mar 2017 03:15:26 GMT):
no users wanna learn how to use the software from reading the source code.

baohua (Fri, 03 Mar 2017 03:15:47 GMT):
although i guess this will lead to a better understanding :snail:

baohua (Fri, 03 Mar 2017 03:16:10 GMT):
@lafenicecc btw, would u like to help check the jira tasks and confirm the current status are correct?

lafenicecc (Fri, 03 Mar 2017 03:16:21 GMT):
yes

baohua (Fri, 03 Mar 2017 03:16:25 GMT):
thanks!

ray (Fri, 03 Mar 2017 03:16:38 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=PGDXszDadXreYEGmx) @baohua sure, and I am helping track the ca modules recently, will sync if any progress is made

baohua (Fri, 03 Mar 2017 03:16:52 GMT):
thanks ray!

lafenicecc (Fri, 03 Mar 2017 03:17:29 GMT):
The fabric and node sdk codes are changing fast. I suppose each task owner has the responsibility of ... keep it up-to-date?

baohua (Fri, 03 Mar 2017 03:18:20 GMT):
the fabric code is going stable now. but the node sdk.... i guess we will be fine after finishing the mvp with minor updates. good suggestion anyway.

lafenicecc (Fri, 03 Mar 2017 03:18:32 GMT):
ok

baohua (Fri, 03 Mar 2017 03:18:37 GMT):
ok, item#4. the sdk link is at https://docs.google.com/document/d/1R5RtIBMW9fZpli37E5Li5_Q9ve3BnQ4q3gWmGZj6Sv4

baohua (Fri, 03 Mar 2017 03:18:50 GMT):
hope everyone already be familiar with that.

baohua (Fri, 03 Mar 2017 03:19:04 GMT):
#item 5: other issues?

baohua (Fri, 03 Mar 2017 03:19:33 GMT):
some not-good-news, our sdk-py summer internship proposal seems not be accepted by LF.

baohua (Fri, 03 Mar 2017 03:20:02 GMT):
however, we can work around in other ways, e.g., let's share in those campus events. specially, this hackathon in shanghai.

baohua (Fri, 03 Mar 2017 03:21:01 GMT):
and for this, the documentation is important, again.:wolf:

baohua (Fri, 03 Mar 2017 03:21:01 GMT):
and for this, the documentation is important, again. :wolf:

grapebaba (Fri, 03 Mar 2017 03:21:02 GMT):
I have a design change in recent mvp patch

grapebaba (Fri, 03 Mar 2017 03:21:32 GMT):
not follow node SDK, maybe we could talk

baohua (Fri, 03 Mar 2017 03:21:47 GMT):
exactly, the node sdk is a reference.

baohua (Fri, 03 Mar 2017 03:22:01 GMT):
let's make the py sdk better with those pythonic magics

baohua (Fri, 03 Mar 2017 03:22:13 GMT):
:trumpet:

grapebaba (Fri, 03 Mar 2017 03:22:14 GMT):
the most difference is about Chain Object

baohua (Fri, 03 Mar 2017 03:22:36 GMT):
sure, would u like to discuss here or offline, both are fine with me

grapebaba (Fri, 03 Mar 2017 03:23:09 GMT):
node SDK put createchannel method in the Chain Object

baohua (Fri, 03 Mar 2017 03:23:36 GMT):
yes?

grapebaba (Fri, 03 Mar 2017 03:24:00 GMT):
however i understand the multiple channels actual multiple chains

grapebaba (Fri, 03 Mar 2017 03:25:02 GMT):
So that i use chain object per channel

grapebaba (Fri, 03 Mar 2017 03:25:40 GMT):
this is the main difference

baohua (Fri, 03 Mar 2017 03:26:40 GMT):
ok, well, i guess this is a definition problem. currently we agree each channel has separate ledger. we can discuss this more whether pick the 1chain-1channel model.

baohua (Fri, 03 Mar 2017 03:27:26 GMT):
but definitely we have 1 network :)

baohua (Fri, 03 Mar 2017 03:27:37 GMT):
Ok, any more issues to discuss today?

baohua (Fri, 03 Mar 2017 03:28:33 GMT):
Ok, then will end the meeting, thanks everyone and have nice weekend!:basketball_player:

ray (Fri, 03 Mar 2017 03:28:53 GMT):
have a good weekend :-)

grapebaba (Fri, 03 Mar 2017 09:55:31 GMT):
```func TestHasd(t *testing.T) { msg := []byte("hello") h := sha256.New() h.Write(msg) print(hex.Dump(h.Sum(nil))) } func TestAsdad(t *testing.T) { priv, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) if err != nil { } asn1Bytes, err := x509.MarshalECPrivateKey(priv) var pemkey = &pem.Block{ Type: "EC PRIVATE KEY", Bytes: asn1Bytes} file, err := os.Create("/tmp/temp.pem") pem.Encode(file, pemkey) file.Close() } func TestNew1(t *testing.T) { pemBytes, _ := ioutil.ReadFile("/tmp/temp.pem") block, _ := pem.Decode(pemBytes) key, _ := x509.ParseECPrivateKey(block.Bytes) msg := []byte("hello") h := sha256.New() h.Write(msg) digest := h.Sum(nil) r, s, _ := ecdsa.Sign(rand.Reader, key, digest) sig, _ := marshalECDSASignature(r, s) ioutil.WriteFile("/tmp/sig1",sig,os.ModePerm) pub := key.PublicKey curveHalfOrders:= map[elliptic.Curve]*big.Int{ elliptic.P224(): new(big.Int).Rsh(elliptic.P224().Params().N, 1), elliptic.P256(): new(big.Int).Rsh(elliptic.P256().Params().N, 1), elliptic.P384(): new(big.Int).Rsh(elliptic.P384().Params().N, 1), elliptic.P521(): new(big.Int).Rsh(elliptic.P521().Params().N, 1), } sigBytes, _ := ioutil.ReadFile("/tmp/sig") sr, ss, _ := unmarshalECDSASignature(sigBytes) // check for low-S halfOrder, ok := curveHalfOrders[elliptic.P256()] if !ok { t.Fatal() } print(halfOrder.String()) // If s > halfOrder Then if ss.Cmp(halfOrder) == 1 { t.Fatal() } assert.True(t, ecdsa.Verify(&pub, digest, sr, ss)) }```

baohua (Thu, 09 Mar 2017 01:05:01 GMT):
Hi, due to the hackathon event, we will cancel this week's meeting, let discuss the MVP and other issues offline, thanks!

baohua (Thu, 09 Mar 2017 01:36:29 GMT):
we are collecting adoption cases for fabric-sdk-py, pls feel free to add ur info there if u tried and like the project 🙂 https://wiki.hyperledger.org/projects/fabric-sdk-py.md

rjones (Sat, 11 Mar 2017 04:56:28 GMT):
baohua

grapebaba (Wed, 15 Mar 2017 11:04:59 GMT):
https://gerrit.hyperledger.org/r/#/c/7181/

cbf (Wed, 15 Mar 2017 15:55:39 GMT):
@rjones this is odd... why can't I invite @mastersingh24 ?

mastersingh24 (Wed, 15 Mar 2017 15:55:39 GMT):
Has joined the channel.

cbf (Wed, 15 Mar 2017 15:55:50 GMT):
he says he cannot see this channel

cbf (Wed, 15 Mar 2017 15:55:53 GMT):
is it private?

mastersingh24 (Wed, 15 Mar 2017 15:56:39 GMT):
well now I can see it

cbf (Wed, 15 Mar 2017 15:56:42 GMT):
the settings say otherwise

cbf (Wed, 15 Mar 2017 15:57:15 GMT):
I tried to invite you and it wouldn't let me

cbf (Wed, 15 Mar 2017 15:57:19 GMT):
but here you are

cbf (Wed, 15 Mar 2017 15:57:20 GMT):
odd

grapebaba (Thu, 16 Mar 2017 01:25:57 GMT):
welcome @mastersingh24

baohua (Thu, 16 Mar 2017 01:38:42 GMT):
strange, let me try to ping all active members for test... @here

baohua (Thu, 16 Mar 2017 01:39:20 GMT):
the wiki page's support for markdown is not stable, we are thinking to migrate the md page to original wiki grammar. any volunteer?

ray (Thu, 16 Mar 2017 07:33:59 GMT):
@here plz help review https://wiki.hyperledger.org/projects/fabric-sdk-py

baohua (Thu, 16 Mar 2017 08:22:10 GMT):
cool! would u like to update those minutes link part, too? certainly, can just ignore existing meeting minutes. Thanks ray! @ray

ray (Thu, 16 Mar 2017 08:22:30 GMT):
@baohua already done ;-)

ray (Thu, 16 Mar 2017 08:22:40 GMT):
https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings

baohua (Thu, 16 Mar 2017 08:23:27 GMT):
thanks! this definitely makes more stable appearance now...

baohua (Thu, 16 Mar 2017 08:28:39 GMT):
@here we will have weekly meeting tmr, pls help update the agenda and attendee list before the meeting, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170317

ray (Thu, 16 Mar 2017 08:41:27 GMT):
@baohua plz help add @WeiHu to this channel thanks

WeiHu (Thu, 16 Mar 2017 08:41:27 GMT):
Has joined the channel.

ray (Thu, 16 Mar 2017 08:42:15 GMT):
he can't join this channel too wired

ray (Thu, 16 Mar 2017 08:42:15 GMT):
he can't join this channel too

baohua (Thu, 16 Mar 2017 08:42:37 GMT):
@WeiHu this channel should be open to everyone.... @rjones

baohua (Thu, 16 Mar 2017 08:42:47 GMT):
Private Group

ray (Thu, 16 Mar 2017 08:43:47 GMT):
same issue when I tried to join this channel several days ago...

baohua (Thu, 16 Mar 2017 08:43:56 GMT):
@rjones i just tried to refresh the room property, could u re-enable it as public-to-everyone? Thanks!

rjones (Thu, 16 Mar 2017 08:45:06 GMT):
Channel

rjones (Thu, 16 Mar 2017 08:45:32 GMT):
I think it is public now

baohua (Thu, 16 Mar 2017 08:46:06 GMT):
cool, i guess this time everyone can see the channel~~

ray (Thu, 16 Mar 2017 08:46:41 GMT):
Has left the channel.

ray (Thu, 16 Mar 2017 08:47:05 GMT):
Has joined the channel.

ray (Thu, 16 Mar 2017 08:47:30 GMT):
yeah now I can join this channel

ray (Thu, 16 Mar 2017 08:47:57 GMT):
just left and joined again

rjones (Thu, 16 Mar 2017 08:55:58 GMT):
@baohua does the at-here and at-all work for you in this channel? as owner you should have it

baohua (Thu, 16 Mar 2017 09:18:30 GMT):
oops, the at-all is not allowed in this room..

baohua (Thu, 16 Mar 2017 09:18:40 GMT):
i tried the at-here, it works

baohua (Thu, 16 Mar 2017 09:18:54 GMT):
only at-all has problem now

rjones (Thu, 16 Mar 2017 09:28:16 GMT):
I don't see a distinct property for that. is at-here good enough?

baohua (Fri, 17 Mar 2017 00:54:57 GMT):
let's use the at-here feature first, thanks for the help, @rjones !

baohua (Fri, 17 Mar 2017 02:46:05 GMT):
We will have meeting at 11AM, pls help update the agenda/attendee, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170317 @here

baohua (Fri, 17 Mar 2017 02:59:49 GMT):
ok, who will attend?

grapebaba (Fri, 17 Mar 2017 03:00:03 GMT):
:raised_hand:

ray (Fri, 17 Mar 2017 03:00:10 GMT):
:hand_splayed:

baohua (Fri, 17 Mar 2017 03:00:23 GMT):
thanks

baohua (Fri, 17 Mar 2017 03:00:30 GMT):
===Meeting start===

baohua (Fri, 17 Mar 2017 03:00:39 GMT):
Agenda here: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170317

lafenicecc (Fri, 17 Mar 2017 03:01:00 GMT):
:raised_back_of_hand:

baohua (Fri, 17 Mar 2017 03:01:06 GMT):
item #1: jira board

baohua (Fri, 17 Mar 2017 03:01:08 GMT):
https://jira.hyperledger.org/secure/RapidBoard.jspa?rapidView=85

baohua (Fri, 17 Mar 2017 03:01:21 GMT):
Chang and I have cleaned those done tasks

baohua (Fri, 17 Mar 2017 03:01:41 GMT):
Everyone pls help check ur own tasks, and make sure the status are correct!

WeiHu (Fri, 17 Mar 2017 03:02:35 GMT):
:raised_hand:

baohua (Fri, 17 Mar 2017 03:02:47 GMT):
item #2: patchsets, we made great progress in patchsets in past weeks!

baohua (Fri, 17 Mar 2017 03:02:49 GMT):
https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 17 Mar 2017 03:03:19 GMT):
i will encourage everyone to help review the new patchsets and add ur comments.

baohua (Fri, 17 Mar 2017 03:03:27 GMT):
+1/-1, either is welcome :)

baohua (Fri, 17 Mar 2017 03:03:47 GMT):
but we do need close collaborations

baohua (Fri, 17 Mar 2017 03:04:09 GMT):
@grapebaba any comments?

grapebaba (Fri, 17 Mar 2017 03:04:30 GMT):
no

baohua (Fri, 17 Mar 2017 03:04:51 GMT):
ok

baohua (Fri, 17 Mar 2017 03:05:00 GMT):
item #3: the mvp progress

baohua (Fri, 17 Mar 2017 03:05:14 GMT):
MVP remaining tasks discussion. @lafenicecc @grapebaba any update?

baohua (Fri, 17 Mar 2017 03:05:19 GMT):
what do we still need?

ray (Fri, 17 Mar 2017 03:06:17 GMT):
I see send_tx and create_tx tasks are still unassigned

lafenicecc (Fri, 17 Mar 2017 03:06:53 GMT):
the instantiate and invoke test are skipped, anything not done yet? @grapebaba

baohua (Fri, 17 Mar 2017 03:07:26 GMT):
i think the create_tx has been finished? @ray which jira task? can u send the link

lafenicecc (Fri, 17 Mar 2017 03:08:01 GMT):
FAB-1768 and 1769, i suppose :grin:

ray (Fri, 17 Mar 2017 03:08:43 GMT):
yep 1768 and 1769

grapebaba (Fri, 17 Mar 2017 03:09:04 GMT):
right now, i just pass send tx proposal test for install chaincode

baohua (Fri, 17 Mar 2017 03:09:10 GMT):
i suppose grapebaba and I have finished the create_transaction part?

grapebaba (Fri, 17 Mar 2017 03:09:19 GMT):
actually we behind a lot

baohua (Fri, 17 Mar 2017 03:09:51 GMT):
so the create_tx part is done, we are working on the send_tx part?

baohua (Fri, 17 Mar 2017 03:10:04 GMT):
am i correct?

grapebaba (Fri, 17 Mar 2017 03:10:31 GMT):
create_tx may be not a public method

grapebaba (Fri, 17 Mar 2017 03:11:12 GMT):
refer to node and java

lafenicecc (Fri, 17 Mar 2017 03:11:21 GMT):
Any help do u need? like track with latest changes of fabric or node-sdk?

baohua (Fri, 17 Mar 2017 03:11:43 GMT):
ok, seems we still need some effort. any volunteers to help improve this two functions? @lafenicecc @ray

grapebaba (Fri, 17 Mar 2017 03:12:30 GMT):
i will take send tx and finish whole install process first

baohua (Fri, 17 Mar 2017 03:13:07 GMT):
thanks, then will assign 1768 to @lafenicecc and 1769 to @grapebaba first. while other people will help on these two remaining work.

baohua (Fri, 17 Mar 2017 03:13:18 GMT):
Let's target to finish MVP before end of March!

lafenicecc (Fri, 17 Mar 2017 03:13:19 GMT):
ok

baohua (Fri, 17 Mar 2017 03:13:58 GMT):
especially for @ray and @WeiHu , would need ur help indeed.

ray (Fri, 17 Mar 2017 03:14:38 GMT):
;-) ok!

baohua (Fri, 17 Mar 2017 03:14:49 GMT):
OK. sdk spec is there: https://docs.google.com/document/d/1R5RtIBMW9fZpli37E5Li5_Q9ve3BnQ4q3gWmGZj6Sv4

WeiHu (Fri, 17 Mar 2017 03:14:51 GMT):
of course:smiley:

baohua (Fri, 17 Mar 2017 03:15:14 GMT):
next item: thanks to ray, he has update the wiki page using doku wiki grammar, for stable rending.

ray (Fri, 17 Mar 2017 03:15:15 GMT):
So it's in public domain now

baohua (Fri, 17 Mar 2017 03:15:24 GMT):
pls feel free to report problems in wiki

ray (Fri, 17 Mar 2017 03:15:46 GMT):
I mean the sdk spec

baohua (Fri, 17 Mar 2017 03:16:00 GMT):
yeap, already open for a while

baohua (Fri, 17 Mar 2017 03:16:13 GMT):
somehow a little out-of-date with fabric 1.0

baohua (Fri, 17 Mar 2017 03:16:51 GMT):
and i have to say again. documentation is really important for open-source projects.

baohua (Fri, 17 Mar 2017 03:17:04 GMT):
even more important than code sometimes :)

baohua (Fri, 17 Mar 2017 03:17:20 GMT):
OK.

baohua (Fri, 17 Mar 2017 03:17:28 GMT):
any comments till now?

baohua (Fri, 17 Mar 2017 03:18:05 GMT):
OK, exciting moment! Welcome for new contributor: Wei Hu from Hyperchain!

baohua (Fri, 17 Mar 2017 03:18:20 GMT):
@WeiHu would u like to give a brief? to meet each other :)

ray (Fri, 17 Mar 2017 03:18:29 GMT):
:thumbup:

lafenicecc (Fri, 17 Mar 2017 03:18:47 GMT):
welcome!!

baohua (Fri, 17 Mar 2017 03:18:53 GMT):
:hibiscus::sunflower::blossom:

WeiHu (Fri, 17 Mar 2017 03:20:09 GMT):
really glad to join the group and make contribution~ i'm from hyperchain, let's make the project done together~

baohua (Fri, 17 Mar 2017 03:20:27 GMT):
thanks, definitely we need everyone's hand!

WeiHu (Fri, 17 Mar 2017 03:20:28 GMT):
:stuck_out_tongue:

baohua (Fri, 17 Mar 2017 03:20:43 GMT):
OK, next item

grapebaba (Fri, 17 Mar 2017 03:20:48 GMT):
:clap:

baohua (Fri, 17 Mar 2017 03:20:55 GMT):
There is a new go sdk proposed to the community in yesterday TSC meeting.

baohua (Fri, 17 Mar 2017 03:21:25 GMT):
glad we have more sdk now. but somehow not sure how to use this go sdk, maybe not in web apps.

baohua (Fri, 17 Mar 2017 03:22:32 GMT):
And some guy tells they are trying to deploy fabric on Raspberry pie(树莓派), this is interesting ~~

ray (Fri, 17 Mar 2017 03:22:32 GMT):
I see a hot mailing list thread discussing the sub-project proposal etc.

grapebaba (Fri, 17 Mar 2017 03:22:46 GMT):
go sdk is very good

baohua (Fri, 17 Mar 2017 03:22:52 GMT):
yeap, this topics has been arised several times...

baohua (Fri, 17 Mar 2017 03:22:52 GMT):
yeap, this topic has been arised several times...

WeiHu (Fri, 17 Mar 2017 03:23:11 GMT):
is it approved?

grapebaba (Fri, 17 Mar 2017 03:23:13 GMT):
right now, there are some tools such as configtx

baohua (Fri, 17 Mar 2017 03:23:28 GMT):
i only wanna we have more efficient collaboration method, no matter how to organize...

baohua (Fri, 17 Mar 2017 03:23:35 GMT):
yeap, configtxgen

grapebaba (Fri, 17 Mar 2017 03:23:44 GMT):
it can invoke it native

baohua (Fri, 17 Mar 2017 03:23:52 GMT):
but it can be just inside the fabric...

grapebaba (Fri, 17 Mar 2017 03:24:18 GMT):
but how can use in client side

baohua (Fri, 17 Mar 2017 03:24:42 GMT):
yeap, the interesting question is what kind of client may wanna pick Golang now....

grapebaba (Fri, 17 Mar 2017 03:25:01 GMT):
me

grapebaba (Fri, 17 Mar 2017 03:25:07 GMT):
:)

WeiHu (Fri, 17 Mar 2017 03:25:08 GMT):
web?

baohua (Fri, 17 Mar 2017 03:25:09 GMT):
i know golang can provide web... backend people still like java :(

baohua (Fri, 17 Mar 2017 03:25:33 GMT):
personally i like golang, but it may needs more time to teach people.

baohua (Fri, 17 Mar 2017 03:25:33 GMT):
personally i like golang, but it may need more time to teach people.

WeiHu (Fri, 17 Mar 2017 03:25:42 GMT):
golang is becoming more populate i think

grapebaba (Fri, 17 Mar 2017 03:25:54 GMT):
no, i don't like use golang for web

baohua (Fri, 17 Mar 2017 03:26:21 GMT):
haha, let's see, i believe in future there will be 3 languages: Java(Script), Python, and Golang --> JPG@@

WeiHu (Fri, 17 Mar 2017 03:26:44 GMT):
:joy:

baohua (Fri, 17 Mar 2017 03:26:47 GMT):
:airplane_arriving:

grapebaba (Fri, 17 Mar 2017 03:27:04 GMT):
web should be dominate by javascript

baohua (Fri, 17 Mar 2017 03:27:05 GMT):
last time at PyCon i threw this opinion

grapebaba (Fri, 17 Mar 2017 03:27:08 GMT):
guess

baohua (Fri, 17 Mar 2017 03:27:25 GMT):
ok, we have 3 minutes remaining, any more issues to discuss today?

baohua (Fri, 17 Mar 2017 03:27:52 GMT):
programming language/tool battle is always popular.....

ray (Fri, 17 Mar 2017 03:28:11 GMT):
and editors battle

baohua (Fri, 17 Mar 2017 03:28:27 GMT):
Ok, if there's no more issue, we will end the meeting...

baohua (Fri, 17 Mar 2017 03:28:51 GMT):
Thanks everyone, have a nice weekend!

ray (Fri, 17 Mar 2017 03:29:05 GMT):
:tropical_drink:

WeiHu (Fri, 17 Mar 2017 03:29:08 GMT):
:v:

grapebaba (Fri, 17 Mar 2017 03:30:18 GMT):
JAVA SDK e2e just published at https://youtu.be/qxfuWVz7jRA thanks @tuand

tuand (Fri, 17 Mar 2017 03:30:19 GMT):
Has joined the channel.

baohua (Fri, 17 Mar 2017 03:30:45 GMT):
cool !

grapebaba (Fri, 17 Mar 2017 03:30:53 GMT):
we need implement all these features

baohua (Fri, 17 Mar 2017 03:31:03 GMT):
let's fight for a e2e!

grapebaba (Fri, 17 Mar 2017 03:31:10 GMT):
you may create more tasks

baohua (Fri, 17 Mar 2017 03:31:31 GMT):
exactly, and everyone, pls feel free to use jira to create/update tasks.

baohua (Fri, 17 Mar 2017 03:33:12 GMT):
watching video, nice demo

ray (Fri, 17 Mar 2017 03:35:09 GMT):
he's using vagrant

baohua (Fri, 17 Mar 2017 03:36:34 GMT):
yeap, but vagrant is just providing a vm env for docker, as a Docker Host

baohua (Fri, 17 Mar 2017 03:36:48 GMT):
https://gerrit.hyperledger.org/r/#/c/7291/

ray (Fri, 17 Mar 2017 03:37:06 GMT):
Yep somehow I like this way too.. docker in vagrant vm..

grapebaba (Fri, 17 Mar 2017 04:27:35 GMT):
forget to say, our test coverage is very low

rjones (Fri, 17 Mar 2017 05:44:22 GMT):
Has left the channel.

baohua (Fri, 17 Mar 2017 06:23:36 GMT):
@grapebaba pls help create a jira task item on this, we need to improve it...

baohua (Fri, 17 Mar 2017 08:02:42 GMT):
https://gerrit.hyperledger.org/r/#/c/7301/

baohua (Thu, 23 Mar 2017 07:36:18 GMT):
@here Dear all, we will have meeting in the channel at 11AM tmr, pls help update the agenda/attendee, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170324.

baohua (Fri, 24 Mar 2017 02:33:31 GMT):
The meeting will be started at 11AM, pls check the agenda and attendee before the meeting, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170324

baohua (Fri, 24 Mar 2017 02:59:25 GMT):
OK, who is there :)

lafenicecc (Fri, 24 Mar 2017 02:59:35 GMT):
:raised_back_of_hand:

baohua (Fri, 24 Mar 2017 03:00:05 GMT):
missed ur name at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170324

WeiHu (Fri, 24 Mar 2017 03:00:05 GMT):
:raised_hand:

grapebaba (Fri, 24 Mar 2017 03:00:35 GMT):
:raised_hand:

ray (Fri, 24 Mar 2017 03:00:39 GMT):
:raised_hand:

baohua (Fri, 24 Mar 2017 03:00:48 GMT):
OK, let's start! thanks for all the attendees!

baohua (Fri, 24 Mar 2017 03:00:57 GMT):
today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170324

baohua (Fri, 24 Mar 2017 03:01:39 GMT):
item #1, we have new contributor from IBM, Chao Li.

baohua (Fri, 24 Mar 2017 03:02:18 GMT):
he is working in the system lab, and very hand-on at chaincode development.

baohua (Fri, 24 Mar 2017 03:02:36 GMT):
item #2, Jira board status (chang will sync).

baohua (Fri, 24 Mar 2017 03:02:43 GMT):
https://jira.hyperledger.org/secure/RapidBoard.jspa?rapidView=85

baohua (Fri, 24 Mar 2017 03:03:05 GMT):
User User_6 added by baohua.

lafenicecc (Fri, 24 Mar 2017 03:03:12 GMT):
there are 2 ongoing tasks now

lafenicecc (Fri, 24 Mar 2017 03:03:24 GMT):
focusing on the mvp

baohua (Fri, 24 Mar 2017 03:03:53 GMT):
nice progress!

baohua (Fri, 24 Mar 2017 03:04:53 GMT):
now we have two steps before the MVP!

baohua (Fri, 24 Mar 2017 03:05:36 GMT):
thanks to @grapebaba and @lafenicecc and others, for the efforts towards sdk with such agile work!

baohua (Fri, 24 Mar 2017 03:05:56 GMT):
sorry, network issues....

baohua (Fri, 24 Mar 2017 03:06:30 GMT):
item #3, patchset on gerrit

baohua (Fri, 24 Mar 2017 03:06:43 GMT):
here is the status, https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 24 Mar 2017 03:07:18 GMT):
@ray @WeiHu would encourage u both make some record there as the new contributors.

ray (Fri, 24 Mar 2017 03:08:23 GMT):
:ok_hand_tone2:

baohua (Fri, 24 Mar 2017 03:08:39 GMT):
:thumbsup:

baohua (Fri, 24 Mar 2017 03:08:41 GMT):
thanks

WeiHu (Fri, 24 Mar 2017 03:08:54 GMT):
:smiley_cat:好的

baohua (Fri, 24 Mar 2017 03:09:06 GMT):
ok

camelbeck (Fri, 24 Mar 2017 03:09:07 GMT):
hi, every one, glad to take part in this project

baohua (Fri, 24 Mar 2017 03:09:16 GMT):
item #4: MVP remaining tasks discussion (kai will sync, 1768 to @lafenicecc and 1769 to @grapebaba).

baohua (Fri, 24 Mar 2017 03:09:40 GMT):
@camelbeck will give u 5 mins at last for self-brief. :)

camelbeck (Fri, 24 Mar 2017 03:09:51 GMT):
sure

baohua (Fri, 24 Mar 2017 03:10:12 GMT):
@grapebaba can u sync and indicate what items we still need people to help?

baohua (Fri, 24 Mar 2017 03:10:29 GMT):
:penguin:

grapebaba (Fri, 24 Mar 2017 03:10:45 GMT):
sorry, this week is busy so that no progress for 1769

baohua (Fri, 24 Mar 2017 03:12:11 GMT):
ok, do we need more people on 1769? kai

baohua (Fri, 24 Mar 2017 03:12:55 GMT):
@grapebaba

grapebaba (Fri, 24 Mar 2017 03:12:58 GMT):
no, will catch up next week

baohua (Fri, 24 Mar 2017 03:13:02 GMT):
thanks

lafenicecc (Fri, 24 Mar 2017 03:13:27 GMT):
do we need to add an e2e example, like node-sdk did?

baohua (Fri, 24 Mar 2017 03:13:40 GMT):
exactly @ray would u like to start writing the e2e test case?

grapebaba (Fri, 24 Mar 2017 03:13:56 GMT):
+1

baohua (Fri, 24 Mar 2017 03:14:07 GMT):
and @WeiHu can help, i suggest.

ray (Fri, 24 Mar 2017 03:14:27 GMT):
ok I will pick this together with Wei

WeiHu (Fri, 24 Mar 2017 03:14:31 GMT):
ok

grapebaba (Fri, 24 Mar 2017 03:14:36 GMT):
maybe one thing we can discuss

lafenicecc (Fri, 24 Mar 2017 03:14:46 GMT):
i'll add a jira task

baohua (Fri, 24 Mar 2017 03:14:55 GMT):
thanks, @lafenicecc pls help create a jira task.

baohua (Fri, 24 Mar 2017 03:15:07 GMT):
sure, kai

grapebaba (Fri, 24 Mar 2017 03:15:46 GMT):
now i introduce rxpy lib for handle parallel invoke multiple endorers

grapebaba (Fri, 24 Mar 2017 03:16:01 GMT):
but it may be not usual

baohua (Fri, 24 Mar 2017 03:16:05 GMT):
yeap, saw it

grapebaba (Fri, 24 Mar 2017 03:16:22 GMT):
anyone knows other options

baohua (Fri, 24 Mar 2017 03:16:55 GMT):
i guess rxpy is suitable for this case, but not sure how's the perf gurantee

baohua (Fri, 24 Mar 2017 03:17:24 GMT):
otherwise, will use thread/event mode with more complicated code, i suppose

ray (Fri, 24 Mar 2017 03:18:11 GMT):
https://github.com/ReactiveX/RxPY this lib you guys are talking about, right?

baohua (Fri, 24 Mar 2017 03:18:17 GMT):
yeap

grapebaba (Fri, 24 Mar 2017 03:18:19 GMT):
yes

baohua (Fri, 24 Mar 2017 03:18:32 GMT):
and i suggest we do not optimize too earlier :)

baohua (Fri, 24 Mar 2017 03:18:47 GMT):
so the code can work, that's rule #0!

grapebaba (Fri, 24 Mar 2017 03:19:10 GMT):
ok

grapebaba (Fri, 24 Mar 2017 03:19:38 GMT):
however need guys familiar the API

grapebaba (Fri, 24 Mar 2017 03:19:58 GMT):
it is more like RxJS

baohua (Fri, 24 Mar 2017 03:20:08 GMT):
yeap that's learning curve

baohua (Fri, 24 Mar 2017 03:20:36 GMT):
i would suggest we keep using it first to finish the MVP, then see if there's problem in practice. how do u guys think?

grapebaba (Fri, 24 Mar 2017 03:20:53 GMT):
yeah

ray (Fri, 24 Mar 2017 03:21:08 GMT):
I agree with it

baohua (Fri, 24 Mar 2017 03:21:09 GMT):
and, maybe kai can help write some notes in the doc, introducing the basic apis and best-practice.

grapebaba (Fri, 24 Mar 2017 03:21:19 GMT):
sure

baohua (Fri, 24 Mar 2017 03:21:24 GMT):
that would be even cooler! :violin:

baohua (Fri, 24 Mar 2017 03:22:01 GMT):
OK, sdk spec link again: https://docs.google.com/document/d/1R5RtIBMW9fZpli37E5Li5_Q9ve3BnQ4q3gWmGZj6Sv4. suggest the new comer have a look @camelbeck

camelbeck (Fri, 24 Mar 2017 03:22:13 GMT):
you guys did great work, :thumbsup:

camelbeck (Fri, 24 Mar 2017 03:22:35 GMT):
no problem

baohua (Fri, 24 Mar 2017 03:22:37 GMT):
and there's some out-of-dated content in the spec. the code is the final rule. we have the java/nodesdk now.

camelbeck (Fri, 24 Mar 2017 03:22:44 GMT):
maybe i can start with it

baohua (Fri, 24 Mar 2017 03:22:54 GMT):
#item 6: test coverage discussion

baohua (Fri, 24 Mar 2017 03:23:06 GMT):
@camelbeck aha, sure.

grapebaba (Fri, 24 Mar 2017 03:23:29 GMT):
i think first we can add a coverage report lib in build

baohua (Fri, 24 Mar 2017 03:23:30 GMT):
any comments on #6? is it good time to start this discussion now?

ray (Fri, 24 Mar 2017 03:23:45 GMT):
agree with kai

baohua (Fri, 24 Mar 2017 03:24:13 GMT):
sure, any suggest candidate lib to use?

baohua (Fri, 24 Mar 2017 03:24:13 GMT):
sure, any suggested candidate lib to use?

grapebaba (Fri, 24 Mar 2017 03:24:50 GMT):
could add a task first

baohua (Fri, 24 Mar 2017 03:24:58 GMT):
@camelbeck are u familiar with the test coverage tool?

grapebaba (Fri, 24 Mar 2017 03:25:08 GMT):
owner can help investigate

baohua (Fri, 24 Mar 2017 03:25:16 GMT):
it should be not that difficult to learn.

baohua (Fri, 24 Mar 2017 03:25:28 GMT):
@grapebaba sure, create the issue first.

camelbeck (Fri, 24 Mar 2017 03:25:49 GMT):
sorry, have no knowledge about it, does it easy to learn?

baohua (Fri, 24 Mar 2017 03:25:56 GMT):
and maybe @camelbeck can pick that as the starting job.

baohua (Fri, 24 Mar 2017 03:26:12 GMT):
aha, python world is always easy to get on hand.

baohua (Fri, 24 Mar 2017 03:26:27 GMT):
u can do some investigation first

camelbeck (Fri, 24 Mar 2017 03:26:38 GMT):
ok, i will have a try

baohua (Fri, 24 Mar 2017 03:26:42 GMT):
Thanks!

camelbeck (Fri, 24 Mar 2017 03:26:52 GMT):
:grinning:

baohua (Fri, 24 Mar 2017 03:27:10 GMT):
And now, welcome @camelbeck to give a self-introduction!!

baohua (Fri, 24 Mar 2017 03:27:22 GMT):
:sunflower::hibiscus::basketball_player:

camelbeck (Fri, 24 Mar 2017 03:27:24 GMT):
OK

camelbeck (Fri, 24 Mar 2017 03:27:39 GMT):
Hi, everyone, self intro: li chao, now working in IBM CSL on mainframe os rletated development.

camelbeck (Fri, 24 Mar 2017 03:27:47 GMT):
Previously, have studied fabric source code from chaincode view.

camelbeck (Fri, 24 Mar 2017 03:28:08 GMT):
And now I have some intersts in open source, I think this project may be a good start for me.

WeiHu (Fri, 24 Mar 2017 03:28:53 GMT):
:clap:

baohua (Fri, 24 Mar 2017 03:29:22 GMT):
welcome @camelbeck

camelbeck (Fri, 24 Mar 2017 03:29:43 GMT):
Hope to make some contributions to this project in future cooperating with you guys.

camelbeck (Fri, 24 Mar 2017 03:29:43 GMT):
:grin:

camelbeck (Fri, 24 Mar 2017 03:29:50 GMT):
thanks

baohua (Fri, 24 Mar 2017 03:30:02 GMT):
and we're an opensource team, so self-motivation is encouraged, by actively contributing code, discussion, and find issues to solve, and improving existing tool, etc. no one will blame if you make any trouble.

baohua (Fri, 24 Mar 2017 03:30:26 GMT):
so, come on, show urself and do something, also to everyone~~

camelbeck (Fri, 24 Mar 2017 03:30:39 GMT):
got it, thanks.

baohua (Fri, 24 Mar 2017 03:30:43 GMT):
:wink:

ray (Fri, 24 Mar 2017 03:31:29 GMT):
about the coverage tool topic: https://github.com/vinta/awesome-python#testing endorse `coverage`

baohua (Fri, 24 Mar 2017 03:31:38 GMT):
OK

ray (Fri, 24 Mar 2017 03:31:53 GMT):
https://pypi.python.org/pypi/coverage

baohua (Fri, 24 Mar 2017 03:31:59 GMT):
thanks ray's suggestion. good start point

baohua (Fri, 24 Mar 2017 03:32:17 GMT):
ok, any more issues to discuss today?

camelbeck (Fri, 24 Mar 2017 03:32:36 GMT):
:grinning:

camelbeck (Fri, 24 Mar 2017 03:32:36 GMT):
my network is poor,:grin:

baohua (Fri, 24 Mar 2017 03:32:37 GMT):
the network really sucks today...

camelbeck (Fri, 24 Mar 2017 03:32:53 GMT):
thanks @ray

ray (Fri, 24 Mar 2017 03:32:54 GMT):
:sweat_smile:

grapebaba (Fri, 24 Mar 2017 03:33:04 GMT):
:thumbsup:

baohua (Fri, 24 Mar 2017 03:33:13 GMT):
Ok, if no other issue, will end the discussion, we overdue 3 mins

camelbeck (Fri, 24 Mar 2017 03:33:25 GMT):
:thumbsup:

baohua (Fri, 24 Mar 2017 03:33:31 GMT):
Thanks everyone, and have a nice weekend!

WeiHu (Fri, 24 Mar 2017 03:33:32 GMT):
:thumbsup:

lafenicecc (Fri, 24 Mar 2017 03:34:42 GMT):
:thumbsup:

ray (Fri, 24 Mar 2017 03:36:21 GMT):
https://jira.hyperledger.org/browse/FAB-2871 @WeiHu this is the jira item we'll work on thanks @lafenicecc

WeiHu (Fri, 24 Mar 2017 03:37:12 GMT):
:ok_hand:

baohua (Fri, 24 Mar 2017 05:19:52 GMT):
https://gerrit.hyperledger.org/r/#/c/7413/ welcome for review

yeeyaa (Wed, 29 Mar 2017 15:56:57 GMT):
Has joined the channel.

baohua (Thu, 30 Mar 2017 01:37:55 GMT):
@jimthematrix we do not have separate jira board, however, can find most issues from https://jira.hyperledger.org/secure/RapidBoard.jspa?rapidView=85. Thanks!

jimthematrix (Thu, 30 Mar 2017 01:37:55 GMT):
Has joined the channel.

baohua (Thu, 30 Mar 2017 02:49:08 GMT):
We will cancel this week's meeting, let's work offline and sync next week. Enjoy the holiday, thanks!

mastersingh24 (Thu, 30 Mar 2017 12:08:30 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk?msg=MnHwuMrwva6YTRvm3) @ZionTam

ZionTam (Thu, 30 Mar 2017 12:08:30 GMT):
Has joined the channel.

baohua (Thu, 30 Mar 2017 12:13:04 GMT):
@ZionTam exactly, that's the python sdk for fabric. we are targeting fabric 1.0 now.

kuangchao (Sat, 01 Apr 2017 02:43:32 GMT):
Has joined the channel.

camelbeck (Mon, 03 Apr 2017 01:45:40 GMT):
Anyone encounters the situation that the unittest is stuck in test/unit/keyvaluestore_test.py execution? I find it will happen in most cases.

grapebaba (Mon, 03 Apr 2017 01:55:52 GMT):
What's the error? Can you paste the log?

camelbeck (Mon, 03 Apr 2017 01:57:44 GMT):
you can find the log here: https://logs.hyperledger.org/jobbuilder/vex-yul-hyp-jenkins-1/fabric-sdk-py-verify-x86_64/95/

grapebaba (Mon, 03 Apr 2017 06:05:20 GMT):
it seems that CI env not stable sometimes

grapebaba (Mon, 03 Apr 2017 06:05:53 GMT):
try 'reverify' in comment and trigger again

camelbeck (Mon, 03 Apr 2017 06:06:52 GMT):
thanks, i will have a try

grapebaba (Mon, 03 Apr 2017 06:10:36 GMT):
already done for this patch

grapebaba (Mon, 03 Apr 2017 06:14:15 GMT):
@camelbeck not sure what is the difference between coverage and pytest-cov, now we combine these two lib or only use pytest-cov?

camelbeck (Mon, 03 Apr 2017 07:46:17 GMT):
Great!!! Thanks @grapebaba ! For pytest-cov and coverage, I just want to separate the work of coverage running and reporting, and I would like the coverage report to be based on the combined result from different virtualenvs. So far, I have not found pytest-cov can do such work by itself. Thus, I use both these two. Besides, I wonder whether pytest-cov depends on coverage. I will do further investigation on it.

camelbeck (Mon, 03 Apr 2017 08:01:25 GMT):
https://github.com/pytest-dev/pytest-cov/blob/master/setup.py

camelbeck (Mon, 03 Apr 2017 08:01:56 GMT):
In pytest-cov project, it does depend on coverage package.

grapebaba (Mon, 03 Apr 2017 09:00:23 GMT):
:grinning:Thanks @camelbeck

grapebaba (Mon, 03 Apr 2017 09:00:49 GMT):
hope others review this patch ASAP

baohua (Wed, 05 Apr 2017 01:33:04 GMT):
@camelbeck after the ci verification passed, should post the patch url here to encourage more reviews.

camelbeck (Wed, 05 Apr 2017 04:11:12 GMT):
@baohua thanks for reminding me. https://gerrit.hyperledger.org/r/#/c/7637/ here is the link for my patch, welcome for review.

camelbeck (Wed, 05 Apr 2017 04:11:52 GMT):
And everyone can find some information for this item. https://jira.hyperledger.org/browse/FAB-2938

baohua (Wed, 05 Apr 2017 05:25:28 GMT):
+2 && merged, thanks and remember to update the jira task status.

camelbeck (Wed, 05 Apr 2017 08:54:59 GMT):
OK

baohua (Thu, 06 Apr 2017 06:34:57 GMT):
@here We will have meeting at tmr 11AM, pls help update the agenda/attendee, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170407

baohua (Fri, 07 Apr 2017 02:54:25 GMT):
@here the meeting will start in 5 mins

baohua (Fri, 07 Apr 2017 02:59:22 GMT):
ok, who's online?

lafenicecc (Fri, 07 Apr 2017 02:59:54 GMT):
:raised_back_of_hand:

camelbeck (Fri, 07 Apr 2017 03:00:10 GMT):
:raised_hand:

WeiHu (Fri, 07 Apr 2017 03:00:25 GMT):
:raised_hand:

baohua (Fri, 07 Apr 2017 03:00:34 GMT):
before the meeting. notice that the network connection is bad today, suggest to use proxy.

grapebaba (Fri, 07 Apr 2017 03:00:41 GMT):
:raised_hand:

baohua (Fri, 07 Apr 2017 03:00:45 GMT):
Ok, let's start!

ray (Fri, 07 Apr 2017 03:01:02 GMT):
:raised_hand:

baohua (Fri, 07 Apr 2017 03:01:03 GMT):
Item #1: Jira board status (chang will sync).

baohua (Fri, 07 Apr 2017 03:01:17 GMT):
chang, pls help share the task status

lafenicecc (Fri, 07 Apr 2017 03:01:39 GMT):
coverage test is done, good job @camelbeck

lafenicecc (Fri, 07 Apr 2017 03:02:06 GMT):
what about e2e test? :grin: @ray

baohua (Fri, 07 Apr 2017 03:03:50 GMT):
aha, we have that item later. u wanna sync now or later? @ray

ray (Fri, 07 Apr 2017 03:04:45 GMT):
@WeiHu and me have built a basic framework of the e2e test of our sdk-py (with the help of node sdk and java sdk) and we are working together on my personal github repo, we plan to re-structure the patch-set after a certain period and submit a CR to upstream

baohua (Fri, 07 Apr 2017 03:05:01 GMT):
great! ray and wei

baohua (Fri, 07 Apr 2017 03:05:21 GMT):
while i would suggest we first submit some basic code framework for review.

baohua (Fri, 07 Apr 2017 03:05:35 GMT):
This is also for the item #2: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 07 Apr 2017 03:05:45 GMT):
We encourage each patchset keep smaller and focused.

ray (Fri, 07 Apr 2017 03:05:55 GMT):
https://github.com/oldsharp/fabric-sdk-py/tree/fab-2871 that's the branch we are now working on

baohua (Fri, 07 Apr 2017 03:06:16 GMT):
let's move quickly with smaller steps, rather than throw out bunch of code one time~~

baohua (Fri, 07 Apr 2017 03:06:37 GMT):
close collaboration will be more efficient, how do u think?

ray (Fri, 07 Apr 2017 03:07:31 GMT):
Yes, I mean submit several refined CRs to upstream, not a bunch of code ;-)

lafenicecc (Fri, 07 Apr 2017 03:07:56 GMT):
:heart_eyes:

baohua (Fri, 07 Apr 2017 03:08:01 GMT):
thanks! ray, look forward to seeing ur patchsets soon!

baohua (Fri, 07 Apr 2017 03:08:51 GMT):
OK, everyone pls help review each new patchset, and after submitting a patchset, remember to share within the channel after ci passed to call for reviewers. Thanks!

baohua (Fri, 07 Apr 2017 03:09:06 GMT):
OK. item#3. MVP remaining tasks discussion (kai will sync, 1768 to @lafenicecc and 1769 to @grapebaba).

baohua (Fri, 07 Apr 2017 03:09:20 GMT):
@grapebaba could u help sync the mvp work?

baohua (Fri, 07 Apr 2017 03:09:30 GMT):
@lafenicecc for comments, too

grapebaba (Fri, 07 Apr 2017 03:09:51 GMT):
i am still doing 1769

ray (Fri, 07 Apr 2017 03:10:10 GMT):
Let's move quickly :-)

grapebaba (Fri, 07 Apr 2017 03:10:25 GMT):
since there are some differences between java and node sdk

ray (Fri, 07 Apr 2017 03:11:04 GMT):
seem the network delay of my side is terrible :-(

grapebaba (Fri, 07 Apr 2017 03:11:19 GMT):
I try to find a better way

baohua (Fri, 07 Apr 2017 03:11:31 GMT):
thanks kai.

baohua (Fri, 07 Apr 2017 03:11:41 GMT):
how about the 1768 @lafenicecc

lafenicecc (Fri, 07 Apr 2017 03:11:59 GMT):
i will collaborate more with :grapes:baba

grapebaba (Fri, 07 Apr 2017 03:12:07 GMT):
right now i feel the implementation of java SDK is more better than node

baohua (Fri, 07 Apr 2017 03:12:14 GMT):
sure, and each unfinished task can submit a WIP patchset for letting others know the work is beginning.

baohua (Fri, 07 Apr 2017 03:12:27 GMT):
aha, i know u're also a java expert!

camelbeck (Fri, 07 Apr 2017 03:12:39 GMT):
:thumbsup:

baohua (Fri, 07 Apr 2017 03:12:49 GMT):
that's great we have so many experts on various domains!

baohua (Fri, 07 Apr 2017 03:13:05 GMT):
OK. item #4: Test coverage functionality status (Chao Li will sync)

baohua (Fri, 07 Apr 2017 03:13:21 GMT):
@camelbeck pls go on~~

baohua (Fri, 07 Apr 2017 03:13:44 GMT):
:woo:

camelbeck (Fri, 07 Apr 2017 03:13:50 GMT):
OK, as @lafenicecc just mentioned, I finished coverage test this week, and satus on jira is marked DONE now.

baohua (Fri, 07 Apr 2017 03:14:26 GMT):
Thanks, chao, and have u go through the existing documentation and code structure already? :yin_yang:

camelbeck (Fri, 07 Apr 2017 03:15:14 GMT):
I have read the documents, but still have not read code now

baohua (Fri, 07 Apr 2017 03:15:26 GMT):
u must have setup the local env, right?

camelbeck (Fri, 07 Apr 2017 03:15:33 GMT):
yes

camelbeck (Fri, 07 Apr 2017 03:15:50 GMT):
with your docker images :grinning:

baohua (Fri, 07 Apr 2017 03:15:57 GMT):
the fabric code has recently changed a little. I hope u can help update our ci docker images to latest 0.8.8.

camelbeck (Fri, 07 Apr 2017 03:16:19 GMT):
Sure, no problem

baohua (Fri, 07 Apr 2017 03:16:26 GMT):
@lafenicecc pls help create a jira task for chao. :grimacing:

baohua (Fri, 07 Apr 2017 03:16:30 GMT):
thanks chao!

lafenicecc (Fri, 07 Apr 2017 03:16:30 GMT):
np

baohua (Fri, 07 Apr 2017 03:16:46 GMT):
OK. item #5: E2E test (Ray Chen will sync) has synced already.

baohua (Fri, 07 Apr 2017 03:17:02 GMT):
Do we have other issues to discuss today?

ray (Fri, 07 Apr 2017 03:17:07 GMT):
@camelbeck question about the coverage test tool you choose: I saw you choose a tool called py-cover ? instead of coverage, what's your consideration, can you share a little bit about this?

baohua (Fri, 07 Apr 2017 03:17:23 GMT):
good question.

baohua (Fri, 07 Apr 2017 03:17:40 GMT):
:smirk:

camelbeck (Fri, 07 Apr 2017 03:17:43 GMT):
https://jira.hyperledger.org/browse/FAB-2938

camelbeck (Fri, 07 Apr 2017 03:18:01 GMT):
I have recorded the reason for this choice.

camelbeck (Fri, 07 Apr 2017 03:18:34 GMT):
Have you read about that? Or still have questions? @ray

lafenicecc (Fri, 07 Apr 2017 03:18:37 GMT):
very detailed description, cool!

camelbeck (Fri, 07 Apr 2017 03:19:15 GMT):
Simply speaking, pytest-cov can be integrated with pytest.

ray (Fri, 07 Apr 2017 03:19:29 GMT):
So we used a hybrid solution, do we?

camelbeck (Fri, 07 Apr 2017 03:20:03 GMT):
Coverage in my solution is only used to get the coverage test result.

camelbeck (Fri, 07 Apr 2017 03:20:20 GMT):
But, pytest-cov depends on coverage package.

ray (Fri, 07 Apr 2017 03:21:04 GMT):
Okay I see. Thanks for your detailed explanation @camelbeck :-)

baohua (Fri, 07 Apr 2017 03:21:20 GMT):
@camelbeck Have u solved the ci stuck problem finally?

baohua (Fri, 07 Apr 2017 03:21:52 GMT):
test/unit/keyvaluestore_test.py why would stuck there?

camelbeck (Fri, 07 Apr 2017 03:22:42 GMT):
Not yet, actually in my own environment, most of the time I run make unittest, the process will be stuck there.

baohua (Fri, 07 Apr 2017 03:22:56 GMT):
Let's record the stuck problem, and maybe can raise a separate bug in jira tasks.

baohua (Fri, 07 Apr 2017 03:23:41 GMT):
Ok, last time remember @grapebaba has proposed the rxpy discussion, Have u created the issue? any further progress on that?

baohua (Fri, 07 Apr 2017 03:23:55 GMT):
:train:

grapebaba (Fri, 07 Apr 2017 03:24:15 GMT):
not yet

camelbeck (Fri, 07 Apr 2017 03:24:16 GMT):
OK @baohua

baohua (Fri, 07 Apr 2017 03:24:24 GMT):
:scooter:

baohua (Fri, 07 Apr 2017 03:24:46 GMT):
@grapebaba @camelbeck pls use our jira board often, to record the problems and discussions :)

camelbeck (Fri, 07 Apr 2017 03:25:00 GMT):
:ok_hand:

baohua (Fri, 07 Apr 2017 03:25:04 GMT):
Thanks and also to everyone

grapebaba (Fri, 07 Apr 2017 03:25:12 GMT):
:ok_hand:

baohua (Fri, 07 Apr 2017 03:25:17 GMT):
Ok, any more issue to discuss today?

camelbeck (Fri, 07 Apr 2017 03:25:57 GMT):
I think we could make some improvements to our Makefile.

camelbeck (Fri, 07 Apr 2017 03:26:05 GMT):
Just suggestions

baohua (Fri, 07 Apr 2017 03:26:22 GMT):
Sure @camelbeck feel free to create jira task and share here for discussion first.

baohua (Fri, 07 Apr 2017 03:26:37 GMT):
any suggestion would be encouraged in open-source world

camelbeck (Fri, 07 Apr 2017 03:26:51 GMT):
OK

baohua (Fri, 07 Apr 2017 03:26:54 GMT):
OK, any more issues?

camelbeck (Fri, 07 Apr 2017 03:26:59 GMT):
No

baohua (Fri, 07 Apr 2017 03:27:09 GMT):
Ok, we will end the meeting then~~

baohua (Fri, 07 Apr 2017 03:27:23 GMT):
Thanks every attendee and enjoy a nice weekend! :cake:

camelbeck (Fri, 07 Apr 2017 03:27:32 GMT):
:grinning:

lafenicecc (Fri, 07 Apr 2017 03:27:33 GMT):
thx

kuangchao (Sat, 08 Apr 2017 11:02:38 GMT):
Does python sdk still not support Fabric v1.0?

baohua (Mon, 10 Apr 2017 02:00:24 GMT):
It's totally for fabric now. The team is hard working to finish it soon, and welcome for help~

baohua (Mon, 10 Apr 2017 02:00:24 GMT):
It's totally for fabric 1.0 now. The team is hard working to finish it soon, and welcome for help~

markparz (Mon, 10 Apr 2017 20:27:29 GMT):
@baohua can you clarify please? are there some requirements that folks should be looking at? or is the SDK ready to go? tested, etc

baohua (Tue, 11 Apr 2017 02:28:37 GMT):
@markparz The sdk is still under-development to support fabric 1.0. hopefully to finish with the fabric 1.0 relase.

baohua (Tue, 11 Apr 2017 02:28:37 GMT):
@markparz The sdk is still under-development to support fabric 1.0. hopefully to finish with the fabric 1.0 release.

baohua (Tue, 11 Apr 2017 03:17:09 GMT):
https://gerrit.hyperledger.org/r/#/c/7917/

markparz (Tue, 11 Apr 2017 13:50:48 GMT):
awesome, thanks @baohua for the clarity

baohua (Tue, 11 Apr 2017 14:09:34 GMT):
https://gerrit.hyperledger.org/r/#/c/7921/

baohua (Thu, 13 Apr 2017 03:16:13 GMT):
We will have meeting at tmr 11AM, pls help update the agenda/attendee, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170414

baohua (Thu, 13 Apr 2017 03:17:12 GMT):
@here

grapebaba (Thu, 13 Apr 2017 09:08:17 GMT):
ERROR: InvocationError: '/local-dev/fabric-sdk-py/.tox/pylint/bin/py.test --cov=hfc test'

grapebaba (Thu, 13 Apr 2017 09:08:32 GMT):
got error when download latest code

baohua (Fri, 14 Apr 2017 02:08:13 GMT):
suggest remove the cov flag first

baohua (Fri, 14 Apr 2017 02:08:42 GMT):
@camelbeck may help have a look. some people also meet the error complaining not supported option --cov

camelbeck (Fri, 14 Apr 2017 02:11:17 GMT):
Ok

baohua (Fri, 14 Apr 2017 02:54:34 GMT):
@here will have meeting in 5 mins, pls hands up~

camelbeck (Fri, 14 Apr 2017 02:55:26 GMT):
:raised_hand:

lafenicecc (Fri, 14 Apr 2017 02:58:47 GMT):
:raised_back_of_hand:

baohua (Fri, 14 Apr 2017 03:00:04 GMT):
OK, meeting start

baohua (Fri, 14 Apr 2017 03:00:12 GMT):
Today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170414

baohua (Fri, 14 Apr 2017 03:00:26 GMT):
Item #1: Jira board status (chang will sync).

baohua (Fri, 14 Apr 2017 03:00:32 GMT):
would u like to sync @lafenicecc

lafenicecc (Fri, 14 Apr 2017 03:00:37 GMT):
ok

lafenicecc (Fri, 14 Apr 2017 03:00:50 GMT):
FAB-2871 e2e test is ongoing.

lafenicecc (Fri, 14 Apr 2017 03:01:14 GMT):
Ray has a patch to be reviewed

ray (Fri, 14 Apr 2017 03:01:45 GMT):
that's a WIP patch

lafenicecc (Fri, 14 Apr 2017 03:02:04 GMT):
OK~

lafenicecc (Fri, 14 Apr 2017 03:02:08 GMT):
FAB-3032 (about update images to 0.8.8 version) can be marked done? @camelbeck

camelbeck (Fri, 14 Apr 2017 03:02:41 GMT):
No, I have done some investigation on it, but still not finished it.

lafenicecc (Fri, 14 Apr 2017 03:03:05 GMT):
A recent patch already did that :grin:

lafenicecc (Fri, 14 Apr 2017 03:03:17 GMT):
Now the ci is using 0.8.8

camelbeck (Fri, 14 Apr 2017 03:03:32 GMT):
Yes, I saw it

camelbeck (Fri, 14 Apr 2017 03:04:06 GMT):
So this item can be marked DONE?

lafenicecc (Fri, 14 Apr 2017 03:04:14 GMT):
I suppose so

camelbeck (Fri, 14 Apr 2017 03:04:34 GMT):
OK

lafenicecc (Fri, 14 Apr 2017 03:04:51 GMT):
And MVP (FAB-1768 and 1769) is still ongoing

lafenicecc (Fri, 14 Apr 2017 03:05:11 GMT):
These are the working tasks for now @baohua

baohua (Fri, 14 Apr 2017 03:05:19 GMT):
thanks for the sync, chang, and great progress @ray @camelbeck

baohua (Fri, 14 Apr 2017 03:05:53 GMT):
by the way, you can explain what does WIP (wait in proposal) means this time @ray

camelbeck (Fri, 14 Apr 2017 03:06:06 GMT):
:clap:

baohua (Fri, 14 Apr 2017 03:06:11 GMT):
Just in case :)

baohua (Fri, 14 Apr 2017 03:06:41 GMT):
i may make wrong explanation :(

ray (Fri, 14 Apr 2017 03:06:55 GMT):
work in progress ;-)

lafenicecc (Fri, 14 Apr 2017 03:06:56 GMT):
Work in Progress? to my understanding :)

baohua (Fri, 14 Apr 2017 03:07:28 GMT):
so in this status, is it possible to open to review?

grapebaba (Fri, 14 Apr 2017 03:08:57 GMT):
:sweat_smile:

ray (Fri, 14 Apr 2017 03:08:57 GMT):
I designed the module structure, but not ready for code review right now. Wei and me just synced and both were busy this week. I will try to make some progress this weekend

baohua (Fri, 14 Apr 2017 03:09:18 GMT):
thanks, ray! that's nice usage of the gerrit tool

baohua (Fri, 14 Apr 2017 03:09:28 GMT):
@grapebaba aha, u're back here now

grapebaba (Fri, 14 Apr 2017 03:09:54 GMT):
a little late

baohua (Fri, 14 Apr 2017 03:09:55 GMT):
OK, item#2: Patchset for review.

baohua (Fri, 14 Apr 2017 03:09:59 GMT):
https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 14 Apr 2017 03:10:16 GMT):
Everyone pls help review all open patchsets

baohua (Fri, 14 Apr 2017 03:10:26 GMT):
and make necessary discussions and helps, thanks!

lafenicecc (Fri, 14 Apr 2017 03:10:39 GMT):
https://gerrit.hyperledger.org/r/#/c/6181/

lafenicecc (Fri, 14 Apr 2017 03:10:43 GMT):
Any updates for this?

baohua (Fri, 14 Apr 2017 03:11:10 GMT):
I suppose not

baohua (Fri, 14 Apr 2017 03:11:37 GMT):
long time not seen david

baohua (Fri, 14 Apr 2017 03:12:33 GMT):
@lafenicecc would u like to touch the author to ask his opinion?

lafenicecc (Fri, 14 Apr 2017 03:12:45 GMT):
OK, I'll do that

baohua (Fri, 14 Apr 2017 03:12:49 GMT):
Thanks

baohua (Fri, 14 Apr 2017 03:12:56 GMT):
Item #3: MVP remaining tasks discussion (kai will sync, 1768 by @lafenicecc and 1769 by @grapebaba).

baohua (Fri, 14 Apr 2017 03:13:04 GMT):
How's that going?

grapebaba (Fri, 14 Apr 2017 03:13:36 GMT):
will submit a patch today or next Monday

grapebaba (Fri, 14 Apr 2017 03:13:41 GMT):
for 1769

baohua (Fri, 14 Apr 2017 03:13:56 GMT):
great! that's big stone on the road!

grapebaba (Fri, 14 Apr 2017 03:14:31 GMT):
1768 should be updated done

lafenicecc (Fri, 14 Apr 2017 03:14:46 GMT):
Sure

lafenicecc (Fri, 14 Apr 2017 03:15:21 GMT):
waiting for grapebaba's new patch.. RxPy does have a learning curve for me..

baohua (Fri, 14 Apr 2017 03:15:35 GMT):
yeap, let's keep close collaboration, and make the mvp done soon. fabric 1.0's features will be frozen this month. so there will be no big change later.

grapebaba (Fri, 14 Apr 2017 03:16:20 GMT):
Rxpy have little document, and I suggest we can refer to RxJS

lafenicecc (Fri, 14 Apr 2017 03:16:32 GMT):
Thanks

baohua (Fri, 14 Apr 2017 03:16:35 GMT):
thanks! and then we can have the e2e test done @ray , before the announcement of supporting fabric 1.0 :)

baohua (Fri, 14 Apr 2017 03:16:50 GMT):
OK, item #4: Test coverage functionality enhancement (Chao Li will sync)

baohua (Fri, 14 Apr 2017 03:16:56 GMT):
recent code complaining unsupported option –cov, to fix

baohua (Fri, 14 Apr 2017 03:17:06 GMT):
@camelbeck have u met the problem?

camelbeck (Fri, 14 Apr 2017 03:17:18 GMT):
Actually not

camelbeck (Fri, 14 Apr 2017 03:17:32 GMT):
I will try to find the reason for this issue ASAP.

baohua (Fri, 14 Apr 2017 03:17:33 GMT):
what py version are u using?

lafenicecc (Fri, 14 Apr 2017 03:17:40 GMT):
I met that problem too

camelbeck (Fri, 14 Apr 2017 03:17:40 GMT):
2.7

baohua (Fri, 14 Apr 2017 03:17:47 GMT):
strange, as the ci does not complain

grapebaba (Fri, 14 Apr 2017 03:17:54 GMT):
make clean

baohua (Fri, 14 Apr 2017 03:17:57 GMT):
it should be ok for py 2.7

baohua (Fri, 14 Apr 2017 03:18:06 GMT):
yeap, make clean before the test

camelbeck (Fri, 14 Apr 2017 03:18:16 GMT):
@grapebaba I will have another try later

baohua (Fri, 14 Apr 2017 03:18:31 GMT):
pls help track this issue @lafenicecc maybe u can create a bug in jira and assign to chao

grapebaba (Fri, 14 Apr 2017 03:18:32 GMT):
after make clean

lafenicecc (Fri, 14 Apr 2017 03:18:39 GMT):
OK!

grapebaba (Fri, 14 Apr 2017 03:18:42 GMT):
i don't have problem now

camelbeck (Fri, 14 Apr 2017 03:19:03 GMT):
so any suggestions for this issue @grapebaba

baohua (Fri, 14 Apr 2017 03:19:18 GMT):
anyway, let's track on jira and make sure the situation.

lafenicecc (Fri, 14 Apr 2017 03:19:23 GMT):

Message Attachments

camelbeck (Fri, 14 Apr 2017 03:19:44 GMT):
thanks @lafenicecc

lafenicecc (Fri, 14 Apr 2017 03:20:16 GMT):
I haven't try make clean first

baohua (Fri, 14 Apr 2017 03:20:46 GMT):
OK, item #5: E2E test (Ray Chen will sync), i guess u have updated, any more comments? @ray

grapebaba (Fri, 14 Apr 2017 03:21:20 GMT):
i suspect tox cache

camelbeck (Fri, 14 Apr 2017 03:21:44 GMT):
OK, I will do some further investigation for this issue.

ray (Fri, 14 Apr 2017 03:22:22 GMT):
@bauhua no extra info

baohua (Fri, 14 Apr 2017 03:22:44 GMT):
OK

baohua (Fri, 14 Apr 2017 03:22:55 GMT):
that's the main agenda, so any more issues to discuss today?

lafenicecc (Fri, 14 Apr 2017 03:23:16 GMT):
Sorry I missed something in the jira board. I notice Jim Zhang created a issue for all sdk projects

lafenicecc (Fri, 14 Apr 2017 03:23:30 GMT):
FAB-3081, might be a reminding: Remove /api/v1/cfssl prefix on fabric-ca-server endpoints

lafenicecc (Fri, 14 Apr 2017 03:24:09 GMT):
https://jira.hyperledger.org/browse/FAB-3081

lafenicecc (Fri, 14 Apr 2017 03:24:15 GMT):
Please notice this

baohua (Fri, 14 Apr 2017 03:24:20 GMT):
aha, big change!

baohua (Fri, 14 Apr 2017 03:24:43 GMT):
that maybe why install fails sometime, thanks for pointing-out @lafenicecc

baohua (Fri, 14 Apr 2017 03:24:43 GMT):
that may be why install fails sometime, thanks for pointing-out @lafenicecc

lafenicecc (Fri, 14 Apr 2017 03:24:47 GMT):
For example, change /api/v1/cfssl/enroll to /enroll. This is true for all REST URLs to fabric-ca-server. Support for the /api/v1/cfssl prefixed routes will be removed soon.

baohua (Fri, 14 Apr 2017 03:25:48 GMT):
pls also notice this @grapebaba may change soon

baohua (Fri, 14 Apr 2017 03:25:58 GMT):
OK, any more issues?

grapebaba (Fri, 14 Apr 2017 03:26:06 GMT):
ok

baohua (Fri, 14 Apr 2017 03:26:41 GMT):
OK, if there's no more topics, will end the meeting.

grapebaba (Fri, 14 Apr 2017 03:26:55 GMT):
:clap:

baohua (Fri, 14 Apr 2017 03:26:58 GMT):
Thanks every attendee, have a nice weekend!

lafenicecc (Fri, 14 Apr 2017 03:27:02 GMT):
:woo:

camelbeck (Fri, 14 Apr 2017 03:27:15 GMT):
:clap:

ray (Fri, 14 Apr 2017 03:28:54 GMT):
:upside_down:

lafenicecc (Fri, 14 Apr 2017 03:36:36 GMT):
After make clean, the error disappears @camelbeck

camelbeck (Fri, 14 Apr 2017 10:49:21 GMT):
@lafenicecc :ok_hand:

grapebaba (Mon, 17 Apr 2017 03:55:48 GMT):
https://gerrit.hyperledger.org/r/#/c/8097/

david_dornseifer (Tue, 18 Apr 2017 20:41:14 GMT):
Hi submitted a patch for the testing issue, it's related to docker-compose 1.12.0 (https://github.com/docker/compose/issues/4729)

david_dornseifer (Tue, 18 Apr 2017 20:41:39 GMT):
http://gerrit.hyperledger.org/r/8177

david_dornseifer (Tue, 18 Apr 2017 20:49:07 GMT):
the original error message: ```subprocess.CalledProcessError: Command '['docker-compose', '-f', '/Users/i841521/Dev/hyperledger/fabric-sdk-py/test/fixtures/ca/docker-compose.yml', 'up', '-d']' returned non-zero exit status 1 test/unit/util.py:40: CalledProcessError -------------------------------------------------------- Captured stdout call --------------------------------------------------------- Error Message: b'Creating fabric-ca\n\nERROR: for ca Cannot create container for service ca: b\'invalid port specification: "None"\'\nEncountered errors while bringing up the project.\ n' ================================================ 2 failed, 21 passed in 16.46 seconds ================================================= ERROR: InvocationError: '/Users/i841521/Dev/hyperledger/fabric-sdk-py/.tox/py35/bin/py.test --cov=hfc test' _______________________________________________________________ summary _______________________________________________________________ ERROR: py35: commands failed make: *** [py35] Error 1```

david_dornseifer (Tue, 18 Apr 2017 20:49:07 GMT):
the original error message: '''subprocess.CalledProcessError: Command '['docker-compose', '-f', '/Users/i841521/Dev/hyperledger/fabric-sdk-py/test/fixtures/ca/docker-compose.yml', 'up', '-d']' returned non-zero exit status 1 test/unit/util.py:40: CalledProcessError -------------------------------------------------------- Captured stdout call --------------------------------------------------------- Error Message: b'Creating fabric-ca\n\nERROR: for ca Cannot create container for service ca: b\'invalid port specification: "None"\'\nEncountered errors while bringing up the project.\ n' ================================================ 2 failed, 21 passed in 16.46 seconds ================================================= ERROR: InvocationError: '/Users/i841521/Dev/hyperledger/fabric-sdk-py/.tox/py35/bin/py.test --cov=hfc test' _______________________________________________________________ summary _______________________________________________________________ ERROR: py35: commands failed make: *** [py35] Error 1'''

david_dornseifer (Tue, 18 Apr 2017 20:49:07 GMT):
```subprocess.CalledProcessError: Command '['docker-compose', '-f', '/Users/i841521/Dev/hyperledger/fabric-sdk-py/test/fixtures/ca/docker-compose.yml', 'up', '-d']' returned non-zero exit status 1 test/unit/util.py:40: CalledProcessError -------------------------------------------------------- Captured stdout call --------------------------------------------------------- Error Message: b'Creating fabric-ca\n\nERROR: for ca Cannot create container for service ca: b\'invalid port specification: "None"\'\nEncountered errors while bringing up the project.\ n' ================================================ 2 failed, 21 passed in 16.46 seconds ================================================= ERROR: InvocationError: '/Users/i841521/Dev/hyperledger/fabric-sdk-py/.tox/py35/bin/py.test --cov=hfc test' _______________________________________________________________ summary _______________________________________________________________ ERROR: py35: commands failed make: *** [py35] Error 1```

david_dornseifer (Tue, 18 Apr 2017 20:49:07 GMT):
```subprocess.CalledProcessError: Command '['docker-compose', '-f', '/Users/david/Dev/hyperledger/fabric-sdk-py/test/fixtures/ca/docker-compose.yml', 'up', '-d']' returned non-zero exit status 1 test/unit/util.py:40: CalledProcessError -------------------------------------------------------- Captured stdout call --------------------------------------------------------- Error Message: b'Creating fabric-ca\n\nERROR: for ca Cannot create container for service ca: b\'invalid port specification: "None"\'\nEncountered errors while bringing up the project.\ n' ================================================ 2 failed, 21 passed in 16.46 seconds ================================================= ERROR: InvocationError: '/Users/david/Dev/hyperledger/fabric-sdk-py/.tox/py35/bin/py.test --cov=hfc test' _______________________________________________________________ summary _______________________________________________________________ ERROR: py35: commands failed make: *** [py35] Error 1```

david_dornseifer (Wed, 19 Apr 2017 01:14:40 GMT):
Hmm the ci runs into a build time out?

david_dornseifer (Wed, 19 Apr 2017 01:14:46 GMT):
```test/unit/ca_test.py ....... test/unit/chaincode_test.py ... test/unit/crypto_test.py ........ test/unit/demo_test.py . test/unit/keyvaluestore_test.py .Build timed out (after 120 minutes). Marking the build as failed.```

baohua (Wed, 19 Apr 2017 01:41:39 GMT):
@david_dornseifer i suppose the ci is transiently unstable... recheck for u

baohua (Wed, 19 Apr 2017 01:44:07 GMT):
By the way, would u like to help create a jira task on this patchset? https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/CONTRIBUTING.md

baohua (Wed, 19 Apr 2017 02:40:54 GMT):
pls be aware of this change: https://gerrit.hyperledger.org/r/#/c/8173/

david_dornseifer (Wed, 19 Apr 2017 16:28:46 GMT):
@baohua yep will do so

david_dornseifer (Wed, 19 Apr 2017 20:42:41 GMT):
@baohua https://jira.hyperledger.org/browse/FAB-3256

grapebaba (Thu, 20 Apr 2017 02:28:49 GMT):
@david_dornseifer what is your OS, I don't meet this error on ubuntu 16.04

baohua (Thu, 20 Apr 2017 02:39:52 GMT):
I tested at ubuntu 16.04, and it works? docker-compose version 1.12.0, build b31ff33

baohua (Thu, 20 Apr 2017 08:38:14 GMT):
we will cancel tmr's team meeting, let's keep on the development and discussions off-line, thanks!

baohua (Thu, 20 Apr 2017 08:39:22 GMT):
@here

david_dornseifer (Thu, 20 Apr 2017 16:04:48 GMT):
@grapebaba @baohua running on MacOS 10.12.4 - make check / breaks at py35

david_dornseifer (Thu, 20 Apr 2017 16:04:48 GMT):
@grapebaba @baohua running on MacOS 10.12.4 - make check breaks at py35

david_dornseifer (Thu, 20 Apr 2017 16:06:35 GMT):
```> raise subprocess.CalledProcessError(p.returncode, arg_list, output) E subprocess.CalledProcessError: Command '['docker-compose', '-f', '/Users/i841521/Dev/hyperledger/fabric-sdk-py-gerrit/test/fixtures/ca/docker-compose.yml' , 'up', '-d']' returned non-zero exit status 1 test/unit/util.py:40: CalledProcessError -------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------- Error Message: b'Creating fabric-ca\n\nERROR: for ca Cannot create container for service ca: b\'invalid port specification: "None"\'\nEncountered errors while bringing up the project.\ n' ================================================================== 2 failed, 21 passed in 18.18 seconds ================================================================== ERROR: InvocationError: '/Users/i841521/Dev/hyperledger/fabric-sdk-py-gerrit/.tox/py35/bin/py.test --cov=hfc test' ________________________________________________________________________________ summary _________________________________________________________________________________ ERROR: py35: commands failed make[1]: *** [py35] Error 1 make: *** [check] Error 2```

david_dornseifer (Thu, 20 Apr 2017 16:06:35 GMT):
```> raise subprocess.CalledProcessError(p.returncode, arg_list, output) E subprocess.CalledProcessError: Command '['docker-compose', '-f', '/Users/david/Dev/hyperledger/fabric-sdk-py-gerrit/test/fixtures/ca/docker-compose.yml' , 'up', '-d']' returned non-zero exit status 1 test/unit/util.py:40: CalledProcessError -------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------- Error Message: b'Creating fabric-ca\n\nERROR: for ca Cannot create container for service ca: b\'invalid port specification: "None"\'\nEncountered errors while bringing up the project.\ n' ================================================================== 2 failed, 21 passed in 18.18 seconds ================================================================== ERROR: InvocationError: '/Users/david/Dev/hyperledger/fabric-sdk-py-gerrit/.tox/py35/bin/py.test --cov=hfc test' ________________________________________________________________________________ summary _________________________________________________________________________________ ERROR: py35: commands failed make[1]: *** [py35] Error 1 make: *** [check] Error 2```

david_dornseifer (Thu, 20 Apr 2017 18:13:53 GMT):
@grapebaba @baohua - tested it with different versions on macOS 10.12.4 . It breaks with Python3.5.0 - see error bellow / py3.5.1, 3.5.2, 3.5.3 is working

david_dornseifer (Thu, 20 Apr 2017 18:13:53 GMT):
@grapebaba @baohua - tested it with different versions on macOS 10.12.4 . It breaks with Python3.5.0 - see error bellow / py3.5.1, 3.5.2, 3.5.3 is working fine

david_dornseifer (Thu, 20 Apr 2017 18:14:34 GMT):
```E subprocess.CalledProcessError: Command '['docker-compose', '-f', '/Users/david/Dev/hyperledger/fabric-sdk-py-gerrit/test/fixtures/ca/docker-compose.yml', 'up', '-d']' returned non-zero exit status 1 test/unit/util.py:40: CalledProcessError -------------------------------------------------------------------------- Captured stdout call -------------------------------------------------------------------------- Error Message: b'Creating fabric-ca\n\nERROR: for ca Cannot create container for service ca: b\'invalid port specification: "None"\'\nEncountered errors while bringing up the project.\n' ================================================================== 2 failed, 21 passed in 18.25 seconds ================================================================== ERROR: InvocationError: '/Users/david/Dev/hyperledger/fabric-sdk-py-gerrit/.tox/py35/bin/py.test --cov=hfc test' ________________________________________________________________________________ summary _________________________________________________________________________________ ERROR: py35: commands failed make[1]: *** [py35] Error 1 make: *** [check] Error 2```

grapebaba (Fri, 21 Apr 2017 01:14:59 GMT):
@baohua could you help check on macOS

baohua (Fri, 21 Apr 2017 01:24:28 GMT):
yeap, let me try locally.

baohua (Fri, 21 Apr 2017 01:24:49 GMT):
https://gerrit.hyperledger.org/r/#/c/8205/

baohua (Fri, 21 Apr 2017 02:34:41 GMT):
@david_dornseifer david, strange, with macos, i didn't met the problem. can u try `make clean; tox -e py35` and tell the result?

baohua (Sun, 23 Apr 2017 01:27:39 GMT):
i create a jira task on changing with the new fabirc-ca restful API, who would volunteer to fix this? it should be simple enough, https://jira.hyperledger.org/browse/FAB-3345

baohua (Mon, 24 Apr 2017 01:48:50 GMT):
@david_dornseifer hi could u help have a look at https://gerrit.hyperledger.org/r/#/c/6181/?

baohua (Mon, 24 Apr 2017 01:57:20 GMT):
@camelbeck i notice everytime we run coverage, there will generate some .coverage...xxx files under test/. could u help update the makefile to let make clean also remove those files?

baohua (Mon, 24 Apr 2017 01:57:31 GMT):
feel free to create a jira task before take on hand :)

david_dornseifer (Mon, 24 Apr 2017 02:11:55 GMT):
@baohua executing the tests just in the py35 environment `tox -e py35` breaks with the same error as well if python3.5.0 is the interpreter. The problem also seems to occur if Python3.4 (https://github.com/docker/compose/issues/4729).

david_dornseifer (Mon, 24 Apr 2017 02:11:55 GMT):
@baohua executing the tests just in the py35 environment `tox -e py35` breaks with the same error as well if python3.5.0 is the interpreter. The problem also seems to occur using Python3.4 (https://github.com/docker/compose/issues/4729).

baohua (Mon, 24 Apr 2017 02:17:32 GMT):
OK, in case other people met the same problem, i may first restrict the compose versions for safety. while let's tracking this. @grapebaba

baohua (Mon, 24 Apr 2017 02:18:02 GMT):
https://gerrit.hyperledger.org/r/#/c/8177/

grapebaba (Mon, 24 Apr 2017 02:20:35 GMT):
done

david_dornseifer (Mon, 24 Apr 2017 02:29:21 GMT):
@baohua closing https://gerrit.hyperledger.org/r/#/c/6181 since that the tox dependency has been added to check.sh since then

baohua (Mon, 24 Apr 2017 02:29:48 GMT):
sure, thanks for the help, david

camelbeck (Mon, 24 Apr 2017 03:19:30 GMT):
Sure, @baohua Thanks.

baohua (Tue, 25 Apr 2017 01:13:00 GMT):
@lujiang here is the fabric-sdk-py channel...

lujiang (Tue, 25 Apr 2017 01:13:00 GMT):
Has joined the channel.

david_dornseifer (Tue, 25 Apr 2017 01:17:27 GMT):
http://gerrit.hyperledger.org/r/8497

grapebaba (Tue, 25 Apr 2017 07:24:10 GMT):
https://gerrit.hyperledger.org/r/#/c/8097/

david_dornseifer (Tue, 25 Apr 2017 20:03:05 GMT):
http://gerrit.hyperledger.org/r/8521

baohua (Wed, 26 Apr 2017 01:29:08 GMT):
done thanks!

baohua (Wed, 26 Apr 2017 13:50:39 GMT):
@david_dornseifer would u like to have a look at https://gerrit.hyperledger.org/r/#/c/8497/?

baohua (Wed, 26 Apr 2017 13:51:08 GMT):
Would like to suggest u try the 0.9.1 image to use the new restful api, which is in the check.sh.

baohua (Thu, 27 Apr 2017 12:30:53 GMT):
Dear everyone, this is tmr meeting's agenda, pls help update and join punctually, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170428

baohua (Fri, 28 Apr 2017 02:59:20 GMT):
OK, who's online?

lafenicecc (Fri, 28 Apr 2017 02:59:26 GMT):
:raised_back_of_hand:

grapebaba (Fri, 28 Apr 2017 02:59:28 GMT):
:raised_hand:

camelbeck (Fri, 28 Apr 2017 02:59:54 GMT):
:raised_hand:

baohua (Fri, 28 Apr 2017 03:00:28 GMT):
@ray there?

ray (Fri, 28 Apr 2017 03:00:34 GMT):
:raised_back_of_hand:

baohua (Fri, 28 Apr 2017 03:00:37 GMT):
OK, let's start, thanks for the joining

baohua (Fri, 28 Apr 2017 03:00:44 GMT):
Today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170428

baohua (Fri, 28 Apr 2017 03:00:58 GMT):
#item 1: chang pls help sync the jira task status

lafenicecc (Fri, 28 Apr 2017 03:01:17 GMT):
There are 3 tasks in progress

lafenicecc (Fri, 28 Apr 2017 03:02:02 GMT):
1) FAB-1769 send_transaction. @grapebaba has made great progress this week, and still some works ahead. He can sync later.

lafenicecc (Fri, 28 Apr 2017 03:02:33 GMT):
2) FAB-2871 implement e2e test, which @ray is working on. He will sync too

lafenicecc (Fri, 28 Apr 2017 03:03:00 GMT):
3) FAB-3437 update with latest protofiles. @baohua is working on that, keeping with fabric changes.

lafenicecc (Fri, 28 Apr 2017 03:03:00 GMT):
3) FAB-3437 update with latest protofiles. @baohua is working on that, keeping up with fabric changes.

lafenicecc (Fri, 28 Apr 2017 03:03:12 GMT):
That's the status for now.

baohua (Fri, 28 Apr 2017 03:03:16 GMT):
Thanks

baohua (Fri, 28 Apr 2017 03:03:30 GMT):
@grapebaba @ray hope goes well?

grapebaba (Fri, 28 Apr 2017 03:03:44 GMT):
yeah, 1769 done

baohua (Fri, 28 Apr 2017 03:04:12 GMT):
the fabric code changes the configtx.yaml structure recently, so i need to update the 3437 later with new compose environment.

grapebaba (Fri, 28 Apr 2017 03:04:16 GMT):
that means we finish all external invocation including CA, PEER, ORDERER

ray (Fri, 28 Apr 2017 03:04:30 GMT):
About fab-2871: My side: Heavily involved with company's project, very few free time available until May 15. Wei Hu: Still no progress. Should we re-assign the e2e task? Or is this ok to wait for some more time?

baohua (Fri, 28 Apr 2017 03:04:58 GMT):
ok, who will volunteer to help the e2e framework design?

grapebaba (Fri, 28 Apr 2017 03:05:05 GMT):
but i made a mistake which install test should no need sending to orderer

camelbeck (Fri, 28 Apr 2017 03:05:48 GMT):
I'm still not very familiar with e2e so far, but I think I can have a try for fab-2871.

baohua (Fri, 28 Apr 2017 03:06:00 GMT):
aha, kai, pls help fix that ASAP.. maybe a new jira task first.

baohua (Fri, 28 Apr 2017 03:06:05 GMT):
Thanks @camelbeck

camelbeck (Fri, 28 Apr 2017 03:06:26 GMT):
:grin:

baohua (Fri, 28 Apr 2017 03:06:37 GMT):
First, you may create some simple high-level worksteps, with leaving the api implemented later

baohua (Fri, 28 Apr 2017 03:07:03 GMT):
e.g., a typical scenario: user use the sdk, to access the network, to deploy/invoke chaincode

baohua (Fri, 28 Apr 2017 03:07:16 GMT):
we need several typical scenarios first to show how people may use the sdk.

baohua (Fri, 28 Apr 2017 03:07:31 GMT):
certainly u can refer the java/node sdk's scenarios examples.

camelbeck (Fri, 28 Apr 2017 03:07:37 GMT):
OK, I think it is a great chance for me to get familiar with SDK and fabric, too.

baohua (Fri, 28 Apr 2017 03:07:53 GMT):
Yeap, very good starting-point.

baohua (Fri, 28 Apr 2017 03:08:22 GMT):
@grapebaba pls help fix the install problem, and we will fill with fuel to run! :airplane_arriving:

baohua (Fri, 28 Apr 2017 03:08:41 GMT):
OK, item #2: Patchset for review.

baohua (Fri, 28 Apr 2017 03:08:48 GMT):
https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 28 Apr 2017 03:09:04 GMT):
Each patchset need a jira task number, and pls add the patchset url to the jira task's comments.

baohua (Fri, 28 Apr 2017 03:09:25 GMT):
Also, after ci passed, pls post the patchset url to the channel for call-for-review.

camelbeck (Fri, 28 Apr 2017 03:09:41 GMT):
:ok_hand:

baohua (Fri, 28 Apr 2017 03:10:12 GMT):
@lafenicecc pls talk to david about the 8521

lafenicecc (Fri, 28 Apr 2017 03:10:24 GMT):
Ok i will

baohua (Fri, 28 Apr 2017 03:10:26 GMT):
thanks

baohua (Fri, 28 Apr 2017 03:10:47 GMT):
item #3: MVP remaining tasks discussion (1769 done by @grapebaba).

baohua (Fri, 28 Apr 2017 03:10:51 GMT):
great progress

baohua (Fri, 28 Apr 2017 03:11:07 GMT):
@grapebaba pls help create jira tasks for the remaining steps we need to do.

grapebaba (Fri, 28 Apr 2017 03:11:18 GMT):
ok

baohua (Fri, 28 Apr 2017 03:11:20 GMT):
would suggest each task as simple as possible, then people will be easy to pick

lafenicecc (Fri, 28 Apr 2017 03:11:29 GMT):
agreed

baohua (Fri, 28 Apr 2017 03:11:33 GMT):
we need run fast with smaller steps, thanks!

grapebaba (Fri, 28 Apr 2017 03:11:50 GMT):
now we can start implement all the interfaces in the SDK

baohua (Fri, 28 Apr 2017 03:11:57 GMT):
OK. ray has already synced item #4: e2e tests.

baohua (Fri, 28 Apr 2017 03:12:19 GMT):
@grapebaba I would suggest we define those apis first, then ask team to help implement.

baohua (Fri, 28 Apr 2017 03:12:30 GMT):
API definition is quite important

baohua (Fri, 28 Apr 2017 03:12:54 GMT):
there're already some apis, everyone pls help refine/review and implement. thanks!

grapebaba (Fri, 28 Apr 2017 03:12:56 GMT):
ok

ray (Fri, 28 Apr 2017 03:13:11 GMT):
ok

baohua (Fri, 28 Apr 2017 03:13:33 GMT):
Ok, that's the main agenda, any more issue to discuss?

camelbeck (Fri, 28 Apr 2017 03:14:03 GMT):
@baohua, for the .coverage.*** files issue.

baohua (Fri, 28 Apr 2017 03:14:11 GMT):
yeap

camelbeck (Fri, 28 Apr 2017 03:14:20 GMT):
Actually I have not recreated the issue. I do notice many .coverage.*** files under the fabric-sdk-py directory (not the test/ you pointed out) will be generated during the test process, but they all are temporary and will be deleted if testing is successful. And they will remain there if testing fails.

baohua (Fri, 28 Apr 2017 03:14:51 GMT):
yes, so i would suggest we add those files in the `make clean` script.

baohua (Fri, 28 Apr 2017 03:14:59 GMT):
in case they remain in the dir.

camelbeck (Fri, 28 Apr 2017 03:15:24 GMT):
yes, that's one way to solve it.

baohua (Fri, 28 Apr 2017 03:15:28 GMT):
you can see the `find ...` cmd in the makefile's clean section.

baohua (Fri, 28 Apr 2017 03:15:47 GMT):
certainly will like to hear ur advice on handle that

baohua (Fri, 28 Apr 2017 03:16:18 GMT):
@lafenicecc pls help create a jira task first on the issue.

baohua (Fri, 28 Apr 2017 03:16:40 GMT):
@camelbeck pls help design a clever solution :grinning:

lafenicecc (Fri, 28 Apr 2017 03:16:43 GMT):
ok

camelbeck (Fri, 28 Apr 2017 03:16:47 GMT):
OK, I will update with the information under that task.

baohua (Fri, 28 Apr 2017 03:16:59 GMT):
Thanks

camelbeck (Fri, 28 Apr 2017 03:17:07 GMT):
:grinning:

baohua (Fri, 28 Apr 2017 03:17:15 GMT):
Any more issue, great progress in the past weeks, we are near MVP soon!

camelbeck (Fri, 28 Apr 2017 03:17:30 GMT):
:thumbsup:

baohua (Fri, 28 Apr 2017 03:17:36 GMT):
Other questions?

baohua (Fri, 28 Apr 2017 03:18:16 GMT):
Ok, thanks everyone's joining and efforts, enjoy a labor holiday!

camelbeck (Fri, 28 Apr 2017 03:18:34 GMT):
:clap:

grapebaba (Fri, 28 Apr 2017 03:19:22 GMT):
:clap:

ray (Fri, 28 Apr 2017 03:20:27 GMT):
:clap:

grapebaba (Fri, 28 Apr 2017 03:38:36 GMT):
https://jira.hyperledger.org/browse/FAB-3483

grapebaba (Fri, 28 Apr 2017 03:39:05 GMT):
i define a API for create channel

grapebaba (Fri, 28 Apr 2017 03:39:21 GMT):
feel free add comment to discuss

baohua (Fri, 28 Apr 2017 03:41:26 GMT):
:thumbsup:

grapebaba (Fri, 28 Apr 2017 06:16:06 GMT):
https://jira.hyperledger.org/browse/FAB-3484 another one

Ying (Tue, 09 May 2017 04:36:44 GMT):
Has left the channel.

david_dornseifer (Wed, 10 May 2017 18:34:48 GMT):
@baohua answered you on gerrit - 0.9.1 is working but the chainode_test breaks right now.

david_dornseifer (Wed, 10 May 2017 18:34:52 GMT):
https://gerrit.hyperledger.org/r/#/c/9201/

camelbeck (Thu, 11 May 2017 00:23:55 GMT):
https://gerrit.hyperledger.org/r/#/c/9215/ welcome for review

baohua (Thu, 11 May 2017 01:14:28 GMT):
thanks and @camelbeck pls help review 9201, changed the unittest by @david_dornseifer

camelbeck (Thu, 11 May 2017 01:29:45 GMT):
Sure

baohua (Thu, 11 May 2017 02:06:27 GMT):
ci fails...

grapebaba (Thu, 11 May 2017 02:11:11 GMT):
@david_dornseifer please kindly skip chaincode test in your patch, that is a new feature we need follow but not related CA

camelbeck (Thu, 11 May 2017 02:42:51 GMT):
@baohua I notice the failure of 9201 is because of the conflict to my new patch. How to deal with it in this situation? Need I revoke or modify the patch first?

baohua (Thu, 11 May 2017 02:43:45 GMT):
aha, both are not merged yet, hence would suggest u talked with david to make agreement.

baohua (Thu, 11 May 2017 02:44:12 GMT):
if ur patchset is merged already, then the new one need do a rebase on the master branch.

camelbeck (Thu, 11 May 2017 02:45:24 GMT):
OK. You cannot merge the patch that fails in CI, right?

baohua (Thu, 11 May 2017 02:45:48 GMT):
we should fix the problem before do the merge action :)

camelbeck (Thu, 11 May 2017 02:46:09 GMT):
OK, got it, thanks, :grinning:

baohua (Thu, 11 May 2017 02:47:19 GMT):
np

david_dornseifer (Thu, 11 May 2017 02:48:27 GMT):
Hi, updated FAB-3345. Changed the image to 0.9.1 and skipped the chaincode test

david_dornseifer (Thu, 11 May 2017 02:48:29 GMT):
http://gerrit.hyperledger.org/r/8497

baohua (Thu, 11 May 2017 02:50:00 GMT):
thanks will review

baohua (Thu, 11 May 2017 02:52:15 GMT):
@david_dornseifer ci fails: 02:48:06 [fabric-sdk-py-verify-x86_64] $ /bin/bash /tmp/hudson3841202122031634096.sh 02:48:06 Error: Remove JIRA URLs from commit message 02:48:06 Add jira references as: Issue: -, instead of URLs

baohua (Thu, 11 May 2017 02:52:21 GMT):
https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/134/console

david_dornseifer (Thu, 11 May 2017 02:53:22 GMT):
ohh, ok

baohua (Thu, 11 May 2017 02:54:10 GMT):
@here Dear all, we will have meeting 11AM tmr morning, pls help update the agenda, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170512

david_dornseifer (Thu, 11 May 2017 03:03:02 GMT):
@baohua fixed the commit messages for 9201 and 8497. Please restart ci

grapebaba (Thu, 11 May 2017 03:34:23 GMT):
@david_dornseifer @camelbeck seems CI broken right now

grapebaba (Thu, 11 May 2017 03:34:52 GMT):
will retry a moment later

camelbeck (Thu, 11 May 2017 04:15:24 GMT):
OK

baohua (Thu, 11 May 2017 06:55:28 GMT):
@david_dornseifer to restart a ci, just type `check` or `reverify` in the comment dialog :)

baohua (Thu, 11 May 2017 08:10:32 GMT):
@zerppen are u here?

zerppen (Thu, 11 May 2017 08:10:32 GMT):
Has joined the channel.

baohua (Thu, 11 May 2017 08:10:44 GMT):
sometimes, people cannot find the channel through searching, strange...

zerppen (Thu, 11 May 2017 08:10:46 GMT):
yeah

zerppen (Thu, 11 May 2017 08:12:40 GMT):
to tell the truth,i have not used python

baohua (Thu, 11 May 2017 08:15:39 GMT):
haha, python is quite easy to learn, i guess, more like native human language sometimes. And I also like lanaguages like javascript/go.... too

zerppen (Thu, 11 May 2017 08:34:26 GMT):
maybe he have talked with u about development @king3000

king3000 (Thu, 11 May 2017 08:34:26 GMT):
Has joined the channel.

zerppen (Thu, 11 May 2017 08:38:21 GMT):
He showed me interest about sdkPy and I recommended to talk about u @baohua

baohua (Thu, 11 May 2017 08:40:34 GMT):
sure, we would welcome anyone interested in the project @king3000

david_dornseifer (Thu, 11 May 2017 18:00:05 GMT):
test with 0.9.1 is successful now https://gerrit.hyperledger.org/r/#/c/8497/3 :)

david_dornseifer (Thu, 11 May 2017 18:00:26 GMT):
also single tests with tox https://gerrit.hyperledger.org/r/#/c/9201/

baohua (Fri, 12 May 2017 01:25:06 GMT):
cool @camelbeck could u help review this patchset?

camelbeck (Fri, 12 May 2017 01:36:46 GMT):
np

baohua (Fri, 12 May 2017 02:56:20 GMT):
@here the meeting will start in 5 mins. :)

lafenicecc (Fri, 12 May 2017 02:58:08 GMT):
:raised_back_of_hand:

WeiHu (Fri, 12 May 2017 02:58:33 GMT):
:raised_hand:

grapebaba (Fri, 12 May 2017 02:59:10 GMT):
:raised_hand:

SeeGo (Fri, 12 May 2017 02:59:18 GMT):
:raised_hand:

baohua (Fri, 12 May 2017 02:59:34 GMT):
@SeeGo ,thanks pls add ur name at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170512.

camelbeck (Fri, 12 May 2017 02:59:41 GMT):
:raised_back_of_hand:

SeeGo (Fri, 12 May 2017 02:59:52 GMT):
OK

baohua (Fri, 12 May 2017 03:00:04 GMT):
OK, meeting start

baohua (Fri, 12 May 2017 03:00:17 GMT):
Today's agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170512

baohua (Fri, 12 May 2017 03:00:26 GMT):
Item#1: Jira board status (chang will sync).

baohua (Fri, 12 May 2017 03:00:38 GMT):
https://jira.hyperledger.org/secure/RapidBoard.jspa?rapidView=85

lafenicecc (Fri, 12 May 2017 03:00:49 GMT):
There are 5 tasks in progress for now.

lafenicecc (Fri, 12 May 2017 03:01:05 GMT):
1. FAB-3437 Update with latest proto files

lafenicecc (Fri, 12 May 2017 03:01:20 GMT):
Baohua is working on that, right?

ray (Fri, 12 May 2017 03:01:42 GMT):
:raised_hand:

baohua (Fri, 12 May 2017 03:01:54 GMT):
yes, i will migrate it to latest env :)

lafenicecc (Fri, 12 May 2017 03:01:59 GMT):
ok

baohua (Fri, 12 May 2017 03:02:00 GMT):
will fix in next week

lafenicecc (Fri, 12 May 2017 03:02:20 GMT):
2. FAB-3482 auto clean up coverage temp files and testing process refinement. @camelbeck has a new patch for this https://gerrit.hyperledger.org/r/#/c/9215/

lafenicecc (Fri, 12 May 2017 03:02:40 GMT):
He can sync later

camelbeck (Fri, 12 May 2017 03:03:06 GMT):
OK

lafenicecc (Fri, 12 May 2017 03:03:15 GMT):
3. FAB-2871 implement e2e test @ray can help update the status later

camelbeck (Fri, 12 May 2017 03:03:42 GMT):
I have taken this task in our last meeting

camelbeck (Fri, 12 May 2017 03:03:50 GMT):
:grinning:

ray (Fri, 12 May 2017 03:03:52 GMT):
@lafenicecc fab-2871 should have been re-assigned to @camelbeck

lafenicecc (Fri, 12 May 2017 03:04:02 GMT):
Ok

ray (Fri, 12 May 2017 03:04:18 GMT):
would be nice if @camelbeck can update the status

lafenicecc (Fri, 12 May 2017 03:04:23 GMT):
I can help with e2e implemention too @camelbeck :grin:

ray (Fri, 12 May 2017 03:04:33 GMT):
:thumbsup:

camelbeck (Fri, 12 May 2017 03:04:34 GMT):
:clap:

camelbeck (Fri, 12 May 2017 03:04:38 GMT):
Great

lafenicecc (Fri, 12 May 2017 03:04:48 GMT):
let's get back to jira status..

baohua (Fri, 12 May 2017 03:04:55 GMT):
nice!

lafenicecc (Fri, 12 May 2017 03:05:04 GMT):
4. FAB-3081 Change /api/v1/cfssl/ prefix on fabric-ca-server endpoints to /api/v1/ prefix

lafenicecc (Fri, 12 May 2017 03:05:22 GMT):
david dornseifer has a patch for this: https://gerrit.hyperledger.org/r/#/c/8497/

lafenicecc (Fri, 12 May 2017 03:05:45 GMT):
we can review the patch

baohua (Fri, 12 May 2017 03:06:04 GMT):
will review definitely

baohua (Fri, 12 May 2017 03:06:10 GMT):
:woo:

lafenicecc (Fri, 12 May 2017 03:06:10 GMT):
5. FAB-3626 Python SDK needs to update REST calls to use caname

lafenicecc (Fri, 12 May 2017 03:06:36 GMT):
This is a new task from other team, who can have a look at this?

SeeGo (Fri, 12 May 2017 03:07:05 GMT):
Let me try this

lafenicecc (Fri, 12 May 2017 03:07:11 GMT):
Thanks!

baohua (Fri, 12 May 2017 03:07:14 GMT):
aha, thanks

baohua (Fri, 12 May 2017 03:07:36 GMT):
@lafenicecc pls help create a new jira task for lei

baohua (Fri, 12 May 2017 03:07:51 GMT):
as part of this 3626 one

lafenicecc (Fri, 12 May 2017 03:08:07 GMT):
These are the ongoing tasks on jira. BTW, we can create more MVP sub-tasks @grapebaba

baohua (Fri, 12 May 2017 03:08:46 GMT):
thanks change for the sync, we are on nice task status

baohua (Fri, 12 May 2017 03:08:59 GMT):
Item #2: pachset for review: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 12 May 2017 03:09:19 GMT):
everyone is encouraged to do the review

baohua (Fri, 12 May 2017 03:09:41 GMT):
@camelbeck ur patchset has ci error

baohua (Fri, 12 May 2017 03:09:54 GMT):
u know how to check the error msg, right?

camelbeck (Fri, 12 May 2017 03:10:24 GMT):
Yes, it may because the conflict with david's 3788.

baohua (Fri, 12 May 2017 03:10:30 GMT):
jenkins links in the comment --> console output.

camelbeck (Fri, 12 May 2017 03:10:38 GMT):
I will update it later

baohua (Fri, 12 May 2017 03:10:49 GMT):
3788? it is not merged?

camelbeck (Fri, 12 May 2017 03:11:10 GMT):
https://gerrit.hyperledger.org/r/#/c/9201/ this one

baohua (Fri, 12 May 2017 03:11:14 GMT):
The patchset only runs on the latest master branch

baohua (Fri, 12 May 2017 03:11:27 GMT):
so non-merged one cannot affect ur new patchset :)

camelbeck (Fri, 12 May 2017 03:11:50 GMT):
OK, so I need to check the error message further.

baohua (Fri, 12 May 2017 03:12:03 GMT):
aha, and remember to do rebase often. see git doc a little.

baohua (Fri, 12 May 2017 03:12:04 GMT):
thanks

camelbeck (Fri, 12 May 2017 03:12:17 GMT):
:ok_hand:

baohua (Fri, 12 May 2017 03:12:22 GMT):
Item #3: MVP remaining issues.

baohua (Fri, 12 May 2017 03:12:32 GMT):
@grapebaba will u help summarize?

grapebaba (Fri, 12 May 2017 03:13:04 GMT):
no update for this week

baohua (Fri, 12 May 2017 03:13:23 GMT):
OK. any update from @lafenicecc ?

baohua (Fri, 12 May 2017 03:13:41 GMT):
i guess we need to fix the chaincode install problem soon

grapebaba (Fri, 12 May 2017 03:13:45 GMT):
i wonder who is interested in these tasks

baohua (Fri, 12 May 2017 03:13:51 GMT):
i will take a look

grapebaba (Fri, 12 May 2017 03:14:03 GMT):
such as instantiate and invoke

baohua (Fri, 12 May 2017 03:14:25 GMT):
sure, we welcome people joining to contribute

baohua (Fri, 12 May 2017 03:14:45 GMT):
sunlight is ahead!

lafenicecc (Fri, 12 May 2017 03:15:00 GMT):
can u give us a status summarize for now? so more volunteers would come out

baohua (Fri, 12 May 2017 03:15:10 GMT):
after we fix install, and then instantiate/invoke should be easy to do.

lafenicecc (Fri, 12 May 2017 03:15:24 GMT):
i suppose some people don't know where to start with

baohua (Fri, 12 May 2017 03:15:29 GMT):
then the mvp would work!

baohua (Fri, 12 May 2017 03:15:34 GMT):
aha, good question

baohua (Fri, 12 May 2017 03:16:04 GMT):
We hope to mitigate the issue by jira board task and the online discussions.

baohua (Fri, 12 May 2017 03:16:15 GMT):
Any question, just ask

baohua (Fri, 12 May 2017 03:16:31 GMT):
and we may need more documentation in details?

WeiHu (Fri, 12 May 2017 03:16:36 GMT):
@grapebaba I'm interested, but I need some time to get familiar with fabric and py-sdk..

baohua (Fri, 12 May 2017 03:16:53 GMT):
thanks wei!

grapebaba (Fri, 12 May 2017 03:16:59 GMT):
sure, we can talk directly

baohua (Fri, 12 May 2017 03:17:21 GMT):
this spirit is very valuable for the community, as i find the problem, and i will fix

baohua (Fri, 12 May 2017 03:17:21 GMT):
this spirit is very valuable for the community, as i see the problem, and i will fix

grapebaba (Fri, 12 May 2017 03:17:38 GMT):
feel free to ping me

WeiHu (Fri, 12 May 2017 03:17:58 GMT):
ok~

baohua (Fri, 12 May 2017 03:18:10 GMT):
@WeiHu feel free to ask any question, the community is warm and friendly to everyone :)

baohua (Fri, 12 May 2017 03:18:19 GMT):
OK

grapebaba (Fri, 12 May 2017 03:18:30 GMT):
i assume we here should know the basic data flow in fabric

lafenicecc (Fri, 12 May 2017 03:19:01 GMT):
now the install test has a "TODO: create channel not implement yet"

baohua (Fri, 12 May 2017 03:19:05 GMT):
Currently, i strongly recommend everyone have a look at fabric/examples/e2e_cli

SeeGo (Fri, 12 May 2017 03:19:29 GMT):
ok

lafenicecc (Fri, 12 May 2017 03:19:34 GMT):
is this necessrary for the mvp?

baohua (Fri, 12 May 2017 03:19:58 GMT):
to support working on new channel, we need the create channel func

grapebaba (Fri, 12 May 2017 03:20:11 GMT):
yes, create channel is not implemented so that we use default channel now

WeiHu (Fri, 12 May 2017 03:20:22 GMT):
:grin:

baohua (Fri, 12 May 2017 03:20:42 GMT):
yeap, and using default channel, we can only use the admin to operate, pls notice

baohua (Fri, 12 May 2017 03:21:24 GMT):
the chaincode test case now is using common user role from fabric-ca, need to revise it

baohua (Fri, 12 May 2017 03:21:39 GMT):
who wanna help fix this?

lafenicecc (Fri, 12 May 2017 03:21:47 GMT):
the Channel class and functions are not implemented in python sdk yet, right?

baohua (Fri, 12 May 2017 03:21:56 GMT):
should not difficult, i guess

lafenicecc (Fri, 12 May 2017 03:22:28 GMT):
need to catch up other sdks :grin:

baohua (Fri, 12 May 2017 03:22:41 GMT):
@WeiHu do u wanna help revise the user role?

grapebaba (Fri, 12 May 2017 03:23:04 GMT):
https://jira.hyperledger.org/browse/FAB-3483?filter=-2

WeiHu (Fri, 12 May 2017 03:23:30 GMT):
I can have a try

grapebaba (Fri, 12 May 2017 03:23:35 GMT):
@lafenicecc we have a discussion about channel and chain

grapebaba (Fri, 12 May 2017 03:23:54 GMT):
actually we use Chain class represent channel now

baohua (Fri, 12 May 2017 03:24:29 GMT):
thanks wei

lafenicecc (Fri, 12 May 2017 03:24:30 GMT):
ok i got it

baohua (Fri, 12 May 2017 03:24:34 GMT):
@grapebaba i agree

baohua (Fri, 12 May 2017 03:24:46 GMT):
we can first use chain--channel mapping first

baohua (Fri, 12 May 2017 03:25:11 GMT):
But i also suggest we use the name of channel class

baohua (Fri, 12 May 2017 03:25:19 GMT):
how do u think?

grapebaba (Fri, 12 May 2017 03:25:34 GMT):
ok

baohua (Fri, 12 May 2017 03:26:04 GMT):
thanks, let's create/update tasks on jira

lafenicecc (Fri, 12 May 2017 03:26:24 GMT):
which one do you think we should learn from, sdk-node or sdk-java? @grapebaba

grapebaba (Fri, 12 May 2017 03:26:28 GMT):
sure

grapebaba (Fri, 12 May 2017 03:26:51 GMT):
better both:sweat_smile:

baohua (Fri, 12 May 2017 03:27:03 GMT):
java is more like py from structure

lafenicecc (Fri, 12 May 2017 03:27:03 GMT):
alright haha

grapebaba (Fri, 12 May 2017 03:27:25 GMT):
java first

baohua (Fri, 12 May 2017 03:27:29 GMT):
OK. Item #4: E2E work, i guess @camelbeck is working on it.

camelbeck (Fri, 12 May 2017 03:27:45 GMT):
Yes, I have read node’s e2e process, and now get the basic idea on what we should do. Next, I will update on jira of the architecture design.

baohua (Fri, 12 May 2017 03:27:54 GMT):
thanks!

baohua (Fri, 12 May 2017 03:28:07 GMT):
:hibiscus:

camelbeck (Fri, 12 May 2017 03:28:16 GMT):
BTW, I would like introduce one new member to our project.

camelbeck (Fri, 12 May 2017 03:28:22 GMT):
@wangdong

wangdong (Fri, 12 May 2017 03:28:22 GMT):
Has joined the channel.

camelbeck (Fri, 12 May 2017 03:28:28 GMT):
but he cannot find our channel

lafenicecc (Fri, 12 May 2017 03:28:31 GMT):
Welcome

baohua (Fri, 12 May 2017 03:28:33 GMT):
aha, welcome!

lafenicecc (Fri, 12 May 2017 03:28:39 GMT):
need to invite?

baohua (Fri, 12 May 2017 03:28:44 GMT):
for those cannot find the channel, just @ him...

camelbeck (Fri, 12 May 2017 03:29:03 GMT):
OK

camelbeck (Fri, 12 May 2017 03:29:12 GMT):
I will ask him have a try later

lafenicecc (Fri, 12 May 2017 03:29:18 GMT):
is this bug in rocketchat or config issue..

baohua (Fri, 12 May 2017 03:29:29 GMT):
no, the channel is open to everyone, but sometime, people cannot search it out... @toddb

toddb (Fri, 12 May 2017 03:29:29 GMT):
Has joined the channel.

baohua (Fri, 12 May 2017 03:30:05 GMT):
guess a bug, good news is there's a rocketchat upgrade recently

camelbeck (Fri, 12 May 2017 03:30:19 GMT):
I will invite him to our wechat group later, too.

ray (Fri, 12 May 2017 03:30:26 GMT):
you mean server end upgrade ?

baohua (Fri, 12 May 2017 03:30:31 GMT):
sure

baohua (Fri, 12 May 2017 03:30:36 GMT):
yeap, the service

camelbeck (Fri, 12 May 2017 03:30:37 GMT):
:ok_hand:

camelbeck (Fri, 12 May 2017 03:31:04 GMT):
He will begin with working on the e2e task together with me.

baohua (Fri, 12 May 2017 03:31:15 GMT):
OK, very efficient discussions today. more issues?

camelbeck (Fri, 12 May 2017 03:32:02 GMT):
Not any more for me

baohua (Fri, 12 May 2017 03:32:17 GMT):
finally, we will have the 1chain---m channel model, i guess @grapebaba

grapebaba (Fri, 12 May 2017 03:32:42 GMT):
correct

baohua (Fri, 12 May 2017 03:33:03 GMT):
OK any more issue for today?

baohua (Fri, 12 May 2017 03:33:34 GMT):
If no, we will end the meeting, thanks for everyone and have nice weekend!

baohua (Fri, 12 May 2017 03:33:39 GMT):
Let'f fight for the MVP!

baohua (Fri, 12 May 2017 03:33:39 GMT):
Let' fight for the MVP!

WeiHu (Fri, 12 May 2017 03:33:49 GMT):
can u create and assign jira task for me?

lafenicecc (Fri, 12 May 2017 03:34:01 GMT):
i can help

baohua (Fri, 12 May 2017 03:34:04 GMT):
:airplane_arriving:

WeiHu (Fri, 12 May 2017 03:34:16 GMT):
ok thank you!

baohua (Fri, 12 May 2017 03:40:15 GMT):
https://gerrit.hyperledger.org/r/#/c/8019/

lafenicecc (Fri, 12 May 2017 03:42:58 GMT):
Just create the task for you @WeiHu [FAB-3885]. I wrote some description based on my understanding. Please feel free to ask question here or in wechat, because baohua and grapebaba already has some knowledge about this issue, i suppose. :wink:

ray (Fri, 12 May 2017 06:01:42 GMT):
https://gerrit.hyperledger.org/r/#/c/8019/ I see @baohua 's +1 on this, should I abandon this patch or just let @camelbeck continue work on top of it?

camelbeck (Fri, 12 May 2017 06:03:02 GMT):
I am now working on this patch, and will remove the failure soon.

ray (Fri, 12 May 2017 06:04:59 GMT):
@camelbeck it's on your call. Feel free to create a new CR or push your commit to this ref (8019) if you want to reuse this one.

camelbeck (Fri, 12 May 2017 06:09:24 GMT):
Sorry, I didn't express clearly. I meant I am working on my failed patch https://gerrit.hyperledger.org/r/#/c/9215/, :grimacing: But we will continue the e2e work based on your patch. Thank you.

camelbeck (Fri, 12 May 2017 06:09:31 GMT):
@ray

ray (Fri, 12 May 2017 06:12:01 GMT):
:ok_hand:

baohua (Fri, 12 May 2017 09:19:37 GMT):
@ray yes, talk with chao, i guess he can use ur code.

baohua (Fri, 12 May 2017 09:19:40 GMT):
https://gerrit.hyperledger.org/r/#/c/8617/

baohua (Fri, 12 May 2017 09:22:27 GMT):
welcome to review the patchset

camelbeck (Fri, 12 May 2017 13:00:50 GMT):
https://gerrit.hyperledger.org/r/#/c/9215/ pls review

kuangchao (Sat, 13 May 2017 11:30:02 GMT):
fabric-sdk-py Still no support fabric1.0?

baohua (Mon, 15 May 2017 05:29:46 GMT):
it's targeting fabric 1.0.

baohua (Wed, 17 May 2017 06:26:44 GMT):
https://gerrit.hyperledger.org/r/#/c/8617/

baohua (Wed, 17 May 2017 07:38:35 GMT):
@WeiHu wei, would u like to take a look at this test case task? https://jira.hyperledger.org/browse/FAB-3889

WeiHu (Wed, 17 May 2017 12:18:51 GMT):
I'm working on fab-3885 now...after finishing that I can work on this task @baohua

david_dornseifer (Wed, 17 May 2017 15:43:31 GMT):
@baohua i can take care of FAB-3889

grapebaba (Thu, 18 May 2017 02:16:52 GMT):
@david_dornseifer thanks

baohua (Thu, 18 May 2017 05:12:29 GMT):
thanks @david_dornseifer pls go ahead and assign urself.

baohua (Thu, 18 May 2017 05:40:35 GMT):
Hi, all we will have meeting 11AM tmr, pls feel free to update the agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170517, thanks!

lafenicecc (Fri, 19 May 2017 02:56:30 GMT):
:raised_back_of_hand:

grapebaba (Fri, 19 May 2017 02:58:33 GMT):
hi

lafenicecc (Fri, 19 May 2017 02:58:45 GMT):
hi

grapebaba (Fri, 19 May 2017 02:58:59 GMT):
@lafenicecc

grapebaba (Fri, 19 May 2017 02:59:10 GMT):
能不能帮忙组织下

grapebaba (Fri, 19 May 2017 02:59:16 GMT):
我这临时有个事

lafenicecc (Fri, 19 May 2017 02:59:19 GMT):
OK

grapebaba (Fri, 19 May 2017 02:59:26 GMT):
谢谢

lafenicecc (Fri, 19 May 2017 03:00:46 GMT):
Anyone online? Please hands up

wangdong (Fri, 19 May 2017 03:01:29 GMT):
hi

WeiHu (Fri, 19 May 2017 03:01:30 GMT):
:raised_hand:

ray (Fri, 19 May 2017 03:01:59 GMT):
:raised_hand:

lafenicecc (Fri, 19 May 2017 03:02:04 GMT):
Meeting start :grin:

lafenicecc (Fri, 19 May 2017 03:02:18 GMT):
1) Jira board status (chang will sync).

lafenicecc (Fri, 19 May 2017 03:02:40 GMT):
FAB-3081 Change /api/v1/cfssl/ prefix on fabric-ca-server endpoints to /api/v1/ prefix

lafenicecc (Fri, 19 May 2017 03:03:14 GMT):
About this one, David's patch is merged. Is that solved? @grapebaba

grapebaba (Fri, 19 May 2017 03:03:35 GMT):
撒也

grapebaba (Fri, 19 May 2017 03:03:41 GMT):
yes

grapebaba (Fri, 19 May 2017 03:03:51 GMT):
can close

lafenicecc (Fri, 19 May 2017 03:03:54 GMT):
Ok, i'll move it to Done :thumbsup:

lafenicecc (Fri, 19 May 2017 03:04:07 GMT):
FAB-3482 auto clean up coverage temp files and testing process refinement

lafenicecc (Fri, 19 May 2017 03:04:31 GMT):
Camelback are you here? Can this be marked done?

lafenicecc (Fri, 19 May 2017 03:04:59 GMT):
FAB-3626 Python SDK needs to update REST calls to use caname

lafenicecc (Fri, 19 May 2017 03:05:09 GMT):
Lei Li is working on this

lafenicecc (Fri, 19 May 2017 03:05:24 GMT):
FAB-3885 Revise user role in chaincode test

lafenicecc (Fri, 19 May 2017 03:05:34 GMT):
@WeiHu Can you help update the status?

WeiHu (Fri, 19 May 2017 03:06:46 GMT):
yes, i'm working on this. since i'm new to python, i'm afraid that i need sometime to get familiar with both python and sdk-py

lafenicecc (Fri, 19 May 2017 03:07:01 GMT):
no problem

lafenicecc (Fri, 19 May 2017 03:07:54 GMT):
if any questions about this issue or coding , just feel free to ask

WeiHu (Fri, 19 May 2017 03:08:21 GMT):
:grimacing:ok

lafenicecc (Fri, 19 May 2017 03:08:33 GMT):
FAB-3889 Split some heavy unit test files

lafenicecc (Fri, 19 May 2017 03:08:49 GMT):
David is taking this, thanks

lafenicecc (Fri, 19 May 2017 03:09:02 GMT):
FAB-2871 implement e2e test

lafenicecc (Fri, 19 May 2017 03:09:17 GMT):
CamelBeck seems not online, will discuss later

wangdong (Fri, 19 May 2017 03:09:38 GMT):
I will discuss this with him later offline

lafenicecc (Fri, 19 May 2017 03:09:47 GMT):
Thanks wangdong!

wangdong (Fri, 19 May 2017 03:09:48 GMT):
I am trying to do this with him

wangdong (Fri, 19 May 2017 03:10:08 GMT):
Last week I config the env

wangdong (Fri, 19 May 2017 03:10:21 GMT):
And I will find some doc on this topic

lafenicecc (Fri, 19 May 2017 03:11:36 GMT):
:thumbsup: Cool. e2e will be the most important reference case for sdk users

lafenicecc (Fri, 19 May 2017 03:11:58 GMT):
These are the jira board status

lafenicecc (Fri, 19 May 2017 03:12:48 GMT):
About createChannel, how about creating a new task? @grapebaba

lafenicecc (Fri, 19 May 2017 03:14:22 GMT):
https://docs.google.com/document/d/1R5RtIBMW9fZpli37E5Li5_Q9ve3BnQ4q3gWmGZj6Sv4/edit This is the SDK Spec. Now is publicly available. Welcome to read.

lafenicecc (Fri, 19 May 2017 03:15:14 GMT):
Any more questions for today?

lafenicecc (Fri, 19 May 2017 03:16:00 GMT):
If not, we can discuss later and keep using wechat group.

lafenicecc (Fri, 19 May 2017 03:16:19 GMT):
Thanks everyone, have a nice weekend!

WeiHu (Fri, 19 May 2017 03:17:45 GMT):
:clap:

wangdong (Fri, 19 May 2017 03:17:49 GMT):
OK

wangdong (Fri, 19 May 2017 03:17:53 GMT):
have a nice weekend

grapebaba (Fri, 19 May 2017 03:22:32 GMT):
@lafenicecc ok

gokulkrishna (Fri, 19 May 2017 17:19:22 GMT):
Has joined the channel.

nickgaski (Sat, 20 May 2017 21:31:29 GMT):
Has joined the channel.

mackeee (Sun, 21 May 2017 06:57:54 GMT):
Has joined the channel.

TortueMat (Sun, 21 May 2017 23:59:56 GMT):
Has joined the channel.

david_dornseifer (Thu, 25 May 2017 06:39:12 GMT):
http://gerrit.hyperledger.org/r/9787

david_dornseifer (Thu, 25 May 2017 06:40:32 GMT):
split the tests into unit tests and integration tests - running twice as fast now - test coverage is also up to %60 now

grapebaba (Thu, 25 May 2017 06:43:13 GMT):
:thumbsup:

baohua (Thu, 25 May 2017 08:48:44 GMT):
thanks @david_dornseifer

baohua (Thu, 25 May 2017 08:48:57 GMT):
@here Dear everyone, we will cancel the meeting tmr, pls continue the MVP coding work and feel free to discuss offline. Happy Dragon-boating Festival!

Gaurav_Impro (Thu, 25 May 2017 17:11:05 GMT):
Has joined the channel.

yahtoo (Sat, 27 May 2017 05:47:19 GMT):
Has joined the channel.

bmalavan (Sat, 27 May 2017 20:12:31 GMT):
Has joined the channel.

baohua (Sun, 28 May 2017 13:14:57 GMT):
pls be aware of this change: https://gerrit.hyperledger.org/r/#/c/9887/

livespotty (Tue, 30 May 2017 13:54:56 GMT):
Has joined the channel.

baohua (Thu, 01 Jun 2017 03:53:45 GMT):
@here Dear everyone, pls help update the agenda/attendee list for tmr meeting, thanks! https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170602

kmohanar (Thu, 01 Jun 2017 04:43:57 GMT):
Has joined the channel.

tonyyang132 (Fri, 02 Jun 2017 02:43:45 GMT):
Has joined the channel.

baohua (Fri, 02 Jun 2017 02:58:27 GMT):
Meeting will start in 2 mins @here

baohua (Fri, 02 Jun 2017 02:59:58 GMT):
pls hands up :)

tonyyang132 (Fri, 02 Jun 2017 03:00:15 GMT):
:raised_hands:

baohua (Fri, 02 Jun 2017 03:00:33 GMT):
thanks, let's see if @grapebaba online

grapebaba (Fri, 02 Jun 2017 03:00:50 GMT):
:raised_hand:

baohua (Fri, 02 Jun 2017 03:00:53 GMT):
and @WeiHu

baohua (Fri, 02 Jun 2017 03:00:55 GMT):
good

baohua (Fri, 02 Jun 2017 03:00:59 GMT):
let's start

baohua (Fri, 02 Jun 2017 03:01:05 GMT):
today's agenda is https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170602

baohua (Fri, 02 Jun 2017 03:01:23 GMT):
First, pls help sync the mvp progress and issues @grapebaba

WeiHu (Fri, 02 Jun 2017 03:02:18 GMT):
:raised_hand:

grapebaba (Fri, 02 Jun 2017 03:02:53 GMT):
AFAIK, no update for mvp progress this week

baohua (Fri, 02 Jun 2017 03:03:22 GMT):
ok, so next step i guess we should support the install operation, right?

baohua (Fri, 02 Jun 2017 03:04:14 GMT):
i suppose someone's working on this since last week meeting?

grapebaba (Fri, 02 Jun 2017 03:04:27 GMT):
I thought it should be create channel

baohua (Fri, 02 Jun 2017 03:04:44 GMT):
create channel, aha

baohua (Fri, 02 Jun 2017 03:04:50 GMT):
search the jira, not finding this issue?

baohua (Fri, 02 Jun 2017 03:05:14 GMT):
difficult to use for jira...

baohua (Fri, 02 Jun 2017 03:06:01 GMT):
i guess there's no issues, kai, pls help create the issue for channel create, thanks!

grapebaba (Fri, 02 Jun 2017 03:06:31 GMT):
https://jira.hyperledger.org/browse/FAB-3483

grapebaba (Fri, 02 Jun 2017 03:06:33 GMT):
this one

grapebaba (Fri, 02 Jun 2017 03:06:55 GMT):
refactor chain to channel

grapebaba (Fri, 02 Jun 2017 03:07:03 GMT):
remember we discussed

baohua (Fri, 02 Jun 2017 03:07:07 GMT):
thanks, but this is just a refactor issue, we may need some explicit one like create channel

baohua (Fri, 02 Jun 2017 03:07:47 GMT):
would u help do the refactor part first?

grapebaba (Fri, 02 Jun 2017 03:08:22 GMT):
sure

baohua (Fri, 02 Jun 2017 03:08:44 GMT):
great, thanks!

baohua (Fri, 02 Jun 2017 03:09:06 GMT):
And anyone else wanna pick the channel create issue to finish? @tonyyang132 @WeiHu

baohua (Fri, 02 Jun 2017 03:09:25 GMT):
this needs collaboration with kai's work certainly

baohua (Fri, 02 Jun 2017 03:11:31 GMT):
aha, i notice wei is working on use role update

baohua (Fri, 02 Jun 2017 03:11:44 GMT):
so maybe tony can help @tonyyang132

tonyyang132 (Fri, 02 Jun 2017 03:12:28 GMT):
Umm... Still trying to pick things up, I'm not sure I understand the whole context, maybe I start off with something easier?

baohua (Fri, 02 Jun 2017 03:12:52 GMT):
sure, tony, would suggest u look at the doc first.

baohua (Fri, 02 Jun 2017 03:13:20 GMT):
Ok, i will add a todo for me :) TODO: baohua create the jira issue and work with kai to finish the channel creation func.

baohua (Fri, 02 Jun 2017 03:13:25 GMT):
OK, next item

tonyyang132 (Fri, 02 Jun 2017 03:13:29 GMT):
yeah, working on it

baohua (Fri, 02 Jun 2017 03:13:48 GMT):
chao is not online, so let's go to item3: wei sync on 3885

baohua (Fri, 02 Jun 2017 03:14:08 GMT):
@WeiHu https://jira.hyperledger.org/browse/FAB-3885

baohua (Fri, 02 Jun 2017 03:14:11 GMT):
how's that going?

WeiHu (Fri, 02 Jun 2017 03:15:02 GMT):
sorry i'm busy recently. i'm working on it, i have some idea, and it will be done after the 'create channel' task being done

baohua (Fri, 02 Jun 2017 03:15:44 GMT):
sure, pls no hesitate to post ur thoughts in jira or the channel for more discussions.

baohua (Fri, 02 Jun 2017 03:16:11 GMT):
we need agile collaboration with quick movements :)

baohua (Fri, 02 Jun 2017 03:16:30 GMT):
OK. and one patchset needs everyone's attention: https://gerrit.hyperledger.org/r/#/c/9887/

baohua (Fri, 02 Jun 2017 03:16:48 GMT):
This patchset disable/remove the testchainid for default channel

baohua (Fri, 02 Jun 2017 03:17:06 GMT):
Since then, we need the new app channel creation before everything @grapebaba

baohua (Fri, 02 Jun 2017 03:17:17 GMT):
that's why the channel creation is very important

grapebaba (Fri, 02 Jun 2017 03:17:22 GMT):
yeah

baohua (Fri, 02 Jun 2017 03:17:31 GMT):
btw, i would like to discuss the channel vs chain here

baohua (Fri, 02 Jun 2017 03:18:00 GMT):
channel is a network layer concept simply means a separate topic from kafka.

baohua (Fri, 02 Jun 2017 03:18:28 GMT):
chain is more complex, it contains the binding channel, and also other structures like ledger, will u guys agree?

baohua (Fri, 02 Jun 2017 03:19:04 GMT):
@grapebaba hence we cannot simply rename the chain-->channel, i guess

grapebaba (Fri, 02 Jun 2017 03:20:37 GMT):
ok, fair enough

baohua (Fri, 02 Jun 2017 03:21:11 GMT):
yeap, hence we will finally have the chain and channel roles together, while from the sdk side, it may use both

grapebaba (Fri, 02 Jun 2017 03:21:16 GMT):
we finally will have two class chain and channel, and separate the methods to them

baohua (Fri, 02 Jun 2017 03:21:25 GMT):
exactly!

baohua (Fri, 02 Jun 2017 03:21:36 GMT):
@WeiHu @tonyyang132 how do u guys think?

tonyyang132 (Fri, 02 Jun 2017 03:22:14 GMT):
yeah it'd make more sense

baohua (Fri, 02 Jun 2017 03:22:24 GMT):
thanks!

baohua (Fri, 02 Jun 2017 03:22:40 GMT):
Ok, no much other issues today, any more topics to discuss?

baohua (Fri, 02 Jun 2017 03:22:40 GMT):
Ok, no much other issues today from my side, any more topics to discuss?

grapebaba (Fri, 02 Jun 2017 03:23:18 GMT):
no for me

baohua (Fri, 02 Jun 2017 03:23:34 GMT):
tony or wei?

tonyyang132 (Fri, 02 Jun 2017 03:23:47 GMT):
nothing from my side either

baohua (Fri, 02 Jun 2017 03:24:06 GMT):
sure, thanks for everyone's attending, have a nice weekend!

tonyyang132 (Fri, 02 Jun 2017 03:24:31 GMT):
thank you, see you guys around

baohua (Fri, 02 Jun 2017 03:24:40 GMT):
:blossom:

grapebaba (Fri, 02 Jun 2017 03:24:54 GMT):
:clap:

hanhzf (Fri, 02 Jun 2017 04:04:59 GMT):
Has joined the channel.

yahtoo (Sun, 04 Jun 2017 08:42:38 GMT):
hi what's the difference between user and client in python sdk?

baohua (Sun, 04 Jun 2017 09:20:02 GMT):
client: a client role in the fabric network; user: a user is a permission role.

lujiang (Mon, 05 Jun 2017 10:48:18 GMT):
Hi, is there document or sample for how to use py Sdk? I did not find docker-compose.yaml in project, please guide

baohua (Tue, 06 Jun 2017 01:28:28 GMT):
@lujiang would like to suggest u have a look at the test cases, which shows examples on some usage cases. However, we do need some more formal usage documentation later. Would be glad if you can help write some, and @WeiHu is also working on e2e testing, which is related to usage, too

lujiang (Tue, 06 Jun 2017 01:33:53 GMT):
@baohua yes,I am glad to help with. Will take a look at the test case and @WeiHu is there some document for e2e testing which I can reference ?

baohua (Tue, 06 Jun 2017 01:35:17 GMT):
sure, thanks and feel free to ping the team if u have any question :)

qizhang (Tue, 06 Jun 2017 21:03:07 GMT):
Has joined the channel.

qizhang (Tue, 06 Jun 2017 21:08:37 GMT):
I am also interested in the examples of using the fabric-sdk-python. @lujiang @baohua @WeiHu . There is a 'test' directory, but still not quite clear how to run the code there. Any advise would be appreciated.

baohua (Wed, 07 Jun 2017 01:44:32 GMT):
sure @qizhang, @lujiang and @WeiHu will help provide more usage cases. @grapebaba , doc is always important and not enough :)

grapebaba (Wed, 07 Jun 2017 01:45:44 GMT):
:sweat_smile:

lujiang (Wed, 07 Jun 2017 02:00:09 GMT):
fabric-sdk-node is good to reference, can we also provide an example like balance transfer?

baohua (Wed, 07 Jun 2017 02:42:43 GMT):
sure, like the idea!

WeiHu (Wed, 07 Jun 2017 02:56:50 GMT):
:sweat_smile:

catbus (Wed, 07 Jun 2017 18:44:32 GMT):
Has joined the channel.

baohua (Thu, 08 Jun 2017 08:28:53 GMT):
Dear all, we will cancel tmr's meeting due to code development, let's keep collaborate offline, thanks and have nice weekend!

silliman (Thu, 08 Jun 2017 14:56:47 GMT):
Has left the channel.

mastersingh24 (Mon, 12 Jun 2017 11:38:17 GMT):
@baohua - in your opinion, what's the readiness of the python SDK for 1.0.0?

baohua (Mon, 12 Jun 2017 14:34:24 GMT):
hi, gari, the initial plan is to finish the first version(mvp) posting the release of fabric 1.0. Any suggestion from ur side?

baohua (Tue, 13 Jun 2017 02:09:18 GMT):
create a jira task on updating the proto files. anyone volunteer to fix that? https://jira.hyperledger.org/browse/FAB-4592.

baohua (Tue, 13 Jun 2017 02:09:26 GMT):
if no one pick it up today, i will fix it tmr :)

tonyyang132 (Tue, 13 Jun 2017 03:21:49 GMT):
@baohua guess I could take that

baohua (Tue, 13 Jun 2017 03:22:34 GMT):
thanks tony, could u help set urself as the assigner?

tonyyang132 (Tue, 13 Jun 2017 03:23:44 GMT):
done

baohua (Tue, 13 Jun 2017 03:23:59 GMT):
look forward to seeing the patchset, and feel free to add ur name in the contributor list at https://wiki.hyperledger.org/projects/fabric-sdk-py. thanks!

tonyyang132 (Tue, 13 Jun 2017 03:24:35 GMT):
OK:smile:

tonyyang132 (Tue, 13 Jun 2017 03:25:40 GMT):
I guess I could use a little bit more background too. Is there a relevant jira item about how and why these proto files are changed in fabric?

tonyyang132 (Tue, 13 Jun 2017 03:45:53 GMT):
@baohua can you shed some light ^^^ ?

baohua (Tue, 13 Jun 2017 03:46:49 GMT):
aha, if you wanna know, you have to find the patchset history for fabric...

baohua (Tue, 13 Jun 2017 03:47:20 GMT):
see: https://gerrit.hyperledger.org/r/#/q/project:fabric

tonyyang132 (Tue, 13 Jun 2017 03:57:28 GMT):
@baohua is this the one - https://gerrit.hyperledger.org/r/#/c/10495/ ?

tonyyang132 (Tue, 13 Jun 2017 03:57:43 GMT):
that's the latest that involves proto changes

baohua (Tue, 13 Jun 2017 03:58:15 GMT):
yes, and maybe some previous ones also change, as there're some time we missed the syncing with fabric code.

tonyyang132 (Tue, 13 Jun 2017 03:59:10 GMT):
doesn't seem to be the correct one... it only changes comments...

tonyyang132 (Tue, 13 Jun 2017 03:59:27 GMT):
can you point out which proto files that need syncing, or all of them?

tonyyang132 (Tue, 13 Jun 2017 04:01:54 GMT):
@baohua

baohua (Tue, 13 Jun 2017 04:02:28 GMT):
aha, you may use some diff tools to check the .proto files.

baohua (Tue, 13 Jun 2017 04:03:00 GMT):
the fabric ones are under protos/*

tonyyang132 (Tue, 13 Jun 2017 04:03:36 GMT):
OK, I'll do some research

baohua (Thu, 15 Jun 2017 02:39:46 GMT):
@here Dear all, we will have group meeting at 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170616, thanks!

baohua (Thu, 15 Jun 2017 02:46:25 GMT):
Dear all, we need to add the missing license header to the code and doc, pls hands up if there's volunteer wanna help fix it. thanks: https://jira.hyperledger.org/browse/FAB-4742

grapebaba (Thu, 15 Jun 2017 08:37:05 GMT):
https://gerrit.hyperledger.org/r/#/c/10569/

baohua (Thu, 15 Jun 2017 08:40:30 GMT):
:thumbsup:

baohua (Thu, 15 Jun 2017 09:10:38 GMT):
@rjones dear ry, could u help have a look at the ci system, we got a patch set seems passed, but finally ci gives a error.. https://gerrit.hyperledger.org/r/#/c/10569/

rjones (Thu, 15 Jun 2017 09:10:39 GMT):
Has joined the channel.

qiang0723 (Thu, 15 Jun 2017 10:56:17 GMT):
https://gerrit.hyperledger.org/r/#/c/10631

rjones (Thu, 15 Jun 2017 14:29:01 GMT):
@baohua this is due to a change in the way our log shipping process works, @jwagantall is working on a fix

jwagantall (Thu, 15 Jun 2017 14:29:02 GMT):
Has joined the channel.

baohua (Thu, 15 Jun 2017 14:29:52 GMT):
thanks, ry! i did see our ci is more and more powerful and efficient recently.

baohua (Fri, 16 Jun 2017 02:59:43 GMT):
will have meeting~~

baohua (Fri, 16 Jun 2017 03:00:10 GMT):
who's on line?

grapebaba (Fri, 16 Jun 2017 03:00:16 GMT):
:raised_hand:

baohua (Fri, 16 Jun 2017 03:00:41 GMT):
anyone else?

qiang0723 (Fri, 16 Jun 2017 03:00:44 GMT):
:raised_hand:

tonyyang132 (Fri, 16 Jun 2017 03:00:47 GMT):
:raised_hand:

baohua (Fri, 16 Jun 2017 03:00:48 GMT):
saw 6 attendees in list

baohua (Fri, 16 Jun 2017 03:00:57 GMT):
OK, today's agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170616

SeeGo (Fri, 16 Jun 2017 03:01:02 GMT):
:raised_hand:

baohua (Fri, 16 Jun 2017 03:01:11 GMT):
welcome everyone

baohua (Fri, 16 Jun 2017 03:01:16 GMT):
1. MVP remaining tasks: kai is working on FAB-4623

baohua (Fri, 16 Jun 2017 03:01:22 GMT):
https://jira.hyperledger.org/browse/FAB-4623

baohua (Fri, 16 Jun 2017 03:01:28 GMT):
@grapebaba any update?

grapebaba (Fri, 16 Jun 2017 03:01:57 GMT):
I am working on create channel story

baohua (Fri, 16 Jun 2017 03:02:05 GMT):
saw a related patchset at https://gerrit.hyperledger.org/r/10569

baohua (Fri, 16 Jun 2017 03:02:30 GMT):
everyone pls help review the patchset

grapebaba (Fri, 16 Jun 2017 03:02:31 GMT):
i checked it need some pre task, one is https://jira.hyperledger.org/browse/FAB-4623

baohua (Fri, 16 Jun 2017 03:02:57 GMT):
thanks, kai! so guess we can finish before next meeting?

grapebaba (Fri, 16 Jun 2017 03:03:17 GMT):
and another is eventhub component

grapebaba (Fri, 16 Jun 2017 03:03:39 GMT):
wanna someone can take it

baohua (Fri, 16 Jun 2017 03:03:39 GMT):
aha, have u created the task in jira?

grapebaba (Fri, 16 Jun 2017 03:03:45 GMT):
have not

wangdong (Fri, 16 Jun 2017 03:03:49 GMT):
i am in

baohua (Fri, 16 Jun 2017 03:04:04 GMT):
who will volunteer for the eventhub task?

baohua (Fri, 16 Jun 2017 03:04:29 GMT):
@grapebaba pls help create a jira task first.

grapebaba (Fri, 16 Jun 2017 03:04:34 GMT):
ok

lafenicecc (Fri, 16 Jun 2017 03:05:24 GMT):
I can take eventhub

baohua (Fri, 16 Jun 2017 03:05:34 GMT):
thanks @lafenicecc

baohua (Fri, 16 Jun 2017 03:05:45 GMT):
pls feel free to pick kai's creating task

baohua (Fri, 16 Jun 2017 03:05:54 GMT):
OK, next item: 2. E2E: Dong Wang is working on FAB-2871

baohua (Fri, 16 Jun 2017 03:06:04 GMT):
@wangdong any update?

baohua (Fri, 16 Jun 2017 03:06:06 GMT):
https://jira.hyperledger.org/browse/FAB-2871

grapebaba (Fri, 16 Jun 2017 03:06:06 GMT):
https://jira.hyperledger.org/browse/FAB-4822

wangdong (Fri, 16 Jun 2017 03:06:13 GMT):
I have split the e2e test into part according to the node sdk. The first is to test the creating channel.

baohua (Fri, 16 Jun 2017 03:07:06 GMT):
any more comments?

wangdong (Fri, 16 Jun 2017 03:07:15 GMT):
but the creating channel is not realized in client

wangdong (Fri, 16 Jun 2017 03:07:18 GMT):
right?

baohua (Fri, 16 Jun 2017 03:07:40 GMT):
understand, dong, to avoid such kind of dependency, we would like to suggest create those apis first.

baohua (Fri, 16 Jun 2017 03:07:59 GMT):
to use direct return fake value to let the process pass first.

baohua (Fri, 16 Jun 2017 03:08:09 GMT):
then fill into each implement code, how do u think?

baohua (Fri, 16 Jun 2017 03:08:24 GMT):
also we can use the mock tools for that

wangdong (Fri, 16 Jun 2017 03:08:50 GMT):
fill into? You mean just leave this part as stub?

baohua (Fri, 16 Jun 2017 03:09:16 GMT):
e.g., we call some method, but we mock it out to just return the expected result

wangdong (Fri, 16 Jun 2017 03:09:29 GMT):
got it

baohua (Fri, 16 Jun 2017 03:09:32 GMT):
then after the method is implemented, it's easy to switch to it

wangdong (Fri, 16 Jun 2017 03:09:38 GMT):
OK

baohua (Fri, 16 Jun 2017 03:09:41 GMT):
thanks, hope we can get some progress next week :)

baohua (Fri, 16 Jun 2017 03:09:48 GMT):
OK, item 3. User Role: Wei Hu is working on FAB-3885

wangdong (Fri, 16 Jun 2017 03:09:49 GMT):
I will try

baohua (Fri, 16 Jun 2017 03:10:00 GMT):
@WeiHu i guess wei is not online

baohua (Fri, 16 Jun 2017 03:10:08 GMT):
will connect to him off the meeting

baohua (Fri, 16 Jun 2017 03:10:17 GMT):
Item 4. Proto Files Update: Tony Yang is working on FAB-4592

baohua (Fri, 16 Jun 2017 03:10:24 GMT):
https://jira.hyperledger.org/browse/FAB-4592

baohua (Fri, 16 Jun 2017 03:10:31 GMT):
@tonyyang132 any update?

baohua (Fri, 16 Jun 2017 03:11:22 GMT):
aha, are u lost? @tonyyang132 :blossom:

baohua (Fri, 16 Jun 2017 03:12:03 GMT):
i guess there is some connection issue...

baohua (Fri, 16 Jun 2017 03:12:15 GMT):
so let's jump to next item 5. Images/docker-compose-files update: Qiang Wang is working on FAB-4741

baohua (Fri, 16 Jun 2017 03:12:31 GMT):
@qiang0723 any update?

tonyyang132 (Fri, 16 Jun 2017 03:12:44 GMT):
I'm here :-)

tonyyang132 (Fri, 16 Jun 2017 03:12:45 GMT):
have identified 4 proto files that needs syncing and have synced them accordingly

tonyyang132 (Fri, 16 Jun 2017 03:12:45 GMT):
now working on compiling the proto files

baohua (Fri, 16 Jun 2017 03:13:03 GMT):
aha u're back

tonyyang132 (Fri, 16 Jun 2017 03:13:17 GMT):
yeah, connection is not so smooth

baohua (Fri, 16 Jun 2017 03:13:19 GMT):
great, feel free to share if u find any problem

tonyyang132 (Fri, 16 Jun 2017 03:13:26 GMT):
sure, thank you

qiang0723 (Fri, 16 Jun 2017 03:14:31 GMT):
I have just modified some configuration files according to official example e2e_cli,and docker-compose can work now, will commit it later

baohua (Fri, 16 Jun 2017 03:14:50 GMT):
ok, and here's some related pachsets: https://gerrit.hyperledger.org/r/#/c/10631/

baohua (Fri, 16 Jun 2017 03:15:00 GMT):
we got several comments for it. welcome anyone to help review

baohua (Fri, 16 Jun 2017 03:15:39 GMT):
and is there any other issues to discuss?

baohua (Fri, 16 Jun 2017 03:15:56 GMT):
next monday&Tuesday we will have the hackfest in beijing, anyone will attend with me?

wangdong (Fri, 16 Jun 2017 03:16:35 GMT):
one more thing the sdk spec is the most updated?

baohua (Fri, 16 Jun 2017 03:16:54 GMT):
no, the sdk spec is somehow out-of-dated

baohua (Fri, 16 Jun 2017 03:17:02 GMT):
but the main design process is till correct

wangdong (Fri, 16 Jun 2017 03:17:10 GMT):
ok

wangdong (Fri, 16 Jun 2017 03:17:13 GMT):
thanks

baohua (Fri, 16 Jun 2017 03:17:21 GMT):
pls have a look at the java/node ones for reference

wangdong (Fri, 16 Jun 2017 03:17:32 GMT):
yep

baohua (Fri, 16 Jun 2017 03:17:37 GMT):
And last week, fabric release the beta version.

baohua (Fri, 16 Jun 2017 03:17:47 GMT):
this week it will be in rc1

wangdong (Fri, 16 Jun 2017 03:18:24 GMT):
OK

baohua (Fri, 16 Jun 2017 03:18:28 GMT):
Since most apis freeze now, we can finish the sdk soon, hopefully :smiley:

baohua (Fri, 16 Jun 2017 03:18:41 GMT):
Any more issues to discuss?

wangdong (Fri, 16 Jun 2017 03:19:16 GMT):
the hackfest? what is that, any info?

baohua (Fri, 16 Jun 2017 03:19:28 GMT):
https://wiki.hyperledger.org/groups/twgc/hackfest-beijing

baohua (Fri, 16 Jun 2017 03:19:30 GMT):
See here

wangdong (Fri, 16 Jun 2017 03:19:33 GMT):
ok

wangdong (Fri, 16 Jun 2017 03:19:34 GMT):
thanks

lafenicecc (Fri, 16 Jun 2017 03:19:42 GMT):
@grapebaba in the mvp, eventhub's job is to get commit confirmation from endorsor, am I right?

baohua (Fri, 16 Jun 2017 03:20:01 GMT):
Hyperledger 黑客技术峰会 :innocent:

baohua (Fri, 16 Jun 2017 03:20:10 GMT):
or 技术论坛

wangdong (Fri, 16 Jun 2017 03:20:16 GMT):
sounds great

baohua (Fri, 16 Jun 2017 03:20:37 GMT):
it's one of the largest event in HL community

lafenicecc (Fri, 16 Jun 2017 03:20:48 GMT):
why the agenda has so many blank time slots still ...

baohua (Fri, 16 Jun 2017 03:20:53 GMT):
everyone welcome to present

baohua (Fri, 16 Jun 2017 03:21:07 GMT):
aha, it's 50+% filled, still adding more

baohua (Fri, 16 Jun 2017 03:21:33 GMT):
for those cannot present, can feel free to join the discussions at channels like #twg-china

baohua (Fri, 16 Jun 2017 03:21:46 GMT):
i will try to share some info at rocketchannels

baohua (Fri, 16 Jun 2017 03:22:28 GMT):
OK, any other question?

grapebaba (Fri, 16 Jun 2017 03:23:03 GMT):
@lafenicecc may refer to EventHub.java

grapebaba (Fri, 16 Jun 2017 03:23:25 GMT):
it should be a general approach

lafenicecc (Fri, 16 Jun 2017 03:23:38 GMT):
ok i will

baohua (Fri, 16 Jun 2017 03:24:07 GMT):
So if there's no more question, we will end the meeting

baohua (Fri, 16 Jun 2017 03:24:20 GMT):
Thanks for everyone's efforts, let's keep submitting patchsets and reviewing, have a nice weekend!

wangdong (Fri, 16 Jun 2017 03:24:36 GMT):
have a nice weekend

lafenicecc (Fri, 16 Jun 2017 03:24:45 GMT):
thanks

tonyyang132 (Fri, 16 Jun 2017 03:24:54 GMT):
thank you and bye

grapebaba (Fri, 16 Jun 2017 03:25:32 GMT):
thank you

sfukazu (Mon, 19 Jun 2017 06:37:32 GMT):
Has joined the channel.

tinywell (Wed, 21 Jun 2017 01:25:17 GMT):
Has joined the channel.

baohua (Wed, 21 Jun 2017 14:03:39 GMT):
https://gerrit.hyperledger.org/r/#/c/10905/

raheelz (Wed, 21 Jun 2017 16:55:00 GMT):
Has joined the channel.

raheelz (Wed, 21 Jun 2017 22:59:30 GMT):
Hi all, I wanted to ask if the fabric-sdk-py is ready to be used with application. I would like to create an application using the fabric-sdk-py (similar to how marbles app is using the fabric-sdk-node ) Would there be any examples for using fabric-sdk-py? Thanks

baohua (Thu, 22 Jun 2017 01:36:45 GMT):
@raheelz not finished yet, but pls have a look at the `test` cases, where we have several supports, thanks for ur interest!

baohua (Thu, 22 Jun 2017 01:37:04 GMT):
@grapebaba where's ur patchset, sorry not finding it: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py+status:open

raheelz (Thu, 22 Jun 2017 02:14:24 GMT):
Thanks @baohua! I will take a look

grapebaba (Thu, 22 Jun 2017 02:51:38 GMT):
https://gerrit.hyperledger.org/r/#/c/10979/

baohua (Thu, 22 Jun 2017 03:29:17 GMT):
cool :)

baohua (Thu, 22 Jun 2017 04:00:27 GMT):
@here Dear all, we will have group meeting at 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170623, thanks!

srivmukk (Fri, 23 Jun 2017 02:35:43 GMT):
Has joined the channel.

srivmukk (Fri, 23 Jun 2017 02:57:31 GMT):
Hi Team, Congratulations for your successful participation in rolling Block chain Hyperledger. I am a newbie and thinking to be a contributor but not sure in which area I should try. I have installed Fabric component and do have inclination to deep dive into Fabric and Composer projects. I have tried these on Ubuntu – v16.04 (xenial) platform. Can some pointer or task be shared initially so that I can try contributing in that specific area? I may be good in working or developing some USE CASE applications. I do appreciate in participating in discussions so please do involve me. I am based in New Delhi, India.

baohua (Fri, 23 Jun 2017 02:58:41 GMT):
@srivmukk welcome, this is the python based sdk for fabric, if u love python, welcome to join!

baohua (Fri, 23 Jun 2017 02:58:50 GMT):
meeting will start at 2 mins

srivmukk (Fri, 23 Jun 2017 02:59:21 GMT):
Sure.. I will. Thanks

baohua (Fri, 23 Jun 2017 02:59:56 GMT):
ok, who's online for the meeting?

tonyyang132 (Fri, 23 Jun 2017 03:00:42 GMT):
I am

baohua (Fri, 23 Jun 2017 03:00:44 GMT):
@grapebaba @qiang0723

baohua (Fri, 23 Jun 2017 03:00:50 GMT):
thanks, tony

qiang0723 (Fri, 23 Jun 2017 03:00:51 GMT):
:raised_hand:

baohua (Fri, 23 Jun 2017 03:01:00 GMT):
@lafenicecc

baohua (Fri, 23 Jun 2017 03:01:04 GMT):
ok, let's start

baohua (Fri, 23 Jun 2017 03:01:10 GMT):
today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170623

grapebaba (Fri, 23 Jun 2017 03:01:23 GMT):
:raised_hand:

WeiHu (Fri, 23 Jun 2017 03:01:30 GMT):
:raised_hand:

baohua (Fri, 23 Jun 2017 03:01:30 GMT):
got two patchset merged

baohua (Fri, 23 Jun 2017 03:01:34 GMT):
FAB-4877 done by Kai Chen

baohua (Fri, 23 Jun 2017 03:01:39 GMT):
FAB-4741 done by Qiang Wang

baohua (Fri, 23 Jun 2017 03:01:41 GMT):
Thanks!

baohua (Fri, 23 Jun 2017 03:02:02 GMT):
And Dong Wang is working on FAB-2871 @wangdong

baohua (Fri, 23 Jun 2017 03:02:10 GMT):
not sure if he's online

baohua (Fri, 23 Jun 2017 03:02:30 GMT):
User Role: Wei Hu is working on FAB-3885 @WeiHu

baohua (Fri, 23 Jun 2017 03:02:44 GMT):
could u help share the progress? @WeiHu

lafenicecc (Fri, 23 Jun 2017 03:03:09 GMT):
:raised_back_of_hand:

WeiHu (Fri, 23 Jun 2017 03:03:39 GMT):
I wonder whether `create channel` is implemented?

baohua (Fri, 23 Jun 2017 03:04:10 GMT):
For sdk, it actually can assume the fabric network is already there (started, and peer already joined the new created channel).

WeiHu (Fri, 23 Jun 2017 03:04:13 GMT):
I'll finish fab-3885 after this task is done

baohua (Fri, 23 Jun 2017 03:04:39 GMT):
using the docker-compose files, after bootup, we can setup the channel and join through scripts first.

baohua (Fri, 23 Jun 2017 03:04:53 GMT):
How do u think, if this way works for u? wei

wangdong (Fri, 23 Jun 2017 03:05:18 GMT):
I am here

baohua (Fri, 23 Jun 2017 03:05:25 GMT):
@grapebaba i guess the chaincode operations have higher priority

WeiHu (Fri, 23 Jun 2017 03:05:55 GMT):
get it

baohua (Fri, 23 Jun 2017 03:06:03 GMT):
thanks, wei, pls do not stuck :)

baohua (Fri, 23 Jun 2017 03:06:22 GMT):
thanks @wangdong would u help update FAB-2871? the e2e api design?

baohua (Fri, 23 Jun 2017 03:06:49 GMT):
we just close ray's prior patchset, hope u can open new one for that

baohua (Fri, 23 Jun 2017 03:07:13 GMT):
https://jira.hyperledger.org/browse/FAB-2871

wangdong (Fri, 23 Jun 2017 03:07:44 GMT):
I just referred the node sdk. The first step will be creating channel test

wangdong (Fri, 23 Jun 2017 03:08:09 GMT):
I am trying to give birth it then

baohua (Fri, 23 Jun 2017 03:08:39 GMT):
yeap, dong, as suggested last week, we need the entire workflow defined first, then can implement each steps with other components being finished.

baohua (Fri, 23 Jun 2017 03:08:52 GMT):
thanks for the help!

baohua (Fri, 23 Jun 2017 03:09:14 GMT):
OK, and Proto Files Update: Tony Yang is working on FAB-4592

baohua (Fri, 23 Jun 2017 03:09:30 GMT):
the patchset is at https://gerrit.hyperledger.org/r/#/c/11003/

tonyyang132 (Fri, 23 Jun 2017 03:09:39 GMT):
Yeah

baohua (Fri, 23 Jun 2017 03:09:56 GMT):
Would highly encourage everyone to help review, not only just contributing code. review is very important :)

baohua (Fri, 23 Jun 2017 03:10:11 GMT):
any thing to sync, tony?

wangdong (Fri, 23 Jun 2017 03:10:16 GMT):
Ah, I will try to give a design then. Sorry for the miss.

baohua (Fri, 23 Jun 2017 03:10:31 GMT):
:snail:

tonyyang132 (Fri, 23 Jun 2017 03:10:50 GMT):
Nothing else other than asking help for reviews

tonyyang132 (Fri, 23 Jun 2017 03:10:57 GMT):
:grimacing:

baohua (Fri, 23 Jun 2017 03:11:07 GMT):
thanks, can would u like to share how do u update it? main steps?

srivmukk (Fri, 23 Jun 2017 03:11:07 GMT):
I can help in reviewing. Let me know please

qiang0723 (Fri, 23 Jun 2017 03:11:10 GMT):
I think i can help implement demo e2e @wangdong

baohua (Fri, 23 Jun 2017 03:11:12 GMT):
hence other people may learn :)

baohua (Fri, 23 Jun 2017 03:11:21 GMT):
@srivmukk feel free to review it!

wangdong (Fri, 23 Jun 2017 03:11:31 GMT):
@qiang0723 that will be greate

baohua (Fri, 23 Jun 2017 03:11:43 GMT):
every patchset is open, just add ur name there, then u're an honored review!

baohua (Fri, 23 Jun 2017 03:11:43 GMT):
every patchset is open, just add ur name there, then u're an honored reviewer!

tonyyang132 (Fri, 23 Jun 2017 03:12:29 GMT):
yeah. I diff'ed all the proto files with that of the fabric ones

tonyyang132 (Fri, 23 Jun 2017 03:13:48 GMT):
eliminated the ones that are only in fabric, and synced the rest, and then make proto

baohua (Fri, 23 Jun 2017 03:14:25 GMT):
yeap, thanks and remember to notice that some generated files needs a abstract import path

baohua (Fri, 23 Jun 2017 03:14:34 GMT):
due to limit support of pb

baohua (Fri, 23 Jun 2017 03:15:02 GMT):
and every code contributor, pls feel free to add ur name at the statistics at https://wiki.hyperledger.org/groups/twgc/team_di

baohua (Fri, 23 Jun 2017 03:15:21 GMT):
OK, EventHub: Chang Chen is working on FAB-4822

baohua (Fri, 23 Jun 2017 03:15:30 GMT):
https://jira.hyperledger.org/browse/FAB-4822

tonyyang132 (Fri, 23 Jun 2017 03:15:32 GMT):
sorry, how do you mean by abstract import path?

baohua (Fri, 23 Jun 2017 03:16:05 GMT):
@tonyyang132 u may notice we have manually update some import path in the generated py files.

lafenicecc (Fri, 23 Jun 2017 03:16:09 GMT):
Working on eventhub. Will have patchset next week

grapebaba (Fri, 23 Jun 2017 03:16:41 GMT):
@tonyyang132 we must change the import path of the proto files in fabric

tonyyang132 (Fri, 23 Jun 2017 03:16:58 GMT):
oops, I didn't manually update any generated py files

grapebaba (Fri, 23 Jun 2017 03:17:00 GMT):
please check the current py files header

tonyyang132 (Fri, 23 Jun 2017 03:17:08 GMT):
guess I need to take another look

grapebaba (Fri, 23 Jun 2017 03:17:10 GMT):
i don't mean py files

grapebaba (Fri, 23 Jun 2017 03:17:20 GMT):
i mean .proto files

tonyyang132 (Fri, 23 Jun 2017 03:17:26 GMT):
oh, proto files

tonyyang132 (Fri, 23 Jun 2017 03:17:40 GMT):
I did see those

grapebaba (Fri, 23 Jun 2017 03:17:46 GMT):
yeah

baohua (Fri, 23 Jun 2017 03:17:53 GMT):
like this one in ab.proto: `import "hfc/protos/common/common.proto";`

baohua (Fri, 23 Jun 2017 03:18:02 GMT):
the original one is `import common.proto`

baohua (Fri, 23 Jun 2017 03:18:16 GMT):
need to update the path as kai indicated

tonyyang132 (Fri, 23 Jun 2017 03:18:18 GMT):
prefixed by the hfc directory

baohua (Fri, 23 Jun 2017 03:18:41 GMT):
seems only several filed need that change @grapebaba ?

baohua (Fri, 23 Jun 2017 03:18:41 GMT):
seems only several files need that change @grapebaba ?

tonyyang132 (Fri, 23 Jun 2017 03:18:48 GMT):
I left those diffs as is

baohua (Fri, 23 Jun 2017 03:19:12 GMT):
yeap, that's smart action

baohua (Fri, 23 Jun 2017 03:19:52 GMT):
OK, for next item: we need some one to help add license headers to the source code: https://jira.hyperledger.org/browse/FAB-4742

baohua (Fri, 23 Jun 2017 03:20:03 GMT):
any volunteer?

baohua (Fri, 23 Jun 2017 03:20:30 GMT):
@srivmukk

srivmukk (Fri, 23 Jun 2017 03:20:36 GMT):
k

baohua (Fri, 23 Jun 2017 03:20:37 GMT):
would u like to help fix it?

grapebaba (Fri, 23 Jun 2017 03:20:39 GMT):
@tonyyang132 that is a workaround to generate correct py files

srivmukk (Fri, 23 Jun 2017 03:21:03 GMT):
@baohua .. Sure, I can try.

tonyyang132 (Fri, 23 Jun 2017 03:21:10 GMT):
Thanks @grapebaba for elaborating

baohua (Fri, 23 Jun 2017 03:21:21 GMT):
thanks, pls assign urself as the assignee in the jira link :)

grapebaba (Fri, 23 Jun 2017 03:21:26 GMT):
you must check the current project module and modify the .proto import

baohua (Fri, 23 Jun 2017 03:22:02 GMT):
mainly, we need an apache 2 header in every source code file, and some cc license description at the bottom of the documentation. feel free to fix one by one step.

baohua (Fri, 23 Jun 2017 03:22:21 GMT):
Ok, next item: Support provided password in the enroll request: FAB-3165

baohua (Fri, 23 Jun 2017 03:22:25 GMT):
https://jira.hyperledger.org/browse/FAB-3165

baohua (Fri, 23 Jun 2017 03:22:49 GMT):
this means when enroll, user can optionally choose to use the password they provided

baohua (Fri, 23 Jun 2017 03:23:06 GMT):
instead of only accepting randomly generate one from the server part.

baohua (Fri, 23 Jun 2017 03:23:14 GMT):
anyone would like to help on this?

baohua (Fri, 23 Jun 2017 03:24:33 GMT):
aha, @wangdong guess u would like to pick this!

wangdong (Fri, 23 Jun 2017 03:24:58 GMT):
I will have to finish the e2e first.

baohua (Fri, 23 Jun 2017 03:24:59 GMT):
very helpful to understand the e2e workflow by fixing this

wangdong (Fri, 23 Jun 2017 03:24:59 GMT):
haha

baohua (Fri, 23 Jun 2017 03:25:25 GMT):
ok, so anyone else to fix this one?

baohua (Fri, 23 Jun 2017 03:25:30 GMT):
https://jira.hyperledger.org/browse/FAB-3165

baohua (Fri, 23 Jun 2017 03:25:43 GMT):
OK, if nobody takes, i will eat it!

baohua (Fri, 23 Jun 2017 03:25:59 GMT):
great discussions and progress this week, that's all the agenda

baohua (Fri, 23 Jun 2017 03:26:10 GMT):
any else to discuss? @grapebaba

baohua (Fri, 23 Jun 2017 03:27:09 GMT):
anyone have issue to discuss more?

baohua (Fri, 23 Jun 2017 03:27:09 GMT):
anyone has issue to discuss more?

grapebaba (Fri, 23 Jun 2017 03:27:18 GMT):
there are a lot of changes with our previous implementation such as msp, identity, user

baohua (Fri, 23 Jun 2017 03:27:41 GMT):
aha, mostly, we move the membership part to a seperate dir named fabric-ca

grapebaba (Fri, 23 Jun 2017 03:27:44 GMT):
and some new underlying component added

grapebaba (Fri, 23 Jun 2017 03:27:55 GMT):
such as block decoder

baohua (Fri, 23 Jun 2017 03:27:56 GMT):
and the main part keeps as in the fabric dir

grapebaba (Fri, 23 Jun 2017 03:28:33 GMT):
i think we need revisit these underlying component first

baohua (Fri, 23 Jun 2017 03:28:38 GMT):
and the mvp (support chaincode operations) is with the highest priority

baohua (Fri, 23 Jun 2017 03:28:55 GMT):
@grapebaba more details?

grapebaba (Fri, 23 Jun 2017 03:29:18 GMT):
i do not think we can implement mvp without these components

baohua (Fri, 23 Jun 2017 03:29:58 GMT):
any reason?

grapebaba (Fri, 23 Jun 2017 03:30:10 GMT):
i just check the code

grapebaba (Fri, 23 Jun 2017 03:30:21 GMT):
for implement create channel

baohua (Fri, 23 Jun 2017 03:30:25 GMT):
suppose we assume having a joined channel by docker-compose and scripts.

grapebaba (Fri, 23 Jun 2017 03:30:30 GMT):
actually a lot of work need to do

baohua (Fri, 23 Jun 2017 03:31:11 GMT):
yeap, to avoid stucking, we can first use scripts to do the channel creation/joining work, does that make sense?

baohua (Fri, 23 Jun 2017 03:31:27 GMT):
as the official e2e does.

grapebaba (Fri, 23 Jun 2017 03:31:50 GMT):
i agree

baohua (Fri, 23 Jun 2017 03:32:00 GMT):
then it would be easier to finish the chaincode operations support. after that, we can focus on the channel staffs.

baohua (Fri, 23 Jun 2017 03:32:08 GMT):
as the channel part is still in-change....

baohua (Fri, 23 Jun 2017 03:32:19 GMT):
OK. any other issue?

grapebaba (Fri, 23 Jun 2017 03:32:50 GMT):
but i didn't check that if we can implement chaincode operation easily right now

baohua (Fri, 23 Jun 2017 03:33:28 GMT):
no worry, we will do it step by step: install first!

baohua (Fri, 23 Jun 2017 03:33:52 GMT):
@grapebaba would suggest u finish the install code (almost done)

baohua (Fri, 23 Jun 2017 03:33:52 GMT):
@grapebaba would suggest u help finish the install code (almost done)

baohua (Fri, 23 Jun 2017 03:34:05 GMT):
and then instantiate

baohua (Fri, 23 Jun 2017 03:35:10 GMT):
@wangdong anything to say?

wangdong (Fri, 23 Jun 2017 03:35:17 GMT):
I saw the chang log is outdated for long. I think if some one makes the changes, he is responsible to update it. It will be helpful for other to understand the work.

baohua (Fri, 23 Jun 2017 03:35:18 GMT):
saw u're in typing status

baohua (Fri, 23 Jun 2017 03:35:35 GMT):
aha, good suggestion!

baohua (Fri, 23 Jun 2017 03:35:49 GMT):
@lafenicecc could u help create a jira task for that?

baohua (Fri, 23 Jun 2017 03:35:58 GMT):
we need to update the changelog accordingly

lafenicecc (Fri, 23 Jun 2017 03:36:02 GMT):
ok

baohua (Fri, 23 Jun 2017 03:36:09 GMT):
anyone wanna help fix it right now?

wangdong (Fri, 23 Jun 2017 03:37:19 GMT):
shall we have a rule to let the everyone to take care of his part?

grapebaba (Fri, 23 Jun 2017 03:37:23 GMT):
shall we have a design disccusion

grapebaba (Fri, 23 Jun 2017 03:37:30 GMT):
at some time

grapebaba (Fri, 23 Jun 2017 03:37:51 GMT):
before that, we need every look at the node or java SDK

baohua (Fri, 23 Jun 2017 03:38:03 GMT):
ok, @grapebaba pls help org one and negotiate a time slot within the group

grapebaba (Fri, 23 Jun 2017 03:38:05 GMT):
I have several questions

baohua (Fri, 23 Jun 2017 03:38:51 GMT):
u may use phone call for that :)

grapebaba (Fri, 23 Jun 2017 03:39:02 GMT):
yes

baohua (Fri, 23 Jun 2017 03:39:15 GMT):
Ok, any more issue for the meeting today?

baohua (Fri, 23 Jun 2017 03:40:13 GMT):
OK. if no more issue, will end the meeting, thanks every attendee and have a nice weekend!

wangdong (Fri, 23 Jun 2017 03:40:28 GMT):
have a nice weekend

tonyyang132 (Fri, 23 Jun 2017 03:42:13 GMT):
Thank you and bye

baohua (Sat, 24 Jun 2017 00:57:56 GMT):
Anyone wanna help update the image version, just feel free to pick: https://jira.hyperledger.org/browse/FAB-4987

grapebaba (Mon, 26 Jun 2017 01:33:39 GMT):
https://gerrit.hyperledger.org/r/#/c/11003/

david_dornseifer (Mon, 26 Jun 2017 03:20:29 GMT):
Hi jenkins is super slow right now - `03:14:06 Build timed out (after 20 minutes). Marking the build as failed.` - can we restart the instance or any idea whats wrong?

grapebaba (Mon, 26 Jun 2017 06:33:54 GMT):
may be in a maintain time window

grapebaba (Mon, 26 Jun 2017 06:34:08 GMT):
will try retrigger latter

rjones (Mon, 26 Jun 2017 06:39:51 GMT):
There was an outage today at our provider

rjones (Mon, 26 Jun 2017 06:40:22 GMT):
If you retrigger now it should be ok @grapebaba

grapebaba (Mon, 26 Jun 2017 06:40:34 GMT):
:ok_hand:

grapebaba (Tue, 27 Jun 2017 05:03:27 GMT):
https://gerrit.hyperledger.org/r/#/c/11175/

baohua (Tue, 27 Jun 2017 05:26:46 GMT):
cool

qiang0723 (Wed, 28 Jun 2017 09:10:03 GMT):
https://gerrit.hyperledger.org/r/#/c/11211/

livespotty (Wed, 28 Jun 2017 15:29:54 GMT):
Has left the channel.

baohua (Thu, 29 Jun 2017 05:28:46 GMT):
Dear all, we will have Design meeting at 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170630, thanks! Notice we will use the uberconf for the online discussions.

zhasni (Tue, 04 Jul 2017 09:06:51 GMT):
Has joined the channel.

baohua (Wed, 05 Jul 2017 01:58:09 GMT):
https://gerrit.hyperledger.org/r/11347

baohua (Thu, 06 Jul 2017 06:54:35 GMT):
Dear all, we will cancel tmr's meeting due to code development, let's keep collaborate offline, thanks and have nice weekend!

baohua (Fri, 07 Jul 2017 06:20:22 GMT):
https://gerrit.hyperledger.org/r/#/c/11431/

kingofsevens (Sat, 08 Jul 2017 09:15:40 GMT):
Has joined the channel.

jtclark (Mon, 10 Jul 2017 13:39:07 GMT):
Has joined the channel.

FollowingGhosts (Mon, 10 Jul 2017 14:57:32 GMT):
Has joined the channel.

FollowingGhosts (Mon, 10 Jul 2017 15:07:16 GMT):
are there any code examples available for using the python sdk?

baohua (Tue, 11 Jul 2017 03:48:38 GMT):
@wangdong is preparing some e2e example

grapebaba (Tue, 11 Jul 2017 09:56:38 GMT):
https://gerrit.hyperledger.org/r/#/c/11521/

baohua (Wed, 12 Jul 2017 01:53:22 GMT):
congrats @lafenicecc and @david_dornseifer as new maintainers of the fabric sdk py project! Their active contribution shows great example for oss community!

apolikamixitos (Wed, 12 Jul 2017 07:25:11 GMT):
Has joined the channel.

david_dornseifer (Wed, 12 Jul 2017 22:00:00 GMT):
@grapebaba @baohua thx :)

jeffgarratt (Thu, 13 Jul 2017 00:09:41 GMT):
Has joined the channel.

grapebaba (Thu, 13 Jul 2017 01:20:13 GMT):
:thumbsup:

baohua (Thu, 13 Jul 2017 02:08:12 GMT):
:smiley:

baohua (Thu, 13 Jul 2017 11:11:19 GMT):
Dear all, we will have group meeting at 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170714, thanks!

baohua (Fri, 14 Jul 2017 02:59:32 GMT):
who's online

baohua (Fri, 14 Jul 2017 02:59:37 GMT):
meeting start soon

grapebaba (Fri, 14 Jul 2017 02:59:41 GMT):
:raised_hand:

qiang0723 (Fri, 14 Jul 2017 03:00:19 GMT):
:raised_hand:

baohua (Fri, 14 Jul 2017 03:00:30 GMT):
OK

baohua (Fri, 14 Jul 2017 03:00:45 GMT):
today's agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170714

baohua (Fri, 14 Jul 2017 03:01:21 GMT):
first, let's see the MVP status @grapebaba any progress?

grapebaba (Fri, 14 Jul 2017 03:02:19 GMT):
i am working on sync install chaincode to latest fabric this week

grapebaba (Fri, 14 Jul 2017 03:02:25 GMT):
not complete yet

baohua (Fri, 14 Jul 2017 03:02:33 GMT):
nice, we have the new fabric 1.0.0 release now

tonyyang132 (Fri, 14 Jul 2017 03:02:37 GMT):
:raised_hand:sorry a bit late

lafenicecc (Fri, 14 Jul 2017 03:02:42 GMT):
:raised_back_of_hand:

baohua (Fri, 14 Jul 2017 03:02:45 GMT):
let's use it as the base env

grapebaba (Fri, 14 Jul 2017 03:02:53 GMT):
@david_dornseifer pick up the create channel task

baohua (Fri, 14 Jul 2017 03:02:55 GMT):
we will keep a stable version to work with

baohua (Fri, 14 Jul 2017 03:03:12 GMT):
thanks for @qiang0723 and @david_dornseifer 's help in the env setup

baohua (Fri, 14 Jul 2017 03:03:25 GMT):
ok, any other problem? @grapebaba

grapebaba (Fri, 14 Jul 2017 03:04:18 GMT):
no

baohua (Fri, 14 Jul 2017 03:04:33 GMT):
hope @wangdong and @WeiHu are online

WeiHu (Fri, 14 Jul 2017 03:04:49 GMT):
:raised_hand:yes

baohua (Fri, 14 Jul 2017 03:05:08 GMT):
great, how's https://jira.hyperledger.org/browse/FAB-3885 going?

wangdong (Fri, 14 Jul 2017 03:05:27 GMT):
I am here

baohua (Fri, 14 Jul 2017 03:05:28 GMT):
any problem to meet?

wangdong (Fri, 14 Jul 2017 03:05:37 GMT):
some network problem

baohua (Fri, 14 Jul 2017 03:06:16 GMT):
sure, pls feel free to discuss with the team here :)

wangdong (Fri, 14 Jul 2017 03:06:28 GMT):
ok

baohua (Fri, 14 Jul 2017 03:06:36 GMT):
@wangdong any problem with https://jira.hyperledger.org/browse/FAB-2871?

WeiHu (Fri, 14 Jul 2017 03:07:00 GMT):
I've communicated with kai, and we agreed that this task should wait `install chaincode` task done

baohua (Fri, 14 Jul 2017 03:07:16 GMT):
OK, then pls add the comments in jira board

baohua (Fri, 14 Jul 2017 03:07:31 GMT):
we need to explore the status of the work :thinking:

wangdong (Fri, 14 Jul 2017 03:08:02 GMT):
last week, I got two patches related to client

wangdong (Fri, 14 Jul 2017 03:08:20 GMT):
one sent, the other is on the way

baohua (Fri, 14 Jul 2017 03:08:30 GMT):
yeap, and hope we can have the e2e doc/framework soon :)

WeiHu (Fri, 14 Jul 2017 03:08:40 GMT):
ok

baohua (Fri, 14 Jul 2017 03:08:43 GMT):
https://jira.hyperledger.org/browse/FAB-2871 is very important for users

wangdong (Fri, 14 Jul 2017 03:08:50 GMT):
this is the warm up, I will focus on e2e then

baohua (Fri, 14 Jul 2017 03:08:51 GMT):
thanks

wangdong (Fri, 14 Jul 2017 03:08:51 GMT):
OK

baohua (Fri, 14 Jul 2017 03:09:10 GMT):
and thanks to @tonyyang132 https://jira.hyperledger.org/browse/FAB-4592 is done!

wangdong (Fri, 14 Jul 2017 03:09:11 GMT):
Sorry for the long delay

baohua (Fri, 14 Jul 2017 03:09:29 GMT):
pls also help make sure we keep sync with the fabric 1.0 release.

baohua (Fri, 14 Jul 2017 03:09:39 GMT):
:train:

tonyyang132 (Fri, 14 Jul 2017 03:09:47 GMT):
@baohua sure, will look into it

baohua (Fri, 14 Jul 2017 03:10:07 GMT):
@lafenicecc how's going with https://jira.hyperledger.org/browse/FAB-4822?

baohua (Fri, 14 Jul 2017 03:10:43 GMT):
and hope u get familiar with the maintainer's responsibility, which is more challenging :woo:

lafenicecc (Fri, 14 Jul 2017 03:11:17 GMT):
Sorry a bit busy recently, but will get it done asap. BTW i'll invite two phd students to join us

baohua (Fri, 14 Jul 2017 03:11:34 GMT):
nice! hope they like Python!

lafenicecc (Fri, 14 Jul 2017 03:11:53 GMT):
yea.. one of them loves go more than python..

baohua (Fri, 14 Jul 2017 03:12:01 GMT):
aha, we got an open issue here today: https://jira.hyperledger.org/browse/FAB-4742

WeiHu (Fri, 14 Jul 2017 03:12:04 GMT):
:thumbsup:

baohua (Fri, 14 Jul 2017 03:12:10 GMT):
which Phd could pickup this one?

baohua (Fri, 14 Jul 2017 03:12:36 GMT):
PhD is valuable always :wink:

lafenicecc (Fri, 14 Jul 2017 03:13:02 GMT):
I'll let them handle this as a start

baohua (Fri, 14 Jul 2017 03:13:09 GMT):
great, thanks!

baohua (Fri, 14 Jul 2017 03:13:44 GMT):
aha, everything goes on as planed. so we do not have more on the agenda. Hope everyone are more clear during last week's design discussions.

baohua (Fri, 14 Jul 2017 03:14:00 GMT):
feel free to post any issue/question in the team during the contribution.

baohua (Fri, 14 Jul 2017 03:14:22 GMT):
So any more issue to discuss today? @grapebaba @lafenicecc

baohua (Fri, 14 Jul 2017 03:14:34 GMT):
and other members certainly

wangdong (Fri, 14 Jul 2017 03:14:55 GMT):
I got question regarding the org in client class

wangdong (Fri, 14 Jul 2017 03:15:24 GMT):
yesterday ,we have a short discussion about it

wangdong (Fri, 14 Jul 2017 03:15:32 GMT):
but i want know more about it

baohua (Fri, 14 Jul 2017 03:15:39 GMT):
yeap

wangdong (Fri, 14 Jul 2017 03:15:55 GMT):
As I found this org now is only used for user key in state store

wangdong (Fri, 14 Jul 2017 03:16:04 GMT):
any import use in other place ?

baohua (Fri, 14 Jul 2017 03:16:29 GMT):
u can simply think an org as a MSP, while MSP represent some identity.

baohua (Fri, 14 Jul 2017 03:16:49 GMT):
so the identity should be used in key related scenarios

baohua (Fri, 14 Jul 2017 03:17:14 GMT):
at the same time, the org is mostly in used in those id, key, permission checking scenarios.

baohua (Fri, 14 Jul 2017 03:17:27 GMT):
from client side, it should be with the identity related methods :)

wangdong (Fri, 14 Jul 2017 03:17:35 GMT):
ok

baohua (Fri, 14 Jul 2017 03:17:36 GMT):
is that clear for u?

wangdong (Fri, 14 Jul 2017 03:17:41 GMT):
yes

wangdong (Fri, 14 Jul 2017 03:17:59 GMT):
I try to restore the user from state store

baohua (Fri, 14 Jul 2017 03:18:10 GMT):
yes?

wangdong (Fri, 14 Jul 2017 03:18:18 GMT):
Then I have to use it to build the key

baohua (Fri, 14 Jul 2017 03:18:47 GMT):
if u need it, then feel free to create some Organization class

grapebaba (Fri, 14 Jul 2017 03:19:25 GMT):
as mentioned state store

baohua (Fri, 14 Jul 2017 03:19:32 GMT):
i guess the node one doesn't have that concept although

grapebaba (Fri, 14 Jul 2017 03:19:48 GMT):
have another question

baohua (Fri, 14 Jul 2017 03:19:56 GMT):
actually, we finally may need to remove the states from client side

baohua (Fri, 14 Jul 2017 03:20:09 GMT):
it's a workaround currently using state store

grapebaba (Fri, 14 Jul 2017 03:20:46 GMT):
really?

wangdong (Fri, 14 Jul 2017 03:21:16 GMT):
sure

baohua (Fri, 14 Jul 2017 03:21:24 GMT):
i guess so, the client could be stateless

grapebaba (Fri, 14 Jul 2017 03:21:25 GMT):
where we save certs and private keys

wangdong (Fri, 14 Jul 2017 03:21:26 GMT):
I just got a phone

baohua (Fri, 14 Jul 2017 03:21:55 GMT):
it may use some external store

baohua (Fri, 14 Jul 2017 03:22:14 GMT):
but the sdk itself should not manage this store in future, how do u think?

baohua (Fri, 14 Jul 2017 03:22:37 GMT):
i remember u got a question to discuss @grapebaba

grapebaba (Fri, 14 Jul 2017 03:23:34 GMT):
ok, sdk already provide state store interface

baohua (Fri, 14 Jul 2017 03:23:44 GMT):
yes?

wangdong (Fri, 14 Jul 2017 03:24:54 GMT):
the state store in sdk may be the front end, the back end can be pluggable?

grapebaba (Fri, 14 Jul 2017 03:26:08 GMT):
user enrollement and MSP files should be all certs and priv key files

grapebaba (Fri, 14 Jul 2017 03:26:30 GMT):
must store in security way i think

baohua (Fri, 14 Jul 2017 03:26:44 GMT):
yeap

baohua (Fri, 14 Jul 2017 03:26:57 GMT):
we can enhance the security later, that's must

grapebaba (Fri, 14 Jul 2017 03:28:04 GMT):
ok

qiang0723 (Fri, 14 Jul 2017 03:28:13 GMT):
supplement: I set up a task to adjust the environment to meet the needs of development and testing, https://jira.hyperledger.org/browse/FAB-5121, and plan the following environmental adjustment can be placed under this task, any suggestions?

baohua (Fri, 14 Jul 2017 03:28:52 GMT):
sure, can continue with this on env improvement

qiang0723 (Fri, 14 Jul 2017 03:29:04 GMT):
ok

baohua (Fri, 14 Jul 2017 03:29:19 GMT):
ok, any other question to discuss?

baohua (Fri, 14 Jul 2017 03:29:50 GMT):
If no more issue, will end the meeting, thanks every attendee and have a nice weekend!

tonyyang132 (Fri, 14 Jul 2017 03:30:13 GMT):
thank you and see you around

wangdong (Fri, 14 Jul 2017 03:30:31 GMT):
have a nice weekend

grapebaba (Fri, 14 Jul 2017 03:32:16 GMT):
:clap:

berserkr (Fri, 14 Jul 2017 22:58:36 GMT):
Has joined the channel.

mescoba1 (Fri, 14 Jul 2017 23:46:32 GMT):
Has joined the channel.

david_dornseifer (Wed, 19 Jul 2017 21:53:47 GMT):
Hi everybody, made good progress with the channel creation FAB-4315 - I'll be on vacation for one and a half weeks now without any notebook and maybe not even cell phone reception :) - will focus on it around the first week of August.

baohua (Thu, 20 Jul 2017 02:19:41 GMT):
thanks and have a nice vacation! @david_dornseifer

baohua (Thu, 20 Jul 2017 08:40:39 GMT):
Dear all, we will cancel tmr's meeting due to code development, let's keep collaborate offline, thanks and have nice weekend!

Codegidi (Thu, 20 Jul 2017 16:42:13 GMT):
Has joined the channel.

indirajith (Fri, 21 Jul 2017 10:23:11 GMT):
Has joined the channel.

szlaci1983 (Wed, 26 Jul 2017 08:44:56 GMT):
Has joined the channel.

baohua (Thu, 27 Jul 2017 03:31:00 GMT):
@here Dear all, we will have group meeting at 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170728, thanks!

baohua (Fri, 28 Jul 2017 02:59:19 GMT):
meeting will start soon

baohua (Fri, 28 Jul 2017 02:59:34 GMT):
who's on line?

tonyyang132 (Fri, 28 Jul 2017 03:00:44 GMT):
here

grapebaba (Fri, 28 Jul 2017 03:01:02 GMT):
:raised_hand:

qiang0723 (Fri, 28 Jul 2017 03:01:06 GMT):
:raised_hand:

baohua (Fri, 28 Jul 2017 03:01:29 GMT):
ok

baohua (Fri, 28 Jul 2017 03:01:39 GMT):
Today's agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170728

baohua (Fri, 28 Jul 2017 03:01:57 GMT):
item 1: chaincode Install: Kai is working on FAB-5151

baohua (Fri, 28 Jul 2017 03:02:03 GMT):
@grapebaba how's going?

baohua (Fri, 28 Jul 2017 03:02:11 GMT):
https://jira.hyperledger.org/browse/FAB-5151

baohua (Fri, 28 Jul 2017 03:02:31 GMT):
@tonyyang132 pls add ur name to the agenda page

grapebaba (Fri, 28 Jul 2017 03:02:32 GMT):
not passed test

baohua (Fri, 28 Jul 2017 03:02:44 GMT):
hope there's no big issue with it

grapebaba (Fri, 28 Jul 2017 03:02:47 GMT):
still investigate

tonyyang132 (Fri, 28 Jul 2017 03:03:08 GMT):
@baohua OK, on it

baohua (Fri, 28 Jul 2017 03:03:11 GMT):
sure, feel free to throw out the log if needing help

baohua (Fri, 28 Jul 2017 03:03:24 GMT):
@wangdong online?

baohua (Fri, 28 Jul 2017 03:03:57 GMT):
@WeiHu

baohua (Fri, 28 Jul 2017 03:04:21 GMT):
chang is on a leave today

WeiHu (Fri, 28 Jul 2017 03:04:30 GMT):
:raised_hand:

baohua (Fri, 28 Jul 2017 03:04:34 GMT):
great, wei

baohua (Fri, 28 Jul 2017 03:04:45 GMT):
can u update the status on https://jira.hyperledger.org/browse/FAB-3885?

wangdong (Fri, 28 Jul 2017 03:05:06 GMT):
yes

WeiHu (Fri, 28 Jul 2017 03:05:45 GMT):
no progress this week, still waiting chain code install

baohua (Fri, 28 Jul 2017 03:06:12 GMT):
OK, pls keep close cooperation with kai, then.

baohua (Fri, 28 Jul 2017 03:06:24 GMT):
@luj

baohua (Fri, 28 Jul 2017 03:07:20 GMT):
dong, can u help update the status on https://jira.hyperledger.org/browse/FAB-2871?

wangdong (Fri, 28 Jul 2017 03:07:36 GMT):
I will finish the first sub task this week. Some basic confused me a lot. I have figure out them.

wangdong (Fri, 28 Jul 2017 03:07:38 GMT):
Ok

baohua (Fri, 28 Jul 2017 03:07:55 GMT):
ok, is there any question u wanna ask now?

baohua (Fri, 28 Jul 2017 03:08:02 GMT):
or issues to discuss?

baohua (Fri, 28 Jul 2017 03:08:24 GMT):
i guess for the e2e, we can first have some quick doc and framework code.

wangdong (Fri, 28 Jul 2017 03:09:05 GMT):
OK

baohua (Fri, 28 Jul 2017 03:09:23 GMT):
feel free to drop out question if there's :)

baohua (Fri, 28 Jul 2017 03:09:30 GMT):
:hibiscus:

wangdong (Fri, 28 Jul 2017 03:09:36 GMT):
I was confused by the relation ship between the nodes

wangdong (Fri, 28 Jul 2017 03:09:44 GMT):
when the docker compose up

baohua (Fri, 28 Jul 2017 03:09:52 GMT):
nodes? u mean peer node or orderer node?

wangdong (Fri, 28 Jul 2017 03:09:56 GMT):
yes

wangdong (Fri, 28 Jul 2017 03:10:17 GMT):
they are just working but no relation with each other I think

baohua (Fri, 28 Jul 2017 03:10:31 GMT):
aha, @grapebaba any quick comments?

grapebaba (Fri, 28 Jul 2017 03:11:16 GMT):
not understand your question

baohua (Fri, 28 Jul 2017 03:11:30 GMT):
IMHO, those peers work together as the fabric network, to provide service. so they should have relationship.

baohua (Fri, 28 Jul 2017 03:12:13 GMT):
can u elaborate ur question?

baohua (Fri, 28 Jul 2017 03:13:10 GMT):
@wangdong

wangdong (Fri, 28 Jul 2017 03:13:37 GMT):
我在想怎么把问题说清楚

baohua (Fri, 28 Jul 2017 03:14:12 GMT):
sure, take ur time. meanwhile, i'm working on https://jira.hyperledger.org/browse/FAB-3165

baohua (Fri, 28 Jul 2017 03:14:28 GMT):
now need the last part of using signingidentity to make an auth token

baohua (Fri, 28 Jul 2017 03:14:42 GMT):
hopefully can finish the register functionality soon.

baohua (Fri, 28 Jul 2017 03:15:15 GMT):
Another item is the license header

baohua (Fri, 28 Jul 2017 03:15:18 GMT):
https://jira.hyperledger.org/browse/FAB-4742

baohua (Fri, 28 Jul 2017 03:15:33 GMT):
We need to add/check the header for every code/doc

baohua (Fri, 28 Jul 2017 03:16:01 GMT):
@lujiang has some experience, hopefully she can help this work

baohua (Fri, 28 Jul 2017 03:16:23 GMT):
:woo: @wangdong ready for ur question, now?

wangdong (Fri, 28 Jul 2017 03:16:26 GMT):
有一个操作,我比较看困惑,在做这个测试的时候,node sdk 需要把配置文件的所有node enroll.如果他们都在网络而且互相有关系,那他们肯定已经enroll 了,为什么还要enroll。

wangdong (Fri, 28 Jul 2017 03:16:57 GMT):
enroll我理解就是把节点在ca注册,获得身份

baohua (Fri, 28 Jul 2017 03:17:02 GMT):
enroll means to let the fabric network recognize the client.

baohua (Fri, 28 Jul 2017 03:17:15 GMT):
each client is independent with each other.

baohua (Fri, 28 Jul 2017 03:17:25 GMT):
so every client need to enroll himself.

baohua (Fri, 28 Jul 2017 03:17:58 GMT):
so is this answering ur question?

wangdong (Fri, 28 Jul 2017 03:18:02 GMT):
但是这些节点在docker compose 起来的时候不是都已经在网络里面了么

wangdong (Fri, 28 Jul 2017 03:18:34 GMT):
你的意思是当客户端链接这些节点的时候比如重新enroll?

baohua (Fri, 28 Jul 2017 03:18:37 GMT):
yeap, in this case, these nodes work like client to enroll themselves.

wangdong (Fri, 28 Jul 2017 03:18:42 GMT):
必须

baohua (Fri, 28 Jul 2017 03:18:46 GMT):
nooo.

baohua (Fri, 28 Jul 2017 03:19:43 GMT):
to keep the e2e case more simple, we can simple write down like : 1) client enrolls in the network; 2) client installs a chaincode to some peer; 3) client instantiates the chaincode; 4) client invokes the chaincode.

baohua (Fri, 28 Jul 2017 03:19:52 GMT):
does this make sense?

baohua (Fri, 28 Jul 2017 03:20:11 GMT):
more details can be added after we pass through the basic workflow.

wangdong (Fri, 28 Jul 2017 03:20:29 GMT):
so when the compose up ,these nodes are not enrolled, right

wangdong (Fri, 28 Jul 2017 03:20:33 GMT):
?

baohua (Fri, 28 Jul 2017 03:20:58 GMT):
if u mean the compose.yaml inside sdk-py project, yes, no need to enroll them.

baohua (Fri, 28 Jul 2017 03:21:15 GMT):
only client sdk needs to enroll now.

baohua (Fri, 28 Jul 2017 03:21:23 GMT):
@grapebaba any comments?

grapebaba (Fri, 28 Jul 2017 03:22:18 GMT):
i haven't seen those codes

baohua (Fri, 28 Jul 2017 03:22:45 GMT):
@wangdong any more confusing now?

grapebaba (Fri, 28 Jul 2017 03:23:07 GMT):
since CA is not necessary, i assume nodes no need to enroll when docker-compose up

wangdong (Fri, 28 Jul 2017 03:23:35 GMT):
OK, 我问的简洁些,当compose up 的时候,这些节点已经enroll了。我在操作的时候不需要重新enroll 了哈

grapebaba (Fri, 28 Jul 2017 03:23:58 GMT):
应该没有enroll

baohua (Fri, 28 Jul 2017 03:23:58 GMT):
yeap, enroll once, then u will get all the required cert/key files.

baohua (Fri, 28 Jul 2017 03:23:58 GMT):
yeap, client enrolls once, then u will get all the required cert/key files.

grapebaba (Fri, 28 Jul 2017 03:24:13 GMT):
因为可以 不要ca

grapebaba (Fri, 28 Jul 2017 03:24:26 GMT):
也能启动网络

baohua (Fri, 28 Jul 2017 03:24:50 GMT):
@wangdong the sdk-py is to design a client sdk, so u do not need to care the peer nodes, actually.

wangdong (Fri, 28 Jul 2017 03:25:32 GMT):
嗯, 我只想搞清楚他们怎么工作的。不然我只能依照node 来写。

baohua (Fri, 28 Jul 2017 03:25:32 GMT):
any more issue?

baohua (Fri, 28 Jul 2017 03:26:02 GMT):
aha, then suggest u have a look at our documentation

grapebaba (Fri, 28 Jul 2017 03:26:03 GMT):
你把代码位置发来看看

wangdong (Fri, 28 Jul 2017 03:26:14 GMT):
OK

baohua (Fri, 28 Jul 2017 03:26:21 GMT):
Here's lot! https://wiki.hyperledger.org/groups/twgc/team_ie

wangdong (Fri, 28 Jul 2017 03:26:29 GMT):
我是先看node 再想着实现py

baohua (Fri, 28 Jul 2017 03:26:52 GMT):
somehow, the node one is very complicated, can just use as a reference.

baohua (Fri, 28 Jul 2017 03:27:09 GMT):
have a quick look, then good enough

baohua (Fri, 28 Jul 2017 03:27:20 GMT):
OK, any more issues from everyone?

wangdong (Fri, 28 Jul 2017 03:27:31 GMT):
OK

wangdong (Fri, 28 Jul 2017 03:27:41 GMT):
I will have a look at this

baohua (Fri, 28 Jul 2017 03:27:55 GMT):
Sure, and feel free to discuss with the team

baohua (Fri, 28 Jul 2017 03:28:08 GMT):
OK, any more issue to discuss today? everyone

wangdong (Fri, 28 Jul 2017 03:28:27 GMT):
@grapebaba lets discuss later in wechat

grapebaba (Fri, 28 Jul 2017 03:28:36 GMT):
sure

baohua (Fri, 28 Jul 2017 03:28:43 GMT):
great!

tonyyang132 (Fri, 28 Jul 2017 03:29:11 GMT):
the doc compile is really great resource:thumbsup:

baohua (Fri, 28 Jul 2017 03:29:11 GMT):
OK. if no more issue, will end the meeting, thanks every attendee and have a nice weekend!:fried_shrimp::taco:

grapebaba (Fri, 28 Jul 2017 03:30:40 GMT):
:clap:

tonyyang132 (Fri, 28 Jul 2017 03:31:07 GMT):
:clap:

aratic (Fri, 28 Jul 2017 08:31:29 GMT):
any wechat group ? :)

baohua (Mon, 31 Jul 2017 05:27:17 GMT):
@aratic a temp group for local developers:

baohua (Mon, 31 Jul 2017 05:27:26 GMT):

Message Attachments

GeneralResearch (Mon, 31 Jul 2017 13:07:45 GMT):
Has joined the channel.

GeneralResearch (Mon, 31 Jul 2017 13:07:54 GMT):
Love it!

baohua (Mon, 31 Jul 2017 13:35:08 GMT):
:)

mychewcents (Thu, 03 Aug 2017 11:03:31 GMT):
Has joined the channel.

baohua (Fri, 04 Aug 2017 02:56:15 GMT):
Meeting will start in 5 min!

baohua (Fri, 04 Aug 2017 02:56:55 GMT):
@grapebaba @wangdong @tonyyang132 @qiang0723

tonyyang132 (Fri, 04 Aug 2017 02:57:34 GMT):
here

baohua (Fri, 04 Aug 2017 03:00:00 GMT):
ok, anyone else online?

wangdong (Fri, 04 Aug 2017 03:00:11 GMT):
I am here

baohua (Fri, 04 Aug 2017 03:00:21 GMT):
great, let's start the meeting.

baohua (Fri, 04 Aug 2017 03:00:31 GMT):
Today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170804

baohua (Fri, 04 Aug 2017 03:00:52 GMT):
Mostly the team is working on patchsets. let's pass through

qiang0723 (Fri, 04 Aug 2017 03:01:09 GMT):
:raised_hand:

baohua (Fri, 04 Aug 2017 03:01:09 GMT):
chaincode Install: Kai is working on FAB-5151

baohua (Fri, 04 Aug 2017 03:01:30 GMT):
he is not online today.

baohua (Fri, 04 Aug 2017 03:01:40 GMT):
E2E: Dong Wang is working on FAB-2871

baohua (Fri, 04 Aug 2017 03:01:55 GMT):
Any update? I saw some formatting problem in the patchset

wangdong (Fri, 04 Aug 2017 03:02:09 GMT):
OK my first patch is ready. I will send it soon

baohua (Fri, 04 Aug 2017 03:02:38 GMT):
thanks, it's a good start!

baohua (Fri, 04 Aug 2017 03:02:51 GMT):
User Role: Wei Hu is working on FAB-3885

baohua (Fri, 04 Aug 2017 03:03:01 GMT):
@WeiHu is not online today.

grapebaba (Fri, 04 Aug 2017 03:03:07 GMT):
aha, later

baohua (Fri, 04 Aug 2017 03:03:13 GMT):
wel~~

baohua (Fri, 04 Aug 2017 03:03:31 GMT):
just in time, can u help update the chaincode installation work?

baohua (Fri, 04 Aug 2017 03:03:39 GMT):
@grapebaba

baohua (Fri, 04 Aug 2017 03:04:08 GMT):
@lafenicecc

grapebaba (Fri, 04 Aug 2017 03:04:11 GMT):
hmm, i am doing a fabric ticket this week so no update for this one

baohua (Fri, 04 Aug 2017 03:04:23 GMT):
OK~

baohua (Fri, 04 Aug 2017 03:04:39 GMT):
Any issue to discuss till now?

baohua (Fri, 04 Aug 2017 03:04:48 GMT):
:penguin:

baohua (Fri, 04 Aug 2017 03:05:01 GMT):
EventHub: Chang Chen is working on FAB-4822

grapebaba (Fri, 04 Aug 2017 03:05:03 GMT):
about 2871

baohua (Fri, 04 Aug 2017 03:05:17 GMT):
sure, dong's work on FAB-2871

grapebaba (Fri, 04 Aug 2017 03:05:28 GMT):
i am confused how to review that

wangdong (Fri, 04 Aug 2017 03:06:03 GMT):
you mean my patch?

baohua (Fri, 04 Aug 2017 03:06:04 GMT):
? dong can u help post the gerrit link to the jira comments

wangdong (Fri, 04 Aug 2017 03:06:22 GMT):
the link of my patch?

wangdong (Fri, 04 Aug 2017 03:06:25 GMT):
OK

baohua (Fri, 04 Aug 2017 03:06:27 GMT):
yeap

grapebaba (Fri, 04 Aug 2017 03:06:30 GMT):
it is not easy to review since no function real work right now

baohua (Fri, 04 Aug 2017 03:06:50 GMT):
yes, the initial goal is to summarize some basic workflow that everyone agree on

baohua (Fri, 04 Aug 2017 03:07:53 GMT):
any more question?

baohua (Fri, 04 Aug 2017 03:08:32 GMT):
OK, Register: Baohua is working on FAB-3165

baohua (Fri, 04 Aug 2017 03:09:00 GMT):
No much update this week. still dive into the auth-token problem...

baohua (Fri, 04 Aug 2017 03:09:14 GMT):
And we have an open issue: Update license header: FAB-4742

baohua (Fri, 04 Aug 2017 03:09:21 GMT):
Who wanna pick this one?

baohua (Fri, 04 Aug 2017 03:09:36 GMT):
@qiang0723 would u like to do?

qiang0723 (Fri, 04 Aug 2017 03:10:02 GMT):
ok I get this task

baohua (Fri, 04 Aug 2017 03:10:52 GMT):
thanks

baohua (Fri, 04 Aug 2017 03:11:11 GMT):
OK, no much more agenda today, any free question? :woo:

baohua (Fri, 04 Aug 2017 03:11:31 GMT):
Dong suggest we use uberconf as call-meeting

baohua (Fri, 04 Aug 2017 03:11:44 GMT):
How do u think? @grapebaba @tonyyang132 @qiang0723

grapebaba (Fri, 04 Aug 2017 03:12:23 GMT):
both ok

tonyyang132 (Fri, 04 Aug 2017 03:12:49 GMT):
we can certainly try and if things don't go expected we can always go back here.

qiang0723 (Fri, 04 Aug 2017 03:12:49 GMT):
can have a try

baohua (Fri, 04 Aug 2017 03:13:17 GMT):
Sure, can u login into https://www.uberconference.com/hyperledger-community?

baohua (Fri, 04 Aug 2017 03:13:30 GMT):
We can have a try now, there's no occupation now.

baohua (Fri, 04 Aug 2017 03:14:49 GMT):
Dong and I'm there

baohua (Fri, 04 Aug 2017 03:18:19 GMT):
Seems work for online discussions, we can try next time :)

baohua (Fri, 04 Aug 2017 03:18:27 GMT):
Ok, any more issues for today?

baohua (Fri, 04 Aug 2017 03:18:57 GMT):
I do not know how to record the meeting using uberconf...

baohua (Fri, 04 Aug 2017 03:19:07 GMT):
@wangdong can u help see if we can do that

wangdong (Fri, 04 Aug 2017 03:19:16 GMT):
OK

wangdong (Fri, 04 Aug 2017 03:19:24 GMT):
I will have a look at it

baohua (Fri, 04 Aug 2017 03:19:32 GMT):
Thanks

wangdong (Fri, 04 Aug 2017 03:19:38 GMT):
np

baohua (Fri, 04 Aug 2017 03:19:48 GMT):
Any more issue?

grapebaba (Fri, 04 Aug 2017 03:20:16 GMT):
no

baohua (Fri, 04 Aug 2017 03:20:29 GMT):
OK. if no more issue, will end the meeting, thanks every attendee and have a nice weekend!

tonyyang132 (Fri, 04 Aug 2017 03:20:45 GMT):
:clap:

DarshanBc (Fri, 04 Aug 2017 09:10:21 GMT):
Has joined the channel.

DarshanBc (Fri, 04 Aug 2017 09:10:45 GMT):
Is there any sample aplications available

DarshanBc (Fri, 04 Aug 2017 09:11:23 GMT):
based on python I only see samples of node.js are available

Codegidi (Fri, 04 Aug 2017 12:22:58 GMT):
Has left the channel.

eacoeytaux (Fri, 04 Aug 2017 19:56:19 GMT):
Has joined the channel.

david_dornseifer (Fri, 04 Aug 2017 20:36:37 GMT):
@wangdong 11:35:36 hfc/fabric/client.py:160:80: E501 line too long (80 > 79 characters) 11:35:36 ERROR: InvocationError: '/w/workspace/fabric-sdk-py-verify-x86_64/.tox/flake8/bin/flake8 hfc test --exclude=protos'

wangdong (Sat, 05 Aug 2017 02:29:05 GMT):
Thanks. I missed this.

wangdong (Sat, 05 Aug 2017 02:29:15 GMT):
@david_dornseifer

wangdong (Sat, 05 Aug 2017 02:30:16 GMT):
I send another patch in which I added the idea about this patch. But this error may also be included.

wangdong (Sat, 05 Aug 2017 02:30:54 GMT):
https://gerrit.hyperledger.org/r/12087

wangdong (Sat, 05 Aug 2017 02:31:56 GMT):
I will change this next version

wangdong (Sat, 05 Aug 2017 02:40:24 GMT):
I have update it.

wangdong (Sat, 05 Aug 2017 02:40:47 GMT):
@david_dornseifer you can get access to it with the url above.

david_dornseifer (Sat, 05 Aug 2017 20:49:25 GMT):
@wn

david_dornseifer (Sat, 05 Aug 2017 20:49:25 GMT):
@wangdong +1

baohua (Mon, 07 Aug 2017 01:53:42 GMT):
:thumbsup:

baohua (Mon, 07 Aug 2017 01:54:05 GMT):
@grapebaba kai has some comments for ur patchset, dong @wangdong , pls help address.

smcambria22 (Mon, 07 Aug 2017 19:57:17 GMT):
Has joined the channel.

DarshanBc (Wed, 09 Aug 2017 09:03:59 GMT):
Has left the channel.

baohua (Thu, 10 Aug 2017 08:17:11 GMT):
Dear all, we will cancel the meeting tmr, pls keep on development and have a nice weekend, thanks!

wangdong (Mon, 14 Aug 2017 12:15:16 GMT):
@baohua I have addressed all.

baohua (Mon, 14 Aug 2017 14:40:58 GMT):
great, dong! pls help post ur new patchset to the channel, to call for more reviews.

wangdong (Wed, 16 Aug 2017 09:18:14 GMT):
I need some modification after discussion with chen kai. Once I finished i will let the reviewers know.

baohua (Wed, 16 Aug 2017 13:30:57 GMT):
sure, thanks

baohua (Thu, 17 Aug 2017 09:39:36 GMT):
Dear all, we will have group meeting at 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170818, thanks!

tskzh (Thu, 17 Aug 2017 15:27:25 GMT):
Has joined the channel.

baohua (Fri, 18 Aug 2017 02:57:51 GMT):
meeting will start soon~ who's on line?

baohua (Fri, 18 Aug 2017 02:58:10 GMT):
@here

tonyyang132 (Fri, 18 Aug 2017 02:58:40 GMT):
I'm here

baohua (Fri, 18 Aug 2017 03:00:06 GMT):
ok

qiang0723 (Fri, 18 Aug 2017 03:00:40 GMT):
:raised_back_of_hand:

baohua (Fri, 18 Aug 2017 03:00:58 GMT):
OK

baohua (Fri, 18 Aug 2017 03:01:08 GMT):
today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170818

baohua (Fri, 18 Aug 2017 03:01:20 GMT):
Kai is not online.

baohua (Fri, 18 Aug 2017 03:01:36 GMT):
So dong, would u like to sync on FAB-2871?

grapebaba (Fri, 18 Aug 2017 03:02:29 GMT):
:raised_hand:

baohua (Fri, 18 Aug 2017 03:03:24 GMT):
@wangdong

baohua (Fri, 18 Aug 2017 03:03:31 GMT):
Great, kai is online

baohua (Fri, 18 Aug 2017 03:04:40 GMT):
OK,

baohua (Fri, 18 Aug 2017 03:04:56 GMT):
@grapebaba can u help sync on FAB-5151?

wangdong (Fri, 18 Aug 2017 03:05:18 GMT):
I am here

wangdong (Fri, 18 Aug 2017 03:05:35 GMT):
I thought it would be a audio meeting.

wangdong (Fri, 18 Aug 2017 03:05:39 GMT):
just wait...

baohua (Fri, 18 Aug 2017 03:06:01 GMT):
@grapebaba @qiang0723 do u want to use audio conf?

grapebaba (Fri, 18 Aug 2017 03:06:03 GMT):
busy on company project, have no time these days

baohua (Fri, 18 Aug 2017 03:06:12 GMT):
understand

wangdong (Fri, 18 Aug 2017 03:06:53 GMT):
I am transferring these days, So I got some time to do the job.

baohua (Fri, 18 Aug 2017 03:07:05 GMT):
Thanks dong

grapebaba (Fri, 18 Aug 2017 03:07:19 GMT):
type is ok

baohua (Fri, 18 Aug 2017 03:07:22 GMT):
that's oss, we are all part-time contributing code :)

qiang0723 (Fri, 18 Aug 2017 03:07:28 GMT):
My audio can not be used

baohua (Fri, 18 Aug 2017 03:07:44 GMT):
OK, so let's use text chat this time @wangdong ?

wangdong (Fri, 18 Aug 2017 03:07:51 GMT):
sure

wangdong (Fri, 18 Aug 2017 03:07:53 GMT):
np

grapebaba (Fri, 18 Aug 2017 03:08:05 GMT):
i also have some problem with audio

wangdong (Fri, 18 Aug 2017 03:08:28 GMT):
I will improve the code according to java

baohua (Fri, 18 Aug 2017 03:08:40 GMT):
thanks, dong

wangdong (Fri, 18 Aug 2017 03:08:44 GMT):
and improve the my first patch

baohua (Fri, 18 Aug 2017 03:09:14 GMT):
@WeiHu and @lafenicecc are not onlien

baohua (Fri, 18 Aug 2017 03:09:45 GMT):
On FAB-3165, i'm still working on it. will update later.

baohua (Fri, 18 Aug 2017 03:10:02 GMT):
@qiang0723 would u like to help sync on FAB-4742?

qiang0723 (Fri, 18 Aug 2017 03:10:51 GMT):
This task has not been done yet,but i will do it soon, and I will refer to https://jira.hyperledger.org/browse/CE-52 to add the license

baohua (Fri, 18 Aug 2017 03:11:46 GMT):
Thanks

wangdong (Fri, 18 Aug 2017 03:11:49 GMT):
I got a question actually about relation between user role and peer role. user gets member, admin. does this relates with roles of peers?

baohua (Fri, 18 Aug 2017 03:11:59 GMT):
simply we need to add a license head lines at all code

baohua (Fri, 18 Aug 2017 03:12:10 GMT):
and bottom line for all docs.

baohua (Fri, 18 Aug 2017 03:12:34 GMT):
@wangdong good questions. @grapebaba would u like to help address?

david_dornseifer (Fri, 18 Aug 2017 03:12:56 GMT):
hi, online as well :)

grapebaba (Fri, 18 Aug 2017 03:13:05 GMT):
:clap:

baohua (Fri, 18 Aug 2017 03:13:16 GMT):
welcome, david

qiang0723 (Fri, 18 Aug 2017 03:13:18 GMT):
ok understand , will divided it into several sub-tasks, so new added can join the task to familiar the process

wangdong (Fri, 18 Aug 2017 03:13:33 GMT):
:clap:

wangdong (Fri, 18 Aug 2017 03:13:46 GMT):
welcome

baohua (Fri, 18 Aug 2017 03:13:48 GMT):
how's going? we need more help from u @david_dornseifer :)

david_dornseifer (Fri, 18 Aug 2017 03:14:09 GMT):
yea :) working on fab-4315 right now

david_dornseifer (Fri, 18 Aug 2017 03:14:15 GMT):
have implemented the basic structure

david_dornseifer (Fri, 18 Aug 2017 03:14:29 GMT):
was super busy the last few weeks with work

david_dornseifer (Fri, 18 Aug 2017 03:14:52 GMT):
guess will be better now

baohua (Fri, 18 Aug 2017 03:14:53 GMT):
Thanks, lft seeing ur new patch.

baohua (Fri, 18 Aug 2017 03:15:11 GMT):
Let's keep closely collaboration.

baohua (Fri, 18 Aug 2017 03:15:11 GMT):
Let's keep close collaboration.

grapebaba (Fri, 18 Aug 2017 03:15:22 GMT):
@baohua i am not sure i can answer this question

baohua (Fri, 18 Aug 2017 03:15:57 GMT):
OK, let me try to help @wangdong

baohua (Fri, 18 Aug 2017 03:16:17 GMT):
Typically, for an org, we now have two permission level: admin and member.

baohua (Fri, 18 Aug 2017 03:16:42 GMT):
While in a fabric network, we can have various roles, like a client, user, peer, etc.

baohua (Fri, 18 Aug 2017 03:16:58 GMT):
sometimes, a role may be bind with a permission level

baohua (Fri, 18 Aug 2017 03:17:07 GMT):
but that's not restricted to.

baohua (Fri, 18 Aug 2017 03:17:18 GMT):
is that clear now?

wangdong (Fri, 18 Aug 2017 03:17:58 GMT):
not so clear

wangdong (Fri, 18 Aug 2017 03:18:10 GMT):
maybe more talk in meetup

baohua (Fri, 18 Aug 2017 03:18:12 GMT):
sure, keep asking :)

baohua (Fri, 18 Aug 2017 03:18:28 GMT):
feel free to drop in maillist and also group channels

wangdong (Fri, 18 Aug 2017 03:18:37 GMT):
ok

baohua (Fri, 18 Aug 2017 03:18:40 GMT):
Thanks

baohua (Fri, 18 Aug 2017 03:18:56 GMT):
OK, so that's all planed agenda.

baohua (Fri, 18 Aug 2017 03:19:02 GMT):
Anything else?

baohua (Fri, 18 Aug 2017 03:20:27 GMT):
@david_dornseifer wanna say sth?

david_dornseifer (Fri, 18 Aug 2017 03:20:29 GMT):
guess i'll update the readme soon so that we can point out how to run the unit test and flake8 separate from the integration tests so we can make sure that all patches are validated by flake8

baohua (Fri, 18 Aug 2017 03:20:52 GMT):
Great idea, feel free to create jira task and work on it :)

david_dornseifer (Fri, 18 Aug 2017 03:21:03 GMT):
job builder complained about missing whitespaces etc. allot :)

baohua (Fri, 18 Aug 2017 03:21:08 GMT):
Everyone is encouraged to find and address problem/issues

baohua (Fri, 18 Aug 2017 03:21:18 GMT):
haha, blood due to whitespace

baohua (Fri, 18 Aug 2017 03:21:29 GMT):
OK, any more issue to discuss today?

david_dornseifer (Fri, 18 Aug 2017 03:21:48 GMT):
sry not missing whitespaced, additional whitespaces :)

baohua (Fri, 18 Aug 2017 03:21:56 GMT):
our `make check` locally should find the whitespace issue

david_dornseifer (Fri, 18 Aug 2017 03:22:11 GMT):
yes but that also triggers the integration tests

baohua (Fri, 18 Aug 2017 03:22:17 GMT):
right

david_dornseifer (Fri, 18 Aug 2017 03:22:22 GMT):
and that takes allot of time

baohua (Fri, 18 Aug 2017 03:22:33 GMT):
we suggest all patchset pass local check before submission

baohua (Fri, 18 Aug 2017 03:23:00 GMT):
got ur idea now, maybe can fail after checking grammar

baohua (Fri, 18 Aug 2017 03:23:18 GMT):
stop from running more testing

david_dornseifer (Fri, 18 Aug 2017 03:23:49 GMT):
yea just for faster development i think we should have `tox -v flake8` written on the readme

david_dornseifer (Fri, 18 Aug 2017 03:24:13 GMT):
but yes agree to submit a patch make check should be successful

baohua (Fri, 18 Aug 2017 03:24:17 GMT):
sure, and still pass all testing before submission -:)

baohua (Fri, 18 Aug 2017 03:24:53 GMT):
OK, any more issue? @wangdong @grapebaba @qiang0723

wangdong (Fri, 18 Aug 2017 03:25:02 GMT):
no

qiang0723 (Fri, 18 Aug 2017 03:25:08 GMT):
no

baohua (Fri, 18 Aug 2017 03:25:40 GMT):
OK, If no further question, we will end the meeting. Thanks every participant, and have a nice weekend!

wangdong (Fri, 18 Aug 2017 03:25:52 GMT):
have a nice weekend

baohua (Fri, 18 Aug 2017 03:25:56 GMT):
:golf:

david_dornseifer (Fri, 18 Aug 2017 03:26:08 GMT):
thx - happy Friday

wangdong (Sat, 19 Aug 2017 16:45:17 GMT):
@david_dornseifer Hi, when I tried to address all the comments of my first patch of e2e test, I have to make some modification to channel class and I implemented the create_channel feature. But @grapebaba says you are on this task. I just want to ask if you have finished this, if so, you can push your patch. If not, can I push my patch for review? And let's discuss it.

david_dornseifer (Mon, 21 Aug 2017 00:17:55 GMT):
@wangdong yes working on it right now, pretty much implementing some unit / integration tests for the create_channel function. You can go ahead and push the patch and we can go from there, also it would be easier for me to write the integration tests if there are already as set of e2e utils

wangdong (Mon, 21 Aug 2017 00:40:04 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=xnvg8WHwwFx2XqaoF) @david_dornseifer OK. I will push the patch then. It is ready.

david_dornseifer (Wed, 23 Aug 2017 00:08:03 GMT):
hi, running into the following issue right now establishing a secure tls connection to the orderer

david_dornseifer (Wed, 23 Aug 2017 00:08:04 GMT):
2017-08-23 00:05:45.852 UTC [grpc] Printf -> DEBU 0f6 grpc: Server.Serve failed to complete security handshake from "172.23.0.1:41436": tls: no cipher suite supported by both client and server

david_dornseifer (Wed, 23 Aug 2017 00:08:43 GMT):
on the client side it looks like `E0822 17:05:45.851592000 123145409613824 ssl_transport_security.c:940] Handshake failed with fatal error SSL_ERROR_SSL: error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE. E0822 17:05:45.852854000 123145409613824 ssl_transport_security.c:940] Handshake failed with fatal error SSL_ERROR_SSL: error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE.`

david_dornseifer (Wed, 23 Aug 2017 00:10:28 GMT):
any idea about that?, thought it might be related to the openssl version but using 1.02 has not changed anything

david_dornseifer (Wed, 23 Aug 2017 00:10:50 GMT):
grpc == 1.4.0 / orderer binary is 1.0.0

david_dornseifer (Wed, 23 Aug 2017 00:10:50 GMT):
grpcio == 1.4.0 / orderer binary is 1.0.0

baohua (Wed, 23 Aug 2017 01:58:26 GMT):
are u using the fabric 1.0 images? It does look like an SSL handshake problem, cannot find agreed version between client and server

david_dornseifer (Thu, 24 Aug 2017 00:53:43 GMT):
Ok, fixed that issue :) - the cipher suite needs to be present in an environment variable os.environ['GRPC_SSL_CIPHER_SUITES'] = 'ECDHE-RSA-AES128-GCM-SHA256:' \ 'ECDHE-RSA-AES128-SHA256:' \ 'ECDHE-RSA-AES256-SHA384:' \ 'ECDHE-RSA-AES256-GCM-SHA384:' \ 'ECDHE-ECDSA-AES128-GCM-SHA256:' \ 'ECDHE-ECDSA-AES128-SHA256:' \ 'ECDHE-ECDSA-AES256-SHA384:' \ 'ECDHE-ECDSA-AES256-GCM-SHA384'

david_dornseifer (Thu, 24 Aug 2017 00:53:43 GMT):
Ok, fixed that issue :) - the cipher suite needs to be present in an environment variable ```os.environ['GRPC_SSL_CIPHER_SUITES'] = 'ECDHE-RSA-AES128-GCM-SHA256:' \ 'ECDHE-RSA-AES128-SHA256:' \ 'ECDHE-RSA-AES256-SHA384:' \ 'ECDHE-RSA-AES256-GCM-SHA384:' \ 'ECDHE-ECDSA-AES128-GCM-SHA256:' \ 'ECDHE-ECDSA-AES128-SHA256:' \ 'ECDHE-ECDSA-AES256-SHA384:' \ 'ECDHE-ECDSA-AES256-GCM-SHA384'```

baohua (Thu, 24 Aug 2017 01:17:03 GMT):
nice

baohua (Thu, 24 Aug 2017 08:29:53 GMT):
@here

qizhang (Thu, 24 Aug 2017 18:11:24 GMT):

Message Attachments

qizhang (Thu, 24 Aug 2017 18:12:38 GMT):
By saying "has been committed into a block", does it mean that the orderer has put this transaction into a block? Or it means every peer has accepted this block and committed into their copy of the ledger?

baohua (Fri, 25 Aug 2017 01:13:05 GMT):
(Sorry was blocked yesterday...) Dear all, we will cancel the meeting on today morning, pls keep on existing patchsets and sync offline, thanks!

david_dornseifer (Fri, 25 Aug 2017 17:19:03 GMT):
hi, is there a specific reason that we have six private keys for each user/peer/org etc. in our e2e folders? there is only one matching x509 cert on the other side

david_dornseifer (Fri, 25 Aug 2017 17:19:30 GMT):
will delete the not matching ones with the next patch

wangdong (Fri, 25 Aug 2017 22:29:38 GMT):
https://gerrit.hyperledger.org/r/#/c/12643/

wangdong (Fri, 25 Aug 2017 22:29:47 GMT):
please help review

baohua (Mon, 28 Aug 2017 05:28:54 GMT):
@david_dornseifer no, i guess some of them are useless.

baohua (Mon, 28 Aug 2017 05:29:49 GMT):
done, thanks! @wangdong

david_dornseifer (Mon, 28 Aug 2017 15:06:35 GMT):
@baohua ok, thx - will delete some of those with the channel patch /

david_dornseifer (Mon, 28 Aug 2017 15:06:35 GMT):
@baohua ok, thx - will delete some of those with the channel patch

MarcelSchlatter (Mon, 28 Aug 2017 17:05:41 GMT):
Has joined the channel.

mescoba1 (Mon, 28 Aug 2017 23:02:05 GMT):
Has left the channel.

david_dornseifer (Tue, 29 Aug 2017 06:11:03 GMT):
https://gerrit.hyperledger.org/r/12897

baohua (Tue, 29 Aug 2017 06:29:16 GMT):
cool!

grapebaba (Wed, 30 Aug 2017 08:05:06 GMT):
@david_dornseifer I guess you have not finish https://gerrit.hyperledger.org/r/12897 review change,right?

grapebaba (Wed, 30 Aug 2017 08:08:10 GMT):
there is a duplicate method

david_dornseifer (Wed, 30 Aug 2017 16:12:46 GMT):
@ grapebaba - as written in the comments the duplicate method should be deleted with the chaincode refactoring, right now its imported directly into channel/installment.py, instantiation.py, invocation.py, transactionproposals.py ....

david_dornseifer (Wed, 30 Aug 2017 16:13:35 GMT):
my patch was already so big, thought this should be fixed with the next chaincode deployment patch then since that those modules need refactoring anyway

david_dornseifer (Wed, 30 Aug 2017 16:14:37 GMT):
@grapebaba what do you think?

wangdong (Thu, 31 Aug 2017 06:21:31 GMT):
@david_dornseifer Hi, David. Just some concern. Actually, the FAB-3483 and your patch set got some overlapped by which I mean our patches all implementes the "creating channel". My implementation is a little java flavor. I referred to the java sdk a lot. I can see yours is javascript style. But your code is superb. I really admire that. Well, my point is you may not review my patches. And the overlapped part always wastes our time. we did the duplicated job. And I have asked you about this job status. I thought you knew what i have done. So my advice is, as a maintainer, you can always review the patch. And give the your advice, if something is not that perfect. we can spend time discussing. Let's just make it better together. And no waste time on the duplicated work.

grapebaba (Thu, 31 Aug 2017 08:35:30 GMT):
@david_dornseifer OK

grapebaba (Thu, 31 Aug 2017 08:36:08 GMT):
also please take a look if we can avoid use env

grapebaba (Thu, 31 Aug 2017 08:39:03 GMT):
@wangdong we can do further refactor if needed

grapebaba (Thu, 31 Aug 2017 08:40:22 GMT):
you are familiar with the process of create channel, actually no waste time

baohua (Thu, 31 Aug 2017 10:15:36 GMT):
@here Dear all, we will have group meeting at tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170901, thanks!

baohua (Fri, 01 Sep 2017 02:58:56 GMT):
meeting will start at 10AM, who's online?

baohua (Fri, 01 Sep 2017 02:59:05 GMT):
@grapebaba @wangdong

baohua (Fri, 01 Sep 2017 02:59:25 GMT):
@david_dornseifer @lafenicecc

grapebaba (Fri, 01 Sep 2017 03:00:21 GMT):
:raised_hand:

baohua (Fri, 01 Sep 2017 03:00:39 GMT):
ok

baohua (Fri, 01 Sep 2017 03:01:02 GMT):
how's going, kai

baohua (Fri, 01 Sep 2017 03:01:41 GMT):
today's agenda is https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170901

baohua (Fri, 01 Sep 2017 03:02:36 GMT):
how about we have an online review? @grapebaba

grapebaba (Fri, 01 Sep 2017 03:04:02 GMT):
what is that

baohua (Fri, 01 Sep 2017 03:04:09 GMT):
https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py+status:open

baohua (Fri, 01 Sep 2017 03:05:02 GMT):
david got his pr merged.

baohua (Fri, 01 Sep 2017 03:05:15 GMT):
so we can create channel now

baohua (Fri, 01 Sep 2017 03:05:31 GMT):
https://gerrit.hyperledger.org/r/5765

lafenicecc (Fri, 01 Sep 2017 03:05:37 GMT):
:woo:

lafenicecc (Fri, 01 Sep 2017 03:05:43 GMT):
coming

baohua (Fri, 01 Sep 2017 03:05:53 GMT):
is this one on going?

baohua (Fri, 01 Sep 2017 03:06:00 GMT):
@grapebaba

grapebaba (Fri, 01 Sep 2017 03:06:10 GMT):
should abandon

baohua (Fri, 01 Sep 2017 03:06:30 GMT):
ok

baohua (Fri, 01 Sep 2017 03:06:54 GMT):
@lafenicecc how's going?

tonyyang132 (Fri, 01 Sep 2017 03:06:58 GMT):
here finally after fighting with network connections...

baohua (Fri, 01 Sep 2017 03:07:19 GMT):
@tonyyang132 cool

lafenicecc (Fri, 01 Sep 2017 03:07:50 GMT):
@baohua will start using node sdk heavily

lafenicecc (Fri, 01 Sep 2017 03:08:13 GMT):
will compare node with our python sdk

baohua (Fri, 01 Sep 2017 03:08:14 GMT):
https://gerrit.hyperledger.org/r/11765 @grapebaba how's this one?

grapebaba (Fri, 01 Sep 2017 03:08:47 GMT):
hope i can do it next week

baohua (Fri, 01 Sep 2017 03:09:06 GMT):
@lafenicecc sure, how do u feel?

rjones (Fri, 01 Sep 2017 03:09:20 GMT):
Has left the channel.

baohua (Fri, 01 Sep 2017 03:11:43 GMT):
?

wangdong (Fri, 01 Sep 2017 03:11:59 GMT):
hi

wangdong (Fri, 01 Sep 2017 03:12:19 GMT):
just finish a machine test

baohua (Fri, 01 Sep 2017 03:12:32 GMT):
great dong!

baohua (Fri, 01 Sep 2017 03:12:34 GMT):
https://jira.hyperledger.org/browse/FAB-2871

baohua (Fri, 01 Sep 2017 03:13:02 GMT):
how about this one

baohua (Fri, 01 Sep 2017 03:13:50 GMT):
seems u can rebase atop david's patchset.

lafenicecc (Fri, 01 Sep 2017 03:13:58 GMT):
i will give comments now and then

wangdong (Fri, 01 Sep 2017 03:14:02 GMT):
yes

baohua (Fri, 01 Sep 2017 03:14:02 GMT):
hope will accelerate the process

wangdong (Fri, 01 Sep 2017 03:14:06 GMT):
OK

wangdong (Fri, 01 Sep 2017 03:14:14 GMT):
I will.

lafenicecc (Fri, 01 Sep 2017 03:14:15 GMT):
hope my team can switch to python sdk soon

baohua (Fri, 01 Sep 2017 03:14:23 GMT):
definitely

baohua (Fri, 01 Sep 2017 03:14:40 GMT):
aha, rkt is not that stable in connection.

lafenicecc (Fri, 01 Sep 2017 03:14:53 GMT):
btw baohua, the flow chart in the book would be really helpful for new comers

baohua (Fri, 01 Sep 2017 03:14:57 GMT):
but LF guys are helping look at the issues.

baohua (Fri, 01 Sep 2017 03:15:05 GMT):
which one?

wangdong (Fri, 01 Sep 2017 03:15:12 GMT):
I will implement it as the patches of David

wangdong (Fri, 01 Sep 2017 03:15:18 GMT):
which book

baohua (Fri, 01 Sep 2017 03:15:20 GMT):
thanks, dong

baohua (Fri, 01 Sep 2017 03:15:27 GMT):
@qiang0723 is working on https://jira.hyperledger.org/browse/FAB-4742

lafenicecc (Fri, 01 Sep 2017 03:15:34 GMT):

Message Attachments

lafenicecc (Fri, 01 Sep 2017 03:15:43 GMT):
like this

baohua (Fri, 01 Sep 2017 03:15:51 GMT):
I guess we should add the license header soon. Currently it's a shorter license header

baohua (Fri, 01 Sep 2017 03:16:04 GMT):
oooh, i'm still trying refining those figures

baohua (Fri, 01 Sep 2017 03:16:11 GMT):
to illustrate better :)

baohua (Fri, 01 Sep 2017 03:16:30 GMT):
@wangdong search at book/JD :-)

wangdong (Fri, 01 Sep 2017 03:16:31 GMT):
@lafenicecc where is the book from? I would like to have a look at this.

wangdong (Fri, 01 Sep 2017 03:16:54 GMT):
where to search i wonder

baohua (Fri, 01 Sep 2017 03:16:56 GMT):
and @lafenicecc how's going with the event hub pr? https://jira.hyperledger.org/browse/FAB-4822

lafenicecc (Fri, 01 Sep 2017 03:17:01 GMT):
with slightly explanation to this charts, we can simply show what sdk should do

lafenicecc (Fri, 01 Sep 2017 03:17:10 GMT):
to process txs

baohua (Fri, 01 Sep 2017 03:17:34 GMT):
yeap, and some of them are also in the hyperledger_code_fabric project at github @wangdong

baohua (Fri, 01 Sep 2017 03:17:34 GMT):
yeap, and some of them are also in the hyperledger_code_fabric projects at github @wangdong

wangdong (Fri, 01 Sep 2017 03:18:17 GMT):
OK

lafenicecc (Fri, 01 Sep 2017 03:18:29 GMT):
hope i can get eventhub done soon

baohua (Fri, 01 Sep 2017 03:18:42 GMT):
OK, mostly we made stable progress by eating the channel creation one.

baohua (Fri, 01 Sep 2017 03:18:47 GMT):
Now let's move on!!

baohua (Fri, 01 Sep 2017 03:18:54 GMT):
next one should be the channel joining one

wangdong (Fri, 01 Sep 2017 03:19:13 GMT):
yeah

baohua (Fri, 01 Sep 2017 03:21:21 GMT):
who's wanna pick this one can feel free to add in jira

baohua (Fri, 01 Sep 2017 03:21:27 GMT):
sorry, disconnected...

baohua (Fri, 01 Sep 2017 03:21:52 GMT):
OK. any other issues for today? Very glad we have active contributors :grinning:

baohua (Fri, 01 Sep 2017 03:22:43 GMT):
OK. If no further question, we will end the meeting. Thanks every participant, and have a nice weekend! :ramen:

grapebaba (Fri, 01 Sep 2017 03:23:13 GMT):
:clap:

lafenicecc (Fri, 01 Sep 2017 03:23:27 GMT):
:nerd:

wangdong (Fri, 01 Sep 2017 03:23:32 GMT):
:grimacing:

qiang0723 (Sat, 02 Sep 2017 09:06:52 GMT):
Add license https://gerrit.hyperledger.org/r/#/c/13105/

baohua (Sat, 02 Sep 2017 13:17:40 GMT):
@tkuhrt would u like to help review this one to add license header? https://gerrit.hyperledger.org/r/#/c/13105/ Thanks.

tkuhrt (Sat, 02 Sep 2017 13:17:41 GMT):
Has joined the channel.

wangdong (Mon, 04 Sep 2017 01:57:48 GMT):
e2e creating channel test: https://gerrit.hyperledger.org/r/13119

wangdong (Mon, 04 Sep 2017 01:57:54 GMT):
please help reivew

JungWinter (Tue, 05 Sep 2017 05:21:52 GMT):
Has joined the channel.

tkuhrt (Tue, 05 Sep 2017 17:15:43 GMT):
@baohua : Comments added for license header patch.

baohua (Tue, 05 Sep 2017 23:34:51 GMT):
thanks tracy!

qiang0723 (Wed, 06 Sep 2017 13:28:26 GMT):
Add license header(https://gerrit.hyperledger.org/r/#/c/13105) has been modified, and please review again, thanks!

rrb01 (Wed, 06 Sep 2017 23:26:03 GMT):
Has joined the channel.

baohua (Thu, 07 Sep 2017 12:15:54 GMT):
Dear all, we will have group meeting at 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170908, thanks!

baohua (Fri, 08 Sep 2017 02:55:02 GMT):
@here weekly meeting will start soon

baohua (Fri, 08 Sep 2017 02:59:32 GMT):
ok, who's online?

grapebaba (Fri, 08 Sep 2017 02:59:47 GMT):
:raised_hand:

baohua (Fri, 08 Sep 2017 03:00:18 GMT):
:grinning:

baohua (Fri, 08 Sep 2017 03:00:32 GMT):
today's agenda is https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170908

baohua (Fri, 08 Sep 2017 03:00:46 GMT):
There're some progress

baohua (Fri, 08 Sep 2017 03:00:55 GMT):
Update license header: Qiang Wang is working on FAB-4742

qiang0723 (Fri, 08 Sep 2017 03:01:05 GMT):
:raised_back_of_hand:

baohua (Fri, 08 Sep 2017 03:01:10 GMT):
@qiang0723 has committed a patchset, and tracy gave review comments

baohua (Fri, 08 Sep 2017 03:01:23 GMT):
would suggest qiang to ping tracy for the new revision.

qiang0723 (Fri, 08 Sep 2017 03:01:34 GMT):
i have changed according to tracy's comments

baohua (Fri, 08 Sep 2017 03:01:38 GMT):
Then we can do the review and merge

qiang0723 (Fri, 08 Sep 2017 03:01:44 GMT):
ok

baohua (Fri, 08 Sep 2017 03:01:45 GMT):
good

baohua (Fri, 08 Sep 2017 03:01:54 GMT):
Feel free to find tracy at rkt chat and leave a msg

qiang0723 (Fri, 08 Sep 2017 03:02:04 GMT):
i will

baohua (Fri, 08 Sep 2017 03:02:27 GMT):
And how's going with u @grapebaba

tonyyang132 (Fri, 08 Sep 2017 03:02:34 GMT):
here now. sorry a bit late.

baohua (Fri, 08 Sep 2017 03:02:34 GMT):
chaincode Install: Kai is working on FAB-5151

baohua (Fri, 08 Sep 2017 03:02:43 GMT):
@tonyyang132 welcome

grapebaba (Fri, 08 Sep 2017 03:02:51 GMT):
I am writing test right now

baohua (Fri, 08 Sep 2017 03:02:58 GMT):
great, lft it!

baohua (Fri, 08 Sep 2017 03:03:38 GMT):
ok

baohua (Fri, 08 Sep 2017 03:03:42 GMT):
@tonyyang132

baohua (Fri, 08 Sep 2017 03:03:47 GMT):
how's going on ur side?

david_dornseifer (Fri, 08 Sep 2017 03:04:07 GMT):
hi

baohua (Fri, 08 Sep 2017 03:04:43 GMT):
nice having u here @david_dornseifer

tonyyang132 (Fri, 08 Sep 2017 03:04:46 GMT):
well, on a tight schedule for the company project... just rolled out a version and on development of the next one...

baohua (Fri, 08 Sep 2017 03:04:54 GMT):
thanks for ur previous patch

tonyyang132 (Fri, 08 Sep 2017 03:05:04 GMT):
that's quite my pleasure

baohua (Fri, 08 Sep 2017 03:05:33 GMT):
cool, there remains several open issues: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py+status:open

baohua (Fri, 08 Sep 2017 03:05:43 GMT):
welcome everyone to help review, and certainly @david_dornseifer

baohua (Fri, 08 Sep 2017 03:05:52 GMT):
:woo:

david_dornseifer (Fri, 08 Sep 2017 03:06:20 GMT):
sure :) - will add the changelog patch tomorrow

baohua (Fri, 08 Sep 2017 03:06:26 GMT):
@wangdong is not online, and he submitted 2 patchsets: https://gerrit.hyperledger.org/r/12087

baohua (Fri, 08 Sep 2017 03:06:32 GMT):
and https://gerrit.hyperledger.org/r/13119

baohua (Fri, 08 Sep 2017 03:07:28 GMT):
OK. a quick sync today, any other issues to discuss?

baohua (Fri, 08 Sep 2017 03:07:50 GMT):
I guess most of the team is busy, but we made stable progress towards the 1.0 release.

baohua (Fri, 08 Sep 2017 03:08:37 GMT):
how's going with u @david_dornseifer

david_dornseifer (Fri, 08 Sep 2017 03:09:08 GMT):
hmm busy with other stuff right now, will do the changelog and some small improvement tasks

baohua (Fri, 08 Sep 2017 03:09:29 GMT):
thanks, feel free to drop any thoughts in the channel :)

baohua (Fri, 08 Sep 2017 03:09:40 GMT):
we recommend close communication in the community

david_dornseifer (Fri, 08 Sep 2017 03:10:28 GMT):
what i saw from the channel patch we have to add some more unit tests to stabilize the code

baohua (Fri, 08 Sep 2017 03:10:48 GMT):
yes UT is necessary!

baohua (Fri, 08 Sep 2017 03:11:05 GMT):
fabric just release v1.0.2

baohua (Fri, 08 Sep 2017 03:11:30 GMT):
but i guess we can stay on top of v1.0, unless meeting any problem, thoughts?

david_dornseifer (Fri, 08 Sep 2017 03:12:13 GMT):
guess that should be fine to implement the basics at least

baohua (Fri, 08 Sep 2017 03:12:29 GMT):
yeap

baohua (Fri, 08 Sep 2017 03:12:40 GMT):
@grapebaba @tonyyang132 @qiang0723 ideas?

baohua (Fri, 08 Sep 2017 03:15:10 GMT):
seems unstable connection....

baohua (Fri, 08 Sep 2017 03:15:23 GMT):
OK, any other issue to discuss?

baohua (Fri, 08 Sep 2017 03:15:51 GMT):
All attendees pls help update ur name at the minutes

baohua (Fri, 08 Sep 2017 03:16:13 GMT):
@david_dornseifer could u help send the minutes later for today's meeting?

david_dornseifer (Fri, 08 Sep 2017 03:17:36 GMT):
the mailinglist?

baohua (Fri, 08 Sep 2017 03:17:57 GMT):
yeap, as previous ones to fabric-sdk-py mailllist

david_dornseifer (Fri, 08 Sep 2017 03:18:01 GMT):
ok

baohua (Fri, 08 Sep 2017 03:18:09 GMT):
thanks

baohua (Fri, 08 Sep 2017 03:18:39 GMT):
OK. If no further question, we will end the meeting. Thanks every participant, and have a nice weekend!

qiang0723 (Fri, 08 Sep 2017 03:18:56 GMT):
Thanks

wangdong (Fri, 08 Sep 2017 03:18:59 GMT):
it seems I missed the meeting.

baohua (Fri, 08 Sep 2017 03:19:02 GMT):
:hatching_chick:

tonyyang132 (Fri, 08 Sep 2017 03:19:28 GMT):
thanks and bye

wangdong (Fri, 08 Sep 2017 03:19:35 GMT):
about the patch set ,the latter one is the one

david_dornseifer (Fri, 08 Sep 2017 03:19:36 GMT):
bye

baohua (Fri, 08 Sep 2017 03:19:59 GMT):
@wangdong then can abandon unused :)

wangdong (Fri, 08 Sep 2017 03:20:06 GMT):
OK

qiang0723 (Fri, 08 Sep 2017 03:31:50 GMT):
@tkuhrt would you please review this patch(https://gerrit.hyperledger.org/r/#/c/13105)? i have modified according to your comments. Thanks

david_dornseifer (Fri, 08 Sep 2017 19:24:46 GMT):
hi seems that our ci has a problem installing the tox requirement right now ```19:11:03 Building wheels for collected packages: pluggy 19:11:03 Running setup.py bdist_wheel for pluggy: started 19:11:04 Running setup.py bdist_wheel for pluggy: finished with status 'done' 19:11:04 Stored in directory: /home/jenkins/.cache/pip/wheels/22/b2/db/618ae8dcba2994fb9ebce70ec1c1ab4923df89a77edac7e901 19:11:04 Successfully built pluggy 19:11:04 Installing collected packages: pluggy, py, tox 19:11:04 Exception: 19:11:04 Traceback (most recent call last): 19:11:04 File "/usr/local/lib/python3.5/dist-packages/pip/basecommand.py", line 215, in main 19:11:04 status = self.run(options, args) 19:11:04 File "/usr/local/lib/python3.5/dist-packages/pip/commands/install.py", line 342, in run 19:11:04 prefix=options.prefix_path, 19:11:04 File "/usr/local/lib/python3.5/dist-packages/pip/req/req_set.py", line 784, in install 19:11:04 **kwargs 19:11:04 File "/usr/local/lib/python3.5/dist-packages/pip/req/req_install.py", line 851, in install 19:11:04 self.move_wheel_files(self.source_dir, root=root, prefix=prefix) 19:11:04 File "/usr/local/lib/python3.5/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files 19:11:04 isolated=self.isolated, 19:11:04 File "/usr/local/lib/python3.5/dist-packages/pip/wheel.py", line 345, in move_wheel_files 19:11:04 clobber(source, lib_dir, True) 19:11:04 File "/usr/local/lib/python3.5/dist-packages/pip/wheel.py", line 316, in clobber 19:11:04 ensure_dir(destdir) 19:11:04 File "/usr/local/lib/python3.5/dist-packages/pip/utils/__init__.py", line 83, in ensure_dir 19:11:04 os.makedirs(path) 19:11:04 File "/usr/lib/python3.5/os.py", line 241, in makedirs 19:11:04 mkdir(name, mode) 19:11:04 PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/pluggy-0.5.2.dist-info'```

david_dornseifer (Fri, 08 Sep 2017 19:24:58 GMT):
any idea on that?

baohua (Sat, 09 Sep 2017 00:47:02 GMT):
seems a permission problem, can u reach @rjones for helping check?

rjones (Sat, 09 Sep 2017 00:47:03 GMT):
Has joined the channel.

rjones (Sat, 09 Sep 2017 00:48:36 GMT):
@jwagantall - isn't tox built in to the images?

rjones (Sat, 09 Sep 2017 00:48:49 GMT):
@david_dornseifer link to a specific build please?

jwagantall (Sat, 09 Sep 2017 00:49:06 GMT):
should be.. let me confirm

rjones (Sat, 09 Sep 2017 00:49:34 GMT):
I mean, `tox` has been part of the images since maybe not day one but a long time ago

jwagantall (Sat, 09 Sep 2017 00:52:35 GMT):
yes.. i can see it here in provision/docker.sh

jwagantall (Sat, 09 Sep 2017 00:52:36 GMT):
# Tox for py-sdk PACKAGES="$PACKAGES tox"

rjones (Sat, 09 Sep 2017 00:53:51 GMT):
oh wait, it's `pluggy` that's failing

david_dornseifer (Sat, 09 Sep 2017 17:05:05 GMT):
@rjones @jwagantall just to give you a little bit more context https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/227/console

david_dornseifer (Sat, 09 Sep 2017 17:06:20 GMT):
since that pluggy is missing tox cannot be installed and the check fails with ```tox -v -epylint test 19:14:23 make[1]: tox: Command not found 19:14:23 Makefile:37: recipe for target 'tox.pylint' failed 19:14:23 make[1]: *** [tox.pylint] Error 127 19:14:23 make[1]: Leaving directory '/w/workspace/fabric-sdk-py-verify-x86_64' 19:14:23 Makefile:29: recipe for target 'check' failed```

baohua (Mon, 11 Sep 2017 14:47:44 GMT):
https://gerrit.hyperledger.org/r/#/c/13287/

skbodwell (Mon, 11 Sep 2017 20:44:35 GMT):
Has joined the channel.

grapebaba (Tue, 12 Sep 2017 07:47:48 GMT):
@rjones https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/231/ could you help look at this build?

grapebaba (Wed, 13 Sep 2017 01:10:23 GMT):
https://gerrit.hyperledger.org/r/#/c/11765/

Redscarfs (Wed, 13 Sep 2017 08:08:30 GMT):
Has joined the channel.

baohua (Thu, 14 Sep 2017 02:11:47 GMT):
@qiang0723 would u like to look at the review at https://gerrit.hyperledger.org/r/13105?

baohua (Thu, 14 Sep 2017 02:24:53 GMT):
https://gerrit.hyperledger.org/r/#/c/11765/

baohua (Thu, 14 Sep 2017 03:21:01 GMT):
Congrats to @rameshthoomu for his first patchset merge to the project! https://jira.hyperledger.org/browse/FAB-6150

rameshthoomu (Thu, 14 Sep 2017 03:21:01 GMT):
Has joined the channel.

qiang0723 (Thu, 14 Sep 2017 06:36:42 GMT):
ok, will update it soon

qiang0723 (Thu, 14 Sep 2017 09:11:02 GMT):
@tkuhrt, Add both license apache 2.0 and CCBY-4.0 in README.md and CONTRIBUTING.md. https://gerrit.hyperledger.org/r/#/c/13459/

baohua (Thu, 14 Sep 2017 12:30:49 GMT):
Dear all, we will have group meeting at 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170915, thanks!

tkuhrt (Thu, 14 Sep 2017 18:59:10 GMT):
@qiang0723 : We need to make sure that it is clear that the source code is licensed under Apache 2.0 and that the documentation for the project is licensed under CC-BY-4.0.

tkuhrt (Thu, 14 Sep 2017 19:00:34 GMT):
So while the README.md is covered by CC-BY-4.0, we also want people who are reading this to understand that the source code is licensed under Apache 2.0. We want people who want to contribute understand that they will need to contribute their source code under Apache 2.0 and their documentation under CC-BY-4.0.

baohua (Fri, 15 Sep 2017 02:52:01 GMT):
Today's meeting will start in 10 min: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170915. Anyone online to attend?

baohua (Fri, 15 Sep 2017 02:54:05 GMT):
@here

tonyyang132 (Fri, 15 Sep 2017 02:55:06 GMT):
I am

baohua (Fri, 15 Sep 2017 02:55:19 GMT):
ok got u

baohua (Fri, 15 Sep 2017 03:00:07 GMT):
OK

baohua (Fri, 15 Sep 2017 03:00:13 GMT):
@tonyyang132 let's start

baohua (Fri, 15 Sep 2017 03:00:22 GMT):
numbers of the developers cannot join today.

baohua (Fri, 15 Sep 2017 03:00:30 GMT):
so let's have a quick sync

baohua (Fri, 15 Sep 2017 03:01:24 GMT):
Merged patchset: FAB-4952 by david dornseifer, FAB-4562 by Dong Wang, FAB-6150 by Ramesh Babu.

baohua (Fri, 15 Sep 2017 03:01:33 GMT):
We got nice progress this week

baohua (Fri, 15 Sep 2017 03:01:50 GMT):
How's going on ur side? @tonyyang132

baohua (Fri, 15 Sep 2017 03:02:29 GMT):
meet any problem ?

tonyyang132 (Fri, 15 Sep 2017 03:02:57 GMT):
pretty occupied with ongoing company project, so haven't really done much to the community lately...

baohua (Fri, 15 Sep 2017 03:03:13 GMT):
sure

baohua (Fri, 15 Sep 2017 03:03:26 GMT):
feel free to join the work when u're not that quite busy

baohua (Fri, 15 Sep 2017 03:03:43 GMT):
i heard that ur team made great impact recently :grinning:

baohua (Fri, 15 Sep 2017 03:04:15 GMT):
what's the plan? anything can tell out?

baohua (Fri, 15 Sep 2017 03:05:47 GMT):
@tonyyang132

tonyyang132 (Fri, 15 Sep 2017 03:06:16 GMT):
just launched a trial version of our BaaS solution on qingcloud, you guys are welcome to try out of course :-)

baohua (Fri, 15 Sep 2017 03:06:36 GMT):
cool

baohua (Fri, 15 Sep 2017 03:06:50 GMT):
lfw u can contribute to the community, too

baohua (Fri, 15 Sep 2017 03:07:05 GMT):
OK, here are some patchsets for review: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py+status:open

tonyyang132 (Fri, 15 Sep 2017 03:07:06 GMT):
currently working on a enhanced version

baohua (Fri, 15 Sep 2017 03:07:10 GMT):
welcome to drop comments

tonyyang132 (Fri, 15 Sep 2017 03:08:00 GMT):
sure

baohua (Fri, 15 Sep 2017 03:08:15 GMT):
OK, no big issues this week.

baohua (Fri, 15 Sep 2017 03:08:23 GMT):
Any other topics wanna to discuss?

tonyyang132 (Fri, 15 Sep 2017 03:09:15 GMT):
nothing more from my side

baohua (Fri, 15 Sep 2017 03:09:23 GMT):
ok, thanks

tonyyang132 (Fri, 15 Sep 2017 03:09:34 GMT):
thank you

baohua (Fri, 15 Sep 2017 03:09:42 GMT):
If no further question, we will end the meeting. Thanks every participant, and have a nice weekend!:dog:

tonyyang132 (Fri, 15 Sep 2017 03:09:52 GMT):
and wish you a nice weekend too :-)

baohua (Fri, 15 Sep 2017 03:10:01 GMT):
btw, would u like to help send out the minutes?

baohua (Fri, 15 Sep 2017 03:10:13 GMT):
like previous ones to the maillist

tonyyang132 (Fri, 15 Sep 2017 03:12:09 GMT):
Umm... I could do that, but I guess I'm not subscribed to the mailing list... any doc I can refer to about how to do that?

baohua (Fri, 15 Sep 2017 03:12:27 GMT):
aha

baohua (Fri, 15 Sep 2017 03:12:48 GMT):
https://wiki.hyperledger.org/projects/fabric-sdk-py#communication

baohua (Fri, 15 Sep 2017 03:12:57 GMT):
U will find history meeting minutes there

baohua (Fri, 15 Sep 2017 03:13:26 GMT):
feel free to subscribe and sent the minutes to the maillist.

baohua (Fri, 15 Sep 2017 03:13:37 GMT):
and can see previous ones as a template.

tonyyang132 (Fri, 15 Sep 2017 03:13:51 GMT):
sure

tonyyang132 (Fri, 15 Sep 2017 03:16:41 GMT):
so the mailing list, hyperledger-fabric@lists.hyperledger.org, is not specific to the python-sdk group, but about all fabric related issues, am I getting it right?

tonyyang132 (Fri, 15 Sep 2017 03:18:39 GMT):
@baohua

baohua (Fri, 15 Sep 2017 03:19:27 GMT):
yes, like this one: https://lists.hyperledger.org/pipermail/hyperledger-fabric/2017-September/001674.html

tonyyang132 (Fri, 15 Sep 2017 03:27:01 GMT):
OK, just making sure I'm sending in the correct list. thanks.

jimthematrix (Fri, 15 Sep 2017 14:40:12 GMT):
Has left the channel.

baohua (Thu, 21 Sep 2017 09:34:04 GMT):
@here Dear all, we will cancel the meeting tmr morning, pls help develop and discuss offline, thanks!

baohua (Thu, 28 Sep 2017 08:20:53 GMT):
@tkuhrt could u help have a review at https://gerrit.hyperledger.org/r/c/13459/ when u are free? Thanks

baohua (Thu, 28 Sep 2017 08:53:15 GMT):
@here Dear all, we will have meeting 11AM tmr morning, pls help update agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170929, thanks!

tkuhrt (Thu, 28 Sep 2017 11:14:07 GMT):
@baohua : Reviewed

qiang0723 (Thu, 28 Sep 2017 11:56:43 GMT):
@tkuhrt Thanks, I am sorry for my carelessness and has modified

tkuhrt (Thu, 28 Sep 2017 11:57:19 GMT):
@qiang0723 : No problem. I have marked it as good from my side.

baohua (Thu, 28 Sep 2017 15:27:45 GMT):
Hyperledger community survey: https://www.surveymonkey.com/r/VNYZ6D7

baohua (Fri, 29 Sep 2017 02:58:37 GMT):
@here meeting starts soon, who's online?

hanhzf (Fri, 29 Sep 2017 02:59:45 GMT):
+1

baohua (Fri, 29 Sep 2017 02:59:53 GMT):
hey, zhaofang

baohua (Fri, 29 Sep 2017 03:00:06 GMT):
how's ur holiday plan?

tonyyang132 (Fri, 29 Sep 2017 03:00:14 GMT):
:raised_hand:

baohua (Fri, 29 Sep 2017 03:00:39 GMT):
great!

hanhzf (Fri, 29 Sep 2017 03:00:41 GMT):
Hi baohua, planning to taiwan for a short trip :grinning:

bryanhuang (Fri, 29 Sep 2017 03:00:45 GMT):
:raised_hand:

baohua (Fri, 29 Sep 2017 03:00:52 GMT):
today's agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20170929

baohua (Fri, 29 Sep 2017 03:01:07 GMT):
glad to see hanhzf and bryanhuang here :)

baohua (Fri, 29 Sep 2017 03:01:31 GMT):
First, we would like to ask everyone to help review those patchsets: https://gerrit.hyperledger.org/r/q/project:fabric-sdk-py%20status:open

hanhzf (Fri, 29 Sep 2017 03:02:13 GMT):
Not Found The page you requested was not found, or you do not have permission to view this page.

hanhzf (Fri, 29 Sep 2017 03:02:17 GMT):
can not be opened ?

bryanhuang (Fri, 29 Sep 2017 03:02:25 GMT):
:grin:

grapebaba (Fri, 29 Sep 2017 03:02:37 GMT):
:raised_hand:

baohua (Fri, 29 Sep 2017 03:02:37 GMT):
two remaining open: install support by @grapebaba and license header by @qiang0723

qiang0723 (Fri, 29 Sep 2017 03:02:48 GMT):
sorry for late

baohua (Fri, 29 Sep 2017 03:02:56 GMT):
can u open? https://gerrit.hyperledger.org/r/q/project:fabric-sdk-py%20status:open

baohua (Fri, 29 Sep 2017 03:03:14 GMT):
@hanhzf how about https://gerrit.hyperledger.org/r/q/project:fabric-sdk-py+AND+status:open

grapebaba (Fri, 29 Sep 2017 03:03:30 GMT):
no

qiang0723 (Fri, 29 Sep 2017 03:03:36 GMT):
page Not Found

hanhzf (Fri, 29 Sep 2017 03:03:38 GMT):
seems that we do not have permission to view this

hanhzf (Fri, 29 Sep 2017 03:03:38 GMT):
seems that we do not have permission to view this or the page is not found

baohua (Fri, 29 Sep 2017 03:04:04 GMT):
strange!

baohua (Fri, 29 Sep 2017 03:04:07 GMT):
have u login in?

hanhzf (Fri, 29 Sep 2017 03:04:30 GMT):
yes, login

baohua (Fri, 29 Sep 2017 03:04:37 GMT):
@rjones do we required login-in users to view open gerrit issues?

baohua (Fri, 29 Sep 2017 03:05:02 GMT):
this one? https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py+AND+status:open

tonyyang132 (Fri, 29 Sep 2017 03:05:14 GMT):
this one works

baohua (Fri, 29 Sep 2017 03:05:31 GMT):
aha, gerrit has two UIs, which have different URL...

baohua (Fri, 29 Sep 2017 03:06:18 GMT):
OK, after we finish the installation operation, we can go forward to the instantiate one? @grapebaba

hanhzf (Fri, 29 Sep 2017 03:06:31 GMT):
yeah, this one works

baohua (Fri, 29 Sep 2017 03:06:54 GMT):
There are some task opened, anyone pls feel free to pick https://jira.hyperledger.org/browse/FAB-4623?jql=project%20%3D%20FAB%20AND%20status%20in%20(%22In%20Progress%22%2C%20%22To%20Do%22)%20AND%20component%20%3D%20fabric-sdk-py

baohua (Fri, 29 Sep 2017 03:07:23 GMT):
we need to implement: instantiate, invoke chaincode

baohua (Fri, 29 Sep 2017 03:07:49 GMT):
after that, the MVP is done! we can enhance the channel operations later

baohua (Fri, 29 Sep 2017 03:08:29 GMT):
so, any volunteer for those items?

baohua (Fri, 29 Sep 2017 03:08:55 GMT):
i guess those can be implemented simultaneously

baohua (Fri, 29 Sep 2017 03:09:14 GMT):
@tonyyang132 how's going with ur side?

tonyyang132 (Fri, 29 Sep 2017 03:10:27 GMT):
just finished a busy sprint...

baohua (Fri, 29 Sep 2017 03:10:52 GMT):
nice to hear that, would u like to pick some interesting one like the cc invoke operation?

baohua (Fri, 29 Sep 2017 03:11:06 GMT):
i guess there're already some codes to be done.

hanhzf (Fri, 29 Sep 2017 03:11:22 GMT):
Yes, we can pick up the invoke work

baohua (Fri, 29 Sep 2017 03:11:39 GMT):
thanks, zhaofang

baohua (Fri, 29 Sep 2017 03:11:45 GMT):
then i will assign this one https://jira.hyperledger.org/browse/FAB-5491?jql=project%20%3D%20FAB%20AND%20status%20in%20(%22In%20Progress%22%2C%20%22To%20Do%22)%20AND%20component%20%3D%20fabric-sdk-py to u

baohua (Fri, 29 Sep 2017 03:12:14 GMT):
basically, u can create an env by peer cli cmds

hanhzf (Fri, 29 Sep 2017 03:12:16 GMT):
Will start travel from tmr, start working on it after national holiday, will that be ok ?

baohua (Fri, 29 Sep 2017 03:12:39 GMT):
sure, we will let everyone enjoy the holiday, and cancel next week meeting.

baohua (Fri, 29 Sep 2017 03:12:48 GMT):
:slight_smile:

hanhzf (Fri, 29 Sep 2017 03:13:03 GMT):
Yup, no problem, will keep on updating

baohua (Fri, 29 Sep 2017 03:13:21 GMT):
OK, and the instantiate operation, would u like to pick? @tonyyang132

baohua (Fri, 29 Sep 2017 03:14:41 GMT):
this one: https://jira.hyperledger.org/browse/FAB-5489

baohua (Fri, 29 Sep 2017 03:14:57 GMT):
kai already finish the install steps, i guess it's similar process code

tonyyang132 (Fri, 29 Sep 2017 03:15:22 GMT):
OK, I guess I could take that

baohua (Fri, 29 Sep 2017 03:15:31 GMT):
thanks, assign to u

hanhzf (Fri, 29 Sep 2017 03:15:59 GMT):
Hi baohua, one more question, about this one: https://wiki.hyperledger.org/groups/twgc/team_cs

hanhzf (Fri, 29 Sep 2017 03:16:20 GMT):
we wan to update or scenario with boc to this link, whom should we contact ?

baohua (Fri, 29 Sep 2017 03:16:23 GMT):
@hanhzf it's sdk-py meeting now, can we talk after the meeting?

hanhzf (Fri, 29 Sep 2017 03:16:35 GMT):
Yeah, no problem

baohua (Fri, 29 Sep 2017 03:16:39 GMT):
thanks

baohua (Fri, 29 Sep 2017 03:17:04 GMT):
@grapebaba @qiang0723 any issues from ur side? great work in previous weeks!

grapebaba (Fri, 29 Sep 2017 03:17:12 GMT):
https://jira.hyperledger.org/browse/FAB-4822 what is the progress about this one

baohua (Fri, 29 Sep 2017 03:17:44 GMT):
@lafenicecc is offline

baohua (Fri, 29 Sep 2017 03:18:00 GMT):
@qiang0723 will u like to continue on FAB-4822?

baohua (Fri, 29 Sep 2017 03:18:11 GMT):
you can talk to chang to see if he can work on that, too

grapebaba (Fri, 29 Sep 2017 03:18:20 GMT):
i remembered already transfered to @wangdong

qiang0723 (Fri, 29 Sep 2017 03:18:31 GMT):
FAB-4742 summary: 3 forms for license header addition: apache 2.0 for code, apache 4.0 for documents, and both 2.0 and 4.0 for README

baohua (Fri, 29 Sep 2017 03:18:33 GMT):
from jira, it's chang

rjones (Fri, 29 Sep 2017 03:18:42 GMT):
Has left the channel.

baohua (Fri, 29 Sep 2017 03:18:59 GMT):
we will merge it today, @qiang0723

baohua (Fri, 29 Sep 2017 03:19:10 GMT):
would u like to talk to chang about FAB-4822?

baohua (Fri, 29 Sep 2017 03:19:26 GMT):
if he cannot continue, maybe u will :smiley:

baohua (Fri, 29 Sep 2017 03:19:40 GMT):
:snail:

qiang0723 (Fri, 29 Sep 2017 03:19:50 GMT):
ok, i can take it

baohua (Fri, 29 Sep 2017 03:19:53 GMT):
thanks

baohua (Fri, 29 Sep 2017 03:20:22 GMT):
and @grapebaba pls do help @hanhzf and @tonyyang132 for those very important patchsets.

grapebaba (Fri, 29 Sep 2017 03:20:37 GMT):
sure

bryanhuang (Fri, 29 Sep 2017 03:20:47 GMT):
I can pick up cc upgrade, since it similar with https://jira.hyperledger.org/browse/FAB-3783

tonyyang132 (Fri, 29 Sep 2017 03:20:47 GMT):
thanks in advance @grapebaba

baohua (Fri, 29 Sep 2017 03:20:55 GMT):
i saw @wangdong is working on FAB-5488

grapebaba (Fri, 29 Sep 2017 03:21:07 GMT):
i will clean up some code which not used

baohua (Fri, 29 Sep 2017 03:21:10 GMT):
@bryanhuang thanks a lot!

bryanhuang (Fri, 29 Sep 2017 03:21:55 GMT):
but its depends on the instantiate operation, I will start the work once instantiation done.

baohua (Fri, 29 Sep 2017 03:22:01 GMT):
@bryanhuang seems we do not have that task yet? pls help create a jira task about it and assign to urself.

baohua (Fri, 29 Sep 2017 03:22:27 GMT):
yeap, upgrade is similar with instantiate, so pls collaborate closely with each other.

bryanhuang (Fri, 29 Sep 2017 03:22:53 GMT):
5490

baohua (Fri, 29 Sep 2017 03:23:03 GMT):
FAB-5490

tonyyang132 (Fri, 29 Sep 2017 03:23:10 GMT):
so https://jira.hyperledger.org/browse/FAB-5489 is about install and instantiate, did you mean the installation part is done? @baohua

baohua (Fri, 29 Sep 2017 03:23:19 GMT):
aha, maybe we can split that into two separate ones.

bryanhuang (Fri, 29 Sep 2017 03:23:25 GMT):
right

baohua (Fri, 29 Sep 2017 03:23:37 GMT):
@toddinpal yes, we will merge today after more reviews

toddinpal (Fri, 29 Sep 2017 03:23:37 GMT):
Has joined the channel.

baohua (Fri, 29 Sep 2017 03:23:51 GMT):
@tonyyang132 u can split the tasks too

baohua (Fri, 29 Sep 2017 03:23:59 GMT):
https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py+AND+status:open

baohua (Fri, 29 Sep 2017 03:24:14 GMT):
Ok, again, everyone pls help review those patchsets, and add ur comments.

baohua (Fri, 29 Sep 2017 03:24:25 GMT):
Thanks :hatched_chick:

tonyyang132 (Fri, 29 Sep 2017 03:24:38 GMT):
OK I will. Is https://gerrit.hyperledger.org/r/#/c/11765/ about the install part of FAB-5489?

baohua (Fri, 29 Sep 2017 03:25:02 GMT):
yes, installation

baohua (Fri, 29 Sep 2017 03:25:19 GMT):
Ok, seems very good and efficient today. Anything else? @grapebaba

baohua (Fri, 29 Sep 2017 03:25:27 GMT):
and everyone else?

tonyyang132 (Fri, 29 Sep 2017 03:26:26 GMT):
so after I split FAB-5489, can I assign the install part to Chen Kai since he's finished coding?

grapebaba (Fri, 29 Sep 2017 03:27:00 GMT):
that task is for E2E test

grapebaba (Fri, 29 Sep 2017 03:27:10 GMT):
please check the parent task

baohua (Fri, 29 Sep 2017 03:27:16 GMT):
since kai is using the task number in the patchset, it's better u create one for instantiate separately?

baohua (Fri, 29 Sep 2017 03:27:26 GMT):
and modify the original task to install only.

baohua (Fri, 29 Sep 2017 03:27:35 GMT):
make sense? @grapebaba

grapebaba (Fri, 29 Sep 2017 03:27:41 GMT):
no

grapebaba (Fri, 29 Sep 2017 03:27:55 GMT):
i don't use this task

grapebaba (Fri, 29 Sep 2017 03:28:12 GMT):
this task is for E2E test created by @wangdong

baohua (Fri, 29 Sep 2017 03:28:18 GMT):
aha, FAB-5151

grapebaba (Fri, 29 Sep 2017 03:28:47 GMT):
@tonyyang132 you can create a new task for instaniate

baohua (Fri, 29 Sep 2017 03:28:49 GMT):
@tonyyang132 just help keep the task number in gerrit is the same with those at jira.

baohua (Fri, 29 Sep 2017 03:28:51 GMT):
Thanks

tonyyang132 (Fri, 29 Sep 2017 03:29:12 GMT):
OK

baohua (Fri, 29 Sep 2017 03:29:20 GMT):
OK, anything else?

baohua (Fri, 29 Sep 2017 03:30:11 GMT):
@grapebaba

grapebaba (Fri, 29 Sep 2017 03:30:22 GMT):
no for me

baohua (Fri, 29 Sep 2017 03:30:27 GMT):
OK, cool

baohua (Fri, 29 Sep 2017 03:30:39 GMT):
If nothing else, we will end the meeting.

baohua (Fri, 29 Sep 2017 03:30:46 GMT):
The next week will be canceled. Everyone enjoy the weekend and holiday!

baohua (Fri, 29 Sep 2017 03:30:48 GMT):
Pls remember to add ur name to the attendee list, thanks!

baohua (Fri, 29 Sep 2017 03:31:19 GMT):
And help review: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py+status:open

tonyyang132 (Fri, 29 Sep 2017 03:31:27 GMT):
sure

hanhzf (Fri, 29 Sep 2017 03:32:06 GMT):
:ok_hand:

grapebaba (Fri, 29 Sep 2017 03:35:41 GMT):
:thumbsup:

wangdong (Sat, 30 Sep 2017 02:13:25 GMT):
I am occupied these days. Sorry for the absence.

wangdong (Sat, 30 Sep 2017 02:16:50 GMT):
I got a idea that I will refectory the e2e test framework. Because when I try to complete the join channel part. I found the the other parts will depend on the creating channel part. That means other test case will have to use the channel created at the first place. The framework now can not do that. Every time the docker envir

grapebaba (Sat, 30 Sep 2017 02:27:10 GMT):
https://gerrit.hyperledger.org/r/#/c/13459/

grapebaba (Sat, 30 Sep 2017 02:27:30 GMT):
https://gerrit.hyperledger.org/r/#/c/11603/

grapebaba (Sat, 30 Sep 2017 02:27:34 GMT):
both need rebase

wangdong (Sat, 30 Sep 2017 02:28:36 GMT):
I got a idea that I will refectory the e2e test framework. Because when I try to complete the join channel part. I found the the other parts will depend on the creating channel part. That means other test case will have to use the channel created at the first place. The framework now can not do that. Every time the docker environment is up, it is fresh. So I would like to integrate all the test cases into one class and each case will be a method. And there should be another e2e test util file in which there are some helper function to support the e2e test. any comments will be appreciated. Thanks'

baohua (Sat, 30 Sep 2017 06:09:23 GMT):
@wangdong in that case, i suppose we can boot up the network, and use scripts to prepare for the channel, like the official e2e examples?

BernardLin (Sun, 01 Oct 2017 18:29:30 GMT):
Has joined the channel.

grapebaba (Mon, 02 Oct 2017 23:55:36 GMT):
@wangdong i think we should differentiate e2e and integration test, i'd like integration test independent one by one. And do e2e test using your approach

wangdong (Fri, 06 Oct 2017 10:24:58 GMT):
Thanks for the advice. I will have a look which is better.

wangdong (Sat, 07 Oct 2017 15:12:07 GMT):
https://gerrit.hyperledger.org/r/14295

grapebaba (Mon, 09 Oct 2017 00:54:00 GMT):
@david_dornseifer FAB-4822 already assigned to @qiang0723 , I am not sure if he already started. Would you like pick another task or touch with @qiang0723 before you start FAB-4822

qiang0723 (Mon, 09 Oct 2017 03:05:50 GMT):
@grapebaba We have communicated, and @david_dornseifer has already begun this task, so i transfer to him

baohua (Mon, 09 Oct 2017 03:17:23 GMT):
:grinning:

grapebaba (Mon, 09 Oct 2017 07:05:12 GMT):
:wink:

david_dornseifer (Mon, 09 Oct 2017 23:03:07 GMT):
:)

grapebaba (Thu, 12 Oct 2017 09:49:08 GMT):
@here Dear all, we will cancel the meeting tmr morning, pls help develop and discuss offline, thanks!

baohua (Thu, 12 Oct 2017 11:54:45 GMT):
thanks

ramnath00 (Mon, 16 Oct 2017 07:49:49 GMT):
Has joined the channel.

rameshthoomu (Tue, 17 Oct 2017 01:08:20 GMT):
@grapebaba @baohua recently we have made some changes to pip installation packages and updated CI build nodes for testing in sandbox (See change here https://github.com/hyperledger/ci-management/blob/master/packer/provision/docker.sh#L161) I see fabric behave tests are working as expected on python 2.7 version but I see tox installation is failed.. see the error log here.. https://jenkins.hyperledger.org/sandbox/job/fabric-sdk-py-verify-x86_64/3/console

rameshthoomu (Tue, 17 Oct 2017 01:08:32 GMT):
Could you let me know what is wrong here..

rameshthoomu (Tue, 17 Oct 2017 01:10:11 GMT):
also see this change https://gerrit.hyperledger.org/r/#/c/14487/2/packer/provision/docker.sh

baohua (Tue, 17 Oct 2017 02:39:48 GMT):
@rameshthoomu from the log, i found some error like `18:21:07 OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pluggy-0.5.2.dist-info' `. Will this cause the installation failure? I remember ry has upgrade the ci with pluggy integrated?

rameshthoomu (Tue, 17 Oct 2017 02:41:54 GMT):
It’s installing on 2.7 version.. is that the problem? I don’t see any issue in production CI nodes

rameshthoomu (Tue, 17 Oct 2017 02:43:58 GMT):
I managed to install pluggy in sandbox but I could see tox command not found error https://jenkins.hyperledger.org/sandbox/job/fabric-sdk-py-verify-x86_64/4/console

baohua (Wed, 18 Oct 2017 04:09:05 GMT):
https://gerrit.hyperledger.org/r/#/c/14587/

baohua (Wed, 18 Oct 2017 04:09:48 GMT):
@rameshthoomu i'm not sure what the exact cause to the pluggy/tox installation failure. Can u manually install that?

rameshthoomu (Wed, 18 Oct 2017 16:09:25 GMT):
@jwagantall after the new image is updated I could see below error in fabric-sdk-py verify jobs ``` 8:21:07 OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pluggy-0.5.2.dist-info' ```

jwagantall (Wed, 18 Oct 2017 16:10:03 GMT):
hmmm .. will look into that too..

rameshthoomu (Wed, 18 Oct 2017 16:10:23 GMT):
@baohua earlier default python version is 3.5.. with the recent changes it changed to python2.7 for fabric-behave tests..

baohua (Thu, 19 Oct 2017 02:46:04 GMT):
ok, got it

baohua (Thu, 19 Oct 2017 05:26:10 GMT):
@here Dear all, we will have meeting 11AM tmr morning, pls help update agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171020, thanks!

rameshthoomu (Thu, 19 Oct 2017 14:10:56 GMT):
@baohua tox error is fixed with this patch https://gerrit.hyperledger.org/r/#/c/14685/

rameshthoomu (Thu, 19 Oct 2017 14:12:55 GMT):
we have installed `tox` inside x86 CI build node..

baohua (Thu, 19 Oct 2017 14:25:18 GMT):
thanks for fixing that, rameshthoomu!

rameshthoomu (Thu, 19 Oct 2017 14:27:05 GMT):
I added a comment in my patch.. Could you please check..

rameshthoomu (Thu, 19 Oct 2017 16:31:01 GMT):
need one more +2 https://gerrit.hyperledger.org/r/#/c/14685/

baohua (Fri, 20 Oct 2017 02:47:06 GMT):
reviewing

baohua (Fri, 20 Oct 2017 02:48:07 GMT):
merged and thanks!

grapebaba (Fri, 20 Oct 2017 02:56:49 GMT):
hi,meeting will start

grapebaba (Fri, 20 Oct 2017 02:57:03 GMT):
who is online?

baohua (Fri, 20 Oct 2017 02:57:08 GMT):
+1

grapebaba (Fri, 20 Oct 2017 02:59:36 GMT):
anyone else?

tonyyang132 (Fri, 20 Oct 2017 03:00:07 GMT):
+1

grapebaba (Fri, 20 Oct 2017 03:00:21 GMT):
k

grapebaba (Fri, 20 Oct 2017 03:01:01 GMT):
first, we should update ongoing jira task

grapebaba (Fri, 20 Oct 2017 03:01:25 GMT):
can you help update https://jira.hyperledger.org/browse/FAB-5489 @tonyyang132

tonyyang132 (Fri, 20 Oct 2017 03:03:06 GMT):
um... a bit occupied with company project for the past weeks, so I don't have much update for the task yet...

grapebaba (Fri, 20 Oct 2017 03:03:19 GMT):
ok

hanhzf (Fri, 20 Oct 2017 03:03:27 GMT):
+1

grapebaba (Fri, 20 Oct 2017 03:03:50 GMT):
:grinning:

grapebaba (Fri, 20 Oct 2017 03:03:55 GMT):
zhao fang

grapebaba (Fri, 20 Oct 2017 03:04:08 GMT):
what about this one https://jira.hyperledger.org/browse/FAB-5491

hanhzf (Fri, 20 Oct 2017 03:04:59 GMT):
Yes, a little busy with company project after festival, will work on it this weekend

grapebaba (Fri, 20 Oct 2017 03:05:13 GMT):
thanks

grapebaba (Fri, 20 Oct 2017 03:05:33 GMT):
@david_dornseifer and @wangdong is not online

grapebaba (Fri, 20 Oct 2017 03:06:00 GMT):
@baohua https://jira.hyperledger.org/browse/FAB-3165

grapebaba (Fri, 20 Oct 2017 03:06:05 GMT):
are you there?

baohua (Fri, 20 Oct 2017 03:06:29 GMT):
no update, i may first help on the channel/tx operations first

baohua (Fri, 20 Oct 2017 03:06:42 GMT):
this is related to fabric-ca-sdk

baohua (Fri, 20 Oct 2017 03:06:46 GMT):
will update the status there

baohua (Fri, 20 Oct 2017 03:06:51 GMT):
:snail:

grapebaba (Fri, 20 Oct 2017 03:06:55 GMT):
thanks

grapebaba (Fri, 20 Oct 2017 03:07:49 GMT):
currently only one WIP patch in gerrit, let us skip it

grapebaba (Fri, 20 Oct 2017 03:08:12 GMT):
any other issues, guys?

grapebaba (Fri, 20 Oct 2017 03:08:30 GMT):
we merged two patch this week

baohua (Fri, 20 Oct 2017 03:09:09 GMT):
great progress!

baohua (Fri, 20 Oct 2017 03:09:16 GMT):
lets keep moving forward!

baohua (Fri, 20 Oct 2017 03:09:21 GMT):
:woo:

grapebaba (Fri, 20 Oct 2017 03:09:32 GMT):
OK, seems no issues, we can end the meeting

grapebaba (Fri, 20 Oct 2017 03:09:57 GMT):
Happy weekends,guys

baohua (Fri, 20 Oct 2017 03:09:59 GMT):
thanks kai and everyone

baohua (Fri, 20 Oct 2017 03:10:08 GMT):
pls help post the minutes too

grapebaba (Fri, 20 Oct 2017 03:10:16 GMT):
k

baohua (Fri, 20 Oct 2017 03:10:19 GMT):
nice weekend!:smiley:

tonyyang132 (Fri, 20 Oct 2017 03:11:16 GMT):
:clap:

grapebaba (Fri, 20 Oct 2017 08:42:44 GMT):
https://gerrit.hyperledger.org/r/c/14727/

wangdong (Sun, 22 Oct 2017 13:27:13 GMT):
I got an error when I try to get the genesis block. *_Rendezvous of RPC that terminated with (StatusCode.UNAVAILABLE, Connect Failed)*. And I entered the container to read the log. But I can not find anything. It seems something wrong with the connection. any body got the same issue before or any hints will be appreciated. Thanks.

baohua (Sun, 22 Oct 2017 16:56:24 GMT):
can u check the debug log of the orderer? To make sure we give request with correct format :)

wangdong (Mon, 23 Oct 2017 02:42:36 GMT):
yes, I have fixed it. thanks

grapebaba (Mon, 23 Oct 2017 08:58:12 GMT):
https://gerrit.hyperledger.org/r/c/14727/

baohua (Mon, 23 Oct 2017 15:07:21 GMT):
+2!

baohua (Mon, 23 Oct 2017 15:07:23 GMT):
thanks

GeethuBala (Thu, 26 Oct 2017 04:58:44 GMT):
Has joined the channel.

john111 (Thu, 26 Oct 2017 06:06:06 GMT):
Has joined the channel.

baohua (Thu, 26 Oct 2017 06:25:30 GMT):
@here Dear all, we will cancel the group meeting on this Friday morning, pls help continue the development and discuss offline, thanks!

baohua (Tue, 31 Oct 2017 01:45:05 GMT):
The hyperledger summit will be held in singapore on Nov 9,10. Who will attend, too? Let's see if opportunity to meet each other and discuss the project.

baohua (Thu, 02 Nov 2017 07:37:42 GMT):
@here Dear all, we will have meeting at 11AM tmr morning, pls help update agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171103, thanks!

baohua (Thu, 02 Nov 2017 08:52:40 GMT):
The latest ci always fail due to the except checking, pls help review, thanks: https://gerrit.hyperledger.org/r/#/c/15117/

baohua (Fri, 03 Nov 2017 01:11:11 GMT):
https://gerrit.hyperledger.org/r/#/c/15115/

baohua (Fri, 03 Nov 2017 02:54:42 GMT):
meeting will start in 5 min, who's online?

grapebaba (Fri, 03 Nov 2017 02:54:55 GMT):
:raised_hand:

baohua (Fri, 03 Nov 2017 02:55:03 GMT):
@grapebaba @tonyyang132 @bryanhuang

baohua (Fri, 03 Nov 2017 02:55:05 GMT):
great

grapebaba (Fri, 03 Nov 2017 02:55:09 GMT):
super busy this week

baohua (Fri, 03 Nov 2017 02:55:11 GMT):
how's going recently, kai

grapebaba (Fri, 03 Nov 2017 02:55:22 GMT):
:tired_face:

baohua (Fri, 03 Nov 2017 02:55:26 GMT):
lol

baohua (Fri, 03 Nov 2017 02:55:43 GMT):
take it easy, there's rainbow after rain

baohua (Fri, 03 Nov 2017 02:56:21 GMT):
:sunny:

grapebaba (Fri, 03 Nov 2017 02:57:21 GMT):
:sweat_smile:

baohua (Fri, 03 Nov 2017 02:57:52 GMT):
Today's agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171103

baohua (Fri, 03 Nov 2017 02:59:51 GMT):
OK

baohua (Fri, 03 Nov 2017 03:00:00 GMT):
seems no more else, let's do some quick sync

baohua (Fri, 03 Nov 2017 03:00:19 GMT):
recently i found an interesting gosdk project: https://github.com/CognitionFoundry/gohfc

baohua (Fri, 03 Nov 2017 03:00:34 GMT):
people use it to give some perf evaluate result (non-official)

baohua (Fri, 03 Nov 2017 03:00:53 GMT):
i guess we can have a look at it too, which is really simple in design.

baohua (Fri, 03 Nov 2017 03:01:09 GMT):
thoughts? @grapebaba

grapebaba (Fri, 03 Nov 2017 03:01:24 GMT):
well

grapebaba (Fri, 03 Nov 2017 03:02:07 GMT):
what is the main difference with official go-sdk?

baohua (Fri, 03 Nov 2017 03:02:34 GMT):
not too much, the key advantage is that it's simple and basic

baohua (Fri, 03 Nov 2017 03:03:08 GMT):
donot know whether they will contribute to community

grapebaba (Fri, 03 Nov 2017 03:04:00 GMT):
good, will see

baohua (Fri, 03 Nov 2017 03:04:09 GMT):
And besides chaincode installation, do u know how's going on @tonyyang132 's work on chaincode instantiate?

grapebaba (Fri, 03 Nov 2017 03:04:32 GMT):
indeed all SDKs currently more complex

baohua (Fri, 03 Nov 2017 03:04:36 GMT):
@hanhzf is working on chaincode invoke

baohua (Fri, 03 Nov 2017 03:04:40 GMT):
Agree!

baohua (Fri, 03 Nov 2017 03:04:51 GMT):
we need to provide something easy to use first

grapebaba (Fri, 03 Nov 2017 03:04:57 GMT):
no

baohua (Fri, 03 Nov 2017 03:05:29 GMT):
@wangdong said "I am out of office.Can not attend, i will pose question later in rocket"

grapebaba (Fri, 03 Nov 2017 03:05:40 GMT):
yeah

grapebaba (Fri, 03 Nov 2017 03:05:50 GMT):
he is working on join channel

baohua (Fri, 03 Nov 2017 03:05:52 GMT):
do u know how's going on his work in "channel join"

grapebaba (Fri, 03 Nov 2017 03:06:09 GMT):
came across some problems

grapebaba (Fri, 03 Nov 2017 03:06:24 GMT):
about grpc invocation

grapebaba (Fri, 03 Nov 2017 03:06:38 GMT):
I have no time to see

baohua (Fri, 03 Nov 2017 03:06:43 GMT):
oops, need to discuss here?

grapebaba (Fri, 03 Nov 2017 03:06:47 GMT):
:stuck_out_tongue_closed_eyes:

baohua (Fri, 03 Nov 2017 03:06:48 GMT):
ok, pls let him ping me

baohua (Fri, 03 Nov 2017 03:06:56 GMT):
btw, thanks for reviewing https://gerrit.hyperledger.org/r/#/c/15115/

baohua (Fri, 03 Nov 2017 03:07:15 GMT):
i'm refining the existing work, to make it simplified to extend with more functionalities

grapebaba (Fri, 03 Nov 2017 03:07:25 GMT):
ok

grapebaba (Fri, 03 Nov 2017 03:07:30 GMT):
i will submit

baohua (Fri, 03 Nov 2017 03:07:39 GMT):
Dong's feedback "almost done, but one problem regarding the get genesis block."

baohua (Fri, 03 Nov 2017 03:07:43 GMT):
great to hear that!

baohua (Fri, 03 Nov 2017 03:08:07 GMT):
OK, nothing too much for me, and will u attend singapore summit next week?

grapebaba (Fri, 03 Nov 2017 03:10:15 GMT):
i think i can't

baohua (Fri, 03 Nov 2017 03:10:21 GMT):
ok, pity that

baohua (Fri, 03 Nov 2017 03:10:42 GMT):
btw, the community now has the zoom service: https://zoom.us/j/248676399

baohua (Fri, 03 Nov 2017 03:10:56 GMT):
anyone wanna try, can use that for meeting if needed.

baohua (Fri, 03 Nov 2017 03:11:10 GMT):
:smile:

grapebaba (Fri, 03 Nov 2017 03:11:11 GMT):
good

baohua (Fri, 03 Nov 2017 03:11:23 GMT):
OK, anything else to sync here?

baohua (Fri, 03 Nov 2017 03:11:30 GMT):
I just update https://gerrit.hyperledger.org/r/#/c/15113/

baohua (Fri, 03 Nov 2017 03:11:38 GMT):
welcome to review after ci

grapebaba (Fri, 03 Nov 2017 03:11:41 GMT):
no

baohua (Fri, 03 Nov 2017 03:12:09 GMT):
ok, cool, if nothing else, let's finish the meeting. Have a nice weekend!

grapebaba (Fri, 03 Nov 2017 03:12:38 GMT):
bye

wangdong (Fri, 03 Nov 2017 13:22:53 GMT):
@grapebaba @baohua As I read the log, I found the channel is created, but when to get the genesis block, it says, channel not found. [orderer/multichain] newChain -> INFO 7fc Created and starting new chain businesschannel. But I also found this: Rejecting deliver because channel 47d89f6043aa5ccfa836fbc6673ccd101c2f1f11a0f77b149b2e013e90b8ad9c not found

wangdong (Fri, 03 Nov 2017 13:25:19 GMT):
I also found another channel with id: testchanid. what is this? I am so busy recently. I have no time to read more about the code to look for the answer. You may have some clue.

grapebaba (Fri, 03 Nov 2017 13:26:32 GMT):
That's system channel

grapebaba (Fri, 03 Nov 2017 13:27:48 GMT):
Can you wait several time after create channel, then request get genesis block

grapebaba (Fri, 03 Nov 2017 13:29:37 GMT):
i also very busy these days

wangdong (Fri, 03 Nov 2017 13:58:43 GMT):
yes, I tired. 10 seconds sleep before joining. It failed again

olegvg (Fri, 03 Nov 2017 22:59:13 GMT):
Has joined the channel.

baohua (Fri, 03 Nov 2017 23:25:04 GMT):
lets talk on this later

baohua (Fri, 03 Nov 2017 23:26:26 GMT):
https://gerrit.hyperledger.org/r/#/c/15119

baohua (Mon, 06 Nov 2017 05:08:30 GMT):
e2e join channel test: https://gerrit.hyperledger.org/r/#/c/15213/

baohua (Mon, 06 Nov 2017 05:57:16 GMT):
@wangdong added several comment, and thanks for the work!

wangdong (Tue, 07 Nov 2017 06:37:27 GMT):
yes, I saw it. I will update it soon.

wangdong (Tue, 07 Nov 2017 06:37:44 GMT):
after the finally review

baohua (Tue, 07 Nov 2017 14:28:01 GMT):
https://gerrit.hyperledger.org/r/#/c/15213/

baohua (Tue, 07 Nov 2017 14:28:06 GMT):
welcome to review

swapnilpatil (Wed, 08 Nov 2017 16:08:44 GMT):
Has joined the channel.

baohua (Thu, 09 Nov 2017 02:31:45 GMT):
@david_dornseifer would u like to +2 to it :)

david_dornseifer (Thu, 09 Nov 2017 03:05:44 GMT):
hi, to 15213?

david_dornseifer (Thu, 09 Nov 2017 03:09:23 GMT):
hope that i can finish the eventhub until end of next week - super busy right now at work

baohua (Thu, 09 Nov 2017 03:24:24 GMT):
sure, i saw u give only +1, thought u may have any concern to merge it?

baohua (Thu, 09 Nov 2017 06:24:13 GMT):
@here Dear all, we will cancel the meeting this week due to the hyperledger summit, pls help discuss offline if needed, thanks!

rjones (Thu, 09 Nov 2017 18:58:24 GMT):
Has joined the channel.

rjones (Thu, 09 Nov 2017 19:00:53 GMT):
@david_dornseifer @lafenicecc I sent you invitations to join the committers group for the Python SDK, once you accept those invitations you will be able to +2 and merge changes.

rjones (Thu, 09 Nov 2017 19:00:59 GMT):
you should get an email.

david_dornseifer (Thu, 09 Nov 2017 19:11:32 GMT):
@rjones perfect - thx

david_dornseifer (Thu, 09 Nov 2017 19:12:04 GMT):
@baohua done

rjones (Thu, 09 Nov 2017 19:14:34 GMT):
@david_dornseifer small fixup here: https://gerrit.hyperledger.org/r/#/c/15355/

baohua (Fri, 10 Nov 2017 00:18:50 GMT):
thanks ry!

rjones (Fri, 10 Nov 2017 00:20:03 GMT):
@baohua you're welcome! CI finally passed, feel free to merge at your leisure

grapebaba (Fri, 10 Nov 2017 01:41:22 GMT):
@lafenicecc I think you need update your email address on maintianer page

lafenicecc (Sat, 11 Nov 2017 02:27:32 GMT):
thx i'll update my email

theruss (Mon, 13 Nov 2017 20:27:31 GMT):
Has joined the channel.

gvammer (Mon, 13 Nov 2017 20:57:06 GMT):
Has joined the channel.

baohua (Thu, 16 Nov 2017 11:56:10 GMT):
@here Dear all, we will have meeting 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171117, thanks!

david_dornseifer (Thu, 16 Nov 2017 23:58:19 GMT):
@baohua can you please add the different time zones for the meeting announcements since that we are all distributed around the world :)

baohua (Fri, 17 Nov 2017 02:06:18 GMT):
@david_dornseifer sure, it's 3AM today for UTC.

baohua (Fri, 17 Nov 2017 02:06:44 GMT):
i also give the UTC+8 tz, while feel free to add urs (curious to know which tz is for u :)).

david_dornseifer (Fri, 17 Nov 2017 02:38:31 GMT):
@baohua 7pm PST :)

baohua (Fri, 17 Nov 2017 02:38:57 GMT):
great, UTC-7?

david_dornseifer (Fri, 17 Nov 2017 02:39:17 GMT):
ohh sry - sure UTC-7

baohua (Fri, 17 Nov 2017 02:40:30 GMT):
updated: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171117

baohua (Fri, 17 Nov 2017 02:40:42 GMT):
is that good for u :smile:

david_dornseifer (Fri, 17 Nov 2017 02:42:32 GMT):
:thumbsup:

david_dornseifer (Fri, 17 Nov 2017 02:42:35 GMT):
:)

baohua (Fri, 17 Nov 2017 02:43:19 GMT):
btw, we will have meeting in 15 mins, hope u can attend

david_dornseifer (Fri, 17 Nov 2017 02:44:12 GMT):
yep today works :)

baohua (Fri, 17 Nov 2017 02:45:02 GMT):
nice, for quite a while, missing u much

david_dornseifer (Fri, 17 Nov 2017 02:54:11 GMT):
yea busy with work right now and usually at this time i'm on my commute home :)

baohua (Fri, 17 Nov 2017 02:59:40 GMT):
@david_dornseifer @grapebaba @tonyyang132 meeting

david_dornseifer (Fri, 17 Nov 2017 03:00:23 GMT):
:wave:

baohua (Fri, 17 Nov 2017 03:00:27 GMT):
:)

baohua (Fri, 17 Nov 2017 03:00:32 GMT):
ok, today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171117

baohua (Fri, 17 Nov 2017 03:00:49 GMT):
we made quite good progress, having finished the chaincode install/channel creation.

baohua (Fri, 17 Nov 2017 03:01:05 GMT):
those can be nice reference for the further operations

baohua (Fri, 17 Nov 2017 03:01:28 GMT):
@tonyyang132 and @grapebaba is working on the chaincode instantaite part

baohua (Fri, 17 Nov 2017 03:01:38 GMT):
FAB-5489

baohua (Fri, 17 Nov 2017 03:02:18 GMT):
zhaofang and dong is working on the chaincode invocation: FAB-5491, FAB-6985

baohua (Fri, 17 Nov 2017 03:02:38 GMT):
pity we do not have them online today

baohua (Fri, 17 Nov 2017 03:02:49 GMT):
EventHub: david dornseifer is working on FAB-4822

baohua (Fri, 17 Nov 2017 03:02:58 GMT):
is it still on-going? @david_dornseifer

david_dornseifer (Fri, 17 Nov 2017 03:03:08 GMT):
made good progress with FAB-4882

baohua (Fri, 17 Nov 2017 03:03:09 GMT):
or u like to pick other items :)

baohua (Fri, 17 Nov 2017 03:03:16 GMT):
nice

david_dornseifer (Fri, 17 Nov 2017 03:03:17 GMT):
sry - 4882

david_dornseifer (Fri, 17 Nov 2017 03:03:26 GMT):
hope i can create the pr soon

baohua (Fri, 17 Nov 2017 03:03:52 GMT):
thanks, david, hope u will get more time in following weeks

baohua (Fri, 17 Nov 2017 03:04:01 GMT):
holidays are coming, haha

david_dornseifer (Fri, 17 Nov 2017 03:04:10 GMT):
:)

baohua (Fri, 17 Nov 2017 03:04:39 GMT):
any travel plan?

david_dornseifer (Fri, 17 Nov 2017 03:04:43 GMT):
should we upgrade the testing images to 1.0.4?

baohua (Fri, 17 Nov 2017 03:05:25 GMT):
do u think it's necessary?

baohua (Fri, 17 Nov 2017 03:05:39 GMT):
1.1-preview is released

david_dornseifer (Fri, 17 Nov 2017 03:06:23 GMT):
have not looked into that - many changes in the protos? / can test both with our current codebase and see if it works

baohua (Fri, 17 Nov 2017 03:06:45 GMT):
not too much change

baohua (Fri, 17 Nov 2017 03:07:05 GMT):
IMHO, it's nice-to-have, but won't need to spend too much effort, certainly

david_dornseifer (Fri, 17 Nov 2017 03:07:23 GMT):
yea think so too

baohua (Fri, 17 Nov 2017 03:07:32 GMT):
those channel/chaincode operations are waiting for us eagerly

baohua (Fri, 17 Nov 2017 03:07:54 GMT):
great!

david_dornseifer (Fri, 17 Nov 2017 03:08:16 GMT):
invoke and query would be nice to have :)

baohua (Fri, 17 Nov 2017 03:08:49 GMT):
any technical issue to discuss? i plan to refine the existing code architecture, which is way more complicated than expected. but maybe can wait for time till we have chaincode invocation and channel join

baohua (Fri, 17 Nov 2017 03:09:19 GMT):
@wangdong said he will finish the chaincode invocation soon

baohua (Fri, 17 Nov 2017 03:09:45 GMT):
really hard-working guy

david_dornseifer (Fri, 17 Nov 2017 03:10:01 GMT):
ok - agree we should wait with refactoring until the basic functions are there

baohua (Fri, 17 Nov 2017 03:10:27 GMT):
yes, but let's go on with those minor fixes

baohua (Fri, 17 Nov 2017 03:11:09 GMT):
ok, nothing too much from my side, just attend the membership summit, which attracts lots of eyeballs by fabric

baohua (Fri, 17 Nov 2017 03:11:31 GMT):
there will be lots of potential adoptions of our sdk

baohua (Fri, 17 Nov 2017 03:12:08 GMT):
anything else for u? @david_dornseifer

david_dornseifer (Fri, 17 Nov 2017 03:12:37 GMT):
second you opinion about the adoption

david_dornseifer (Fri, 17 Nov 2017 03:12:57 GMT):
and with 1.1 fabric will be much more attractive

baohua (Fri, 17 Nov 2017 03:13:09 GMT):
yes, the privacy protection

baohua (Fri, 17 Nov 2017 03:13:28 GMT):
we hope to finish the 1.0 sdk before fabric 1.1 release

david_dornseifer (Fri, 17 Nov 2017 03:13:53 GMT):
would be nice

baohua (Fri, 17 Nov 2017 03:14:11 GMT):
exactly

baohua (Fri, 17 Nov 2017 03:14:20 GMT):
ok, if nothing else, will end the meeting

baohua (Fri, 17 Nov 2017 03:14:35 GMT):
have nice thanksgiving days, david!

david_dornseifer (Fri, 17 Nov 2017 03:15:03 GMT):
@baohua thanks alot

david_dornseifer (Fri, 17 Nov 2017 03:15:07 GMT):
bye

baohua (Fri, 17 Nov 2017 03:15:19 GMT):
:):golf:

berserkr (Fri, 17 Nov 2017 06:38:50 GMT):
Hi Guys, how did you generate the channel.tx file for the py sdk?

berserkr (Fri, 17 Nov 2017 06:39:56 GMT):
I thought that channel information is created when we invoke the create channel APIs

berserkr (Fri, 17 Nov 2017 06:40:04 GMT):
is it created by the fabric or by the sdk?

david_dornseifer (Fri, 17 Nov 2017 18:18:05 GMT):
@berserkr the channel.tx is generated by the configtxgen tool in the fabric package

david_dornseifer (Fri, 17 Nov 2017 18:19:36 GMT):
this is independent from the sdks - for more questions regarding the channel.tx etc. you should check the #fabric channel

berserkr (Fri, 17 Nov 2017 18:37:15 GMT):
got it, thank you

berserkr (Fri, 17 Nov 2017 18:37:15 GMT):
@david_dornseifer got it, thank you

baohua (Sun, 19 Nov 2017 09:45:48 GMT):
https://gerrit.hyperledger.org/r/#/c/15581/, welcome to review

baohua (Mon, 20 Nov 2017 14:38:24 GMT):
@david_dornseifer would u like to help review? Thanks! https://gerrit.hyperledger.org/r/#/c/15581/

baohua (Thu, 23 Nov 2017 05:33:45 GMT):
@here Dear all, we will have meeting 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171124, thanks!

david_dornseifer (Thu, 23 Nov 2017 06:55:43 GMT):
@baohua unfortunately meeting does not work for me tomorrow

baohua (Thu, 23 Nov 2017 07:29:06 GMT):
pity, and happy holiday to u!

devangkh (Thu, 23 Nov 2017 12:40:39 GMT):
Has joined the channel.

jackeyliliang (Fri, 24 Nov 2017 02:55:59 GMT):
Has joined the channel.

baohua (Fri, 24 Nov 2017 02:59:51 GMT):
meeting will start~

grapebaba (Fri, 24 Nov 2017 02:59:58 GMT):
:raised_hand:

baohua (Fri, 24 Nov 2017 03:01:06 GMT):
today's agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171124

baohua (Fri, 24 Nov 2017 03:01:13 GMT):
haha, just finished a meeting

baohua (Fri, 24 Nov 2017 03:01:20 GMT):
how's going @grapebaba

baohua (Fri, 24 Nov 2017 03:03:09 GMT):
?

baohua (Fri, 24 Nov 2017 03:04:45 GMT):
@tonyyang132 @wangdong

tonyyang132 (Fri, 24 Nov 2017 03:04:57 GMT):
sorry, a bit late

baohua (Fri, 24 Nov 2017 03:05:02 GMT):
great u're here

tonyyang132 (Fri, 24 Nov 2017 03:05:19 GMT):
still being a bit occupied with company project...

baohua (Fri, 24 Nov 2017 03:05:33 GMT):
yes, i've been there. how's going on with FAB-5489?

baohua (Fri, 24 Nov 2017 03:05:45 GMT):
hope u and @grapebaba got some idea

tonyyang132 (Fri, 24 Nov 2017 03:05:54 GMT):
not much progress at the moment

baohua (Fri, 24 Nov 2017 03:06:02 GMT):
ok, the installation is done

baohua (Fri, 24 Nov 2017 03:06:25 GMT):
instantiate progress is a little complicated

baohua (Fri, 24 Nov 2017 03:06:41 GMT):
keep on working, and feel free to sync status at the channel, @tonyyang132

tonyyang132 (Fri, 24 Nov 2017 03:06:49 GMT):
sure, thank you

baohua (Fri, 24 Nov 2017 03:07:09 GMT):
OK, and the next item is the chaincode invocation.

baohua (Fri, 24 Nov 2017 03:07:12 GMT):
Zhaofang Han is working on FAB-5491, Dong Wang is working on FAB-6985

baohua (Fri, 24 Nov 2017 03:07:41 GMT):
@hanhzf @wangdong pls keep in close collaboration on this item

baohua (Fri, 24 Nov 2017 03:07:49 GMT):
chaincode invocation is very useful, too

grapebaba (Fri, 24 Nov 2017 03:08:34 GMT):
sorry, i have lost

baohua (Fri, 24 Nov 2017 03:08:55 GMT):
haha

baohua (Fri, 24 Nov 2017 03:08:57 GMT):
got u back

tonyyang132 (Fri, 24 Nov 2017 03:08:59 GMT):
@hanhzf is right now at another meeting and couln't make it here. I'll let him know.

baohua (Fri, 24 Nov 2017 03:09:08 GMT):
ok, thanks, tony

tonyyang132 (Fri, 24 Nov 2017 03:09:15 GMT):
not a problem

baohua (Fri, 24 Nov 2017 03:09:19 GMT):
@grapebaba how's going on ur side, kai

baohua (Fri, 24 Nov 2017 03:09:36 GMT):
hope u have other business goes well

grapebaba (Fri, 24 Nov 2017 03:10:55 GMT):
not good

grapebaba (Fri, 24 Nov 2017 03:11:07 GMT):
:sweat_smile:

baohua (Fri, 24 Nov 2017 03:11:17 GMT):
come on, we support u!

grapebaba (Fri, 24 Nov 2017 03:11:47 GMT):
thx, guys

baohua (Fri, 24 Nov 2017 03:11:59 GMT):
ok, david dornseifer is working on FAB-4822

baohua (Fri, 24 Nov 2017 03:12:09 GMT):
he is enjoying the thanksgiving day now

baohua (Fri, 24 Nov 2017 03:12:26 GMT):
And he said will work on the item soon

grapebaba (Fri, 24 Nov 2017 03:12:35 GMT):
sounds good

grapebaba (Fri, 24 Nov 2017 03:12:45 GMT):
that is a important feature

baohua (Fri, 24 Nov 2017 03:13:01 GMT):
:blossom:@david_dornseifer

baohua (Fri, 24 Nov 2017 03:13:04 GMT):
yes

baohua (Fri, 24 Nov 2017 03:13:22 GMT):
OK, last week i refine the testing framework

baohua (Fri, 24 Nov 2017 03:13:37 GMT):
will keep on cleaning existing code

baohua (Fri, 24 Nov 2017 03:13:56 GMT):
after we get the instantiate/invocation, we can make the 1st release soon.

baohua (Fri, 24 Nov 2017 03:14:04 GMT):
hopefully can be done this year

baohua (Fri, 24 Nov 2017 03:14:39 GMT):
OK, nothing else too much from me.

baohua (Fri, 24 Nov 2017 03:14:48 GMT):
any other comments? @grapebaba @tonyyang132

tonyyang132 (Fri, 24 Nov 2017 03:14:56 GMT):
none from my side

grapebaba (Fri, 24 Nov 2017 03:15:06 GMT):
no for me

wangdong (Fri, 24 Nov 2017 03:15:08 GMT):
hi

baohua (Fri, 24 Nov 2017 03:15:13 GMT):
ahaa

wangdong (Fri, 24 Nov 2017 03:15:18 GMT):
just forgot

baohua (Fri, 24 Nov 2017 03:15:19 GMT):
last second, u catch up @wangdong

baohua (Fri, 24 Nov 2017 03:15:31 GMT):
how's going on ur side for cc invocation?

wangdong (Fri, 24 Nov 2017 03:15:51 GMT):
I almost complete the code, and I am trying to write the test code

baohua (Fri, 24 Nov 2017 03:15:57 GMT):
great!

baohua (Fri, 24 Nov 2017 03:16:05 GMT):
remember to rebase to latest master

wangdong (Fri, 24 Nov 2017 03:16:11 GMT):
ok

baohua (Fri, 24 Nov 2017 03:16:15 GMT):
we are cleaning up, too

baohua (Fri, 24 Nov 2017 03:16:23 GMT):
thanks @wangdong very good progress!

baohua (Fri, 24 Nov 2017 03:16:34 GMT):
OK, any other issue?

wangdong (Fri, 24 Nov 2017 03:16:46 GMT):
no

baohua (Fri, 24 Nov 2017 03:16:51 GMT):
Then let's wrap it up quickly.

wangdong (Fri, 24 Nov 2017 03:17:01 GMT):
ok

baohua (Fri, 24 Nov 2017 03:17:16 GMT):
@wangdong would u like to help post the minute to the maillist later?

wangdong (Fri, 24 Nov 2017 03:17:33 GMT):
sure

baohua (Fri, 24 Nov 2017 03:17:39 GMT):
thanks!

wangdong (Fri, 24 Nov 2017 03:17:54 GMT):
np

baohua (Fri, 24 Nov 2017 03:17:56 GMT):
OK, meeting end, have a nice weekend, and remember add ur name to https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171124

wangdong (Fri, 24 Nov 2017 03:18:04 GMT):
byebye

tonyyang132 (Fri, 24 Nov 2017 03:18:18 GMT):
wish everybody a happy black Friday!

baohua (Fri, 24 Nov 2017 03:18:28 GMT):
@tonyyang132 :wink:

MuhammadSalah (Fri, 24 Nov 2017 16:23:01 GMT):
Has joined the channel.

ajenie (Sat, 25 Nov 2017 10:55:40 GMT):
Has joined the channel.

wangdong (Sun, 26 Nov 2017 00:09:53 GMT):
@baohua It seems I have to be approved to send to the mail list. And the mail is still pending.

VaibhavChotaliya (Sun, 26 Nov 2017 10:25:30 GMT):
Has joined the channel.

VaibhavChotaliya (Sun, 26 Nov 2017 10:27:29 GMT):
Hello, I'm new in Hyperledger. I build First network according tutorial and it's running also. But now I want to connect with Python. and Client(base_url="http://0.0.0.0:7051") every time it gives me a connection abort error. Can anyone please help me where I'm doing mistake?

baohua (Mon, 27 Nov 2017 01:20:56 GMT):
@wangdong there's some delay usually. it's in list now, thanks

baohua (Mon, 27 Nov 2017 01:21:15 GMT):
@VaibhavChotaliya which tutorial are u following?

dherykw (Mon, 27 Nov 2017 20:43:05 GMT):
Has joined the channel.

rjones (Mon, 27 Nov 2017 22:36:26 GMT):
Has left the channel.

baohua (Thu, 30 Nov 2017 09:33:33 GMT):
@here Dear all, we will have meeting 11AM tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171201, thanks!

nitefrog (Fri, 01 Dec 2017 02:30:33 GMT):
Has joined the channel.

baohua (Fri, 01 Dec 2017 02:58:57 GMT):
@here meeting will start

baohua (Fri, 01 Dec 2017 03:01:26 GMT):
@grapebaba @wangdong online?

wangdong (Fri, 01 Dec 2017 03:03:39 GMT):
hes

wangdong (Fri, 01 Dec 2017 03:03:40 GMT):
yes

baohua (Fri, 01 Dec 2017 03:04:04 GMT):
good to see u, dong

baohua (Fri, 01 Dec 2017 03:04:39 GMT):
today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171201

grapebaba (Fri, 01 Dec 2017 03:04:45 GMT):
:sweat_smile:

baohua (Fri, 01 Dec 2017 03:04:54 GMT):
@grapebaba get up, ahahaha

grapebaba (Fri, 01 Dec 2017 03:05:07 GMT):
:)

baohua (Fri, 01 Dec 2017 03:05:25 GMT):
How's going, guys

wangdong (Fri, 01 Dec 2017 03:05:41 GMT):
I try to test the invoke function. But I got some errors, I will read the go sdk for reference

baohua (Fri, 01 Dec 2017 03:06:05 GMT):
ok, basically u can use peer cli cmd to do other operations before we have them

baohua (Fri, 01 Dec 2017 03:06:21 GMT):
and feel free to ask in the channel for help

grapebaba (Fri, 01 Dec 2017 03:06:50 GMT):
don't have much time focus on SDK work

grapebaba (Fri, 01 Dec 2017 03:06:53 GMT):
recently

baohua (Fri, 01 Dec 2017 03:07:06 GMT):
ok, kai and tony are working on FAB-5489

baohua (Fri, 01 Dec 2017 03:07:20 GMT):
@tonyyang132 guess tony is not online today

baohua (Fri, 01 Dec 2017 03:07:30 GMT):
things getting better? @grapebaba

wangdong (Fri, 01 Dec 2017 03:07:37 GMT):
OK, I will

baohua (Fri, 01 Dec 2017 03:07:59 GMT):
thanks

grapebaba (Fri, 01 Dec 2017 03:08:29 GMT):
a little

baohua (Fri, 01 Dec 2017 03:09:29 GMT):
OK, i plan to add some block structure analysis tool in the sdk

baohua (Fri, 01 Dec 2017 03:10:36 GMT):
to let people manipulate blocks smoothly

grapebaba (Fri, 01 Dec 2017 03:11:05 GMT):
not heard before

baohua (Fri, 01 Dec 2017 03:11:29 GMT):
oh, when update config block, currently, need to use manual tools

baohua (Fri, 01 Dec 2017 03:11:34 GMT):
like `jq`

baohua (Fri, 01 Dec 2017 03:12:36 GMT):
actually, python is quite good in processing json structure

baohua (Fri, 01 Dec 2017 03:12:43 GMT):
@grapebaba make sense?

grapebaba (Fri, 01 Dec 2017 03:13:06 GMT):
yea

baohua (Fri, 01 Dec 2017 03:13:19 GMT):
nice

baohua (Fri, 01 Dec 2017 03:13:31 GMT):
OK, keep going together, @wangdong @grapebaba , hope we can get a workable e2e testing by our sdk soon.

baohua (Fri, 01 Dec 2017 03:13:52 GMT):
Dec 10, there will be a meetup in beijing, will u join?

baohua (Fri, 01 Dec 2017 03:13:56 GMT):
@wangdong

wangdong (Fri, 01 Dec 2017 03:14:03 GMT):
I will

baohua (Fri, 01 Dec 2017 03:14:13 GMT):
i guess kai cannot attend, pity

wangdong (Fri, 01 Dec 2017 03:14:19 GMT):
I have signed up

baohua (Fri, 01 Dec 2017 03:14:22 GMT):
ok, let's talk then on the sdk work

grapebaba (Fri, 01 Dec 2017 03:14:24 GMT):
yeah

wangdong (Fri, 01 Dec 2017 03:14:45 GMT):
sure

baohua (Fri, 01 Dec 2017 03:14:57 GMT):
ok, anything else to discuss today?

baohua (Fri, 01 Dec 2017 03:15:30 GMT):
if not, we will end the meeting. @wangdong pls help send the minutes link to the maillist

wangdong (Fri, 01 Dec 2017 03:15:45 GMT):
OK

baohua (Fri, 01 Dec 2017 03:15:48 GMT):
Thanks and have a nice weekend! :blossom:

wangdong (Fri, 01 Dec 2017 03:15:58 GMT):
have a nice weekend

grapebaba (Fri, 01 Dec 2017 03:16:24 GMT):
bye

C0rnelius (Fri, 01 Dec 2017 09:57:03 GMT):
Has joined the channel.

navdevl (Tue, 05 Dec 2017 11:44:58 GMT):
Has joined the channel.

baohua (Thu, 07 Dec 2017 06:23:35 GMT):
@here Dear all, we will cancel tmr meeting due to meetup preparation, pls help discuss offline and continue the work, thanks!

david_dornseifer (Sat, 09 Dec 2017 22:49:28 GMT):
please review https://gerrit.hyperledger.org/r/#/c/16083/

david_dornseifer (Sat, 09 Dec 2017 22:49:28 GMT):
please help review https://gerrit.hyperledger.org/r/#/c/16083/

baohua (Sun, 10 Dec 2017 01:57:56 GMT):
thanks, @david_dornseifer , will review!

baohua (Sun, 10 Dec 2017 15:10:29 GMT):
@david_dornseifer could u help address kai's comment? thanks

wangdong (Sun, 10 Dec 2017 15:17:41 GMT):
https://gerrit.hyperledger.org/r/16093

wangdong (Sun, 10 Dec 2017 15:17:50 GMT):
please help review

david_dornseifer (Sun, 10 Dec 2017 20:55:49 GMT):
@baohua moved it to FAB-7401

baohua (Mon, 11 Dec 2017 01:31:05 GMT):
@grapebaba pls help review the new patchset: https://gerrit.hyperledger.org/r/#/c/16083/

grapebaba (Mon, 11 Dec 2017 01:35:07 GMT):
done

baohua (Mon, 11 Dec 2017 01:37:55 GMT):
@wangdong added comments: https://gerrit.hyperledger.org/r/#/c/16093/

baohua (Mon, 11 Dec 2017 01:40:02 GMT):
@david_dornseifer about the changelog.sh, i'm thinking whether it's possible to make it scan all history from the beginning and mark each release automatically? Now seems it only marks the previous_release, and do not care those elder release tags before that.

wangdong (Mon, 11 Dec 2017 03:29:25 GMT):
yes, I read them. All the chain code operation functions need the MSP support. I wonder if I can complete the test code after the implementation of MSP.

wangdong (Mon, 11 Dec 2017 03:36:29 GMT):
If I missed some something or if there is a work around, please let me know it.

elie (Mon, 11 Dec 2017 10:43:05 GMT):
Has joined the channel.

baohua (Mon, 11 Dec 2017 14:16:00 GMT):
@wangdong sorry but why we need to implement MSP, u mean those certificate files? They can be generated by cryptogen? Or we can directly using existing on inside the test dir.

david_dornseifer (Mon, 11 Dec 2017 15:54:32 GMT):
@baohua the changelog.sh script is very simple right now and always rewrites the entire CHANGELOG.md file. Will setup an ticket to have a more advanced version

baohua (Tue, 12 Dec 2017 02:46:14 GMT):
thanks, yes i tried, it works well, would be even better if can automatically detect all the release tags.

guolidong (Tue, 12 Dec 2017 06:10:40 GMT):
Has joined the channel.

wangdong (Tue, 12 Dec 2017 15:10:09 GMT):
@baohua because it is related to the channel initializing. After the channel created, to use this channel, the channel instance will have to be got, client.new_channel, client.get_channel, and add orderer to the channel instance and at last initialize this Channel. This channel initialization will get the msp info from orderer. I got an error which says: *Failed to deserialize creator identity, err MSP Org1MSP is unknown*. I think this error is related to the msp.

baohua (Wed, 13 Dec 2017 00:51:29 GMT):
@wangdong can u help create some bug in jira?

baohua (Wed, 13 Dec 2017 00:52:28 GMT):
i think i've met similar issues in some case, there one possible reason is that the msp credential files doesn't match the image version, need to regenerate all the msp credential files using cryptogen

wangdong (Wed, 13 Dec 2017 13:34:48 GMT):
sure. I will have some inspects on this issue before creating the item.

mychewcents (Thu, 14 Dec 2017 09:16:14 GMT):
Has left the channel.

baohua (Thu, 14 Dec 2017 10:52:27 GMT):
@here Dear all, we will have meeting tmr morning, pls feel free to update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171215, thanks!

baohua (Fri, 15 Dec 2017 02:57:36 GMT):
ready for meeting? @grapebaba @wangdong @here

grapebaba (Fri, 15 Dec 2017 03:01:07 GMT):
:raised_hand:

baohua (Fri, 15 Dec 2017 03:01:15 GMT):
haha, got u

baohua (Fri, 15 Dec 2017 03:01:30 GMT):
ok, let's start

baohua (Fri, 15 Dec 2017 03:01:37 GMT):
today's agenda is at https://gerrit.hyperledger.org/r/#/c/16093/

baohua (Fri, 15 Dec 2017 03:01:37 GMT):
today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171215

wangdong (Fri, 15 Dec 2017 03:02:01 GMT):
yeah

baohua (Fri, 15 Dec 2017 03:02:15 GMT):
last week mainly we got an important patchset from @wangdong

baohua (Fri, 15 Dec 2017 03:02:17 GMT):
https://gerrit.hyperledger.org/r/#/c/16093/

baohua (Fri, 15 Dec 2017 03:02:27 GMT):
it's a nice progress

baohua (Fri, 15 Dec 2017 03:02:42 GMT):
just to suggest split it into separate steps

grapebaba (Fri, 15 Dec 2017 03:02:49 GMT):
yeah

baohua (Fri, 15 Dec 2017 03:02:51 GMT):
as @grapebaba also suggest

wangdong (Fri, 15 Dec 2017 03:02:53 GMT):
I will try to split then

wangdong (Fri, 15 Dec 2017 03:03:08 GMT):
a little busy these days

baohua (Fri, 15 Dec 2017 03:03:15 GMT):
sure, and dong, any problem to discuss it?

wangdong (Fri, 15 Dec 2017 03:03:23 GMT):
reading the test case

grapebaba (Fri, 15 Dec 2017 03:03:28 GMT):
and must at least have a success test for each function

baohua (Fri, 15 Dec 2017 03:03:42 GMT):
:thumbsup:

wangdong (Fri, 15 Dec 2017 03:03:43 GMT):
I think we need the msp

wangdong (Fri, 15 Dec 2017 03:03:52 GMT):
am I right?

baohua (Fri, 15 Dec 2017 03:04:04 GMT):
so can we using existing crypto-config?

baohua (Fri, 15 Dec 2017 03:04:11 GMT):
or do u need to generate new one?

grapebaba (Fri, 15 Dec 2017 03:04:14 GMT):
i think so

grapebaba (Fri, 15 Dec 2017 03:04:40 GMT):
you can use existing crypto-config

baohua (Fri, 15 Dec 2017 03:05:20 GMT):
and feel free to let me know if wanna some new one, i just create one for v1.0.5 yesterday haha

wangdong (Fri, 15 Dec 2017 03:06:07 GMT):
what do you mean by exiting one?

baohua (Fri, 15 Dec 2017 03:06:57 GMT):
`test/fixtures/e2e_cli/crypto-config`

grapebaba (Fri, 15 Dec 2017 03:07:06 GMT):
msp is just a set of key and cert files there

baohua (Fri, 15 Dec 2017 03:07:10 GMT):
it contains 2 peerOrgs and ordererOrg

wangdong (Fri, 15 Dec 2017 03:09:00 GMT):
the config in the docker-compose file?

wangdong (Fri, 15 Dec 2017 03:09:38 GMT):
just off line for a minute

wangdong (Fri, 15 Dec 2017 03:09:40 GMT):
sorry

wangdong (Fri, 15 Dec 2017 03:12:17 GMT):
are you there?

baohua (Fri, 15 Dec 2017 03:12:53 GMT):
sorry

grapebaba (Fri, 15 Dec 2017 03:13:12 GMT):
yeah

baohua (Fri, 15 Dec 2017 03:13:25 GMT):
network problem....

grapebaba (Fri, 15 Dec 2017 03:13:31 GMT):
no,in crypto-config

baohua (Fri, 15 Dec 2017 03:13:47 GMT):
have u checked my posted path

baohua (Fri, 15 Dec 2017 03:14:06 GMT):
under that dir, that's the standard cryto materials including all credentials for the network

baohua (Fri, 15 Dec 2017 03:14:06 GMT):
under that dir, it's the standard cryto materials including all credentials for the network

baohua (Fri, 15 Dec 2017 03:14:11 GMT):
@wangdong

baohua (Fri, 15 Dec 2017 03:15:05 GMT):
not sure whether this addressed ur question

wangdong (Fri, 15 Dec 2017 03:15:27 GMT):
Ok, I will check that

baohua (Fri, 15 Dec 2017 03:15:43 GMT):
free free to ping me if u have further concerns :grinning:

wangdong (Fri, 15 Dec 2017 03:15:58 GMT):
sure

wangdong (Fri, 15 Dec 2017 03:15:59 GMT):
thanks

baohua (Fri, 15 Dec 2017 03:16:02 GMT):
ok, and how's going with u, kai @grapebaba

grapebaba (Fri, 15 Dec 2017 03:16:19 GMT):
:sweat_smile:

grapebaba (Fri, 15 Dec 2017 03:16:54 GMT):
a bit busy with ink work

wangdong (Fri, 15 Dec 2017 03:17:00 GMT):
I saw one patch for fabric. It is great.

wangdong (Fri, 15 Dec 2017 03:17:09 GMT):
@grapebaba grapepapa

baohua (Fri, 15 Dec 2017 03:17:10 GMT):
what work?

grapebaba (Fri, 15 Dec 2017 03:17:43 GMT):
build production chain network

baohua (Fri, 15 Dec 2017 03:17:49 GMT):
yeap, cryptogen tool extend

baohua (Fri, 15 Dec 2017 03:18:01 GMT):
nice job!

grapebaba (Fri, 15 Dec 2017 03:18:15 GMT):
yeah, that is what we need do add peer/org

baohua (Fri, 15 Dec 2017 03:18:27 GMT):
i thought u moved to the ink team, haha

grapebaba (Fri, 15 Dec 2017 03:18:57 GMT):
haha, same as haitao

grapebaba (Fri, 15 Dec 2017 03:19:12 GMT):
@wangdong moved to ink

baohua (Fri, 15 Dec 2017 03:19:25 GMT):
oh, nice to know that, congrats, dong

wangdong (Fri, 15 Dec 2017 03:20:08 GMT):
I am trying

wangdong (Fri, 15 Dec 2017 03:20:31 GMT):
you are still part time? @grapebaba

baohua (Fri, 15 Dec 2017 03:20:46 GMT):
btw, u guys can give back more feedbacks to the community through the experience.

grapebaba (Fri, 15 Dec 2017 03:20:56 GMT):
yeah

baohua (Fri, 15 Dec 2017 03:21:02 GMT):
look forward to seeing that

baohua (Fri, 15 Dec 2017 03:21:23 GMT):
ok. nothing else for me today, any further issue?

grapebaba (Fri, 15 Dec 2017 03:21:30 GMT):
we are going to share a k8s deployment soon

wangdong (Fri, 15 Dec 2017 03:21:30 GMT):
ok

baohua (Fri, 15 Dec 2017 03:21:58 GMT):
geat

baohua (Fri, 15 Dec 2017 03:21:58 GMT):
great

baohua (Fri, 15 Dec 2017 03:22:14 GMT):
If no further issue, let's end the meeting

grapebaba (Fri, 15 Dec 2017 03:22:28 GMT):
:clap:

baohua (Fri, 15 Dec 2017 03:22:28 GMT):
Have a nice weekend!

baohua (Fri, 15 Dec 2017 03:22:59 GMT):
@wangdong pls help post the minutes to the wikipage, and share the link to the maillist later.

baohua (Fri, 15 Dec 2017 03:23:01 GMT):
thanks

baohua (Fri, 15 Dec 2017 03:23:14 GMT):
https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20171215

wangdong (Fri, 15 Dec 2017 03:23:46 GMT):
OK

asuchit (Fri, 15 Dec 2017 10:08:54 GMT):
Has joined the channel.

traviscox (Fri, 15 Dec 2017 16:51:03 GMT):
Has joined the channel.

joshuaherman (Sat, 16 Dec 2017 12:21:46 GMT):
Has joined the channel.

baohua (Thu, 21 Dec 2017 10:18:36 GMT):
@here Dear all, we will cancel the meeting tmr morning, have a nice holiday, thanks!

Cavan2477 (Tue, 26 Dec 2017 01:57:58 GMT):
Has joined the channel.

varuna82 (Wed, 27 Dec 2017 10:27:05 GMT):
Has joined the channel.

baohua (Thu, 28 Dec 2017 13:22:46 GMT):
@here Dear all, we will cancel the meeting tmr morning, have a nice holiday, thanks!

maxd001 (Wed, 03 Jan 2018 14:49:10 GMT):
Has joined the channel.

baohua (Thu, 04 Jan 2018 04:56:35 GMT):
@here Dear all, we will have meeting tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180105, thanks!

aashour (Thu, 04 Jan 2018 05:41:38 GMT):
Has joined the channel.

makh 3 (Thu, 04 Jan 2018 19:19:54 GMT):
Has joined the channel.

QwertyJack (Fri, 05 Jan 2018 01:32:22 GMT):
Has joined the channel.

QwertyJack (Fri, 05 Jan 2018 01:33:14 GMT):
Helo. myself a newbie. Any tutorial about python sdk?

QwertyJack (Fri, 05 Jan 2018 01:34:07 GMT):
额 我是不是说中文更方便。。。貌似大佬们都能看得懂

baohua (Fri, 05 Jan 2018 03:00:10 GMT):
code repo里面有些文档可以先看下 @QwertyJack :)

grapebaba (Fri, 05 Jan 2018 03:01:51 GMT):
:raised_hand:

baohua (Fri, 05 Jan 2018 03:01:58 GMT):
ok, will start meeting

baohua (Fri, 05 Jan 2018 03:02:04 GMT):
today's agenda is at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180105.

baohua (Fri, 05 Jan 2018 03:02:25 GMT):
Mostly, we've done `chaincode install, channel create, integration testing framework refinement`

baohua (Fri, 05 Jan 2018 03:02:43 GMT):
The active ongoing work is for chaincode instantiate/invoke

baohua (Fri, 05 Jan 2018 03:02:50 GMT):
how's going kai

grapebaba (Fri, 05 Jan 2018 03:03:19 GMT):
not ready

baohua (Fri, 05 Jan 2018 03:03:19 GMT):
@grapebaba busy with ur team, aha?

baohua (Fri, 05 Jan 2018 03:03:38 GMT):
hope everything goes well

grapebaba (Fri, 05 Jan 2018 03:03:48 GMT):
let me try next week

baohua (Fri, 05 Jan 2018 03:03:55 GMT):
ok, heard u will visit beijing?

grapebaba (Fri, 05 Jan 2018 03:04:02 GMT):
yeah

baohua (Fri, 05 Jan 2018 03:04:06 GMT):
when is the trip

grapebaba (Fri, 05 Jan 2018 03:04:32 GMT):
plan is 1.26

baohua (Fri, 05 Jan 2018 03:04:41 GMT):
stay for a weekend?

wangdong (Fri, 05 Jan 2018 03:05:06 GMT):
hi

grapebaba (Fri, 05 Jan 2018 03:05:06 GMT):
should be

baohua (Fri, 05 Jan 2018 03:05:08 GMT):
would look forward if u can help introduce the pysdk project in the meetup

grapebaba (Fri, 05 Jan 2018 03:05:27 GMT):
haha

baohua (Fri, 05 Jan 2018 03:05:32 GMT):
sdk is important part of operation, right

baohua (Fri, 05 Jan 2018 03:05:41 GMT):
@wangdong hi, how's going

wangdong (Fri, 05 Jan 2018 03:06:02 GMT):
emm, I am blocked by the msp error.

grapebaba (Fri, 05 Jan 2018 03:06:11 GMT):
let us communicate in wechat @baohua

baohua (Fri, 05 Jan 2018 03:06:17 GMT):
i still believe that python is the 1st choice in operational world

baohua (Fri, 05 Jan 2018 03:06:27 GMT):
@wangdong can u elaborate the problem

grapebaba (Fri, 05 Jan 2018 03:06:29 GMT):
:ok_hand:

baohua (Fri, 05 Jan 2018 03:06:40 GMT):
@grapebaba and i would like to see if can help

grapebaba (Fri, 05 Jan 2018 03:06:50 GMT):
I agree

grapebaba (Fri, 05 Jan 2018 03:07:03 GMT):
for operation python is good

baohua (Fri, 05 Jan 2018 03:07:06 GMT):
right now we are using generated msp path in the code, so what's the problem there?

wangdong (Fri, 05 Jan 2018 03:07:09 GMT):
MSP Org1MSP is unknown

wangdong (Fri, 05 Jan 2018 03:07:30 GMT):
actually I have never touch anything about the msp

wangdong (Fri, 05 Jan 2018 03:07:52 GMT):
It is user id related I think

baohua (Fri, 05 Jan 2018 03:07:54 GMT):
oh, are u using the same 1.0.0 code in fabric

baohua (Fri, 05 Jan 2018 03:08:13 GMT):
hmmm, i guess it might be format problem

baohua (Fri, 05 Jan 2018 03:08:41 GMT):
have u tried the e2e example in fabric 1.0.5?

wangdong (Fri, 05 Jan 2018 03:09:01 GMT):
not yet

baohua (Fri, 05 Jan 2018 03:09:23 GMT):
suggest u try it first. besides, are u in the software park today?

wangdong (Fri, 05 Jan 2018 03:10:35 GMT):
And I wonder if the channel part is enough for the later development of the chaincode operation. Like msp config and channel initialize are not finished? They will affect

wangdong (Fri, 05 Jan 2018 03:10:42 GMT):
No, I am in xi'an now

grapebaba (Fri, 05 Jan 2018 03:12:23 GMT):
I think it is enough @wangdong , let us discuss in wechat or JIRA

wangdong (Fri, 05 Jan 2018 03:12:36 GMT):
I have finished the test code. Error says the channel is not initialized. So I guess these parts will be important too.

wangdong (Fri, 05 Jan 2018 03:12:38 GMT):
OK

baohua (Fri, 05 Jan 2018 03:12:50 GMT):
the whole steps: 1. create a channel; 2. peer joined the channel; 3. peer install chaincode; 4. peer instantiate chaincode; 5. peer invoke chaincode

baohua (Fri, 05 Jan 2018 03:12:59 GMT):
every step can be done by cli or sdk

baohua (Fri, 05 Jan 2018 03:13:33 GMT):
as kai and i suggested, pls have a look at e2e example, and let's discuss offline :)

wangdong (Fri, 05 Jan 2018 03:13:58 GMT):
OK

baohua (Fri, 05 Jan 2018 03:14:09 GMT):
:golf:

baohua (Fri, 05 Jan 2018 03:14:30 GMT):
ok, any other issues to discuss? look forward we can solve the problem next week!

grapebaba (Fri, 05 Jan 2018 03:14:50 GMT):
may we can discuss with audio

baohua (Fri, 05 Jan 2018 03:15:19 GMT):
using zoom?

wangdong (Fri, 05 Jan 2018 03:15:24 GMT):
I am ok

baohua (Fri, 05 Jan 2018 03:15:37 GMT):
sure, let's try in next meeting?

baohua (Fri, 05 Jan 2018 03:16:04 GMT):
@grapebaba can u send an email to tracy to preserve the zoom timeslot for us?

grapebaba (Fri, 05 Jan 2018 03:16:45 GMT):
ok

wangdong (Fri, 05 Jan 2018 03:19:13 GMT):
So shall we call this an end ?

baohua (Fri, 05 Jan 2018 03:19:21 GMT):
ok, any more issue?

grapebaba (Fri, 05 Jan 2018 03:19:28 GMT):
no

wangdong (Fri, 05 Jan 2018 03:19:29 GMT):
no

baohua (Fri, 05 Jan 2018 03:19:33 GMT):
@wangdong ?

baohua (Fri, 05 Jan 2018 03:19:42 GMT):
what's ur meaning of an end?

wangdong (Fri, 05 Jan 2018 03:19:59 GMT):
I mean let's end this meeting :grinning:

baohua (Fri, 05 Jan 2018 03:20:02 GMT):
ahahaha

baohua (Fri, 05 Jan 2018 03:20:22 GMT):
sure, let's end @wangdong pls help add minutes in the wikipage and shared the link in the maillist

wangdong (Fri, 05 Jan 2018 03:20:29 GMT):
sure

baohua (Fri, 05 Jan 2018 03:20:30 GMT):
have a nice weekend!!

baohua (Fri, 05 Jan 2018 03:20:34 GMT):
:blossom:

grapebaba (Fri, 05 Jan 2018 03:20:36 GMT):
:clap:

wangdong (Fri, 05 Jan 2018 03:20:41 GMT):
have a nice weekend

tkuhrt (Fri, 05 Jan 2018 18:41:09 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=g3DmKwiKNQgRoqTfj) @grapebaba @baohua : I have updated the meeting on the community calendar to reflect Zoom dial in. Here is the information for these meetings (note: different than Technical WG China information) Join from PC, Mac, Linux, iOS or Android: https://zoom.us/j/436349839 Or iPhone one-tap : US: +16699006833,,436349839# or +16465588656,,436349839# Or Telephone: Dial(for higher quality, dial a number based on your current location): US: +1 669 900 6833 or +1 646 558 8656 or +1 877 369 0926 (Toll Free) or +1 855 880 1246 (Toll Free) Meeting ID: 436 349 839 International numbers available: https://zoom.us/zoomconference?m=7bw9KJodkWOX_M-sbgW_wmzz3by0jC5x

baohua (Sat, 06 Jan 2018 06:46:47 GMT):
thanks, tracy!

grapebaba (Sat, 06 Jan 2018 16:11:06 GMT):
:thumbsup:

QwertyJack (Mon, 08 Jan 2018 09:30:06 GMT):
It seems there is no docker composer config file in the repo.

baohua (Tue, 09 Jan 2018 03:04:37 GMT):
@QwertyJack what composer config file are u looking for?

QwertyJack (Tue, 09 Jan 2018 05:02:04 GMT):
In https://github.com/hyperledger/fabric-sdk-py readme says `docker-compose up -d` to start a testing cluster

QwertyJack (Tue, 09 Jan 2018 05:02:04 GMT):
In https://github.com/hyperledger/fabric-sdk-py readme says `docker-compose up -d` starts a testing cluster.

baohua (Tue, 09 Jan 2018 16:17:19 GMT):
@QwertyJack oh, this paragraph is out-of-dated, would u like to help remove with a patchset?

cchalc (Tue, 09 Jan 2018 20:45:22 GMT):
Has joined the channel.

QwertyJack (Wed, 10 Jan 2018 13:23:35 GMT):
ok

baohua (Thu, 11 Jan 2018 02:08:32 GMT):
Hi, we will cancel meeting this week, pls help discuss offline, thanks! @here

newlife 1 (Fri, 12 Jan 2018 08:35:11 GMT):
Has joined the channel.

vieiramanoel (Sun, 14 Jan 2018 22:36:07 GMT):
Has joined the channel.

vieiramanoel (Sun, 14 Jan 2018 22:36:36 GMT):
Hey guys!

vieiramanoel (Sun, 14 Jan 2018 22:37:07 GMT):
I'm a great fan of python so i'm really excited with this sdk :)

vieiramanoel (Sun, 14 Jan 2018 22:37:12 GMT):
nice job, congrats

vieiramanoel (Sun, 14 Jan 2018 22:37:37 GMT):
by now, can we register/enroll on a fabric-ca through sdk?

mr-ubik (Mon, 15 Jan 2018 00:51:49 GMT):
Has joined the channel.

baohua (Mon, 15 Jan 2018 04:00:09 GMT):
@vieiramanoel welcome! would u like to see some sample code at https://github.com/hyperledger/fabric-sdk-py/blob/master/test/integration/ca_test.py, and welcome to help report any bug u found.

baohua (Mon, 15 Jan 2018 04:00:33 GMT):
feel free to contribute fix, too: https://github.com/hyperledger/fabric-sdk-py/blob/master/CONTRIBUTING.md

vieiramanoel (Mon, 15 Jan 2018 04:31:42 GMT):
@baohua thnks! I'll test it, any contribution that I can make I'll for sure

vieiramanoel (Mon, 15 Jan 2018 15:18:22 GMT):
@baohua I saw a __init__ inside a module folder, is sdk compatible with python3?

vieiramanoel (Mon, 15 Jan 2018 17:55:08 GMT):
At CAClient construction, i've tried some ways to pass my ca-cert.pem but idk what format are ca_certs_path is waiting

vieiramanoel (Mon, 15 Jan 2018 17:58:18 GMT):
`self.ca_client = CAClient("https://admin:adminpw@ca.goledger.com:7054", ca_certs_path='ca-cert.pem')`

vieiramanoel (Mon, 15 Jan 2018 17:58:40 GMT):
considering that ca-cert.pem is in the same folder that script

vieiramanoel (Mon, 15 Jan 2018 18:02:25 GMT):
i tried absolute path as well

vieiramanoel (Mon, 15 Jan 2018 18:04:00 GMT):
in both cases i get this error

vieiramanoel (Mon, 15 Jan 2018 18:04:00 GMT):
in both cases i get this error when `self.ca_client.get_cainfo()`

vieiramanoel (Mon, 15 Jan 2018 18:04:05 GMT):
```requests.exceptions.SSLError: HTTPSConnectionPool(host='ca.goledger.com', port=7054): Max retries exceeded with url: /api/v1/cainfo (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)'),))```

vieiramanoel (Mon, 15 Jan 2018 18:28:59 GMT):
from `fabric-ca-client` command line I'm able to do this operations

vieiramanoel (Mon, 15 Jan 2018 19:43:49 GMT):
I verified that `get_cainfo()` doesn't implements tls-enabled case, I tried to repeat process made in enroll method to pass ca-cert.pem as verify argument. I got this error then:

vieiramanoel (Mon, 15 Jan 2018 19:43:49 GMT):
I verified that `get_cainfo()` doesn't implements tls-enabled case, I tried to repeat process made in enroll method to pass ca-cert.pem as verify argument. I got this error then: ```requests.exceptions.SSLError: HTTPSConnectionPool(host='ca.goledger.com', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLError(1, '[SSL: BAD_ECC_CERT] bad ecc cert (_ssl.c:645)'),))``` Believing that was a mistake of mine trying to fix the bug, I tried then to enroll admin user, once again same error as above shows up

vieiramanoel (Mon, 15 Jan 2018 19:43:49 GMT):
I verified that `get_cainfo()` doesn't implement tls-enabled case, I tried to repeat process made in enroll method to pass ca-cert.pem as verify argument. I got this error then: ```requests.exceptions.SSLError: HTTPSConnectionPool(host='ca.goledger.com', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLError(1, '[SSL: BAD_ECC_CERT] bad ecc cert (_ssl.c:645)'),))``` Believing that was a mistake of mine trying to fix the bug, I tried then to enroll admin user, once again same error as above shows up

baohua (Tue, 16 Jan 2018 01:56:11 GMT):
yes, there is problem with the tls support now. would u like to create a jira task and help fix the problem? @vieiramanoel

vieiramanoel (Tue, 16 Jan 2018 02:28:57 GMT):
@baohua yes, it will be great!

vieiramanoel (Tue, 16 Jan 2018 02:29:28 GMT):
I don't have a jyra account, can you help me with this?

baohua (Tue, 16 Jan 2018 02:50:35 GMT):
aha, jira, gerrit, all use ur LF ID: https://identity.linuxfoundation.org/

baohua (Tue, 16 Jan 2018 02:50:47 GMT):
feel free to pick one if u wanna join the hyperledger community!

baohua (Tue, 16 Jan 2018 02:50:47 GMT):
feel free to pick one if u wanna join and play inside the hyperledger community!

vieiramanoel (Tue, 16 Jan 2018 03:07:15 GMT):
https://jira.hyperledger.org/browse/FAB-7743 done!

wangdong (Tue, 16 Jan 2018 15:09:36 GMT):
https://wiki.hyperledger.org/projects/fabric-sdk-py

wangdong (Tue, 16 Jan 2018 15:09:58 GMT):
https://gerrit.hyperledger.org/r/16865

wangdong (Tue, 16 Jan 2018 15:10:07 GMT):
please help reveiw

wangdong (Tue, 16 Jan 2018 15:11:30 GMT):
It is a bug from my last patch. MSP unknown bug. And join channel can work.

lucasdf (Tue, 16 Jan 2018 15:41:11 GMT):
Has joined the channel.

vieiramanoel (Tue, 16 Jan 2018 17:27:18 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=HgZTCjhhnGZRBgFMG) @baohua is a huge problem not using requests library? I can make a post using curl and sending same certfile set in verify and that works

vieiramanoel (Tue, 16 Jan 2018 17:28:11 GMT):
@baohua is a huge problem not using requests library? I can make a post using curl and sending same certfile set in verify and that works

baohua (Wed, 17 Jan 2018 00:43:16 GMT):
aha, if u can make it works with `curl`, then the grammar is very similar with the `request` lib. it's python, very human readable: http://docs.python-requests.org/

baohua (Wed, 17 Jan 2018 01:13:38 GMT):
@wangdong thanks for the work, and seems ci failed: https://gerrit.hyperledger.org/r/#/c/16865/

baohua (Wed, 17 Jan 2018 01:27:22 GMT):
seems we can change `print sth` to `print(sth)`: https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/294/console

vieiramanoel (Wed, 17 Jan 2018 02:37:21 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=TsNNh7NxJAiin5BmN) @baohua the problem is when `requests.post(url, cacert)`

vieiramanoel (Wed, 17 Jan 2018 02:37:57 GMT):
Ssl Lib throws a error, but we are studying it yet. Our goal is to make it work with requests

vieiramanoel (Wed, 17 Jan 2018 02:39:39 GMT):
Apparently the problem is with self-signed certificate

vieiramanoel (Wed, 17 Jan 2018 02:40:14 GMT):
Which doesn't belongs to certifi ssl certs list

vieiramanoel (Wed, 17 Jan 2018 02:42:58 GMT):
verify=False doesn't work too

wangdong (Wed, 17 Jan 2018 11:06:43 GMT):
So should building environment in the CI be changed?

wangdong (Wed, 17 Jan 2018 11:06:43 GMT):
I have updated it. It seems something wrong with the environment. I have saw the error.

wangdong (Wed, 17 Jan 2018 11:06:45 GMT):
test/integration/chaincode_install_test.py ERROR: InvocationError: '/w/workspace/fabric-sdk-py-verify-x86_64/.tox/pylint/bin/py.test --cov=hfc test' 08:28:14 ___________________________________ summary ____________________________________ 08:28:14 ERROR: pylint: commands failed 08:28:14 Makefile:19: recipe for target 'tox.pylint' failed 08:28:14 make[1]: *** [tox.pylint] Error 1 08:28:14 make[1]: Leaving directory '/w/workspace/fabric-sdk-py-verify-x86_64' 08:28:14 Makefile:5: recipe for target 'check' failed 08:28:14 make: *** [check] Error 2

wangdong (Wed, 17 Jan 2018 11:07:19 GMT):
I have a quick glance. and have no idea what is going on.

wangdong (Wed, 17 Jan 2018 11:07:33 GMT):
But it works fine in my Mac.

baohua (Wed, 17 Jan 2018 14:36:25 GMT):
it's because the version of python to use. we should take python3.

vieiramanoel (Wed, 17 Jan 2018 18:26:51 GMT):
https://github.com/requests/requests/issues/4477

vieiramanoel (Wed, 17 Jan 2018 19:24:24 GMT):
@baohua according to [sigmavirus24](https://github.com/sigmavirus24) the requests owner on this [issue](https://github.com/requests/requests/issues/4477#issuecomment-358411993) they can't handle it _magically_ as cURL does. In fact there's some verify errors when your try to connect to fabric-ca through openssl command-line interface

vieiramanoel (Wed, 17 Jan 2018 19:36:21 GMT):
I'll try to get better informations about this in ca channel with smithbk

smithbk (Wed, 17 Jan 2018 20:09:02 GMT):
Has joined the channel.

vieiramanoel (Wed, 17 Jan 2018 21:32:23 GMT):
@baohua I had a hangouts with smithbk from #fabric-ca and him recommended use another lib that doesn't use openssl for tls communication, pycurl apparently does use openssl but it doesn't throw an error about bad_ecc_cert. This occurs cuz the fabric-ca isn't designed to communicate with openssl

vieiramanoel (Wed, 17 Jan 2018 21:32:23 GMT):
@baohua I had a hangouts with smithbk from #fabric-ca and he recommended use another lib that doesn't use openssl for tls communication, pycurl apparently does use openssl but it doesn't throw an error about bad_ecc_cert. This occurs cuz the fabric-ca isn't designed to communicate with openssl

baohua (Thu, 18 Jan 2018 01:14:32 GMT):
@vieiramanoel thanks, and would u like to create a jira issue to report the whole issue context, let's discuss and decide what action we need to take. thanks!

wangdong (Thu, 18 Jan 2018 02:19:07 GMT):
Should the building environment of CI be changed?

vieiramanoel (Thu, 18 Jan 2018 04:11:26 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=FJ3kZBZjTMxZfXPjN) @baohua do I continue explaining what we found out here and we discuss it or open a new issue?

baohua (Thu, 18 Jan 2018 05:15:01 GMT):
thanks, let's discuss there

baohua (Thu, 18 Jan 2018 05:18:55 GMT):
@grapebaba

vieiramanoel (Thu, 18 Jan 2018 05:20:30 GMT):
I'll comment all the path that I followed and informations that I gathered about it

vieiramanoel (Thu, 18 Jan 2018 05:31:01 GMT):
done

baohua (Thu, 18 Jan 2018 05:47:31 GMT):
thanks for the report, we will discuss the issue in tmr meeting.

baohua (Thu, 18 Jan 2018 05:47:35 GMT):
@here Dear all, we will have meeting tmr morning, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180119, notice we are using a new zoom system, thanks!

vieiramanoel (Thu, 18 Jan 2018 05:56:22 GMT):
I'm still confused about timezones, but I guess I put on my gCalendar the right time haha

vieiramanoel (Thu, 18 Jan 2018 05:56:44 GMT):
We're are far distant in fact

baohua (Thu, 18 Jan 2018 06:17:58 GMT):
it's 3AM UTC on Jan 19 :)

baohua (Thu, 18 Jan 2018 06:18:13 GMT):
we use both zoom and this rktchat channel for discussions

david_dornseifer (Thu, 18 Jan 2018 08:16:40 GMT):
might be a little bit too early for me - I'm in germany right now

baohua (Thu, 18 Jan 2018 08:20:34 GMT):
@david_dornseifer are u staying in german permanently?

david_dornseifer (Thu, 18 Jan 2018 08:21:00 GMT):
yes

baohua (Thu, 18 Jan 2018 08:44:47 GMT):
what's the timezone there?

david_dornseifer (Thu, 18 Jan 2018 11:24:01 GMT):
UTC +1

baohua (Thu, 18 Jan 2018 12:18:27 GMT):
got it, david, maybe we should move the meeting to a new time. which is good to u? most other people are at UTC+8.

grapebaba (Thu, 18 Jan 2018 14:36:08 GMT):
@vieiramanoel i checked code and tested, two problem.

grapebaba (Thu, 18 Jan 2018 14:36:51 GMT):
first, the cert file and key file in python SDK is indeed not ECC, I will change it

grapebaba (Thu, 18 Jan 2018 14:37:23 GMT):
second, enroll method works fine with tls enabled

grapebaba (Thu, 18 Jan 2018 14:37:50 GMT):
get ca info method indeed missing ca_cert path arg

grapebaba (Thu, 18 Jan 2018 14:37:58 GMT):
i will change it too

grapebaba (Thu, 18 Jan 2018 14:40:46 GMT):
note you must use your python with new ssl version

grapebaba (Thu, 18 Jan 2018 14:40:46 GMT):
note you must use your python with new openssl version

vieiramanoel (Thu, 18 Jan 2018 17:57:50 GMT):
@grapebaba i updated my openssl to latest version, tried again and got same error

vieiramanoel (Thu, 18 Jan 2018 17:58:10 GMT):
i have acess to my cloud CA, how do I get the ecc certfile?

vieiramanoel (Thu, 18 Jan 2018 17:58:10 GMT):
i have acess to my cloud CA, how do I get the ecc certfile?

grapebaba (Fri, 19 Jan 2018 01:43:28 GMT):
how do you deploy fabric network?

grapebaba (Fri, 19 Jan 2018 01:44:00 GMT):
use fabric sample or not?

baohua (Fri, 19 Jan 2018 02:54:41 GMT):
fabric sample is a good reference, we can use it or write our own script, btw we can discuss more in the meeting later, would u like to add a agenda item? @grapebaba https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180119

baohua (Fri, 19 Jan 2018 03:00:14 GMT):
meeting: https://zoom.us/j/248676399?pwd=&status=success

baohua (Fri, 19 Jan 2018 03:22:56 GMT):
https://github.com/CognitionFoundry/gohfc

vincent3088 (Fri, 19 Jan 2018 09:16:56 GMT):
Has joined the channel.

baohua (Fri, 19 Jan 2018 15:49:47 GMT):
https://gerrit.hyperledger.org/r/#/c/16997/

vieiramanoel (Fri, 19 Jan 2018 17:40:27 GMT):
srry i wasn't in the meeting, was a bit late here and I fell aslepp

vieiramanoel (Fri, 19 Jan 2018 17:41:09 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=hA46vPEeFpBHp58iJ) @grapebaba I use the sample as model, changed just the hostnames, orgvariables etc to fit in our project

vieiramanoel (Fri, 19 Jan 2018 17:41:54 GMT):
at fabric-samples it uses the `ca-cert.pem` generated at server init to make tls operations between client and server

vieiramanoel (Fri, 19 Jan 2018 17:42:10 GMT):
I'd like to use this cert file to make operation

vieiramanoel (Fri, 19 Jan 2018 17:42:10 GMT):
I'd like to use this cert file to make operations

wangdong (Fri, 19 Jan 2018 22:58:45 GMT):
@baohua some comments for your patch. Please check it.

baohua (Sat, 20 Jan 2018 00:55:35 GMT):
@vieiramanoel which timezone are u in?

baohua (Sat, 20 Jan 2018 01:19:47 GMT):
@wangdong https://gerrit.hyperledger.org/r/#/c/16997/

wangdong (Sat, 20 Jan 2018 08:45:33 GMT):
@baohua comments again.

baohua (Sat, 20 Jan 2018 12:57:14 GMT):
answered, thanks

baohua (Sat, 20 Jan 2018 13:54:54 GMT):
welcome to help review: https://gerrit.hyperledger.org/r/16997

vieiramanoel (Sat, 20 Jan 2018 16:25:40 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=BXu7EACw6QgvjchNQ) @baohua utc-2

baohua (Sun, 21 Jan 2018 03:41:18 GMT):
So now we have developers from utc -2, +1, +8, let’s find a better time slot for the meeting. @grapebaba @david_dornseifer @vieiramanoel

baohua (Mon, 22 Jan 2018 14:46:34 GMT):
https://gerrit.hyperledger.org/r/#/c/17049/, welcome to help review

wangdong (Mon, 22 Jan 2018 14:47:58 GMT):
got it

wangdong (Mon, 22 Jan 2018 14:49:01 GMT):
https://gerrit.hyperledger.org/r/16865 please help review

baohua (Tue, 23 Jan 2018 07:24:08 GMT):
https://gerrit.hyperledger.org/r/#/c/16865/

grapebaba (Wed, 24 Jan 2018 03:23:56 GMT):
https://gerrit.hyperledger.org/r/#/c/17049/ @baohua need rebase

baohua (Wed, 24 Jan 2018 03:24:52 GMT):
sure, will fix later

grapebaba (Wed, 24 Jan 2018 03:27:18 GMT):
https://gerrit.hyperledger.org/r/#/c/16945/ please help review

bipinu (Wed, 24 Jan 2018 12:00:19 GMT):
Has joined the channel.

baohua (Wed, 24 Jan 2018 14:27:33 GMT):
@grapebaba @wangdong https://gerrit.hyperledger.org/r/#/c/17049/

baohua (Thu, 25 Jan 2018 06:21:05 GMT):
https://gerrit.hyperledger.org/r/#/c/16945/

baohua (Thu, 25 Jan 2018 06:21:28 GMT):
https://gerrit.hyperledger.org/r/#/c/17049/

baohua (Thu, 25 Jan 2018 06:21:31 GMT):
welcome to help review

baohua (Thu, 25 Jan 2018 06:23:00 GMT):
@here Dear all, we will cancel tmr meeting, welcome everyone to help review the existing patchsets. thanks!

wangdong (Fri, 26 Jan 2018 07:19:22 GMT):
I got a problem. When I try to make a channel to join the peer. And it randomly gets the genesis block. Sometime it can get the genesis block, sometimes it can't. I have set up a timeout after the creation of the channel. But it does not improve. And I can make sure the channel is created successfully.

david_dornseifer (Sat, 27 Jan 2018 10:19:22 GMT):
https://gerrit.hyperledger.org/r/#/c/17265/

david_dornseifer (Sat, 27 Jan 2018 10:33:45 GMT):
https://gerrit.hyperledger.org/r/17267

baohua (Sun, 28 Jan 2018 01:44:06 GMT):
+2!

baohua (Sun, 28 Jan 2018 01:44:59 GMT):
@wangdong strange, can u test with the peer cli? maybe we can add some retry

baohua (Sun, 28 Jan 2018 02:06:53 GMT):
@david_dornseifer @vieiramanoel hi, what's the free time slots for u guys? now we have developers from utc -2, +1, +8, let’s find a better time slot for the meeting. seems morning time for -2/+1, and evening time for +8 may work

baohua (Sun, 28 Jan 2018 02:06:57 GMT):
@grapebaba

wangdong (Sun, 28 Jan 2018 03:12:27 GMT):
I have solved that. I add a timeout in the right place.@baohua

baohua (Sun, 28 Jan 2018 04:10:51 GMT):
cool~~

wangdong (Sun, 28 Jan 2018 10:19:38 GMT):
I got another error when I try to deploy the chaincode. I am not sure where is this come from. *StatusCode.UNKNOWN, Transaction returned with failure: Incorrect number of arguments. Expecting 4*

wangdong (Sun, 28 Jan 2018 10:20:11 GMT):
Because even I delete the chaincode, it will raise again.

baohua (Sun, 28 Jan 2018 10:30:41 GMT):
@wangdong according to the error, there should be 4 arguments for the chaincode deployment. i guess u can check the deployment parameters.

yingmsky (Mon, 29 Jan 2018 02:03:10 GMT):
Has joined the channel.

baohua (Tue, 30 Jan 2018 01:47:44 GMT):
https://gerrit.hyperledger.org/r/#/c/17265/

wangdong (Tue, 30 Jan 2018 01:54:51 GMT):
@yes, I can see this. Let me check again.

wangdong (Tue, 30 Jan 2018 01:55:23 GMT):
@baohua yes, I can see this. I will check again

baohua (Tue, 30 Jan 2018 01:56:39 GMT):
cool~

vieiramanoel (Tue, 30 Jan 2018 02:45:45 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=hbeNz6gFXGC7S5hS5) @baohua even at night until 2a.m is ok to me, later than that I can't keep me awake haha

baohua (Tue, 30 Jan 2018 02:46:18 GMT):
got, u're at UTC-2, right?

baohua (Tue, 30 Jan 2018 07:24:17 GMT):
@grapebaba @wangdong do u think we should utilize the cfg profile: https://fabric-sdk-node.github.io/tutorial-network-config.html?

sashico (Tue, 30 Jan 2018 14:33:20 GMT):
Has joined the channel.

wangdong (Tue, 30 Jan 2018 15:03:45 GMT):
I think it is good.

vieiramanoel (Tue, 30 Jan 2018 16:30:19 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=SeRLotoMisbZH3Zak) @baohua right!

baohua (Wed, 31 Jan 2018 03:30:25 GMT):
@vieiramanoel @david_dornseifer how about we change the meeting to 13:00 UTC every Friday? Hope that is suitable for u guys.

vieiramanoel (Wed, 31 Jan 2018 12:43:03 GMT):
That's ok to me!

david_dornseifer (Wed, 31 Jan 2018 15:52:51 GMT):
works for me :)

baohua (Thu, 01 Feb 2018 01:41:21 GMT):
great! will update zoom slot to that time @grapebaba @wangdong

wangdong (Thu, 01 Feb 2018 02:42:01 GMT):
ok

baohua (Thu, 01 Feb 2018 06:37:16 GMT):
@here Dear all, we will have meeting at 9PM (UTC+8) tmr evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180202, notice that we are using a new zoom system, thanks!

vieiramanoel (Thu, 01 Feb 2018 21:41:51 GMT):
done!

baohua (Fri, 02 Feb 2018 13:06:48 GMT):
https://github.com/CognitionFoundry/gohfc

david_dornseifer (Fri, 02 Feb 2018 13:08:17 GMT):
hi

baohua (Fri, 02 Feb 2018 13:13:39 GMT):
https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 02 Feb 2018 13:17:52 GMT):
@david_dornseifer on meeting: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180202

vieiramanoel (Fri, 02 Feb 2018 13:19:48 GMT):
@baohua i'm downloading zoom, for some reason is not working on my browser, i'll check later

vieiramanoel (Fri, 02 Feb 2018 13:19:48 GMT):
@baohua i'm downloading zoom, for some reason is not working on my browser, i'll check it later

baohua (Fri, 02 Feb 2018 13:20:04 GMT):
sure, still in discussion

david_dornseifer (Fri, 02 Feb 2018 13:20:04 GMT):
no zoom for me today - have to use the chat

baohua (Fri, 02 Feb 2018 13:21:08 GMT):
pity, @david_dornseifer we are switching to zoom, which is more efficient in sharing screen to debug problems

baohua (Fri, 02 Feb 2018 13:24:48 GMT):
tox -e py30 -- test/integration/ca_test.py

baohua (Fri, 02 Feb 2018 13:30:37 GMT):
@vieiramanoel can u hear me at zoom?

vieiramanoel (Fri, 02 Feb 2018 13:30:45 GMT):
nope

baohua (Fri, 02 Feb 2018 13:31:02 GMT):
strange,

baohua (Fri, 02 Feb 2018 13:31:10 GMT):
are u using earphone?

vieiramanoel (Fri, 02 Feb 2018 13:31:11 GMT):
now I can

baohua (Fri, 02 Feb 2018 13:33:48 GMT):
:)

rake66 (Fri, 02 Feb 2018 13:35:02 GMT):
Has joined the channel.

rake66 (Fri, 02 Feb 2018 13:35:45 GMT):
yeasy? is that you?

baohua (Fri, 02 Feb 2018 13:35:56 GMT):
python

rake66 (Fri, 02 Feb 2018 13:36:21 GMT):
man, I love your github, it's been great help

rake66 (Fri, 02 Feb 2018 13:36:24 GMT):
thanks a lot

baohua (Fri, 02 Feb 2018 13:41:14 GMT):
welcome~

baohua (Fri, 02 Feb 2018 13:43:47 GMT):
nice discussion, meeting ends, have a nice weekend!

grapebaba (Fri, 02 Feb 2018 13:43:51 GMT):
:thumbsup:

grapebaba (Fri, 02 Feb 2018 13:44:27 GMT):
@wangdong 开个bug吧

grapebaba (Fri, 02 Feb 2018 13:44:27 GMT):
@wangdong Open a bug in JIRA

baohua (Fri, 02 Feb 2018 13:44:42 GMT):
@grapebaba should use English here

grapebaba (Fri, 02 Feb 2018 13:44:43 GMT):
我下周找时间看看

grapebaba (Fri, 02 Feb 2018 13:44:43 GMT):
I wil help check next week

grapebaba (Fri, 02 Feb 2018 13:44:59 GMT):
:sweat_smile:

baohua (Fri, 02 Feb 2018 13:45:13 GMT):
you can modify the msg

wangdong (Fri, 02 Feb 2018 13:45:15 GMT):
OK, I will @grapebaba

wangdong (Fri, 02 Feb 2018 13:46:10 GMT):
I will have a look at this then

grapebaba (Fri, 02 Feb 2018 13:46:32 GMT):
Cool

wangdong (Fri, 02 Feb 2018 13:47:07 GMT):
one more question for the chaincode in the peer

wangdong (Fri, 02 Feb 2018 13:47:19 GMT):
Is it tar.gz file?

wangdong (Fri, 02 Feb 2018 13:47:48 GMT):
example_cc.v1

wangdong (Fri, 02 Feb 2018 13:47:50 GMT):
this one

wangdong (Fri, 02 Feb 2018 13:48:08 GMT):
@grapebaba

grapebaba (Fri, 02 Feb 2018 13:48:57 GMT):
i am not sure

grapebaba (Fri, 02 Feb 2018 13:49:15 GMT):
Can you copy it outside and check?

wangdong (Fri, 02 Feb 2018 13:50:07 GMT):
it is not

wangdong (Fri, 02 Feb 2018 13:50:27 GMT):
I ask it in the rocketchat

baohua (Fri, 02 Feb 2018 14:49:04 GMT):
no, it's similar as a tar format

baohua (Fri, 02 Feb 2018 14:49:27 GMT):
https://gerrit.hyperledger.org/r/#/c/17475/

baohua (Fri, 02 Feb 2018 14:53:03 GMT):
@wangdong see https://github.com/yeasy/fabric/blob/bb2bd7de22c80a61ba0ef66b89a42587991c9e94/core/chaincode/platforms/golang/platform.go#L426

cuijianlong (Fri, 02 Feb 2018 15:12:27 GMT):
Has joined the channel.

vieiramanoel (Fri, 02 Feb 2018 17:50:34 GMT):
@grapebaba I saw you added _ca_cert_path to verify, i'd already tried that and still I got verify failed both from openssl and requests

vieiramanoel (Fri, 02 Feb 2018 17:50:34 GMT):
@grapebaba I saw you added `_ca_cert_path` to verify at getcacert, i'd already tried that and still I got verify failed both from openssl and requests

vieiramanoel (Fri, 02 Feb 2018 17:51:13 GMT):
which fabric-ca cert did you use to test it?

vieiramanoel (Fri, 02 Feb 2018 17:51:24 GMT):
the ca-root cert?

vieiramanoel (Fri, 02 Feb 2018 17:51:39 GMT):
neither tls-cert or ca-cert worked for me

vieiramanoel (Fri, 02 Feb 2018 17:55:26 GMT):
Another thing that I figured out was that the response of CA-server for /api/v1/cainfo for requests method is the authorization hash itself not the CaChain

vieiramanoel (Fri, 02 Feb 2018 17:56:07 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=TojZqt7wWT9FRJfEY) If you use `fabric-ca-client getcacerts url` you'll see the difference between the server response

tkuhrt (Fri, 02 Feb 2018 22:05:55 GMT):
I placed this mornings meeting recording within the Fabric folder of of Hyperledger Community drive: https://drive.google.com/open?id=15w14LqjdgREkCabSzWfsgZpj4BPypa9a. Please note that I set up a separate Zoom ID for Fabric SDK PY meetings - https://zoom.us/j/137692502. I updated the Wiki to reflect this. I will be setting up a new ID for TWCG meetings using a new Zoom account that we are dedicating to Hyperledger Community meetings.

tkuhrt (Fri, 02 Feb 2018 22:05:55 GMT):
I placed this mornings meeting recording within the Fabric folder of of Hyperledger Community drive: https://drive.google.com/open?id=15w14LqjdgREkCabSzWfsgZpj4BPypa9a. Please note that I set up a separate Zoom ID for Fabric SDK PY meetings - https://zoom.us/j/137692502. I will be setting up a new ID for TWCG meetings using a new Zoom account that we are dedicating to Hyperledger Community meetings.

baohua (Sun, 04 Feb 2018 13:54:24 GMT):
@vieiramanoel @david_dornseifer @grapebaba pls help review https://gerrit.hyperledger.org/r/#/c/17475/

wangdong (Sun, 04 Feb 2018 15:39:38 GMT):
The problems has been addressed.

wangdong (Sun, 04 Feb 2018 15:40:00 GMT):
The chaincode container is not removed after the test.

wangdong (Sun, 04 Feb 2018 15:40:00 GMT):
The chaincode image is not removed after the test.

wangdong (Sun, 04 Feb 2018 15:40:40 GMT):
So everytime as long as the the same version chaincode is test, the same chain code container will be used.

wangdong (Sun, 04 Feb 2018 15:40:40 GMT):
So everytime as long as the the same version chaincode is test, the same chain code container will be started.

wangdong (Sun, 04 Feb 2018 15:41:08 GMT):
@baohua please help to remove the chaincode container.

wangdong (Sun, 04 Feb 2018 15:41:08 GMT):
@baohua please help to remove the chaincode image.

baohua (Mon, 05 Feb 2018 01:42:22 GMT):
will make clean work? @wangdong

baohua (Mon, 05 Feb 2018 01:42:22 GMT):
will `make clean` work? @wangdong

wangdong (Mon, 05 Feb 2018 04:59:39 GMT):
no, each version chaincode will create a responding image, and a container.

wangdong (Mon, 05 Feb 2018 04:59:54 GMT):
And the image will not be remove after the test

wangdong (Mon, 05 Feb 2018 05:00:42 GMT):
that' why once's the chaincode installed, the same error will happen even I changed it.

wangdong (Mon, 05 Feb 2018 05:01:06 GMT):
I think the chaincode image should be remove after the test

wangdong (Mon, 05 Feb 2018 05:01:14 GMT):
@baohua

baohua (Mon, 05 Feb 2018 05:01:50 GMT):
yes, i agree

baohua (Mon, 05 Feb 2018 05:02:27 GMT):
but for the integration testing, it should only be running once

baohua (Mon, 05 Feb 2018 05:02:45 GMT):
to including the full lifecycle operations on channel/chaincode

baohua (Mon, 05 Feb 2018 05:03:12 GMT):
so it should be OK even we do not remove manually?

vieiramanoel (Mon, 05 Feb 2018 05:12:38 GMT):
Byfn should'nt be ok as a fabric network to use python sdk? Better than putting a script on sdk must be just refer to byfn page I think

wangdong (Mon, 05 Feb 2018 05:13:29 GMT):
byfn is using node sdk now

vieiramanoel (Mon, 05 Feb 2018 05:14:45 GMT):
Oh you're right, the chaincode is installed and everything

vieiramanoel (Mon, 05 Feb 2018 05:15:33 GMT):
I always used the step-by-step to bring network up

vieiramanoel (Mon, 05 Feb 2018 05:16:01 GMT):
There's a wiki? I can write this.

vieiramanoel (Mon, 05 Feb 2018 05:16:31 GMT):
Just until the part before joining the channel right?

vieiramanoel (Mon, 05 Feb 2018 05:16:31 GMT):
Just until the part before joining the channel, right?

wangdong (Mon, 05 Feb 2018 05:17:03 GMT):
what kind of wiki you mean??

wangdong (Mon, 05 Feb 2018 05:17:19 GMT):
use py-sdk in byfn?

wangdong (Mon, 05 Feb 2018 05:18:24 GMT):
wiki for BYFN?

vieiramanoel (Mon, 05 Feb 2018 05:18:28 GMT):
The read the docs page, can I just upload a page to there? "Bringing network up with python-sdk"

wangdong (Mon, 05 Feb 2018 05:18:56 GMT):
Of course, it sounds great

vieiramanoel (Mon, 05 Feb 2018 05:19:28 GMT):
Ok! By the morning/afternoon I should check that

wangdong (Mon, 05 Feb 2018 05:20:44 GMT):
I just finished the deploy chaincode, then the invoke and query. Then the fundamental will be done. Hope more and more people will get attention to the py-sdk.

wangdong (Mon, 05 Feb 2018 05:21:36 GMT):
The patch will be pushed soon.

vieiramanoel (Mon, 05 Feb 2018 05:21:53 GMT):
Where do we'd put the docker-compose files?

vieiramanoel (Mon, 05 Feb 2018 05:22:18 GMT):
Doesn't make sense put on sdk code in my opinion

vieiramanoel (Mon, 05 Feb 2018 05:23:15 GMT):
When writing the wiki should refer to byfn folder? What's the better way to do that? Help to figure it out

vieiramanoel (Mon, 05 Feb 2018 05:23:15 GMT):
When writing the wiki, should I refer to byfn folder? What's the better way to do that? Help to figure it out

wangdong (Mon, 05 Feb 2018 05:29:21 GMT):
I think we can do this under py-sdk. maybe a new item under py-sdk. byfn-py? we can make this done and then to see if necessary to combine py and node into byfn. anyway if please go ahead to do this.

wangdong (Mon, 05 Feb 2018 05:30:28 GMT):
@baohua so this behavior is not unexpected?

vieiramanoel (Mon, 05 Feb 2018 05:32:15 GMT):
If you say so I'll submit the page along with the necessary files to run the sample

wangdong (Mon, 05 Feb 2018 05:33:27 GMT):
@baohua But I do not think this is good enough. Because whenever some one runs the test cases there will some unwanted container images in this machine. This is not good. We should at least to remove this kind images at test stage.

wangdong (Mon, 05 Feb 2018 05:35:01 GMT):
@vieiramanoel emm, btw, please open a new item in jira to describe your idea in details. After you finish people will review it.

vieiramanoel (Mon, 05 Feb 2018 05:36:01 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=mLmpFxrZ4ogbCow9M) @wangdong ok!

baohua (Mon, 05 Feb 2018 05:42:36 GMT):
@wangdong i agree!

baohua (Mon, 05 Feb 2018 05:43:27 GMT):
i have used this command to clean the chaincode images, FYI. "docker rmi -f $(docker images |grep 'dev-peer'|awk '{print $3}')".

baohua (Mon, 05 Feb 2018 05:43:47 GMT):
when they are using the default dev net, all images names are started with dev-peer

baohua (Mon, 05 Feb 2018 05:47:25 GMT):
@wangdong look forward to seeing ur pr :)

vieiramanoel (Mon, 05 Feb 2018 05:48:06 GMT):
I think is independent of the net, @baohua. Our composer's chaincode start a dev-peer-* image too

vieiramanoel (Mon, 05 Feb 2018 05:48:06 GMT):
I think is independent of the net, @baohua Our composer's chaincode start a dev-peer-* image too

vieiramanoel (Mon, 05 Feb 2018 05:48:06 GMT):
I think is independent of the net, @baohua Our composer's chaincode start a dev-peer-* image too

vieiramanoel (Mon, 05 Feb 2018 05:48:06 GMT):
I think is independent of the net, @baohua Our composer's chaincode start a dev-peer-* image too

vieiramanoel (Mon, 05 Feb 2018 05:48:06 GMT):
I think is independent of the net, @baohua Our composer's chaincode start a dev-peer-* image too

baohua (Mon, 05 Feb 2018 05:48:54 GMT):
@vieiramanoel we can take the byfn example as a good reference. Once the network is started, we can write the tutorial documentation on how to use py sdk to interact with the fabric network

baohua (Mon, 05 Feb 2018 05:49:46 GMT):
besides, the existing integration testing case also show steps to quickly start a network using docker-compose.

baohua (Mon, 05 Feb 2018 05:50:18 GMT):
feel free to summarize some separate steps for that, would expect there can be some documentation quickly.

baohua (Mon, 05 Feb 2018 05:51:14 GMT):
And to the `dev-peer` prefix, it is defined in the peer config `networkId: dev`. by default we can use it to filter out the chaincode images.

vieiramanoel (Mon, 05 Feb 2018 05:53:51 GMT):
I didn't know that 😅

baohua (Mon, 05 Feb 2018 05:54:43 GMT):
aha, it is a good way to learn fabric quickly by developing the sdk

vieiramanoel (Mon, 05 Feb 2018 05:54:55 GMT):
We can use then `docker exec container printenv networkId`

vieiramanoel (Mon, 05 Feb 2018 05:55:07 GMT):
To get this value after all

vieiramanoel (Mon, 05 Feb 2018 05:55:39 GMT):
And add this to make clean line

baohua (Mon, 05 Feb 2018 05:55:41 GMT):
not yet, as it is defined in the config file, not the env variables.

vieiramanoel (Mon, 05 Feb 2018 05:56:05 GMT):
What config file?

baohua (Mon, 05 Feb 2018 05:56:22 GMT):
`core.yaml`, And i've no better idea, but maybe we can start with the workaround

vieiramanoel (Mon, 05 Feb 2018 05:57:28 GMT):
Hmm I'll think about it

baohua (Mon, 05 Feb 2018 08:42:57 GMT):
https://gerrit.hyperledger.org/r/#/c/17517/

baohua (Mon, 05 Feb 2018 09:01:10 GMT):
https://gerrit.hyperledger.org/r/#/c/17519/

wangdong (Mon, 05 Feb 2018 13:38:36 GMT):
@baohua The install chaincode is skipped ? with channel created and joining? But chain code installation does not require a channel.

baohua (Mon, 05 Feb 2018 13:54:33 GMT):
yes, but for a full-lifecycle integration testing, can run `channel creation`, `channel join` and then `chaincode installation`. after that, can extend with more operations.

wangdong (Mon, 05 Feb 2018 14:57:01 GMT):
Then channel should be modified accordingly. So this app channel is the more general than SYSTEM channel? Last time kai discussed with you. I thought you changed this. I really upvote kai's idea. I like this system channel's design. Regarding this life cycle, I do not think this will affect.

baohua (Mon, 05 Feb 2018 15:02:41 GMT):
no, system channel should not be used for chaincode

wangdong (Tue, 06 Feb 2018 01:39:36 GMT):
This is not the system channel of Fabric. Anyway, I fixed it.

wangdong (Tue, 06 Feb 2018 01:39:38 GMT):
https://gerrit.hyperledger.org/r/17565

wangdong (Tue, 06 Feb 2018 08:06:06 GMT):
https://gerrit.hyperledger.org/r/17565

baohua (Tue, 06 Feb 2018 14:22:49 GMT):
+1!

wangdong (Wed, 07 Feb 2018 03:43:37 GMT):
please help review

baohua (Wed, 07 Feb 2018 06:32:10 GMT):
done, thanks!

sudheesh001 (Wed, 07 Feb 2018 08:52:49 GMT):
Has joined the channel.

sudheesh001 (Wed, 07 Feb 2018 12:41:27 GMT):
Hi Everyone, I've been using the node SDK for fabric to do most of my work so far but the python version would be the mode ideal version. I see that the `eventhub` and some other parts of the SDK are still not complete. Is there a minimal example of querying chaincode using python? When is the pythonSDK expected to be released?

sudheesh001 (Wed, 07 Feb 2018 12:41:27 GMT):
Hi Everyone, I've been using the node SDK for fabric to do most of my work so far but the python version would be the mode ideal version considering our tech stack so far. I see that the `eventhub` and some other parts of the SDK are still not complete. Is there a minimal example of querying chaincode using python? When is the pythonSDK expected to be released?

baohua (Wed, 07 Feb 2018 13:18:52 GMT):
@sudheesh001 the code is not finished yet, we expect to release the first release in Q1 2018. btw, welcome to give feedbacks on your usage experience with existing sdks, which will help us to decide the roadmap. thanks!

sudheesh001 (Thu, 08 Feb 2018 03:18:11 GMT):
@baohua Thanks. I am really looking forward to the python SDK. The node SDK has been good and solved the issues for a POC using fabric that we had built, we're now moving to pre-prod and most of our other repositories are in python. For the proof of concept we had hacked up an interface between our python services calling some node endpoints to query or invoke the chaincode. However, we really don't want to do this in prod/pre-prod and want to move to a more elegant python library. Please do let me know in case there's something I could help on. We're currently blocked by this

sudheesh001 (Thu, 08 Feb 2018 03:18:11 GMT):
@baohua Thanks. I am really looking forward to the python SDK. The node SDK has been good and solved the issues for a POC using fabric that we had built, we're now moving to pre-prod and most of our other repositories are in python. For the proof of concept we had hacked up an interface between our python services calling some node endpoints to query or invoke the chaincode. However, we really don't want to do this in prod/pre-prod and want to move to a more elegant python library. Please do let me know in case there's something I could help on. We're currently blocked by this and don't mind writing some code to help you and your team ship the SDK faster

baohua (Thu, 08 Feb 2018 03:26:23 GMT):
@sudheesh001 exactly, you can find some info at https://wiki.hyperledger.org/projects/fabric-sdk-py. welcome to attend our meeting (hope the time is good to you)

baohua (Thu, 08 Feb 2018 03:26:39 GMT):
we have done the channel creation/join and chaincode installation.

baohua (Thu, 08 Feb 2018 03:27:01 GMT):
working on other features. welcome to help contribute like fixing bug, implement feature and even documentation :)

sudheesh001 (Thu, 08 Feb 2018 04:34:52 GMT):
@baohua Thanks, so the next meeting is on the 9th i.e. tomorrow at 1PM UTC?

sudheesh001 (Thu, 08 Feb 2018 04:35:35 GMT):
I see from the minutes of the last meeting that there is some work in `invoke` of chaincode that's ongoing. Has that been completed?

baohua (Thu, 08 Feb 2018 04:55:10 GMT):
exactly! the invoke has some code already, but not finished yet.

sudheesh001 (Thu, 08 Feb 2018 05:40:41 GMT):
Oh alright! In the fabric node SDK, the invoke functionality needs the `eventhub` to listen to `TxEventListener` so that the `transactionProposal` can be successful and then sent to the orderer, so if some parts of the `invoke` are already available, does that mean that the `eventhub` part of the SDK has also been written fairly to a stage which is usable?

sudheesh001 (Thu, 08 Feb 2018 05:42:04 GMT):
Also are these parts of the code pushed upstream to github? :)

baohua (Thu, 08 Feb 2018 07:07:15 GMT):
oh, @david_dornseifer was working on the eventhub support, but it's not update for quite a while. Would you like to talk to him?

baohua (Thu, 08 Feb 2018 07:07:19 GMT):
@sudheesh001

sudheesh001 (Thu, 08 Feb 2018 08:36:02 GMT):
Sure @baohua That'd be nice

wangdong (Thu, 08 Feb 2018 08:40:51 GMT):
@sudheesh001 welcome to join us.

grapebaba (Thu, 08 Feb 2018 13:52:35 GMT):
@sudheesh001 :clap:

baohua (Thu, 08 Feb 2018 14:33:41 GMT):
@here Dear all, we will have meeting tmr evening 9PM, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180209, notice that will cancel the 20180216 one due to Spring Festival, thanks!

apurvmehra (Thu, 08 Feb 2018 15:15:28 GMT):
Has joined the channel.

vieiramanoel (Thu, 08 Feb 2018 17:10:16 GMT):
https://jira.hyperledger.org/browse/FAB-8142

baohua (Fri, 09 Feb 2018 01:10:46 GMT):
Add my comments :)

vieiramanoel (Fri, 09 Feb 2018 01:50:37 GMT):
thnks :)

vieiramanoel (Fri, 09 Feb 2018 01:56:49 GMT):
@baohua I need some help on gerrit

vieiramanoel (Fri, 09 Feb 2018 01:57:04 GMT):
I never used this tool, when I try to clone via ssh

vieiramanoel (Fri, 09 Feb 2018 01:57:12 GMT):
I got permission error

vieiramanoel (Fri, 09 Feb 2018 01:59:04 GMT):
forget it, i forgot to add my public key to my account

vieiramanoel (Fri, 09 Feb 2018 02:00:47 GMT):
:sweat_smile:

baohua (Fri, 09 Feb 2018 02:02:36 GMT):
ahaha can ref the workflow here: http://cello.readthedocs.io/en/latest/CONTRIBUTING

vieiramanoel (Fri, 09 Feb 2018 02:04:59 GMT):
I was following this: https://hyperledger-fabric.readthedocs.io/en/release/build_network.html haha

vieiramanoel (Fri, 09 Feb 2018 02:04:59 GMT):
I was following this: https://hyperledger-fabric.readthedocs.io/en/release/Gerrit/gerrit.html haha

vieiramanoel (Fri, 09 Feb 2018 02:05:28 GMT):
but I'd not set my public key on gerrit account

vieiramanoel (Fri, 09 Feb 2018 02:05:49 GMT):
there wasn't no way to ssh work hahah

sudheesh001 (Fri, 09 Feb 2018 08:01:07 GMT):
Thanks @wangdong @grapebaba and @baohua . Will be looking forward to the meeting today. Wanted to get my hands dirty with a little low hanging fruit and created JIRA FAB-8155 along with the required patch at https://gerrit.hyperledger.org/r/17721 Would love your review. Looking forward to contributing more

baohua (Fri, 09 Feb 2018 08:29:22 GMT):
@sudheesh001 ci failed, and u can find the log from jenkins links in the comment

baohua (Fri, 09 Feb 2018 08:29:34 GMT):
thanks for your agile fix!

sudheesh001 (Fri, 09 Feb 2018 09:00:27 GMT):
@baohua Thanks, The CI logs show build failed because of a test error in `test_instantiate_chaincode`. However in my patch this file was untouched and shouldn't have caused any of the build failures since it's just a `.gitignore` and `ReadMe` file changes. Would it be possible to retrigger the build for that changes? :) Unless of course I am missing something

baohua (Fri, 09 Feb 2018 09:00:58 GMT):
you can input `recheck` as a comment, that will trigger a rebuilding

sudheesh001 (Fri, 09 Feb 2018 09:05:07 GMT):
Just did that on the `gerrit` changes, waiting for jenkins to restart the build. Is that the right place or did you mean to input `recheck` on JIRA?

baohua (Fri, 09 Feb 2018 09:09:09 GMT):
gerrit is the right place

sudheesh001 (Fri, 09 Feb 2018 09:12:33 GMT):
Great, I've done that, does it generally take time for the build to restart?

baohua (Fri, 09 Feb 2018 09:32:46 GMT):
yes

sudheesh001 (Fri, 09 Feb 2018 10:36:53 GMT):
@baohua Looks like the jenkins build didn't restart after typing in `recheck` as a comment on https://gerrit.hyperledger.org/r/17721 Would it be possible for you to have a look into it and see if I have done the right thing?

baohua (Fri, 09 Feb 2018 12:11:24 GMT):
let me see

baohua (Fri, 09 Feb 2018 12:12:10 GMT):
seems there's an outage today. let me try to input `recheck` again

baohua (Fri, 09 Feb 2018 12:53:45 GMT):
meeting will begin soon: https://zoom.us/j/137692502

baohua (Fri, 09 Feb 2018 12:54:52 GMT):
@here

baohua (Fri, 09 Feb 2018 13:13:55 GMT):
https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md

baohua (Fri, 09 Feb 2018 13:45:01 GMT):
https://jira.hyperledger.org/browse/FAB-4623?jql=project%20%3D%20FAB%20AND%20status%20in%20(%22In%20Progress%22%2C%20%22To%20Do%22)%20AND%20component%20%3D%20fabric-sdk-py

sudheesh001 (Fri, 09 Feb 2018 13:52:25 GMT):
https://jira.hyperledger.org/browse/FAB-7585

baohua (Fri, 09 Feb 2018 13:56:45 GMT):
welcome to help review: https://gerrit.hyperledger.org/r/#/c/17725/

wangdong (Sat, 10 Feb 2018 04:27:33 GMT):
https://gerrit.hyperledger.org/r/17757

wangdong (Sat, 10 Feb 2018 04:28:18 GMT):
@baohua this patch includes the fix of instantiate bug

wangdong (Sat, 10 Feb 2018 04:28:36 GMT):
please note that when to merge

grapebaba (Sat, 10 Feb 2018 09:36:43 GMT):
@david_dornseifer https://jira.hyperledger.org/browse/FAB-4822 what is the progress for this task?

grapebaba (Sat, 10 Feb 2018 09:37:52 GMT):
we have some new guys and maybe we can split this task and collabration

baohua (Sat, 10 Feb 2018 12:01:25 GMT):
https://gerrit.hyperledger.org/r/#/c/17759/ welcome to help review

baohua (Sun, 11 Feb 2018 13:00:55 GMT):
https://gerrit.hyperledger.org/r/17767

baohua (Mon, 12 Feb 2018 01:43:27 GMT):
https://gerrit.hyperledger.org/r/#/c/17759/

baohua (Mon, 12 Feb 2018 01:43:48 GMT):
@davidkhala @grapebaba @wangdong @vieiramanoel

davidkhala (Mon, 12 Feb 2018 01:43:49 GMT):
Has joined the channel.

baohua (Mon, 12 Feb 2018 01:43:51 GMT):
welcome to help review

sudheesh001 (Mon, 12 Feb 2018 05:15:50 GMT):
https://gerrit.hyperledger.org/r/#/c/17779/ for JIRA 8155 Welcome to review :-)

baohua (Mon, 12 Feb 2018 06:42:31 GMT):
+2!

baohua (Mon, 12 Feb 2018 07:17:04 GMT):
Congrats to @sudheesh001 for his first merged patchset (https://gerrit.hyperledger.org/r/#/c/17779/) in sdk project, thanks and look forward to more contributions!

wangdong (Mon, 12 Feb 2018 08:01:32 GMT):
Received error from server: rpc error: code = Internal desc = transport is closing, ending chaincode stream* 2. *Error starting Simple chaincode: rpc error: code = Internal desc = transport is closing* When I try to instantiate the chaincode, but it fails to start it with the error above Is there any one knowing what 's going on ? some thing wrong with the RPC connection ?

wangdong (Mon, 12 Feb 2018 08:01:32 GMT):
**Received error from server: rpc error: code = Internal desc = transport is closing, ending chaincode stream** 2. **Error starting Simple chaincode: rpc error: code = Internal desc = transport is closing** When I try to instantiate the chaincode, but it fails to start it with the error above Is there any one knowing what 's going on ? some thing wrong with the RPC connection ?

wangdong (Mon, 12 Feb 2018 08:02:39 GMT):
It seems that peer just ends the stream to the chain code container

sudheesh001 (Mon, 12 Feb 2018 09:21:10 GMT):
Thanks @baohua Looking forward to sending in more

sudheesh001 (Mon, 12 Feb 2018 09:22:46 GMT):
I just realized that the `protos/google/protobuf` having `timestamp` and `empty` are not available in the `python-sdk` however they are needed for the `client-utils` and `block_decoder` which are in turn needed for eventhub, Is there an existing JIRA for this? Should I open one and send in a patch?

baohua (Mon, 12 Feb 2018 10:40:01 GMT):
sure, go ahead, btw we are using fabric 1.0.0 now~

sudheesh001 (Mon, 12 Feb 2018 11:05:27 GMT):
Sure @baohua Commit https://gerrit.hyperledger.org/r/#/c/17785/ open for review for JIRA-8215

sudheesh001 (Mon, 12 Feb 2018 11:05:44 GMT):
Its currently running the jenkins CI build

sudheesh001 (Mon, 12 Feb 2018 11:13:58 GMT):
Jenkins seems to have succeeded: https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/333/

baohua (Mon, 12 Feb 2018 11:46:27 GMT):
in fabric 1.0.0, there is no such two proto files? When are they introduced?

sudheesh001 (Mon, 12 Feb 2018 11:58:12 GMT):
It looks like the files were checked into `fabric-sdk-node` last year January, maybe before the 1.0.0 release.

sudheesh001 (Mon, 12 Feb 2018 11:58:53 GMT):
maybe this needs a more of a fix in `node-SDK` than the addition to `py-sdk`

sudheesh001 (Mon, 12 Feb 2018 11:59:13 GMT):
what do you say @baohua

sudheesh001 (Mon, 12 Feb 2018 12:01:04 GMT):
The files I was talking about are here https://github.com/hyperledger/fabric-sdk-node/tree/fd853302541b2e6e24f7e0440fc9ebfb746fa829/fabric-client/lib/protos/google/protobuf

sudheesh001 (Mon, 12 Feb 2018 12:01:14 GMT):
this was the commit they were introduced in

baohua (Mon, 12 Feb 2018 12:03:21 GMT):
so it's not from fabric code.

baohua (Mon, 12 Feb 2018 12:03:33 GMT):
do u know the reason of using them?

sudheesh001 (Mon, 12 Feb 2018 12:04:38 GMT):
Node seems to be building the current timestamp using this ``` /* * This function will create a timestamp from the current time */ module.exports.buildCurrentTimestamp = function() { var now = new Date(); var timestamp = new _timestampProto.Timestamp(); timestamp.setSeconds(now.getTime() / 1000); timestamp.setNanos((now.getTime() % 1000) * 1000000); return timestamp; }; ```

sudheesh001 (Mon, 12 Feb 2018 12:05:22 GMT):
and looks like the emptyProto isn't being used anywhere.

baohua (Mon, 12 Feb 2018 12:07:07 GMT):
yes, that's why i asked, we should make sure it's necessary for the py sdk. you know, the node and python grammar somehow is different.

sudheesh001 (Mon, 12 Feb 2018 12:08:06 GMT):
Agreed, should we use the golang sdk as a reference instead?

sudheesh001 (Mon, 12 Feb 2018 12:12:18 GMT):
@baohua Is the node's `installChaincode` implemented in `python` as `send_install_proposal`?

baohua (Mon, 12 Feb 2018 12:12:49 GMT):
yes, the golang based gohfc is more similar with python grammar

baohua (Mon, 12 Feb 2018 12:13:43 GMT):
have a look at `https://github.com/hyperledger/fabric-sdk-py/tree/master/test/integration`, which gives some example. And i'm refining the API soon, to make it more user-friendly.

sudheesh001 (Mon, 12 Feb 2018 12:18:30 GMT):
Sure, I'll use that as a reference for now to implement parts of the `eventhub`

sudheesh001 (Mon, 12 Feb 2018 12:18:45 GMT):
however the nodeSDK has this line ` chaincodeDeploymentSpec.setEffectiveDate(clientUtils.buildCurrentTimestamp()); //TODO may wish to add this as a request setting`

baohua (Mon, 12 Feb 2018 12:19:24 GMT):
`https://github.com/CognitionFoundry/gohfc`

sudheesh001 (Mon, 12 Feb 2018 12:19:25 GMT):
I think it's still a work in progress for which they're using `buildCurrentTimeStamp()` and `timestamp.proto`, would it be possible for someone from the #fabric-sdk-node channel to help?

baohua (Mon, 12 Feb 2018 12:19:51 GMT):
ok, feel free to ask in that channel

sudheesh001 (Mon, 12 Feb 2018 12:21:02 GMT):
Is https://github.com/hyperledger/fabric-sdk-go not the latest golang SDK? Should I use the one you've pointed to here [ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=ZvaHveHfHYyPZyJPp) @baohua

baohua (Mon, 12 Feb 2018 12:22:05 GMT):
for fabric 1.0.0 the gohfc one is good enough, you can also have a look at the node one. but remember we should implement in the pythonic style

baohua (Mon, 12 Feb 2018 12:22:26 GMT):
that is `efficient but user-friendly`

sudheesh001 (Mon, 12 Feb 2018 12:23:01 GMT):
agreed however I think there are a lot of things we can learn from node, but mocking their style may not be the wisest thing to do.

baohua (Mon, 12 Feb 2018 13:31:36 GMT):
agree!

baohua (Mon, 12 Feb 2018 13:31:37 GMT):
https://gerrit.hyperledger.org/r/#/c/17787/

baohua (Mon, 12 Feb 2018 15:11:16 GMT):
https://gerrit.hyperledger.org/r/#/c/17791/

livespotty (Mon, 12 Feb 2018 20:18:16 GMT):
Has joined the channel.

sudheesh001 (Tue, 13 Feb 2018 06:03:17 GMT):
@baohua , @apurvmehra and I have been trying to write the `eventhub.py` by taking both the `gohfc` and `node-sdk` as a reference, however the two implementations are drastically different and that's causing some confusion. While the `node-sdk` depends on other methods from `Remote.js`, `Client-Utils` and `Config.js`. From what we understand these also depend on the `BlockDecoder`. We were wondering if @david_dornseifer had implemented some part of it from which we could continue or do we need to start from scratch? Would it be possible to have a call sometime over Zoom/jitisi/hangouts to discuss more regarding this?

baohua (Tue, 13 Feb 2018 06:17:19 GMT):
as far as i know, there's no much implementation yet, so you need to design from scratch. Yes, a block decoder can be a good start point actually.

sudheesh001 (Tue, 13 Feb 2018 06:47:34 GMT):
Okay great, we'll continue to work with the blockDecoder. In case we get stuck somewhere it'd be great if we could have a short conversation over a call.

anku94 (Tue, 13 Feb 2018 09:39:43 GMT):
Has joined the channel.

baohua (Wed, 14 Feb 2018 08:32:33 GMT):
Happy Spring Festival to everyone!

masanchez (Wed, 14 Feb 2018 11:32:17 GMT):
Has joined the channel.

vieiramanoel (Wed, 14 Feb 2018 23:53:58 GMT):
@baohua running the example in tutorial

vieiramanoel (Wed, 14 Feb 2018 23:54:18 GMT):
```>>> from hfc.fabric.client import Client >>> >>> cli = Client(net_profile="test/fixtures/network.json") >>> >>> cli.organizations() # orgs in the network Traceback (most recent call last): File "", line 1, in TypeError: 'dict' object is not callable ```

vieiramanoel (Thu, 15 Feb 2018 00:17:45 GMT):
@here pls review https://gerrit.hyperledger.org/r/#/c/17931/

vieiramanoel (Thu, 15 Feb 2018 00:29:24 GMT):
https://gerrit.hyperledger.org/r/#/c/17933/

vieiramanoel (Thu, 15 Feb 2018 00:29:24 GMT):
https://gerrit.hyperledger.org/r/#/c/17933/ added start network to tutorial

vieiramanoel (Thu, 15 Feb 2018 00:43:23 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Z4RfBZSQsA86c3J5G) idk why the build failed for .md only

vieiramanoel (Thu, 15 Feb 2018 00:43:23 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Z4RfBZSQsA86c3J5G) idk why the build failed as a changed .md only

vieiramanoel (Thu, 15 Feb 2018 01:33:00 GMT):
I guess my branch is some commits behind master

vieiramanoel (Thu, 15 Feb 2018 01:33:11 GMT):
I'll check this at home

vieiramanoel (Thu, 15 Feb 2018 02:34:37 GMT):
done

sudheesh001 (Thu, 15 Feb 2018 03:27:11 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=8YjNm9H2MZz8hQTva) @baohua Happy Spring Festival to all of you

sudheesh001 (Thu, 15 Feb 2018 03:27:14 GMT):
@vieiramanoel Good catch! Since they are properties, they do not need `()` method like invocation. I reviewed it with a `+1` but looks like @baohua needs to take a look

vieiramanoel (Thu, 15 Feb 2018 03:31:31 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Z4RfBZSQsA86c3J5G) @sudheesh001 Take a look on this one too

vieiramanoel (Thu, 15 Feb 2018 03:31:31 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Z4RfBZSQsA86c3J5G) @sudheesh001 pls tke a look on this one too

vieiramanoel (Thu, 15 Feb 2018 03:31:31 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Z4RfBZSQsA86c3J5G) @sudheesh001 pls take a look on this one too

vieiramanoel (Thu, 15 Feb 2018 03:31:59 GMT):
Thanks for the review :)

baohua (Thu, 15 Feb 2018 03:35:29 GMT):
@vieiramanoel feel free to do `git rebase` to latest master

baohua (Thu, 15 Feb 2018 03:37:10 GMT):
+2!

baohua (Thu, 15 Feb 2018 06:56:18 GMT):
@vieiramanoel add comments: https://gerrit.hyperledger.org/r/#/c/17931/

baohua (Thu, 15 Feb 2018 06:57:29 GMT):
@grapebaba https://gerrit.hyperledger.org/r/#/c/17933/

grapebaba (Thu, 15 Feb 2018 14:50:09 GMT):
@here I'd like suggest we give up support for python version under 3.5 align python official website

grapebaba (Thu, 15 Feb 2018 14:50:52 GMT):
I want to change rxpy to built-in async/await introduced in python 3.5

grapebaba (Thu, 15 Feb 2018 14:51:14 GMT):
seems rxpy is not easy understand

baohua (Thu, 15 Feb 2018 15:01:04 GMT):
@grapebaba i agree, seems rxpy is not easy to adopt.

baohua (Thu, 15 Feb 2018 15:01:30 GMT):
would u like to help create a jira task and hope we can fix the changing soon.

vieiramanoel (Thu, 15 Feb 2018 17:14:24 GMT):
@baohua https://gerrit.hyperledger.org/r/#/c/17931/

baohua (Sat, 17 Feb 2018 01:11:58 GMT):
+2, thanks!

punit 4 (Sun, 18 Feb 2018 11:24:25 GMT):
Has joined the channel.

agaragiola (Mon, 19 Feb 2018 20:45:27 GMT):
Has joined the channel.

agaragiola (Mon, 19 Feb 2018 20:56:19 GMT):
hello, I've seen the tutorial in github but it is incomplete. Where can I find a documentation or example to get started with python SDK?

sudheesh001 (Tue, 20 Feb 2018 03:16:14 GMT):
@agaragiola The python SDK is still under active development and all the features aren't implemented yet. Hopefully it'll be as usable as the node SDK soon

prakashn (Tue, 20 Feb 2018 11:01:07 GMT):
Has joined the channel.

Phenix.Zhang (Thu, 22 Feb 2018 05:23:38 GMT):
Has joined the channel.

sudheesh001 (Thu, 22 Feb 2018 13:50:55 GMT):
@baohua We were working on the block_decoder using the node as reference since golang doesn't have this. Is there a reason why the golang SDK doesn't have the block decoder? We have an initial version but isn't complete and have quite a few queries, should we send in a review and then keep updating it?

baohua (Thu, 22 Feb 2018 13:51:41 GMT):
yes, feel free to submit a pr.

baohua (Thu, 22 Feb 2018 13:51:56 GMT):
do not know why go sdk doesn't have that func.

sudheesh001 (Thu, 22 Feb 2018 13:51:59 GMT):
The javascript version mentions `.decode()` and `.toBuffer()` methods. If I take an instance of `common_pb2` in python all the `bytes` fields in `proto` become `str` right?

grapebaba (Thu, 22 Feb 2018 13:58:11 GMT):
@sudheesh001 we had two similar methods in util.py

sudheesh001 (Thu, 22 Feb 2018 14:08:59 GMT):
@grapebaba , @baohua Here's an initial version which is quite hacky https://gerrit.hyperledger.org/r/18199 I put in a bunch of `TODO` where I was stuck.

sudheesh001 (Thu, 22 Feb 2018 14:10:21 GMT):
basically I didn't understand the `decode()` and `toBuffer()` methods

baohua (Thu, 22 Feb 2018 14:11:26 GMT):
i guess @grapebaba is still in vacation.

sudheesh001 (Thu, 22 Feb 2018 14:11:40 GMT):
From what I understand, the block decoder class has methods that help convert the `proto` and their requivalent python objects from `*_pb2` to required python objects

baohua (Thu, 22 Feb 2018 14:11:41 GMT):
basically, it's related to json serialization.

sudheesh001 (Thu, 22 Feb 2018 14:11:55 GMT):
oh, sorry to disturb `grapebaba`

baohua (Thu, 22 Feb 2018 14:12:10 GMT):
i would like to suggest you read some docs on manipulating json and serialization in node.js.

baohua (Thu, 22 Feb 2018 14:12:33 GMT):
the methods are different in python, but similar functionality.

sudheesh001 (Thu, 22 Feb 2018 14:13:16 GMT):
Yeah in `python` we generally use `.dumps()` and `loads()` for the json serialization and deserialization, maybe even have `__todict__()` methods

sudheesh001 (Thu, 22 Feb 2018 14:14:21 GMT):
Sure, I wouldn't mind doing the reading on the json serialization and deserialization. I generally use `json-serialize` as the npm library for most of my serialization and deserialization tasks or use `JSON.stringify()`, Is the `decode()` method similar?

sudheesh001 (Thu, 22 Feb 2018 14:17:32 GMT):
It looks like the method inside `utils.py` only is a failsafe method for non-unicode characters to be decoded into `utf-8` right? ``` def proto_str(x): return proto_b(x).decode("utf-8") ```

sudheesh001 (Thu, 22 Feb 2018 14:33:20 GMT):
@baohua I need to send an update to the change 18199, Should I do git review -d 18199 for this to send a patch to the pull request?

baohua (Thu, 22 Feb 2018 14:34:30 GMT):
you can have a look at hfc/fabric/client.py, inside it used SerializeToString()

baohua (Thu, 22 Feb 2018 14:35:01 GMT):
to revise a pr, just use `git commit --amend` and `git review` again.

baohua (Thu, 22 Feb 2018 14:35:25 GMT):
feel free to reference the workflow at http://cello.readthedocs.io/en/latest/CONTRIBUTING/

sudheesh001 (Thu, 22 Feb 2018 14:36:46 GMT):
It looks like the revised rebased commit made a new change request https://gerrit.hyperledger.org/r/#/c/18201/

sudheesh001 (Thu, 22 Feb 2018 14:37:16 GMT):
It'd nice if the documentation was updated to show how to rebase and push to the same change request, github makes this really easy :)

baohua (Thu, 22 Feb 2018 15:09:26 GMT):
aha, then let's abandon the old one and use the new one.

baohua (Thu, 22 Feb 2018 15:09:43 GMT):
yes, the doc needs more enhancement...

vieiramanoel (Thu, 22 Feb 2018 17:05:14 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=qusJDtsgBQemgqCnA) @sudheesh001 yes `loads()` method convert it to a dict

baohua (Fri, 23 Feb 2018 01:41:41 GMT):
@sudheesh001 ci fails, pls help check the log: https://gerrit.hyperledger.org/r/#/c/18201/

grapebaba (Fri, 23 Feb 2018 03:56:33 GMT):
@sudheesh001 I saw two patchs, can you abandon one?

sudheesh001 (Fri, 23 Feb 2018 04:19:14 GMT):
@grapebaba Please use https://gerrit.hyperledger.org/r/#/c/18201/ patch for inital round of review, @baohua The CI fails because of lint warnings from flake8 as I included some proto which haven't been used yet but need to be used later. I wanted to run the initial part of the code by both of you for feedback and for help on some of the places where I was stuck

grapebaba (Fri, 23 Feb 2018 04:23:29 GMT):
@sudheesh001 it cannot merged if CI fails, you can add WIP tag and once you finish all the necessary function we can review then

sudheesh001 (Fri, 23 Feb 2018 04:24:31 GMT):
@grapebaba I will add a WIP tag, I do not want this to be merged yet, I wanted to know if I was in the right track for the patch.

baohua (Fri, 23 Feb 2018 04:26:52 GMT):
yeap, you can keep update the patchset as using `git commit --amend -a`, and `git review`. Feel free to post the link here when it's ready.

baohua (Fri, 23 Feb 2018 04:29:08 GMT):
@here we will cancel the meeting today as several team members are still on vacation. Pls keep offline discussions if having any problem. Thanks!

grapebaba (Fri, 23 Feb 2018 04:35:59 GMT):
@sudheesh001 put some comments in gerrit

sudheesh001 (Fri, 23 Feb 2018 05:15:58 GMT):
Thanks @grapebaba I'll send in smaller commits which can be merged :)

sudheesh001 (Fri, 23 Feb 2018 06:07:46 GMT):
I had a small question, for testing the blockdecoder, I need to read the file contents of the genesis block and then decode it right? Should I use the contents inside `fixtures/e2e_cli/channel_artifacts/orderer.genesis.block` for the tests? When I read this file into a variable called `data` all I receive is ``` >>> data '\n"' ```

sudheesh001 (Fri, 23 Feb 2018 06:07:53 GMT):
Am I doing something wrong here?

sudheesh001 (Fri, 23 Feb 2018 06:11:19 GMT):
I have also tried using the same file they use for testing blockdecoder in node i.e. https://github.com/hyperledger/fabric-sdk-node/blob/release/test/fixtures/channel/twoorgs.genesis.block

sudheesh001 (Fri, 23 Feb 2018 06:16:24 GMT):
Reading the same with node returns a buffer: ``` ```

grapebaba (Fri, 23 Feb 2018 08:00:47 GMT):
can you try same file with two different code?

grapebaba (Fri, 23 Feb 2018 08:00:53 GMT):
what is the result

sudheesh001 (Fri, 23 Feb 2018 08:22:12 GMT):
I read it as `rb` and it solved the issue

sudheesh001 (Fri, 23 Feb 2018 08:22:19 GMT):
here's a first patch having header decoder https://gerrit.hyperledger.org/r/18235

sudheesh001 (Fri, 23 Feb 2018 08:22:50 GMT):
Sorry, I couldn't push it to the older change request, `git review` always ends up making a new review. I abandoned the older review request. Thanks again

sudheesh001 (Fri, 23 Feb 2018 08:31:59 GMT):
Looks like the build failed because the block decoder test case didn't pass. Can someone help with this? ``` 08:30:27 E AssertionError: b'f2dabae6cbc541c519234b3a8a7cf17b885ac83d5a18807abdd2ce431573f53c' != 'f2dabae6cbc541c519234b3a8a7cf17b885ac83d5a18807abdd2ce431573f53c' ``` Looks like a `bytes` problem?

grapebaba (Fri, 23 Feb 2018 08:37:06 GMT):
there is a binary string in python

grapebaba (Fri, 23 Feb 2018 08:38:22 GMT):
just make test str b'f2dabae6cbc541c519234b3a8a7cf17b885ac83d5a18807abdd2ce431573f53c'

sudheesh001 (Fri, 23 Feb 2018 08:51:26 GMT):
Thank you, made the changes and pushed an update to the same change on gerrit. I was surprised that on windows, it worked even without `b''` and passed the test case.

sudheesh001 (Fri, 23 Feb 2018 09:03:32 GMT):
Great, the CI build is green, looking forward to your review.

grapebaba (Sat, 24 Feb 2018 08:06:37 GMT):
@baohua https://gerrit.hyperledger.org/r/18235

baohua (Sat, 24 Feb 2018 08:08:16 GMT):
LGTM! +2

baohua (Sat, 24 Feb 2018 08:09:50 GMT):
Merged, thanks! @sudheesh001

sudheesh001 (Sat, 24 Feb 2018 10:39:11 GMT):
Thanks @baohua

sudheesh001 (Sat, 24 Feb 2018 10:39:30 GMT):
Requesting review on https://gerrit.hyperledger.org/r/18327 :) adds some more functionality

baohua (Sat, 24 Feb 2018 13:33:56 GMT):
+2!

wangdong (Sat, 24 Feb 2018 15:15:06 GMT):
@sudheesh001 I got some comments for your patch. Please consider them.

sudheesh001 (Mon, 26 Feb 2018 03:11:36 GMT):
@wangdong Absolutely. I agree, the documentation for the file as such needs updates but @apurvmehra and I wanted to take that up along with the tutorial documentation for the same once the entire feature is done. I hope that's alright?

wangdong (Mon, 26 Feb 2018 03:13:23 GMT):
Sorry, which topic do you mean? The docstring about the function?

wangdong (Mon, 26 Feb 2018 03:13:26 GMT):
@sudheesh001

sudheesh001 (Mon, 26 Feb 2018 03:13:34 GMT):
yup, that's what I mean

sudheesh001 (Mon, 26 Feb 2018 03:15:32 GMT):
actually, now that I am at my desk, maybe I can send in an update to that change with the docstring corrections. Let me actually do that

wangdong (Mon, 26 Feb 2018 03:17:29 GMT):
Sure, I mean it would be better just add it such as the Args, not in tutorial documentation

sudheesh001 (Mon, 26 Feb 2018 03:37:24 GMT):
Absolutely, I agree. I just pushed an update to the review request, maybe you could take another look once the CI succeeds

wangdong (Mon, 26 Feb 2018 04:03:46 GMT):
OK

wangdong (Mon, 26 Feb 2018 04:04:42 GMT):
@sudheesh001 once it is done. please let me know

sudheesh001 (Mon, 26 Feb 2018 04:06:41 GMT):
@wangdong The build has completed, Please review and merge if it looks good https://gerrit.hyperledger.org/r/#/c/18327/

wangdong (Mon, 26 Feb 2018 04:07:03 GMT):
OK

wangdong (Mon, 26 Feb 2018 04:11:16 GMT):
looks good to me.

sudheesh001 (Mon, 26 Feb 2018 04:13:25 GMT):
Thank you. :) Maybe @wangdong , @grapebaba or you could merge it and we could continue with another update to block_decoder for decoding metadata section

sudheesh001 (Mon, 26 Feb 2018 04:13:25 GMT):
Thank you. :) Maybe @baohua , @grapebaba or you could merge it and we could continue with another update to block_decoder for decoding metadata section

wangdong (Mon, 26 Feb 2018 04:14:42 GMT):
Don't worry about it. It will be merged soon by baohua or grapepapa.

sudheesh001 (Mon, 26 Feb 2018 04:14:56 GMT):
Sure, thank you.

baohua (Mon, 26 Feb 2018 06:16:43 GMT):
merged, thanks! @sudheesh001

sudheesh001 (Tue, 27 Feb 2018 07:47:50 GMT):
https://gerrit.hyperledger.org/r/#/c/18461/ Open for review

sudheesh001 (Tue, 27 Feb 2018 07:47:51 GMT):
:)

apurvmehra (Tue, 27 Feb 2018 07:59:30 GMT):
I was working on decoding the metadata section for block_decoder. The order.genesis.block that we currently use to write the test case does not have any content for the metadata section, should I create a new block for the test case or do we have another block with meta data already ? Thanks

baohua (Tue, 27 Feb 2018 09:02:37 GMT):
@apurvmehra i guess u can help write some method (e.g., encode_block) to encode out a block first.

sudheesh001 (Tue, 27 Feb 2018 11:30:08 GMT):
@baohua I agree that we could write a method called `encode_block()` and encode all the contents from the string of the `Block()` object to a binary block file. However, for now it'd be really nice if there are some files that already contain metadata for the same so that we could test

sudheesh001 (Tue, 27 Feb 2018 11:31:12 GMT):
Maybe we can implement `encode_block()` sometime this week, Should we just use random data like `this is a signature` for `bytes signature = 1` for example?

baohua (Wed, 28 Feb 2018 00:35:48 GMT):
i guess it should be fine. an if you wanna find some existed block, here are examples: https://github.com/yeasy/docker-compose-files/blob/master/hyperledger_fabric/v1.0.5/kafka/channel-artifacts/businesschannel_4.block

sudheesh001 (Wed, 28 Feb 2018 06:27:01 GMT):
@baohua Definitely will take a look at that, Can you please review and merge https://gerrit.hyperledger.org/r/#/c/18461/ :)

baohua (Wed, 28 Feb 2018 07:14:39 GMT):
nice progress, @sudheesh001 merged!

apurvmehra (Fri, 02 Mar 2018 07:04:16 GMT):
@baohua @sudheesh001 Have written the patch for decoding block metadata. Can you please review https://gerrit.hyperledger.org/r/#/c/18675/

sudheesh001 (Fri, 02 Mar 2018 07:16:42 GMT):
@apurvmehra Small nitpick on the issue but this looks good overall. Maybe @baohua or @grapebaba can do an additional review and merge

grapebaba (Fri, 02 Mar 2018 07:19:47 GMT):
Cool

baohua (Fri, 02 Mar 2018 08:30:24 GMT):
nice work!

baohua (Fri, 02 Mar 2018 11:40:44 GMT):
@here Dear all, we will have meeting tmr evening 9PM, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180302, welcome to attend, thanks!

diegoduncan21 (Fri, 02 Mar 2018 15:18:03 GMT):
Has joined the channel.

PatriciaLamblot (Fri, 02 Mar 2018 16:12:12 GMT):
Has joined the channel.

richzhao (Fri, 02 Mar 2018 17:11:57 GMT):
Has joined the channel.

gochoa (Fri, 02 Mar 2018 21:02:34 GMT):
Has joined the channel.

gochoa (Fri, 02 Mar 2018 21:04:40 GMT):
Hi Baohua. You said tomorrow but it says March 02? Will it be on March 03?

MuhammadSalah (Sun, 04 Mar 2018 12:50:03 GMT):
Greetings everybody, can somebody help me connect the python sdk to HL?

MuhammadSalah (Sun, 04 Mar 2018 12:50:23 GMT):
I have installed a virtual env; with all support and Hyperledger from pip upgraded.

MuhammadSalah (Sun, 04 Mar 2018 12:50:49 GMT):
I have an up and running network, and I want to connect to the orderer using the python client.

MuhammadSalah (Sun, 04 Mar 2018 12:51:08 GMT):
However, the github documentation is very brief, and I already have TLS, and credentials.

MuhammadSalah (Sun, 04 Mar 2018 12:52:14 GMT):
I mean the crypto-config material, any help is appreciated. Thank you.

grapebaba (Sun, 04 Mar 2018 12:56:29 GMT):
@MuhammadSalah you can view the test in e2e dir

grapebaba (Sun, 04 Mar 2018 12:56:42 GMT):
such as crea

MuhammadSalah (Sun, 04 Mar 2018 12:57:03 GMT):
Ok I am cloning the repo

MuhammadSalah (Sun, 04 Mar 2018 12:57:31 GMT):
Which file sir?

MuhammadSalah (Sun, 04 Mar 2018 13:00:26 GMT):
I pretty much did the same on the function_test.py

MuhammadSalah (Sun, 04 Mar 2018 13:00:28 GMT):
@grapebaba

MuhammadSalah (Sun, 04 Mar 2018 13:00:57 GMT):
Question is, now I have TLS should not I pass the certificate to the client?

MuhammadSalah (Sun, 04 Mar 2018 13:02:14 GMT):
I get pumped with this: requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine('\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x04\x08\x00\x00\x00\x00\x00\x00\x0e\xff\xf1',))

MuhammadSalah (Sun, 04 Mar 2018 13:06:29 GMT):
I am running a network version 1.0.5 and I initiate my client with this api version tls=True, and the usual base url for the orderer.

MuhammadSalah (Sun, 04 Mar 2018 13:08:19 GMT):
I should run some of the tls right?

MuhammadSalah (Sun, 04 Mar 2018 13:08:26 GMT):
configure_client?

MuhammadSalah (Sun, 04 Mar 2018 13:08:37 GMT):
I think I have got it through code. @grapebaba Thank you.

grapebaba (Sun, 04 Mar 2018 13:09:25 GMT):
👌

grapebaba (Sun, 04 Mar 2018 13:09:49 GMT):
feel free post any other question

MuhammadSalah (Sun, 04 Mar 2018 13:11:09 GMT):
Thank you :) I will try to give it a shot. See what pops up.

MuhammadSalah (Sun, 04 Mar 2018 13:19:58 GMT):
Maybe please which are client certs and ca cert are needed?

MuhammadSalah (Sun, 04 Mar 2018 13:20:14 GMT):
Which file paths should I be providing through the crypto-config?

MuhammadSalah (Sun, 04 Mar 2018 13:20:21 GMT):
I guess I got things mixed up a little.

wangdong (Mon, 05 Mar 2018 05:47:57 GMT):
2018-03-05 05:45:37.194 UTC [shim] func1 -> ERRO 004 Received error from server: rpc error: code = Internal desc = transport is closing, ending chaincode stream 2018-03-05 05:45:37.195 UTC [example_cc0] Errorf -> ERRO 005 Error starting Simple chaincode: rpc error: code = Internal desc = transport is closing

wangdong (Mon, 05 Mar 2018 05:48:16 GMT):
I got this error when to start the chaincode

wangdong (Mon, 05 Mar 2018 05:48:22 GMT):
any clue of this?

sudheesh001 (Mon, 05 Mar 2018 08:59:33 GMT):
@wangdong Looks like a networking issue between the machines/containers... something is making the connections/requests drop

wangdong (Mon, 05 Mar 2018 09:33:08 GMT):
yes, I am not sure what exactly problem is

wangdong (Mon, 05 Mar 2018 09:33:22 GMT):
maybe the network?

wangdong (Mon, 05 Mar 2018 09:33:58 GMT):
i previously thought it is the default policy but it is not

sudheesh001 (Tue, 06 Mar 2018 05:54:06 GMT):
@grapebaba and @baohua Please review https://gerrit.hyperledger.org/r/#/c/18769/ Looks like a small issue in modules for further work on blockdecoder's `HeaderType` and their required methods for KV RW Decode methods

baohua (Tue, 06 Mar 2018 07:26:57 GMT):
+2!

sudheesh001 (Tue, 06 Mar 2018 07:39:03 GMT):
@baohua and @apurvmehra Thank you for the review. Looking forward to seeing it merged so that I can continue on the other parts

baohua (Tue, 06 Mar 2018 07:52:54 GMT):
u do not need to wait the merge to continue the work. git has a feature of "rebase"

grapebaba (Tue, 06 Mar 2018 10:45:43 GMT):
@sudheesh001 merged

nebsterboy (Tue, 06 Mar 2018 14:13:50 GMT):
Has joined the channel.

nebsterboy (Tue, 06 Mar 2018 14:15:50 GMT):
hey, when trying to build the fabric project, the behave tests failed. I get the message ``` context.failed = True Failing scenarios: features/bootstrap.feature:398 Bootstrap a development network with 4 peers (2 orgs) and 1 orderer (1 org), each having a single independent root of trust (No fabric-ca, just openssl) -- @1.1 Orderer Options features/bootstrap.feature:399 Bootstrap a development network with 4 peers (2 orgs) and 1 orderer (1 org), each having a single independent root of trust (No fabric-ca, just openssl) -- @1.2 Orderer Options features/bootstrap.feature:400 Bootstrap a development network with 4 peers (2 orgs) and 1 orderer (1 org), each having a single independent root of trust (No fabric-ca, just openssl) -- @1.3 Orderer Options features/bootstrap.feature:401 Bootstrap a development network with 4 peers (2 orgs) and 1 orderer (1 org), each having a single independent root of trust (No fabric-ca, just openssl) -- @1.4 Orderer Options 0 features passed, 1 failed, 2 skipped 0 scenarios passed, 4 failed, 24 skipped 244 steps passed, 4 failed, 343 skipped, 0 undefined Took 3m52.904s Makefile:208: recipe for target 'behave' failed make: *** [behave] Error 1 ``` In the output I find also the error ``` And user "peer0Admin" using cert alias "peer-admin-cert" creates a install proposal "installProposal1" for channel "com.acme.blockchain.jdoe.channel1" using chaincode spec "ccSpec" # steps/endorser_impl.py:41 0.006s Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/behave/model.py", line 1456, in run match.run(runner.context) File "/usr/local/lib/python2.7/dist-packages/behave/model.py", line 1903, in run self.func(context, *args, **kwargs) File "steps/endorser_impl.py", line 49, in step_impl ccDeploymentSpec = endorser_util.createDeploymentSpec(context=context, ccSpec=ccSpec) File "/home/benjamin/go/src/github.com/hyperledger/fabric/bddtests/steps/endorser_util.py", line 178, in createDeploymentSpec _createDeploymentSpecAsFile(ccSpec=ccSpec, outputPath=outputPath) File "/home/benjamin/go/src/github.com/hyperledger/fabric/bddtests/steps/endorser_util.py", line 166, in _createDeploymentSpecAsFile bdd_test_util.cli_call(["peer","chaincode","package"] + nameArgs + ctorArgs + pathArgs + versionArgs + [outputPath], expect_success=True, env=myEnv) File "/home/benjamin/go/src/github.com/hyperledger/fabric/bddtests/steps/bdd_test_util.py", line 32, in cli_call p = subprocess.Popen(arg_list, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env) File "/usr/lib/python2.7/subprocess.py", line 390, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1025, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory ``` Has someone already seen this kind of error and can give some advice?

dave.enyeart (Tue, 06 Mar 2018 17:07:51 GMT):
Has joined the channel.

rjones (Tue, 06 Mar 2018 17:09:56 GMT):
dave.enyeart

rjones (Tue, 06 Mar 2018 17:10:00 GMT):
cbf

grapebaba (Tue, 06 Mar 2018 22:31:43 GMT):
@nebsterboy it's not related our channel, you can post it in fabric channel

roychowdhuryrohit-dev (Wed, 07 Mar 2018 17:03:41 GMT):
Has joined the channel.

sudheesh001 (Thu, 08 Mar 2018 10:42:43 GMT):
@baohua , @grapebaba and others in the maintainers #fabric-sdk-node channel. The current way in which we use and include proto files in the respective SDKs seems to make files slowly inconsistent. I came across one of the issues recently for this where the `mspconfig.proto` file in the py sdk directory is older than the one in the master branch for the Node SDK.

sudheesh001 (Thu, 08 Mar 2018 10:43:28 GMT):
Wouldn't it be nicer to have a single repository and include these files as `git submodules`, that'd keep the codebases consistent and make all SDKs have the same proto files.

sudheesh001 (Thu, 08 Mar 2018 13:18:41 GMT):
Open for review: https://gerrit.hyperledger.org/r/#/c/18871/

baohua (Fri, 09 Mar 2018 02:47:39 GMT):
add my comments

vishwak (Fri, 09 Mar 2018 03:23:12 GMT):
Has joined the channel.

baohua (Fri, 09 Mar 2018 03:45:04 GMT):
@here Dear all, we will have meeting tmr evening 9PM, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180309, welcome to attend, thanks!

baohua (Fri, 09 Mar 2018 03:45:04 GMT):
@here Dear all, we will have meeting 9PM (UTC+8) this Friday, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180309, welcome to attend, thanks!

baohua (Fri, 09 Mar 2018 03:56:57 GMT):
+2: https://gerrit.hyperledger.org/r/#/c/18871/

sudheesh001 (Fri, 09 Mar 2018 04:08:46 GMT):
Thanks @baohua

sudheesh001 (Fri, 09 Mar 2018 04:09:53 GMT):
There's a work in progress for improving the blockdecoder to have the headertypes and KV read write sets here https://gerrit.hyperledger.org/r/#/c/18877/ Of course, I still need to fix the lint issues and add tests. I'll do that today and maybe we'll have a nice change request before the meeting

AlastairF (Fri, 09 Mar 2018 08:00:06 GMT):
Has joined the channel.

baohua (Fri, 09 Mar 2018 14:40:02 GMT):
https://gerrit.hyperledger.org/r/#/c/18929/

asish0512 (Sat, 10 Mar 2018 13:32:15 GMT):
Has joined the channel.

asish0512 (Sat, 10 Mar 2018 14:00:36 GMT):
Hello is this a forum to ask question?

wangdong (Sun, 11 Mar 2018 03:34:01 GMT):
@asish0512 what is your question then?

asish0512 (Sun, 11 Mar 2018 04:09:24 GMT):
@wangdong I tried to setup the dev environment as instructed in the README and the tests failed. There is a bug and needs to be fixed

asish0512 (Sun, 11 Mar 2018 04:09:47 GMT):
Also I am trying to fix it

baohua (Sun, 11 Mar 2018 13:05:43 GMT):
pls help post the detailed steps and logs for the problem, thanks!

wangdong (Sun, 11 Mar 2018 15:15:35 GMT):
I got two test failure on Mac

wangdong (Sun, 11 Mar 2018 15:18:06 GMT):
json.dump(self.network_info, f, indent='\t')

wangdong (Sun, 11 Mar 2018 15:18:21 GMT):
indent should be an int

wangdong (Sun, 11 Mar 2018 15:22:11 GMT):
@sudheesh001 please have a look at this.

wangdong (Sun, 11 Mar 2018 15:22:26 GMT):
test_decode_block_data

wangdong (Sun, 11 Mar 2018 15:22:33 GMT):
this test fails

wangdong (Sun, 11 Mar 2018 15:22:59 GMT):
I got : AssertionError: '2017-06-23 17:45:18' != '2017-06-23 09:45:18'

wangdong (Sun, 11 Mar 2018 15:23:26 GMT):
self.assertEqual(ch['timestamp'], timestamp)

baohua (Mon, 12 Mar 2018 01:35:42 GMT):
@wangdong @sudheesh001 for the 2nd problem, it seems related to the timezone. we should specify hardly to use UTC to avoid mistakes.

sudheesh001 (Mon, 12 Mar 2018 04:00:54 GMT):
@wangdong @baohua Thanks, I'll take a look at that timestamp issue. I could reproduce that on Windows too so it definitely needs a fix

sudheesh001 (Mon, 12 Mar 2018 04:01:25 GMT):
In the meanwhile, I think this looks good with your reviews, Could it be merged please so that I can rebase my WIP change request and send an update? https://gerrit.hyperledger.org/r/#/c/18871/

sudheesh001 (Mon, 12 Mar 2018 04:01:25 GMT):
In the meanwhile, I think this looks good with your reviews, Could this be merged please so that I can rebase my WIP change request and send an update? https://gerrit.hyperledger.org/r/#/c/18871/

baohua (Mon, 12 Mar 2018 05:11:23 GMT):
@sudheesh001 thanks for the comments on https://gerrit.hyperledger.org/r/#/c/18929/, i replied your advice.

sudheesh001 (Mon, 12 Mar 2018 05:13:28 GMT):
Thanks, i just replied back. It's absolutely fine. :-)

sudheesh001 (Mon, 12 Mar 2018 07:54:41 GMT):
@baohua Can https://gerrit.hyperledger.org/r/#/c/18871/ be merged please? I am currently writing tests for the block decoder and parts of it fail because of these updates which are on a different branch locally

sudheesh001 (Mon, 12 Mar 2018 07:55:11 GMT):
I've merged the branches locally for continuing the tests but the change request will continue to break on jenkins if this is the case

baohua (Mon, 12 Mar 2018 07:56:44 GMT):
we need at least two +2 for each merge, @grapebaba and @david_dornseifer could you help review when free?

baohua (Mon, 12 Mar 2018 07:57:58 GMT):
so quick catch! @grapebaba. it's merged now @sudheesh001

sudheesh001 (Mon, 12 Mar 2018 07:58:24 GMT):
Thank you very much! :-)

sudheesh001 (Mon, 12 Mar 2018 07:58:44 GMT):
> we need at least two +2 for each merge Maybe we should add this to `Contributing.md` :)

wangdong (Mon, 12 Mar 2018 08:03:56 GMT):
> enrollment = state_dict['enrollment'] E KeyError: 'enrollment'

wangdong (Mon, 12 Mar 2018 08:04:10 GMT):
I got this error when to test in Mac

wangdong (Mon, 12 Mar 2018 08:05:14 GMT):
I have python2.7 and python3.6

wangdong (Mon, 12 Mar 2018 08:05:31 GMT):
it seems the that master is not stable

wangdong (Tue, 13 Mar 2018 01:20:47 GMT):
except Exception as e: > raise IOError("Cannot deserialize the user", e) E IOError: [Errno Cannot deserialize the user] unsupported pickle protocol: 3

wangdong (Tue, 13 Mar 2018 01:24:07 GMT):
Is it the python version compatible problem?

wangdong (Tue, 13 Mar 2018 01:27:00 GMT):
My patch firstly ran well in local, but not good in CI. But now this new issue arise after I installed python3.6. But when I uninstalled python3.6, this still arise. Not sure how this issue takes place.

baohua (Tue, 13 Mar 2018 01:37:56 GMT):
@sudheesh001 sure, feel free to add that. Sorry i thought it's well known rule :)

baohua (Tue, 13 Mar 2018 01:38:30 GMT):
@wangdong can u check if the state_dict has the element? python 2.7 and 3.6 should both support the grammar

baohua (Tue, 13 Mar 2018 01:39:16 GMT):
And maybe you can do some `make clean`. oh, and manually delete the local keystore path.

wangdong (Tue, 13 Mar 2018 02:20:48 GMT):
The 'make clean' does not work.

baohua (Tue, 13 Mar 2018 04:24:57 GMT):
manually delete the local keystore path?

grapebaba (Tue, 13 Mar 2018 04:43:41 GMT):
@all we propose to change our weekly meeting time from every Friday to Thursday, any feedback?:grinning:

baohua (Tue, 13 Mar 2018 05:01:37 GMT):
@david_dornseifer @wangdong how's ur time?

baohua (Tue, 13 Mar 2018 05:02:21 GMT):
@grapebaba pls let tracy to check if the timeslot is available, too

baohua (Tue, 13 Mar 2018 05:02:38 GMT):
As Thursday night has the TSC meeting

grapebaba (Tue, 13 Mar 2018 07:45:35 GMT):
:sweat_smile:

sudheesh001 (Tue, 13 Mar 2018 08:33:03 GMT):
@grapebaba Would it be possible to have a google calendar file or something that's shared commonly so that google can notify us :) I keep losing track of time and miss the meetings

sudheesh001 (Tue, 13 Mar 2018 08:33:55 GMT):
Also open for review: https://gerrit.hyperledger.org/r/#/c/18877/ Completed block decoder functionality in line with Node SDK. There were some bugs in the NodeSDK which got patched while doing this.

mohammadjh (Tue, 13 Mar 2018 08:51:41 GMT):
Has joined the channel.

baohua (Tue, 13 Mar 2018 13:27:28 GMT):
+2!

sudheesh001 (Tue, 13 Mar 2018 14:02:36 GMT):
Thanks for the review @baohua

wangdong (Wed, 14 Mar 2018 01:27:32 GMT):
@grapebaba I prefer Thursday

wangdong (Wed, 14 Mar 2018 08:41:35 GMT):
@baohua yes, when I delete the hfc-kvs in /tmp and it works

wangdong (Wed, 14 Mar 2018 08:42:12 GMT):
BTW, why the patch work in my mac, but not on the CI.

wangdong (Wed, 14 Mar 2018 15:18:25 GMT):
And it also works well in my ubuntu

wangdong (Wed, 14 Mar 2018 15:19:14 GMT):
which is 16.04. python 2.7.12 and python 3.5.2

baohua (Thu, 15 Mar 2018 01:03:52 GMT):
@wangdong based on the ci logs for https://gerrit.hyperledger.org/r/#/c/19149/: https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/379/console

baohua (Thu, 15 Mar 2018 01:04:02 GMT):
it seems you cannot pass the flake8 format checking

baohua (Thu, 15 Mar 2018 01:04:15 GMT):
the reasons include: 00:34:44 hfc/util/utils.py:328:1: E302 expected 2 blank lines, found 1 00:34:44 hfc/util/utils.py:358:24: E128 continuation line under-indented for visual indent 00:34:44 hfc/fabric/channel/channel.py:700:17: E127 continuation line over-indented for visual indent 00:34:44 ERROR: InvocationError: '/w/workspace/fabric-sdk-py-verify-x86_64/.tox/flake8/bin/flake8 hfc test test --exclude=protos'

baohua (Thu, 15 Mar 2018 01:04:38 GMT):
i guess same error will be reported if you run `make check` locally?

baohua (Thu, 15 Mar 2018 01:42:40 GMT):
grapebaba

baohua (Thu, 15 Mar 2018 01:50:01 GMT):
https://wiki.hyperledger.org/projects/fabric-sdk-py

baohua (Thu, 15 Mar 2018 01:50:38 GMT):
wiki.hyperledger.org/projects/fabric-sdk-py

baohua (Thu, 15 Mar 2018 01:54:55 GMT):
Hyperledger Fabric Python SDK

baohua (Thu, 15 Mar 2018 01:54:55 GMT):
github.com/hyperledger/fabric-sdk-py

wangdong (Thu, 15 Mar 2018 02:12:39 GMT):
https://gerrit.hyperledger.org/r/#/c/19149/

wangdong (Thu, 15 Mar 2018 02:12:45 GMT):
please review

baohua (Thu, 15 Mar 2018 02:23:21 GMT):
@wangdong add comments, and suggest we take this opportunity to provide a client unique API to do the chaincode instantiation: https://gerrit.hyperledger.org/r/#/c/19149/, thanks!

baohua (Thu, 15 Mar 2018 02:33:36 GMT):
@grapebaba @wangdong @sudheesh001 do u guys have some issue to be discussed in tmr meeting?

wangdong (Thu, 15 Mar 2018 02:38:38 GMT):
not much from me, I will send chaincode invocation after this one.

sudheesh001 (Thu, 15 Mar 2018 04:38:35 GMT):
From a end usability perspective, I think having the user do something like this for the chaincode could be a good idea. I am open to your thoughts on the same. ``` request_params = { 'chaincode_id': 'mycc', 'fcn': 'DoSomething', 'args': ['this','is','a','list','of','args'] } # To get UserContext from .hfckeystore client.get_user_context(username, certs, etc..,) # If the chaincode is of a query/GetState type client.query_chaincode(request_params, user_context) # Returns Transaction response # If the chaincode is of a invoke/PutState type client.invoke_chaincode(request_params, user_context) # Returns Transaction response # While installing chaincode client.install_chaincode('INSTALL', {'name_of_chaincode', 'version', 'path' ... other params }) client.install_chaincode('INSTANTIATE', {contents....}) client.install_chaincode('UPGRADE', {contents...}) ```

sudheesh001 (Thu, 15 Mar 2018 04:40:40 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=z8dLcQFGi7jaZgRjq) @baohua Not really I guess, @apurvmehra is working on the `eventhub` now since the block_decoder is complete (Waiting for merge and another +2). Maybe we should spend some time on writing a few tutorials on what we currently have.

baohua (Thu, 15 Mar 2018 04:41:37 GMT):
OK, guys, if no issue to discuss, then we will cancel the meeting tmr, and save the time to fix bugs, thanks!

grapebaba (Thu, 15 Mar 2018 07:26:20 GMT):
@all we changed our weekly meeting to every Thursday

wangdong (Thu, 15 Mar 2018 07:27:10 GMT):
what is the time?

wangdong (Thu, 15 Mar 2018 07:27:32 GMT):
I got a meeting in 9 PM every thurday

mohammadjh (Thu, 15 Mar 2018 08:40:33 GMT):
Hi guys, I'm new to this channel. I'm a big fan of Hyperledger Fabric. As I'm a python developer, hope `fabric-sdk-py` will be one of my favorite tool. So, I'm eager to learn and contribute to developing the tool. I just need some direction such as where and how to start.

sudheesh001 (Thu, 15 Mar 2018 08:46:00 GMT):
Hi @mohammadjh Absolutely! Welcome here, A good place would be to start with the python SDK repository. Did you set up the repository from gerrit?

mohammadjh (Thu, 15 Mar 2018 08:48:20 GMT):
@sudheesh001 Thanks for your response. Not yet, but hope I will do it today.

sudheesh001 (Thu, 15 Mar 2018 08:49:27 GMT):
You can then find the existing list of issues of `fabric-sdk-py` component in JIRA from the following filtered link. https://jira.hyperledger.org/issues/?jql=project%20%3D%20FAB%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20fabric-sdk-py%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC

mohammadjh (Thu, 15 Mar 2018 08:57:13 GMT):
Thanks I will check the list after setup the repository from gerrit.

sudheesh001 (Thu, 15 Mar 2018 09:02:01 GMT):
Asking everyone on the channel, I just opened an issue FAB-8880, Should we consider doing something like this for improving the dev requirements?

sudheesh001 (Thu, 15 Mar 2018 09:02:45 GMT):
https://jira.hyperledger.org/browse/FAB-8880

wangdong (Thu, 15 Mar 2018 12:17:45 GMT):
https://gerrit.hyperledger.org/r/#/c/19149/

wangdong (Thu, 15 Mar 2018 12:27:03 GMT):
@sudheesh001 what is the difference from the current one? I think we already have one.

baohua (Thu, 15 Mar 2018 13:13:28 GMT):
@wangdong pls check my previous comments on https://gerrit.hyperledger.org/r/#/c/19149/. Should response on the questions.

baohua (Thu, 15 Mar 2018 13:37:14 GMT):
Dear all, we will cancel the project meeting this week, feel free to have discussions offline if needed, enjoy the weekend! Thanks!

wangdong (Thu, 15 Mar 2018 15:40:16 GMT):
yes. I have replied. As I have said the api will be done later after invoke which is already ok. I will send it out for review once this is merged.

wangdong (Thu, 15 Mar 2018 15:40:21 GMT):
@baohua

eramitg (Thu, 15 Mar 2018 16:03:17 GMT):
Has joined the channel.

sudheesh001 (Thu, 15 Mar 2018 17:38:18 GMT):
@wangdong `autopep8` can be as a developers command line utility which can be used to automatically format the python files so that they pass our `flake8` tests. It's an easy way to fix the problem than manually fixing the `flake8` errors and warnings one by one.

wangdong (Fri, 16 Mar 2018 00:28:39 GMT):
it sounds nice

baohua (Fri, 16 Mar 2018 01:11:03 GMT):
@wangdong and the commit msg format (And update to: [FAB-8777] Fix chaincode instantiation bug), let me help fix for u.

wangdong (Fri, 16 Mar 2018 01:14:51 GMT):
OK. Thanks.

baohua (Fri, 16 Mar 2018 01:53:23 GMT):
https://gerrit.hyperledger.org/r/#/c/19149/

yopep (Fri, 16 Mar 2018 04:03:14 GMT):
Has joined the channel.

wangdong (Fri, 16 Mar 2018 23:34:41 GMT):
https://gerrit.hyperledger.org/r/19331

wangdong (Sat, 17 Mar 2018 04:24:21 GMT):
I got a 5 seconds timeout in my Mac, but 20 in CI always fails

baohua (Sun, 18 Mar 2018 08:26:28 GMT):
@wangdong the ci logs is here, seems grammar error: https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/386/console

wangdong (Sun, 18 Mar 2018 09:59:29 GMT):
that's because the observer instance is not ready. But It works well in my Mac even for a 5 seconds time out.

baohua (Sun, 18 Mar 2018 10:02:40 GMT):
suspect diff python version in CI?

baohua (Sun, 18 Mar 2018 10:02:43 GMT):
https://gerrit.hyperledger.org/r/#/c/19349/

baohua (Sun, 18 Mar 2018 10:02:46 GMT):
@wangdong :)

wangdong (Sun, 18 Mar 2018 10:04:56 GMT):
OK. Thanks very much.

wangdong (Sun, 18 Mar 2018 10:05:04 GMT):
:blush:

baohua (Sun, 18 Mar 2018 11:06:03 GMT):
@david_dornseifer would u like to give ur opinion on https://gerrit.hyperledger.org/r/#/c/19349/ to add a new maintainer? Thanks!

wangdong (Sun, 18 Mar 2018 14:14:36 GMT):
yes, I think it may be the difference between of the python version.

wangdong (Sun, 18 Mar 2018 14:15:11 GMT):
I got python 36 in Mac, but the CI seems got python 35.

wangdong (Sun, 18 Mar 2018 14:15:19 GMT):
not sure

wangdong (Sun, 18 Mar 2018 14:18:06 GMT):
The invoke works pretty well in my Mac.

baohua (Mon, 19 Mar 2018 01:25:05 GMT):
@wangdong could you add both py35 or py36 in the tox env and run test under these two engine? If that is the cause, then it should be easy to find how to make the code compatible with either version.

wangdong (Mon, 19 Mar 2018 01:27:14 GMT):
ok

wangdong (Mon, 19 Mar 2018 01:27:20 GMT):
I will try that

wangdong (Mon, 19 Mar 2018 03:12:50 GMT):
OK. I got the root cause. There are two chain code file. The CI and my Mac execute different file.

wangdong (Mon, 19 Mar 2018 03:13:19 GMT):
So I want to ask why two chain code file there?

wangdong (Mon, 19 Mar 2018 04:17:43 GMT):
there are two chain code files. I think this is the problem. If you can delete the chain code container in CI, let's try it again. I got that in my python 3.5.2 env.

wangdong (Mon, 19 Mar 2018 04:17:49 GMT):
@baohua

baohua (Mon, 19 Mar 2018 04:21:06 GMT):
what's ur meaning of "two chaincode files"? every test in ci starts with a clean env?

baohua (Mon, 19 Mar 2018 04:21:06 GMT):
what's ur meaning of "two chaincode files"? The test in ci starts with a clean env, and every operation will follow our script/code.

david_dornseifer (Mon, 19 Mar 2018 07:55:29 GMT):
@baohua I agree, Dong is doing a very good job supporting the sdk development right now +2 :)

baohua (Mon, 19 Mar 2018 09:16:30 GMT):
Congrats @wangdong as new maintainer of the project: https://gerrit.hyperledger.org/r/#/c/19349/! Wish will help the project more!

wangdong (Mon, 19 Mar 2018 09:21:26 GMT):
thanks @baohua

wangdong (Mon, 19 Mar 2018 09:21:48 GMT):
And the invoke is good now

wangdong (Mon, 19 Mar 2018 09:22:02 GMT):
https://gerrit.hyperledger.org/r/#/c/19331/

baohua (Mon, 19 Mar 2018 09:22:08 GMT):
cool, will review today!

rjones (Mon, 19 Mar 2018 11:17:56 GMT):
Has joined the channel.

rjones (Mon, 19 Mar 2018 11:19:03 GMT):
@wangdong I wasn't able to find your gerrit ID under the ID wangdong. I changed it to the one I found with the listed email: https://gerrit.hyperledger.org/r/#/c/19379/ is that correct?

rjones (Mon, 19 Mar 2018 11:22:02 GMT):

error.png

wangdong (Mon, 19 Mar 2018 11:47:24 GMT):
michaelwang is the username

wangdong (Mon, 19 Mar 2018 11:47:28 GMT):
@rjones

wangdong (Mon, 19 Mar 2018 11:47:56 GMT):
Username michaelwang Full Name Wang Dong Email Address xdragon007@gmail.com

rjones (Mon, 19 Mar 2018 11:48:55 GMT):
@wangdong so this is correct? https://gerrit.hyperledger.org/r/#/c/19379/1/MAINTAINERS.md

rjones (Mon, 19 Mar 2018 11:49:31 GMT):
if so please vote +2 on that change :)

wangdong (Mon, 19 Mar 2018 11:49:46 GMT):
yes, thanks

wangdong (Mon, 19 Mar 2018 11:49:56 GMT):
ok

rjones (Mon, 19 Mar 2018 11:50:16 GMT):
thank you!

wangdong (Mon, 19 Mar 2018 13:06:57 GMT):
@baohua After this patch, I will refine the API and the doc. Just step by step.

baohua (Mon, 19 Mar 2018 13:17:36 GMT):
https://gerrit.hyperledger.org/r/#/c/19331/

rjones (Mon, 19 Mar 2018 13:18:41 GMT):
Has left the channel.

melvinkcx (Tue, 20 Mar 2018 08:16:55 GMT):
Has joined the channel.

palash25 (Tue, 20 Mar 2018 09:16:26 GMT):
Has joined the channel.

palash25 (Tue, 20 Mar 2018 09:19:32 GMT):
Hi there, I recently came to know about the hypeledger internship programme and I was looking to participate. I know I'm late but I would love to work on this project. I have experience with python and open source development but I'm a novice when it comes to blockchain. I've recently become interested in blockchain and want to learn more about it.

wangdong (Tue, 20 Mar 2018 09:27:31 GMT):
@palash25 you are welcome to join us

wangdong (Tue, 20 Mar 2018 09:27:48 GMT):
@palash25 welcome to join us.

wangdong (Tue, 20 Mar 2018 09:28:10 GMT):
you can contact with @grapebaba for the detail.

sambhav2612 (Tue, 20 Mar 2018 18:43:00 GMT):
Has joined the channel.

ShikarSharma (Tue, 20 Mar 2018 22:46:10 GMT):
Has joined the channel.

grapebaba (Wed, 21 Mar 2018 14:30:50 GMT):
@all python SDK weekly meeting change to 1:00 pm UTC every Thursday, https://calendar.google.com/calendar/embed?src=linuxfoundation.org_nf9u64g9k9rvd9f8vp4vur23b0%40group.calendar.google.com&ctz=UTC you can add to your calendar

wangdong (Thu, 22 Mar 2018 03:36:30 GMT):
today's scrum meeting https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180322

wangdong (Thu, 22 Mar 2018 03:37:48 GMT):
if you will join, please add your name. Thanks

invinciblycool (Thu, 22 Mar 2018 07:31:51 GMT):
Has joined the channel.

invinciblycool (Thu, 22 Mar 2018 07:33:06 GMT):
Hello all,

invinciblycool (Thu, 22 Mar 2018 07:33:06 GMT):
Hello all,

invinciblycool (Thu, 22 Mar 2018 07:33:06 GMT):
Hello all, I would love to contribute to this project. I am a Django developer and very interested in Blockchain.

dexhunter (Thu, 22 Mar 2018 08:37:10 GMT):
Has joined the channel.

dexhunter (Thu, 22 Mar 2018 08:40:41 GMT):
https://gerrit.hyperledger.org/r/19589 use sign/verify methods instead of signer/verifier, I think this fix passed but I got another error for the timestamp of `block_decoder_test`. ``` > self.assertEqual(ch['timestamp'], timestamp) E AssertionError: '2017-06-23 17:45:18' != '2017-06-23 09:45:18' E - 2017-06-23 17:45:18 E ? ^^ E + 2017-06-23 09:45:18 E ? ^^ test/unit/block_decoder_test.py:110: AssertionError ================================= 1 failed, 63 passed in 123.41 seconds ================================== ERROR: InvocationError: '/home/dex/HL/summer/fabric-sdk-py/.tox/pylint/bin/py.test --cov=hfc test -s' ```

dexhunter (Thu, 22 Mar 2018 08:41:04 GMT):
My guess is that I am currently in China so it's UTC+8 while the original is UTC

baohua (Thu, 22 Mar 2018 11:36:18 GMT):
today's meeting agenda: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180322

baohua (Thu, 22 Mar 2018 11:37:13 GMT):
@dexhunter it would be a good practice to always convert to UTC when comparing timestamp

ShikarSharma (Thu, 22 Mar 2018 13:01:00 GMT):
hi @baohua can i join the meeting too ?

baohua (Thu, 22 Mar 2018 13:28:49 GMT):
https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md

ShikarSharma (Thu, 22 Mar 2018 13:36:11 GMT):
Thanks a lot

baohua (Thu, 22 Mar 2018 13:48:44 GMT):
@dexhunter ci failure: https://gerrit.hyperledger.org/r/#/c/19589/

baohua (Thu, 22 Mar 2018 13:48:52 GMT):
can check the logs in the ci's comments links

dexhunter (Thu, 22 Mar 2018 14:18:50 GMT):
@baohua Thanks for notifying. I am not really familiar with flake8. I'll check it and try to fix tomorrow.

baohua (Thu, 22 Mar 2018 14:20:30 GMT):
sure, before submitting the code, need to run `make check` locally and make sure all test passed

bzeyben (Thu, 22 Mar 2018 19:45:32 GMT):
Has joined the channel.

wangdong (Fri, 23 Mar 2018 00:49:07 GMT):
@dexhunter

wangdong (Fri, 23 Mar 2018 00:49:09 GMT):
hfc/util/crypto/crypto.py:240:9: E265 block comment should start with '# ' 08:49:12 hfc/util/crypto/crypto.py:253:9: E265 block comment should start with '# ' 08:49:12 hfc/util/crypto/crypto.py:255:9: E265 block comment should start with '# ' 08:49:12 hfc/util/crypto/crypto.py:257:80: E501 line too long (85 > 79 characters)

wangdong (Fri, 23 Mar 2018 00:49:40 GMT):
the CI errors

wangdong (Fri, 23 Mar 2018 00:51:33 GMT):
you can always find the CI error in Console output,searching the ERROR. You will find the exact error as well as the cause.

dexhunter (Fri, 23 Mar 2018 04:47:13 GMT):
@wangdong Thanks. I am using autopep8 now so the format should be fixed. https://gerrit.hyperledger.org/r/#/c/19657/

dexhunter (Fri, 23 Mar 2018 05:59:07 GMT):
utc time fix https://gerrit.hyperledger.org/r/#/c/19659/

wangdong (Fri, 23 Mar 2018 06:45:33 GMT):
looks ci failure

bjwswang (Fri, 23 Mar 2018 08:15:49 GMT):
Has joined the channel.

palash25 (Fri, 23 Mar 2018 11:38:54 GMT):
Regarding the internship project, I did a git grep in the repo and saw a lot of stub functions having `pass` in them. I am assuming these are the only parts of the Fabric API that have not been implemented and the students are expected to work on implementing these functionality during the internship programme? Correct me if I'm wrong or missing something.

palash25 (Fri, 23 Mar 2018 12:37:06 GMT):
cc @grapebaba

baohua (Mon, 26 Mar 2018 02:59:06 GMT):
@dexhunter: all patchsets need to follow the commit msg format: https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Mon, 26 Mar 2018 03:00:53 GMT):
and pls help check the ci result link to resolve the ci failure problem, too.

baohua (Mon, 26 Mar 2018 03:00:55 GMT):
Thanks!

dexhunter (Mon, 26 Mar 2018 05:47:33 GMT):
@baohua Thanks for notifying. I am sorry that some of my previous commits msg didn't follow the commit msg format. I have combined them into a single one `334a72` for FAB-9041, but I cannot delete the previous commit, or can I?

dexhunter (Mon, 26 Mar 2018 05:47:33 GMT):
@baohua Thanks for notifying. I am sorry that some of my previous commits msg didn't follow the commit msg format. I have combined them into a single one `334a72` for FAB-9041, but I cannot delete the previous commit, or can I? https://gerrit.hyperledger.org/r/#/c/19729/

dexhunter (Mon, 26 Mar 2018 05:56:20 GMT):
Besides, another problem I met is that I am using conda to manage environment and pyenv is not compatible with conda 4.4.10. So I cant do `make check` with python3.6 and I am still looking for some workaround to this.

baohua (Mon, 26 Mar 2018 07:22:32 GMT):
u mean the commit msg in local? if you want to merge two commits into one, just use the git's squash support.

wangdong (Thu, 29 Mar 2018 02:03:58 GMT):
https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180329

wangdong (Thu, 29 Mar 2018 02:04:02 GMT):
today's meeting

wangdong (Thu, 29 Mar 2018 02:05:11 GMT):
we will cancel next time meeting due to the Chinese holiday.

baohua (Thu, 29 Mar 2018 02:06:55 GMT):
wangdong

baohua (Thu, 29 Mar 2018 02:07:15 GMT):
@wangdong now you can @ all :-)

baohua (Thu, 29 Mar 2018 02:07:15 GMT):
@wangdong now you can @ all like this :-)

baohua (Thu, 29 Mar 2018 02:07:28 GMT):
@all Dear all, we will have meeting 9PM this evening (next week is canceled due to holidays), pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180329, welcome to attend, thanks!

wangdong (Thu, 29 Mar 2018 02:07:38 GMT):
ok

grapebaba (Thu, 29 Mar 2018 15:01:28 GMT):
https://gerrit.hyperledger.org/r/#/c/19729/ @baohua @wangdong

wangdong (Thu, 29 Mar 2018 15:10:04 GMT):
CI passed, but I may lack the background wonder why the change?

grapebaba (Thu, 29 Mar 2018 15:22:16 GMT):
some methods deprecated in crypto lib, he changed to latest API

wangdong (Thu, 29 Mar 2018 15:34:41 GMT):
OK fine.

tinywell (Fri, 30 Mar 2018 00:54:19 GMT):
Has left the channel.

baohua (Fri, 30 Mar 2018 14:00:34 GMT):
@dexhunter can u help refine ur commit msg on the patchsets? https://gerrit.hyperledger.org/r/#/q/project:fabric-sdk-py

baohua (Fri, 30 Mar 2018 14:00:47 GMT):
it should use "[FAB-XXX] blabla"

dexhunter (Sun, 01 Apr 2018 03:29:55 GMT):
Sorry about that, I abandoned the poor formatted changes.

baohua (Mon, 02 Apr 2018 09:27:58 GMT):
welcome to re-submit @dexhunter

wangdong (Mon, 02 Apr 2018 14:25:19 GMT):
https://gerrit.hyperledger.org/r/20073

kerokhin (Mon, 02 Apr 2018 15:35:50 GMT):
Has joined the channel.

baohua (Tue, 03 Apr 2018 00:13:41 GMT):
Nice!

baohua (Tue, 03 Apr 2018 00:14:43 GMT):
Ci failed pls help check the ci logs

wangdong (Tue, 03 Apr 2018 00:51:07 GMT):
yes

wangdong (Tue, 03 Apr 2018 00:53:54 GMT):
This is the first query feature. The others will get the similar pattern. Now the test code is ugly but I got no time to refine them. I wonder if is there anyone can help with this. I can tell him how to work and the background.

wangdong (Tue, 03 Apr 2018 00:54:08 GMT):
If anyone, please let me know.

baohua (Tue, 03 Apr 2018 01:17:01 GMT):
@wangdong you need to fix the ci failure first, otherwise, people cannot help fix more.

wangdong (Tue, 03 Apr 2018 01:17:21 GMT):
yes

baohua (Tue, 03 Apr 2018 01:17:34 GMT):
btw, this is a good example

wangdong (Tue, 03 Apr 2018 01:17:38 GMT):
I am doing that

baohua (Tue, 03 Apr 2018 01:17:45 GMT):
but we need to refine that, i agree

Rumeel_Hussain (Tue, 03 Apr 2018 15:06:03 GMT):
Has joined the channel.

baohua (Wed, 04 Apr 2018 01:45:12 GMT):
@all this week's meeting will be cancelled due to the holidays, feel free to discuss offline :)

baohua (Wed, 04 Apr 2018 03:09:05 GMT):
@wangdong seems the empty response in 3.5 again? 02:00:14 /usr/lib/python3.5/queue.py:172: Empty https://gerrit.hyperledger.org/r/#/c/20073/

wangdong (Wed, 04 Apr 2018 03:52:39 GMT):
yes. it is the timeout not enough to wait the event to complete.

wangdong (Wed, 04 Apr 2018 03:53:07 GMT):
But it work well in my ubutun with py3.5

wangdong (Wed, 04 Apr 2018 04:22:23 GMT):
I add more time to sleep, and it works.

wangdong (Wed, 04 Apr 2018 04:22:53 GMT):
This async mechanism seems not so stable.

sudheesh001 (Wed, 04 Apr 2018 05:54:33 GMT):
took a short vacation and am back, can help review small patches this week

sudheesh001 (Wed, 04 Apr 2018 05:55:41 GMT):
will take a little time to get back up to speed :-) Looking forward to working with you all again

baohua (Wed, 04 Apr 2018 08:57:19 GMT):
https://gerrit.hyperledger.org/r/#/c/20073/

baohua (Wed, 04 Apr 2018 08:57:53 GMT):
@sudheesh001 welcome back!

wangdong (Wed, 04 Apr 2018 11:20:42 GMT):
@sudheesh001 there is one patch for review. :blush:

wangdong (Wed, 04 Apr 2018 14:09:34 GMT):
E AssertionError: '2017-06-23 17:45:18' != '2017-06-23 09:45:18'

wangdong (Wed, 04 Apr 2018 14:09:47 GMT):
the timezone issue still exists

wangdong (Wed, 04 Apr 2018 14:10:13 GMT):
and

wangdong (Wed, 04 Apr 2018 14:10:15 GMT):
> self.assertRaises(ValueError, lambda: BlockDecoder.decode('test')) E AssertionError: ValueError not raised

baohua (Thu, 05 Apr 2018 02:28:43 GMT):
is it possible to specify the UTC tz when comparing two timestamps?

dexhunter (Tue, 10 Apr 2018 10:07:47 GMT):
It is possible, but I think we should use utc when parsing the datetime. So I changed `datetime.fromtimestamp` to `datetime.utcfromtimestamp` but I seems to get the same error @wangdong indicates (aka timeout is not enough to invoke) Any updates on the reasons why it needs more time for the event to complete? Thanks!

dexhunter (Tue, 10 Apr 2018 10:07:47 GMT):
It is possible, but I think we should use utc when parsing the datetime. So I changed `datetime.fromtimestamp` to `datetime.utcfromtimestamp` but I seem to get the same error @wangdong indicates (aka timeout is not enough to invoke) Any updates on the reasons why it needs more time for the event to complete? Thanks!

wangdong (Tue, 10 Apr 2018 13:07:38 GMT):
@dexhunter do you want to help?

wangdong (Tue, 10 Apr 2018 13:07:54 GMT):
that's good news

baohua (Wed, 11 Apr 2018 05:49:46 GMT):
@dexhunter hi dingxu, are u still working on FAB-9069?

baohua (Wed, 11 Apr 2018 05:58:51 GMT):
@sudheesh001 sudheesh, would you like to take this work? https://jira.hyperledger.org/browse/FAB-6702

dexhunter (Wed, 11 Apr 2018 06:22:31 GMT):
> hi dingxu, are u still working on FAB-9069? Yes, I am still working on this.

dexhunter (Wed, 11 Apr 2018 06:22:31 GMT):
> hi dingxu, are u still working on FAB-9069? Yes, I am still working on this. Edit: Hmm.. okay, it seems that your 20427 has fixed the problem. https://gerrit.hyperledger.org/r/#/c/20427/

dexhunter (Wed, 11 Apr 2018 06:24:43 GMT):
> @dexhunter do you want to help? Yep, I also applied for the summer internship. Whether I will be admitted or not, I would like to help finishing the python sdk.

baohua (Wed, 11 Apr 2018 06:42:42 GMT):
ok, pls help review this change: https://gerrit.hyperledger.org/r/#/c/20427/

wangdong (Wed, 11 Apr 2018 06:51:04 GMT):
I think this resolved the time zone issue, right?

baohua (Wed, 11 Apr 2018 08:30:45 GMT):
yes

baohua (Wed, 11 Apr 2018 09:07:32 GMT):
@ Dear all, we will have meeting 9PM tommorrow evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180412, welcome to attend, thanks!

baohua (Wed, 11 Apr 2018 09:07:37 GMT):
@here

sudheesh001 (Wed, 11 Apr 2018 10:38:53 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=pENHuWAAMAXuRPK42) @baohua Oh I am sorry, seem to be a little caught up with work at office and won't be able to take it up anytime soon. I'll inform again in case I find time to take it up

eramitg (Wed, 11 Apr 2018 15:37:58 GMT):
Hi Folks , I am an Phd Candidate in www.nitrr.ac.in my Linkedind Profile is https://www.linkedin.com/in/eramitg/ for sake of earning an Phd Degree i was proposed Blockchain Technology research work area to my guide so oom I request all of you gyus ,please guide me and assign me some research oriented task so that we mutullay benifited research related to Hyperledger Umbrella Project , All of you feel free to catch me on twitter or skype to https://twitter.com/eramitg1 or amitg.iitb skype id also in Zoom to in Zoom ID 3649222703 or whatsapp +917773011100 Regards

sudheesh001 (Thu, 12 Apr 2018 02:50:25 GMT):
@eramitg Welcome, there are quite a few number of research problems in blockchains in general that are not specific to hyperledger projects. Some of the problems are - Correctness and security proofs - Scaling and performance - Confidentiality - Authenticated data feeds - Safety and compliance - Interledger communication A good place to start reading good research work is the work done at the `Intitiative for cryptocurrencies and contracts` from Cornell University.

baohua (Thu, 12 Apr 2018 03:01:58 GMT):
sure, @sudheesh001 feel free to pick it as very related to your decoding contributions.

sudheesh001 (Thu, 12 Apr 2018 03:02:46 GMT):
Absolutely, I am currently running on some strict deadlines at work and will be able to help further once that's complete

baohua (Thu, 12 Apr 2018 13:09:17 GMT):
https://gerrit.hyperledger.org/r/#/c/20439/

baohua (Thu, 12 Apr 2018 13:15:18 GMT):
https://github.com/CognitionFoundry/gohfc

dexhunter (Thu, 12 Apr 2018 13:26:28 GMT):
> I add more time to sleep, and it works. > This async mechanism seems not so stable. I was referring to this problem. Why adding more time would work?

dexhunter (Thu, 12 Apr 2018 13:26:28 GMT):
> I add more time to sleep, and it works. > This async mechanism seems not so stable. I was referring to this problem. I was wondering why adding more time would work?

baohua (Thu, 12 Apr 2018 14:01:24 GMT):
@wangdong may give some hints

eramitg (Thu, 12 Apr 2018 16:10:57 GMT):
@sudheesh001 thanks for suggestion to read this problem from Cornell ,but reading from diffrent University would be no much as compare to work with Hyperledger community with their specific problems for research poin of view..

sudheesh001 (Thu, 12 Apr 2018 16:28:51 GMT):
The problems I described above and as indicated by Cornell's initc3 group are the same problems faced by different hyperledger projects. So the theoretical understanding of those is what's necessary to ensure that you can have significant research contributions to the engineering projects under the hyperledger umbrella. Please also take your time to read the paper on Fabric https://arxiv.org/pdf/1801.10228.pdf

wangdong (Fri, 13 Apr 2018 01:13:22 GMT):
@dexhunter this is an async issue I think. when the request is sent to the fabric network, you have to wait for some time to get the response.

wangdong (Fri, 13 Apr 2018 01:15:24 GMT):
And it efficiency may be affected by other facts, like version or OS. Because in my Mac and I the cloud VM 5 sec is fine. But it does not work in CI.

wangdong (Fri, 13 Apr 2018 01:15:36 GMT):
So I think it is not stable

wangdong (Fri, 13 Apr 2018 01:16:14 GMT):
So we intend to use the async/await mechanism later.

wangdong (Fri, 13 Apr 2018 01:16:58 GMT):
This is the new and original feature of the Python, which is supported after 3.4

wangdong (Fri, 13 Apr 2018 01:21:34 GMT):
BTW Last time you said you can help with the query task, https://jira.hyperledger.org/browse/FAB-9215 this is the tasks.

wangdong (Fri, 13 Apr 2018 01:22:36 GMT):
The pattern is simple, and you can figure it out easily I think. If any problem just ask

wangdong (Fri, 13 Apr 2018 01:23:20 GMT):
https://gerrit.hyperledger.org/r/#/c/20141/

wangdong (Fri, 13 Apr 2018 01:23:52 GMT):
this is the one I have completed with out test case. And you can start here to add a test case for this

wangdong (Fri, 13 Apr 2018 01:26:23 GMT):
And help to refine the code meanwhile.

sudheesh001 (Fri, 13 Apr 2018 02:54:14 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=A74o4A2McCybueHjc) @baohua This looks interesting, However there seem to be failing test cases for chaincode invocation and most of them seem to be from an object called `_Rendezvous`. Are these timeout issues happening on the CI?

baohua (Fri, 13 Apr 2018 03:27:22 GMT):
yeap, still try to figure out what happens....

baohua (Fri, 13 Apr 2018 03:34:32 GMT):
i noticed that when do the cc instantiate, peer reports some error: `go: error while loading shared libraries: /lib/x86_64-linux-gnu/libpthread.so.0: invalid ELF header`

baohua (Fri, 13 Apr 2018 05:34:58 GMT):
fixed: https://gerrit.hyperledger.org/r/#/c/20439/

wangdong (Fri, 13 Apr 2018 06:25:22 GMT):
@baohua I am not clear about the change in network config.

baohua (Fri, 13 Apr 2018 06:25:43 GMT):
the current config has wrong path to the credential files.

baohua (Fri, 13 Apr 2018 06:25:49 GMT):
which is fixed in this patchset

wangdong (Fri, 13 Apr 2018 07:02:23 GMT):
I mean the change: grpcs://localhost:7054 to localhost:7054

wangdong (Fri, 13 Apr 2018 07:03:59 GMT):
I will review the patch thoroughly later on

baohua (Fri, 13 Apr 2018 07:31:33 GMT):
with the grpcs prefix, the connection cannot be established.

wangdong (Fri, 13 Apr 2018 08:45:03 GMT):
then what about the previous test result, are they good?

baohua (Fri, 13 Apr 2018 09:12:02 GMT):
in previous results, they do not use this part in the config

baohua (Fri, 13 Apr 2018 09:12:32 GMT):
the part of config is only used in my new added test cases (i.e., the new channel join API)

baohua (Sat, 14 Apr 2018 14:01:49 GMT):
https://gerrit.hyperledger.org/r/#/c/20565/

baohua (Mon, 16 Apr 2018 03:29:41 GMT):
https://gerrit.hyperledger.org/r/#/c/20141/

beck0505 (Mon, 16 Apr 2018 09:33:11 GMT):
Has joined the channel.

baohua (Tue, 17 Apr 2018 02:11:00 GMT):
@beck0505 here's the channel

beck0505 (Tue, 17 Apr 2018 02:20:08 GMT):
Thanks. I'll be asap to be part of this project.

Sushilpaneru (Tue, 17 Apr 2018 04:44:19 GMT):
Has joined the channel.

wangdong (Wed, 18 Apr 2018 02:28:53 GMT):
it seems the python2 some timezone issue for this line "from datetime import timezone"

wangdong (Wed, 18 Apr 2018 02:29:29 GMT):
I am trying to help some new guy to address this issue

sudheesh001 (Wed, 18 Apr 2018 03:53:30 GMT):
Do we plan to support python2? I thought we were only building for python3+

wangdong (Wed, 18 Apr 2018 04:00:07 GMT):
I think we still support py2, right?

wangdong (Wed, 18 Apr 2018 04:00:28 GMT):
Or just abandon py2 from now?

wangdong (Wed, 18 Apr 2018 04:00:35 GMT):
@baohua

baohua (Wed, 18 Apr 2018 04:20:52 GMT):
i think we need to focus on py3.x

baohua (Wed, 18 Apr 2018 07:47:37 GMT):
Any topic to discuss in this week's meeting?

bjlhe (Wed, 18 Apr 2018 08:03:51 GMT):
Has joined the channel.

baohua (Wed, 18 Apr 2018 09:04:21 GMT):
@here we will cancel this week's meeting, let's keep on the developing, thanks!

CamilleMariniO (Wed, 18 Apr 2018 09:39:55 GMT):
Has joined the channel.

vloup (Wed, 18 Apr 2018 13:31:43 GMT):
Has joined the channel.

baohua (Mon, 23 Apr 2018 05:11:00 GMT):
@Sushilpaneru feel free to discuss here on the issue

Sushilpaneru (Mon, 23 Apr 2018 05:16:47 GMT):
for fab-9497, do we write a wrapper that directly uses configtxgen binary or do we have some kind of API that we can use?

Sushilpaneru (Mon, 23 Apr 2018 05:17:02 GMT):
@baohua

baohua (Mon, 23 Apr 2018 05:21:13 GMT):
for the 1st step, we can wrap configtxgen, and futhermore, we can abandon the configtxgen usage by generating the required transaction code in python all.

baohua (Mon, 23 Apr 2018 05:21:37 GMT):
FAB-9497

Sushilpaneru (Mon, 23 Apr 2018 05:34:32 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=B4NwAXuQQyNn84CGu) @baohua channel_create() -> calls some kind of generate() which calls configtxgen with the name of profile in configtx.yaml file. is this workflow okay?

baohua (Mon, 23 Apr 2018 05:34:51 GMT):
sure!

Sushilpaneru (Mon, 23 Apr 2018 05:36:23 GMT):
so the channel_create will have following arguments channel_create(self, orderer_name, channel_name, requester, configtx, profile). is this fine?

Sushilpaneru (Mon, 23 Apr 2018 05:50:46 GMT):
@baohua

baohua (Mon, 23 Apr 2018 05:51:47 GMT):
in this case, do we still need the `configtx` param?

Sushilpaneru (Mon, 23 Apr 2018 06:17:22 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=PoSKewjbydNHEHmPy) @baohua configtx is path to config yaml file.

Sushilpaneru (Mon, 23 Apr 2018 06:17:38 GMT):
we also have assumption that configtxgen binary is in PATH. will this be a valid assumption?

baohua (Mon, 23 Apr 2018 06:18:26 GMT):
OK, then please use `config_yaml` instead of `configtx`. Others, LGTM.

baohua (Mon, 23 Apr 2018 06:18:56 GMT):
thanks for the work!

Sushilpaneru (Mon, 23 Apr 2018 06:19:14 GMT):
Thanks for the help. I will assign the task to me

Sushilpaneru (Tue, 24 Apr 2018 18:54:58 GMT):
@baohua Please review: https://gerrit.hyperledger.org/r/#/c/20977/

wangdong (Wed, 25 Apr 2018 01:28:03 GMT):
@Sushilpaneru CI failed, please have a look at it.

baohua (Wed, 25 Apr 2018 13:12:35 GMT):
@here we will cancel this week's meeting due to the labor day holidays, let's discuss offline and enjoy the holidays. thanks!

Sushilpaneru (Thu, 26 Apr 2018 18:44:42 GMT):
Please Review https://gerrit.hyperledger.org/r/#/c/20977/

Sushilpaneru (Thu, 26 Apr 2018 19:01:23 GMT):
CI failed because configtxgen location doesn't seem to be in PATH variable.

baohua (Thu, 26 Apr 2018 21:57:23 GMT):
@Sushilpaneru then maybe we should install it in some setup script?

Sushilpaneru (Fri, 27 Apr 2018 05:42:09 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=BLWGA67kx9KYE2q92) @baohua will liik into it

Sushilpaneru (Fri, 27 Apr 2018 05:42:15 GMT):
look*

GuillaumeCisco (Fri, 27 Apr 2018 15:34:02 GMT):
Has joined the channel.

GuillaumeCisco (Fri, 27 Apr 2018 15:35:04 GMT):
Hey there, I've just created my first CR to the fabric-sdk-py and the builder failed, I looked at the log, but coul not find anything helpful, can someone help me here : https://gerrit.hyperledger.org/r/#/c/21123/

GuillaumeCisco (Fri, 27 Apr 2018 15:35:04 GMT):
Hey there, I've just created my first CR to the fabric-sdk-py and the builder failed, I looked at the log, but could not find anything helpful, can someone help me here : https://gerrit.hyperledger.org/r/#/c/21123/

wangdong (Sat, 28 Apr 2018 01:21:07 GMT):
@GuillaumeCisco

wangdong (Sat, 28 Apr 2018 01:21:34 GMT):

Screen Shot 2018-04-28 at 9.20.48 AM.png

wangdong (Sat, 28 Apr 2018 01:22:03 GMT):
It seems that you do not install all the requirements so the environment is not done.

wangdong (Sat, 28 Apr 2018 01:22:33 GMT):
BTW, you can always find the error info in https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/440/console

Sushilpaneru (Sat, 28 Apr 2018 14:30:00 GMT):
Review again: https://gerrit.hyperledger.org/r/#/c/20977/ . Since CI was failing because configtxgen was not in path, I added a script file for setup process assuming CI runs in venv enviroment

wangdong (Sun, 29 Apr 2018 03:40:23 GMT):
@Sushilpaneru Your failure is because of trailing space which is not good format.

wangdong (Sun, 29 Apr 2018 03:41:20 GMT):

Screen Shot 2018-04-29 at 11.38.57 AM.png

wangdong (Sun, 29 Apr 2018 03:41:46 GMT):

Screen Shot 2018-04-29 at 11.40.32 AM.png

wangdong (Sun, 29 Apr 2018 03:42:29 GMT):
before your git review, please run 'make check' to find all the format errors.

GuillaumeCisco (Mon, 30 Apr 2018 10:12:36 GMT):
@wangdong thaks for the reply, if I understand correctly, I have to add in the dependency `libcurl4-openssl-dev` which is not a pip dependency. Do you know in which file I could add this for the build to run? Thanks

GuillaumeCisco (Mon, 30 Apr 2018 10:12:36 GMT):
@wangdong thanks for the reply, if I understand correctly, I have to add in the dependency `libcurl4-openssl-dev` which is not a pip dependency. Do you know in which file I could add this for the build to run? Thanks

GuillaumeCisco (Mon, 30 Apr 2018 10:21:35 GMT):
Should it be in image `hyperledger/fabric-baseos:x86_64-0.3.1` ?

Sushilpaneru (Mon, 30 Apr 2018 13:52:31 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=BDEXGXWWiJhHCxzxd) @wangdong I do that everytime but I get notified error from block_decoder_test.py only. I have removed the trailing whitespaces. CI failed again, it seems CI doesn't run test cases from venv.

Sushilpaneru (Mon, 30 Apr 2018 13:53:53 GMT):
aren't user supposed to use the sdk from venv?

wangdong (Tue, 01 May 2018 01:07:30 GMT):
@GuillaumeCisco what does that package do?

wangdong (Tue, 01 May 2018 01:16:56 GMT):
@Sushilpaneru do you mean the virtual environment? this is the not always the case. I run sdk in my machine, not venv. Actually it is your choice. Anyway I don't think the error is environment related, venv or bare metal. Maybe the py version issue. But we will only support py3.x later. So please make sure your py3.0 environment is good.

wangdong (Tue, 01 May 2018 01:25:13 GMT):
@GuillaumeCisco are you going to install the configtxgen pacakge?

Sushilpaneru (Tue, 01 May 2018 17:26:17 GMT):
@baohua with no failures. https://gerrit.hyperledger.org/r/#/c/21257/

wangdong (Wed, 02 May 2018 04:52:55 GMT):
@Sushilpaneru I reviewed your patch and got one question.

wangdong (Wed, 02 May 2018 04:56:42 GMT):
Is the channel config file output to the hfc/fabric/? I think this is not proper, could you change it to some other dir? Let's keep the code dir clean.

Sushilpaneru (Wed, 02 May 2018 05:20:06 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=nzY3MWBnZ43yvNmR8) @wangdong yes, as a proof of concept I chose the same path for config file. How about we store it in /tmp directory or delete it after the function call is done?

wangdong (Wed, 02 May 2018 05:25:20 GMT):
it is better to store it in /tmp.

GuillaumeCisco (Wed, 02 May 2018 13:09:09 GMT):
@wangdong, If I understand correctly I could fix the issue of installing `pycurl`, if `libcurl4-openssl-dev` is installed before. I do not plan to install configtxgen package.

wangdong (Wed, 02 May 2018 13:20:30 GMT):
Sorry I have not used pycurl. The error results from trailing spaces. as long you can remove them.

wangdong (Wed, 02 May 2018 13:20:36 GMT):
@GuillaumeCisco

GuillaumeCisco (Wed, 02 May 2018 13:25:24 GMT):
@wangdong I think you are mixing my issue with @Sushilpaneru's issue, I did not commit modifications in `create_venv.sh` with trailing spaces

GuillaumeCisco (Wed, 02 May 2018 13:26:49 GMT):
What I'd like to know is where I can add `libcurl4-openssl-dev` for installation for the docker in the CI can install correctly `pycurl`

wangdong (Wed, 02 May 2018 13:28:37 GMT):
you problem is some requirements are missed

wangdong (Wed, 02 May 2018 13:28:49 GMT):
Sorry I missed it.

GuillaumeCisco (Wed, 02 May 2018 13:28:57 GMT):
yes it is

GuillaumeCisco (Wed, 02 May 2018 13:29:37 GMT):
But I don't know where to put `libcurl4-openssl-dev`. And I'm not even sure it will fix the problem for installing pycurl in the `requirements.txt`

wangdong (Wed, 02 May 2018 13:30:58 GMT):
if it is the problem of requirements, then you do not have to install it in docker.

wangdong (Wed, 02 May 2018 13:31:37 GMT):
You should install all the requirements on your development environment.

GuillaumeCisco (Wed, 02 May 2018 13:31:44 GMT):
yes I did it

wangdong (Wed, 02 May 2018 13:32:03 GMT):
pip install -r requirement.txt

GuillaumeCisco (Wed, 02 May 2018 13:32:22 GMT):
I can install `libcurl4-openssl-dev` with `sudo apt install libcurl4-openssl-dev` and then on my machine `pycurl` installs correctly with `pip install - requirements.txt`

GuillaumeCisco (Wed, 02 May 2018 13:32:22 GMT):
I can install `libcurl4-openssl-dev` with `sudo apt install libcurl4-openssl-dev` and then on my machine `pycurl` installs correctly with `pip install -r requirements.txt`

wangdong (Wed, 02 May 2018 13:32:49 GMT):
and requirement-test.txt.

GuillaumeCisco (Wed, 02 May 2018 13:33:41 GMT):
problem is the environment where the `requirements.txt` is installed, I have to tell the CI to first install `libcurl4-openssl-dev`

wangdong (Wed, 02 May 2018 13:39:14 GMT):
CI?

GuillaumeCisco (Wed, 02 May 2018 13:39:27 GMT):
where jenkins launch the testing

wangdong (Wed, 02 May 2018 13:39:38 GMT):
I have no idea about this.

wangdong (Wed, 02 May 2018 13:39:55 GMT):
you can ask baohua for this

GuillaumeCisco (Wed, 02 May 2018 13:40:02 GMT):
thank you

youssefg (Wed, 02 May 2018 18:24:40 GMT):
Has joined the channel.

Sushilpaneru (Wed, 02 May 2018 18:31:51 GMT):
@wangdong -> Review: https://gerrit.hyperledger.org/r/21257

baohua (Thu, 03 May 2018 02:35:04 GMT):
https://gerrit.hyperledger.org/r/#/c/21257/

baohua (Thu, 03 May 2018 02:35:21 GMT):
+2! thanks @Sushilpaneru

baohua (Thu, 03 May 2018 02:43:45 GMT):
@here Dear all, we will have meeting 9PM this evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180503, welcome to attend, thanks!

sudheesh001 (Thu, 03 May 2018 04:25:53 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Q45WT3MrJ4vnvcDzo) @Sushilpaneru Looks great but looks like a few tiny nitpicks :-) Thanks for the patch

sudheesh001 (Thu, 03 May 2018 05:58:27 GMT):
Also can this be abandoned? https://gerrit.hyperledger.org/r/#/c/20977/

baohua (Thu, 03 May 2018 13:00:00 GMT):
it could :)

baohua (Thu, 03 May 2018 13:00:01 GMT):
zoom link changed to: https://zoom.us/j/4034983298

dockeryounger (Thu, 03 May 2018 15:02:38 GMT):
Has joined the channel.

lsenta (Mon, 07 May 2018 13:35:03 GMT):
Has joined the channel.

nahidalam (Tue, 08 May 2018 21:30:18 GMT):
Has joined the channel.

baohua (Thu, 10 May 2018 04:33:26 GMT):
Dear all, will cancel this week's meeting, let's keep discussions online, thanks!

Presto412 (Thu, 10 May 2018 11:53:38 GMT):
Has joined the channel.

Presto412 (Thu, 10 May 2018 12:08:55 GMT):
Hello, I just joined. If anyone could provide a gist of the current development status it would be helpful. Can someone point me to the right direction?

baohua (Thu, 10 May 2018 13:53:48 GMT):
sure, @Presto412 hope this will provide some basic info: https://wiki.hyperledger.org/projects/fabric-sdk-py

baohua (Thu, 10 May 2018 13:54:03 GMT):
feel free to let me know if you have further questions

Sushilpaneru (Thu, 10 May 2018 21:44:43 GMT):
Please Review: https://gerrit.hyperledger.org/r/#/c/21693/

Sushilpaneru (Thu, 10 May 2018 22:21:44 GMT):
CI failed because curl for fabric binary download failed. https://goo.gl/6wtTN5 might have got changed

rohitsahu21 (Fri, 11 May 2018 00:56:06 GMT):
Has joined the channel.

rohitsahu21 (Fri, 11 May 2018 01:00:36 GMT):
how to develop a python program in hyperledger fabric

baohua (Fri, 11 May 2018 01:33:32 GMT):
@Sushilpaneru let's fix ci failure first~

rohitsahu21 (Fri, 11 May 2018 01:43:18 GMT):
but someone give me assignment create a voting application in python hyperledger fabric so what i tell him?? because its a interview assinment so how to explain it.

Sushilpaneru (Fri, 11 May 2018 11:50:49 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Wiy3X3wB9qbshhhnD) @baohua Fixed the issue with CI. You can review now.

Sushilpaneru (Fri, 11 May 2018 11:51:03 GMT):
https://gerrit.hyperledger.org/r/#/c/21693/

baohua (Fri, 11 May 2018 12:26:53 GMT):
reviewed, thanks! @Sushilpaneru

Sushilpaneru (Fri, 11 May 2018 14:17:53 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=T7KKsN8QSP3AQjmCa) @baohua I have replied to your comments. can you please look into it?

baohua (Fri, 11 May 2018 14:32:31 GMT):
sure

Sushilpaneru (Mon, 14 May 2018 15:21:14 GMT):
Review: https://gerrit.hyperledger.org/r/#/c/21757/

baohua (Tue, 15 May 2018 03:42:20 GMT):
merged, thanks! @Sushilpaneru

Sushilpaneru (Tue, 15 May 2018 06:07:43 GMT):
I needed a help

Sushilpaneru (Tue, 15 May 2018 06:08:01 GMT):
After chaincode invocation, I deserialized the response to ProposalResponse message; ProposaResponse.payload to ProposalResponsePayload; ProposalResponsePayload.extension to ChaincodeAction. Now I'm confused to what message should I deserialize ChaincodeAction.Response.payload ?

Sushilpaneru (Tue, 15 May 2018 06:39:49 GMT):
Anyways, found the solution, had to use block decoder

Sushilpaneru (Tue, 15 May 2018 09:55:49 GMT):
Please Review: https://gerrit.hyperledger.org/r/#/c/21805/

baohua (Thu, 17 May 2018 02:58:53 GMT):
@here Dear all, we will have meeting 9PM this evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180517, welcome to attend, thanks!

grapebaba (Tue, 22 May 2018 06:53:49 GMT):
https://gerrit.hyperledger.org/r/#/c/22111/

grapebaba (Tue, 22 May 2018 06:53:55 GMT):
@baohua @wangdong

baohua (Tue, 22 May 2018 06:54:16 GMT):
reviewing

baohua (Tue, 22 May 2018 06:54:33 GMT):
oh, let's wait till ci passed first.

baohua (Tue, 22 May 2018 06:54:43 GMT):
:alarm_clock:

baohua (Tue, 22 May 2018 06:56:04 GMT):
Shouldn't we give it a version range? and where do we introduce the dependency?

wangdong (Tue, 22 May 2018 07:14:56 GMT):
The CI passed

baohua (Tue, 22 May 2018 08:41:09 GMT):
+2!

wangdong (Tue, 22 May 2018 09:11:39 GMT):
it is odd, I can not fix with protobuf yesterday. It is version required?

david_dornseifer (Tue, 22 May 2018 20:04:12 GMT):
Hi, merged the patch since that the master was broken

baohua (Wed, 23 May 2018 00:09:55 GMT):
:sunny:

dhruvrana (Wed, 23 May 2018 09:25:45 GMT):
Has joined the channel.

dhruvrana (Wed, 23 May 2018 09:25:55 GMT):
can anyone help in python-SDK. I am trying to build a channel following this tutorial : https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md. It says channel profile argument is missing.

baohua (Wed, 23 May 2018 13:31:03 GMT):
@dhruvrana which step and what error?

diegoduncan21 (Wed, 23 May 2018 19:51:30 GMT):
hi all, i want to do this(on node sdl) but with python sdk, how i do that?: ``` const request = { //targets : --- letting this default to the peers assigned to the channel chaincodeId: 'mycontract', fcn: 'query', args: ['a'] }; // send the query proposal to the peer return channel.queryByChaincode(request); ```

diegoduncan21 (Wed, 23 May 2018 19:51:30 GMT):
hi all, i want to do this(on node sdk) but with python sdk, how i do that?: ``` const request = { //targets : --- letting this default to the peers assigned to the channel chaincodeId: 'mycontract', fcn: 'query', args: ['a'] }; // send the query proposal to the peer return channel.queryByChaincode(request); ```

diegoduncan21 (Wed, 23 May 2018 19:51:30 GMT):
hi all, i want to do this(on node sdk) but with python sdk, how i do that?: ``` const request = { chaincodeId: 'mycontract', fcn: 'query', args: ['a'] }; // send the query proposal to the peer return channel.queryByChaincode(request); ```

diegoduncan21 (Wed, 23 May 2018 19:51:30 GMT):
hi all, i want to do this(on node sdk) but with python sdk, how can i do that?: ``` const request = { chaincodeId: 'mycontract', fcn: 'query', args: ['a'] }; // send the query proposal to the peer return channel.queryByChaincode(request); ```

diegoduncan21 (Wed, 23 May 2018 19:52:54 GMT):
i tested with channel.query_installed_chaincodes but is not the same function.

dhruvrana (Thu, 24 May 2018 05:43:49 GMT):
@baohua Create a New Channel step. error: channel_create() missing 1 required positional argument: 'channel_profile'

baohua (Thu, 24 May 2018 05:56:00 GMT):
@dhruvrana oh, the doc is not updated. it should follow here: hfc/fabric/client.py

baohua (Thu, 24 May 2018 05:56:30 GMT):
Btw, would u like to help update the doc?

dhruvrana (Thu, 24 May 2018 06:00:28 GMT):
I saw client.py but still how should I create new channel ? What needs to be passed in channel profile? Adbout doc .. I never did anything like that before .. Yeah I would like to help. What do I have to do ?

dhruvrana (Thu, 24 May 2018 06:00:28 GMT):
I saw client.py but still how should I create new channel ? What needs to be passed in channel profile? And about doc .. I never did anything like that before .. Yeah I would like to help. What do I have to do ?

baohua (Thu, 24 May 2018 08:16:13 GMT):
oh, you may have a look at the example here at test/integration/e2e_test.py. To update the doc with a pr, pls check https://github.com/hyperledger/fabric-sdk-py/blob/master/CONTRIBUTING.md.

Sushilpaneru (Thu, 24 May 2018 09:02:36 GMT):
Review Needed: https://gerrit.hyperledger.org/r/#/c/21805/

wangdong (Thu, 24 May 2018 10:32:27 GMT):
+2

baohua (Thu, 24 May 2018 10:45:58 GMT):
Dear all, will cancel this week's meeting due to low agenda.

diegoduncan21 (Thu, 24 May 2018 17:49:34 GMT):
Hi, how can i generate automatically this file `test/fixtures/network.json`?

wangdong (Fri, 25 May 2018 03:24:10 GMT):
@diegoduncan21 Can we generate this file? I don't think so.

baohua (Fri, 25 May 2018 07:19:40 GMT):
correct, it was manually created now. Do you have any requirement to generate it automatically? @diegoduncan21

diegoduncan21 (Mon, 28 May 2018 13:07:46 GMT):
thanks both, i thought that it maybe could generate it using crypto-config folder. What do you think about it? The requirement it just quickness.

baohua (Tue, 29 May 2018 01:55:21 GMT):
yes, it would be nice if can be automatic.

AlexanderZhovnuvaty (Wed, 30 May 2018 11:38:51 GMT):
Has joined the channel.

baohua (Thu, 31 May 2018 01:35:43 GMT):
@here Dear all, we will have meeting 9PM this evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180531, welcome to attend, thanks!

Alex0 (Thu, 31 May 2018 10:06:00 GMT):
Has joined the channel.

baohua (Thu, 31 May 2018 13:38:14 GMT):
Today's meeting minutes is available at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180531.

slimandslam (Thu, 31 May 2018 21:43:50 GMT):
Has joined the channel.

slimandslam (Thu, 31 May 2018 21:53:53 GMT):
Anyone here?

slimandslam (Thu, 31 May 2018 21:55:43 GMT):
I have a question about doing "make install" to install the Python Fabric SDK.

slimandslam (Thu, 31 May 2018 21:57:08 GMT):
It seems to fail trying to install grpcio which I already have installed: $ pip3 install grpcio Requirement already satisfied: grpcio in /home/ec2-user/.local/lib/python2.7/site-packages (1.12.0)

slimandslam (Thu, 31 May 2018 21:58:01 GMT):
But during the "make install", it does not seem to find grpcio: `Processing dependencies for hfc==0.7.0 Searching for grpcio>=1.0.1 Reading https://pypi.python.org/simple/grpcio/ Downloading https://files.pythonhosted.org/packages/87/42/cbd9bf779156031c20b4454a8a3a03c92adfcfd55f2295717ad403d6f381/grpcio-1.12.0.tar.gz#sha256=e1fd1f0782751d281e7d4e67b8d3143f0326cf3a7ab7c7ccf21ee51a152a5c37 Best match: grpcio 1.12.0 Processing grpcio-1.12.0.tar.gz`

slimandslam (Thu, 31 May 2018 21:58:01 GMT):
But during the "make install", it does not seem to find grpcio: Processing dependencies for hfc==0.7.0 Searching for grpcio>=1.0.1 Reading https://pypi.python.org/simple/grpcio/ Downloading https://files.pythonhosted.org/packages/87/42/cbd9bf779156031c20b4454a8a3a03c92adfcfd55f2295717ad403d6f381/grpcio-1.12.0.tar.gz#sha256=e1fd1f0782751d281e7d4e67b8d3143f0326cf3a7ab7c7ccf21ee51a152a5c37 Best match: grpcio 1.12.0 Processing grpcio-1.12.0.tar.gz

slimandslam (Thu, 31 May 2018 21:59:15 GMT):
Any ideas here?

slimandslam (Thu, 31 May 2018 22:05:37 GMT):
This is the latest (master) from github on Amazon Linux.

slimandslam (Thu, 31 May 2018 22:05:37 GMT):
That was using the latest (master) code from github on Amazon Linux.

wangdong (Fri, 01 Jun 2018 01:39:40 GMT):
@slimandslam yes

tian (Fri, 01 Jun 2018 01:40:52 GMT):
Has joined the channel.

wangdong (Fri, 01 Jun 2018 02:25:01 GMT):
Would you please paste the error log here?

wangdong (Fri, 01 Jun 2018 02:25:04 GMT):
@slimandslam

slimandslam (Fri, 01 Jun 2018 04:34:42 GMT):

error.txt

slimandslam (Fri, 01 Jun 2018 04:34:48 GMT):
Ok. There it is.

wangdong (Fri, 01 Jun 2018 04:43:24 GMT):
@slimandslam This error "execvp: No such file or directory " is the initial error, I think.

wangdong (Fri, 01 Jun 2018 04:43:56 GMT):
https://stackoverflow.com/questions/11912878/gcc-error-gcc-error-trying-to-exec-cc1-execvp-no-such-file-or-directory

wangdong (Fri, 01 Jun 2018 04:44:06 GMT):
have a look at this link

slimandslam (Fri, 01 Jun 2018 04:57:13 GMT):
unfortunately, none of those fixes work. It says that "yum install gcc-c++" and "yum install gcc-c++.noarch" are already installed.

slimandslam (Fri, 01 Jun 2018 04:58:07 GMT):
I still don't understand why it's trying to install grpcio

GuillaumeCisco (Fri, 01 Jun 2018 08:02:16 GMT):
I had the same issue as you @slimandslam and solved it, by simply running `pip3 install grpcio>= 1.0.1`

GuillaumeCisco (Fri, 01 Jun 2018 08:03:06 GMT):
in my custom docker I beforehand run: ``` RUN apt-get install -y python3-dev python3-setuptools python3-pip RUN pip3 install --upgrade pip ``` Hope it will help

slimandslam (Fri, 01 Jun 2018 20:46:24 GMT):
Doesn't seem to work for me: `$ pip3 install grpcio Requirement already satisfied: grpcio in /home/ec2-user/.local/lib/python2.7/site-packages (1.12.0) Requirement already satisfied: enum34>=1.0.4 in /usr/local/lib/python2.7/site-packages (from grpcio) (1.1.6) Requirement already satisfied: futures>=2.2.0 in /usr/lib/python2.7/dist-packages (from grpcio) (3.0.3) Requirement already satisfied: six>=1.5.2 in /home/ec2-user/.local/lib/python2.7/site-packages (from grpcio) (1.11.0) $ pip3 install grpcio >= 1.0.1 Could not find a version that satisfies the requirement 1.0.1 (from versions: ) No matching distribution found for 1.0.1 $`

slimandslam (Fri, 01 Jun 2018 20:46:24 GMT):
Doesn't seem to work for me: $ pip3 install grpcio Requirement already satisfied: grpcio in /home/ec2-user/.local/lib/python2.7/site-packages (1.12.0) Requirement already satisfied: enum34>=1.0.4 in /usr/local/lib/python2.7/site-packages (from grpcio) (1.1.6) Requirement already satisfied: futures>=2.2.0 in /usr/lib/python2.7/dist-packages (from grpcio) (3.0.3) Requirement already satisfied: six>=1.5.2 in /home/ec2-user/.local/lib/python2.7/site-packages (from grpcio) (1.11.0) $ pip3 install grpcio >= 1.0.1 Could not find a version that satisfies the requirement 1.0.1 (from versions: ) No matching distribution found for 1.0.1 $

slimandslam (Fri, 01 Jun 2018 20:46:43 GMT):
`test`

shibasisp (Sat, 02 Jun 2018 17:48:10 GMT):
Has joined the channel.

dexhunter (Sun, 03 Jun 2018 09:37:48 GMT):
@slimandslam I think it's about python version. After you `pip3 install grpcio` it's indicating you installed for python2.7. I think you need to use python3 as default interpreter

dexhunter (Sun, 03 Jun 2018 09:37:48 GMT):
@slimandslam I think it's about python version. After you `pip3 install grpcio` it's indicating you installed for python2.7. I think you need to use python3 as default interpreter. Or you can just use a virtualenv, something like `virtualenv --system-site-packages -p python3 targetDirectory # for Python 3.n`

Aswath8687 (Mon, 04 Jun 2018 17:53:09 GMT):
Has joined the channel.

slimandslam (Mon, 04 Jun 2018 18:16:39 GMT):
This worked: `$ curl -O https://bootstrap.pypa.io/get-pip.py` `$ python3 get-pip.py --user`

baohua (Tue, 05 Jun 2018 01:14:42 GMT):
@dexhunter we can add common questions into the documentation or some FAQ. thanks

dexhunter (Tue, 05 Jun 2018 08:48:08 GMT):
@baohua Sure. Should I add to a separate file or an existing one?

baohua (Wed, 06 Jun 2018 09:14:28 GMT):
both are ok

baohua (Wed, 06 Jun 2018 09:14:37 GMT):
@dexhunter

baohua (Wed, 06 Jun 2018 09:15:24 GMT):
Dear all, will cancel this week meeting, pls discuss offline if any issue, thanks! @here

dexhunter (Thu, 07 Jun 2018 03:06:41 GMT):
Hello! I want to ask what is the order of current py.test implementation (invoked by tox)? Is it executed according to the file order under /unit or something else? And does this order matter in the test? Thank you!

baohua (Thu, 07 Jun 2018 08:14:52 GMT):
the order is handled by tox, but we should not suppose it's fixed. you may noticed that each test case is self-contained now.

dexhunter (Thu, 07 Jun 2018 08:46:28 GMT):
I see. thank you! @baohua

abraham (Fri, 08 Jun 2018 05:30:47 GMT):
Has joined the channel.

prabal (Mon, 11 Jun 2018 12:22:25 GMT):
Has joined the channel.

prabal (Mon, 11 Jun 2018 12:25:31 GMT):
Hi. Is the invoke and query APIs ready? The documentation and e2e_test.py don't contain anything for invoke and query as of now.

wangdong (Mon, 11 Jun 2018 13:02:48 GMT):
@prabal query is not ready. invoke is ready.

prabal (Mon, 11 Jun 2018 15:11:08 GMT):
@wangdong Can you please give me a reference to the format/sample query? Also, any workaround for the query?

wangdong (Mon, 11 Jun 2018 23:55:11 GMT):
The query will be finished soon. all the function can be found in channel.py and the example is under test/integratoin/

dexhunter (Tue, 12 Jun 2018 14:09:52 GMT):

Screenshot from 2018-06-12 21-41-48.png

dexhunter (Tue, 12 Jun 2018 14:09:52 GMT):

Screenshot from 2018-06-12 21-41-48.png

dexhunter (Tue, 12 Jun 2018 14:09:52 GMT):

Screenshot from 2018-06-12 21-41-48.png

wangdong (Tue, 12 Jun 2018 22:45:08 GMT):
@dexhunter that means the operation fails.

wangdong (Tue, 12 Jun 2018 22:45:43 GMT):
no need to call this static function. I mean _send_tx_proposal.

wangdong (Tue, 12 Jun 2018 22:46:07 GMT):
Take a look at node sdk for referrence.

wangdong (Tue, 12 Jun 2018 23:15:43 GMT):
some comment for your patch, pleas consider.

dexhunter (Wed, 13 Jun 2018 01:13:08 GMT):
> Take a look at node sdk for referrence. I did check nodejs sdk. But they also have a request and check the payload of the response, however, I am not sure if there are an existing function to do such operation in sdk-py or I need to write one from scratch?

baohua (Wed, 13 Jun 2018 01:58:20 GMT):
@dexhunter pls have a look at https://github.com/CognitionFoundry/gohfc and https://github.com/hyperledger/fabric-sdk-go, whose grammar is more close to Python. And pls read the existing documentation and have a quick explore of the code structure first. Btw, we will have the meeting this week, feel free to bring up your questions.

dexhunter (Wed, 13 Jun 2018 04:13:58 GMT):
I'll check it, thank you very much @baohua

baohua (Wed, 13 Jun 2018 04:55:13 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180614, welcome to attend, thanks!

dexhunter (Thu, 14 Jun 2018 12:56:12 GMT):
zoom

paulananth (Fri, 15 Jun 2018 12:19:56 GMT):
Has joined the channel.

dexhunter (Thu, 21 Jun 2018 00:48:26 GMT):

Screenshot from 2018-06-21 07-43-17.png

dexhunter (Thu, 21 Jun 2018 00:48:26 GMT):

Screenshot from 2018-06-21 07-43-17.png

dexhunter (Thu, 21 Jun 2018 00:48:26 GMT):

Screenshot from 2018-06-21 07-43-17.png

dexhunter (Thu, 21 Jun 2018 00:49:04 GMT):
And you can ignore the print function that are used for debugging.

wangdong (Thu, 21 Jun 2018 01:22:50 GMT):
If you want to debug, just add some log here for debug when it is necessary.

dexhunter (Thu, 21 Jun 2018 01:34:31 GMT):
I see. Thanks for the suggestion.

dexhunter (Thu, 21 Jun 2018 01:34:31 GMT):
I see. Thanks for the suggestion. But since I am new to the project, I was just trying to see what's the result of each step and I guess it's not necessary to add them to the log.

baohua (Thu, 21 Jun 2018 06:16:31 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180621, welcome to attend, thanks!

IgorSim (Thu, 21 Jun 2018 13:17:56 GMT):
Has joined the channel.

dklesev (Fri, 22 Jun 2018 12:31:16 GMT):
Has joined the channel.

CsterKuroi (Mon, 02 Jul 2018 01:47:41 GMT):
Has joined the channel.

yulong12 (Wed, 04 Jul 2018 01:37:53 GMT):
Has joined the channel.

baohua (Thu, 05 Jul 2018 01:31:42 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180705, welcome to attend, thanks!

baohua (Thu, 05 Jul 2018 12:49:35 GMT):
https://gerrit.hyperledger.org/r/#/c/24065/

dexhunter (Sat, 07 Jul 2018 22:47:28 GMT):
HI! I don't quite understand why `send_install_proposal` in `Client` will create a new channel (as shown at https://github.com/hyperledger/fabric-sdk-py/blob/8152fea3c66080078773af99054e93fb4e67836c/hfc/fabric/client.py#L664-L666) instead of user indicating the channel (such as using `get_channel`)?

dexhunter (Sun, 08 Jul 2018 10:51:17 GMT):
https://gerrit.hyperledger.org/r/#/c/24219/

dexhunter (Sun, 08 Jul 2018 10:55:42 GMT):
https://gerrit.hyperledger.org/r/#/c/24221/

dexhunter (Sun, 08 Jul 2018 11:42:50 GMT):
A problem with invoke is that I have to instantiate the cc in the same function (I tried to just send a tx_propsal but it will return cc not exist error) because `send_transaction(orderers, tran_req, tx_context, scheduler=None)` requires `tran_req` which is built from response of instantiation. Besides, I wonder if anyone knows a workaround for the problem or any suggestions? Thanks!

dexhunter (Sun, 08 Jul 2018 11:42:50 GMT):
A problem with invoke is that I have to instantiate the cc in the same function (I tried to just send a tx_propsal but it will return cc not exist error) because `send_transaction(orderers, tran_req, tx_context, scheduler=None)` requires `tran_req` which is built from response of instantiation. I also tried to just send_cc_proposal but it seems that lscc does not support CC_INVOKE. So, I wonder if anyone knows a workaround for the problem or any suggestions? Thanks!

baohua (Mon, 09 Jul 2018 13:08:59 GMT):
@dexhunter i guess it's not creating channel but just get a handler of the channel. i agree can rename to get_channel.

baohua (Mon, 09 Jul 2018 13:09:26 GMT):
not quite follow the question of `send_transaction`.

dexhunter (Mon, 09 Jul 2018 13:28:20 GMT):
@baohua thanks, I'll take the liberty to rename it. The question is related to `invoke`. The problem is even after I instantiated the cc from the previous function, if I do not instantiate the cc in the same function with invoke, it will return the cc does not exist error. Besides, my local `make check` passed while jenkins build fails at the instantiate step. I guess it was caused by reactive programming since the error indicates the queue is empty. Although I am taking a deeper look at reactive programming, if anyone knows how to fix it, please help, so we can make the process faster. Thanks!

dexhunter (Mon, 09 Jul 2018 13:28:20 GMT):
@baohua thanks, I'll take the liberty to rename it. The second question is related to `invoke`. The problem is even after I instantiated the cc from the previous function, if I do not instantiate the cc in the same function with invoke, it will return the cc does not exist error. Besides, my local `make check` passed while jenkins build fails at the instantiate step. I guess it was caused by reactive programming since the error indicates the queue is empty. Although I am taking a deeper look at reactive programming, if anyone knows how to fix it, please help, so we can make the process faster. Thanks!

dexhunter (Mon, 09 Jul 2018 13:28:20 GMT):
@baohua thanks, I'll take the liberty to rename it. The second question is related to `invoke`. The problem is that after I instantiated the cc from the previous function, if I do not instantiate the cc in the same function with invoke, it will return the cc does not exist error. Besides, my local `make check` passed while jenkins build fails at the instantiate step. I guess it was caused by reactive programming since the error indicates the queue is empty. Although I am taking a deeper look at reactive programming, if anyone knows how to fix it, please help, so we can make the process faster. Thanks!

dexhunter (Mon, 09 Jul 2018 13:28:20 GMT):
@baohua thanks, I'll take the liberty to rename it. The second question is related to `invoke`. The problem is that, even after I instantiated the cc from the previous function, if I do not instantiate the cc in the same function with invoke, it will return the cc does not exist error. Besides, my local `make check` passed while jenkins build fails at the instantiate step. I guess it was caused by reactive programming since the error indicates the queue is empty. Although I am taking a deeper look at reactive programming, if anyone knows how to fix it, please help, so we can make the process faster. Thanks!

dexhunter (Mon, 09 Jul 2018 13:28:20 GMT):
@baohua thanks, I'll take the liberty to rename it. The second question is related to `invoke`. The problem is that, even after I instantiated the cc from the previous function, if I do not instantiate the cc in the same function with invoke, it will return the cc does not exist error. Besides, my local `make check` passed while jenkins build fails at the instantiate step. I guess it was caused by reactive programming since the error indicates the queue is empty. Although I am taking a deeper look at reactive programming, if anyone knows how to fix it, please help, so we can make the process faster. Thanks!

dexhunter (Mon, 09 Jul 2018 13:28:20 GMT):
@baohua thanks, I'll take the liberty to rename it. The second question is related to `invoke`. The problem is that, even after I instantiated the cc from the previous function, if I do not instantiate the cc in the same function with invoke, it will return the cc does not exist error. Besides, my local `make check` passed while jenkins build fails at the instantiate step. I guess it was caused by reactive programming since the error indicates the queue is empty. Although I am taking a deeper look at reactive programming, if anyone knows how to fix it, please help, so we can make the process faster. Thanks!

dexhunter (Mon, 09 Jul 2018 13:28:20 GMT):
@baohua thanks, I'll take the liberty to rename it. The second question is related to `invoke`. The problem is that, even after I instantiated the cc from the previous function, if I do not instantiate the cc in the same function with invoke, it will return the cc does not exist error. Another problem is, my local `make check` passed while jenkins build fails at the instantiate step and I am not sure how to replicate the problem at the local laptop. I guess it was caused by reactive programming since the error indicates the queue is empty. Although I am taking a deeper look at reactive programming, if anyone knows how to fix it, please help, so we can make the process faster. Thanks!

dexhunter (Mon, 09 Jul 2018 13:28:20 GMT):
@baohua thanks, I'll take the liberty to change the function. The second question is related to `invoke`. The problem is that, even after I instantiated the cc from the previous function, if I do not instantiate the cc in the same function with invoke, it will return the cc does not exist error. Another problem is, my local `make check` passed while jenkins build fails at the instantiate step and I am not sure how to replicate the problem at the local laptop. I guess it was caused by reactive programming since the error indicates the queue is empty. Although I am taking a deeper look at reactive programming, if anyone knows how to fix it, please help, so we can make the process faster. Thanks!

baohua (Tue, 10 Jul 2018 03:08:26 GMT):
have u check the ci's error log? besides, feel free to change the reactive model to simple checking.

dexhunter (Tue, 10 Jul 2018 04:49:02 GMT):
Yes the error indicates the queue is empty (which is used to get the response of instantiate cc)

NoLimitHoldem (Wed, 11 Jul 2018 06:19:00 GMT):
Has joined the channel.

baohua (Wed, 11 Jul 2018 07:08:49 GMT):
@here Due to low profile, we will cancel the meeting for this week. thanks!

maksimfedin (Mon, 16 Jul 2018 04:08:16 GMT):
Has joined the channel.

baohua (Tue, 17 Jul 2018 13:06:18 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180719, welcome to attend, thanks!

dexhunter (Wed, 18 Jul 2018 14:02:53 GMT):
Hi! I have a question regarding to `invoke`. In the docs > The CLI invokes chaincode by sending a transaction proposal to a peer. The peer will execute the chaincode and send the endorsed proposal response (or error) to the CLI. But in the current test code, I saw that we can only send the tx proposal of invoke after a cc proposal (such as instantiate). (To be more detailed: `tran_req` needs `res` which is returned by `send_instantiate_proposal`) When I try to send the tx proposal of invoke first and build tx from it, I got `TypeError: '_Rendezvous' object does not support indexing` error. So it seems the response of just sending tx proposal of invoke does not work. Does anyone knows what might caused the problem? Thanks!

dexhunter (Wed, 18 Jul 2018 18:43:32 GMT):
I also added query installed chaincodes from client at the new patchset https://gerrit.hyperledger.org/r/#/c/24219/

baohua (Thu, 19 Jul 2018 01:08:50 GMT):
@dexhunter invoke/instantiate means: 1) send a Signedproposal to peer, and get response 2)create Envelope based on the response and send to orderer. Would suggest you remove the react mode and check the response first. the status code should be 200 (means OK)

baohua (Thu, 19 Jul 2018 01:09:47 GMT):
+2, thanks!

dexhunter (Thu, 19 Jul 2018 03:56:54 GMT):
@baohua Thank you for the reply. I wonder what are the active subjects in the sentence? If I am not misunderstanding, 1) the client (who is the requestor) sends a Signedproposal to peer and gets response 2) The peers ( the channel ) create an Envelope and send to the orderer > Would suggest you remove the react mode and check the response first. I was wondering to do that as well. But there are some logics I am still trying to figure out so I haven't started since it seems I need to rewrite a bunch of functions.

ilamparithi10 (Thu, 19 Jul 2018 05:27:21 GMT):
Has joined the channel.

ilamparithi10 (Thu, 19 Jul 2018 05:30:05 GMT):
Hi all, I am using fabric-sdk-py for my development. I create a channel using client.channel_create it returns true, But when i try to join a peer to channel it shows this error root:channel "mychannelname" not existed when join

dexhunter (Thu, 19 Jul 2018 08:44:32 GMT):
@ilamparithi10 Hi! What's the arguments you used for creating and joining the channel? (A screenshot might be helpful) Besides, the py-sdk is not ready for production yet.

dexhunter (Thu, 19 Jul 2018 08:46:08 GMT):

Screenshot from 2018-07-19 16-44-55.png

ilamparithi10 (Thu, 19 Jul 2018 09:25:49 GMT):
@dexhunter for creating channel, response = cli.channel_create('orderer.example.com','hellouser',org1_admin, 'test/fixtures/e2e_cli/', # config_yaml 'TwoOrgsChannel' # channel_profile )

ilamparithi10 (Thu, 19 Jul 2018 09:27:53 GMT):
@dexhunter it returns true . but while a peer joining the channel, my code response = cli.channel_join( org1_admin, #requester 'hellouser', #channel_name ['peer0.org1.example.com', 'peer1.org1.example.com'], #peer_names 'orderer.example.com' #orderer_name ) It returns *WARNING:root:channel hellouser not existed when join False*

ilamparithi10 (Thu, 19 Jul 2018 09:32:09 GMT):
When will the python sdk be ready for the production?

dexhunter (Thu, 19 Jul 2018 09:33:34 GMT):
What's the result of `cli._channels`?

dexhunter (Thu, 19 Jul 2018 09:33:34 GMT):
What's the result of `cli._channels`? @ilamparithi10

dexhunter (Thu, 19 Jul 2018 09:33:58 GMT):
> When will the python sdk be ready for the production? In few weeks I suppose.

dexhunter (Thu, 19 Jul 2018 09:33:58 GMT):
> When will the python sdk be ready for the production? 1.0 In few weeks I suppose.

dexhunter (Thu, 19 Jul 2018 09:35:31 GMT):
@ilamparithi10 What's the result of `cli._channels`?

ilamparithi10 (Thu, 19 Jul 2018 09:38:59 GMT):
@dexhunter The response for cli.channels is true only.

dexhunter (Thu, 19 Jul 2018 09:43:46 GMT):
@ilamparithi10 What about you change a channel name and try again?

ilamparithi10 (Thu, 19 Jul 2018 09:46:36 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=aCFkLBBg3pQY5E764) @dexhunter same response only. I have tried about 10-15 times.

ilamparithi10 (Thu, 19 Jul 2018 09:54:26 GMT):
@dexhunter I have tried about retrieving all the channels but the response is empty dict only.

dexhunter (Thu, 19 Jul 2018 09:55:59 GMT):
I am guessing the problem is related to the cache of docker images. I also experienced the same problem when closing the docker and reopening to create a channel with the same name. But after I changed the channel name it worked.

ilamparithi10 (Thu, 19 Jul 2018 09:56:55 GMT):
I even tried the clear all the docker images. but the same result only.

dexhunter (Thu, 19 Jul 2018 09:57:28 GMT):
On which folder are you trying the operations?

dexhunter (Thu, 19 Jul 2018 09:57:56 GMT):
could you try at the ?

dexhunter (Thu, 19 Jul 2018 09:57:56 GMT):
could you try under the ?

ilamparithi10 (Thu, 19 Jul 2018 09:58:20 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=iSaasp8xxkN3qvshD) @dexhunter At the same path only i am trying.

dexhunter (Thu, 19 Jul 2018 09:59:22 GMT):
what's the response at the docker side?

ilamparithi10 (Thu, 19 Jul 2018 10:00:49 GMT):
it lists the all the containers cleared

ilamparithi10 (Thu, 19 Jul 2018 10:01:50 GMT):
I even tried deleting and reinstalling the sdk, but no success.

dexhunter (Thu, 19 Jul 2018 10:04:35 GMT):
no, I mean after you set the docker up and run the cli.channel_join

ilamparithi10 (Thu, 19 Jul 2018 10:05:31 GMT):
This error only, WARNING:root:channel hellouser not existed when join False

dexhunter (Thu, 19 Jul 2018 10:06:01 GMT):

Screenshot from 2018-07-19 18-05-48.png

dexhunter (Thu, 19 Jul 2018 10:06:56 GMT):
Something like this. If the prefix are red then it's indicating something is wrong. But I don't know what did you see

dexhunter (Thu, 19 Jul 2018 10:07:44 GMT):
Or did you forget to set up the fabric network?

ilamparithi10 (Thu, 19 Jul 2018 10:07:49 GMT):

Clipboard - July 19, 2018 3:37 PM

ilamparithi10 (Thu, 19 Jul 2018 10:08:25 GMT):
i set up the fabric network by following their official tutorial

dexhunter (Thu, 19 Jul 2018 10:10:01 GMT):

Screenshot from 2018-07-19 18-09-19.png

ilamparithi10 (Thu, 19 Jul 2018 10:10:01 GMT):
https://chat.hyperledger.org/channel/fabric-sdk-py?msg=woMTq9oiDZpQxJ7og This is the response when i created a channel. But when i run cli.channel_join nothing is happening in console

ilamparithi10 (Thu, 19 Jul 2018 10:12:31 GMT):
When i create a multiple channel and i run cli._channels it shows only the last created channel. I don't know why?

dexhunter (Thu, 19 Jul 2018 10:14:19 GMT):
the `cli._channels` is `dict` so it probably won't overwrite the previous channels.

dexhunter (Thu, 19 Jul 2018 10:14:40 GMT):
unless you overwrite the channel name

ilamparithi10 (Thu, 19 Jul 2018 10:14:55 GMT):
But it does in my case i don't know why.. its sounds weird

ilamparithi10 (Thu, 19 Jul 2018 10:15:24 GMT):
I changed my channel name entirely each time

dexhunter (Thu, 19 Jul 2018 10:15:26 GMT):
Sorry but I have no idea neither.

ilamparithi10 (Thu, 19 Jul 2018 10:16:06 GMT):
so what may be the problem?

ilamparithi10 (Thu, 19 Jul 2018 10:16:38 GMT):
True {'testchannel': }

ilamparithi10 (Thu, 19 Jul 2018 10:17:24 GMT):
This is the response of channel creation and last line is the response of cli._channels

dexhunter (Thu, 19 Jul 2018 10:19:20 GMT):
This seems working. What's the result of joining the channel? Maybe there is something wrong with the format? Could you try `cli.channel_join(org1_admin, 'testchannel', ['peer0.org1.example.com'], 'orderer.example.com')` ?

ilamparithi10 (Thu, 19 Jul 2018 10:21:28 GMT):
I did the same cli.channel_join(org1_admin,'testchannel',['peer0.org1.example.com','peer1.org1.example.com'], 'orderer.example.com'), but it results the same.. WARNING:root:channel testchannel not existed when join False

ilamparithi10 (Thu, 19 Jul 2018 11:05:44 GMT):
@baohua can you help me ?

baohua (Thu, 19 Jul 2018 13:59:30 GMT):
that because you do not create and join the testchannel

baohua (Thu, 19 Jul 2018 13:59:43 GMT):
pls try our integration test case, which helps start a network.

ilamparithi10 (Thu, 19 Jul 2018 14:04:35 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=7zfEHDW2WJxDuff6A) @baohua i created a channel "testchannel" it shows true but while joing it throws error

ilamparithi10 (Thu, 19 Jul 2018 14:06:14 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=tZLh5itpNEXYREXbF) @baohua can you give me a link for that?

baohua (Thu, 19 Jul 2018 14:09:43 GMT):
oh, under the project, you can see the test item in the Makefile.

ilamparithi10 (Thu, 19 Jul 2018 14:10:18 GMT):
ok thanks :)

baohua (Thu, 19 Jul 2018 14:10:23 GMT):
besides, some sample code: https://github.com/hyperledger/fabric-sdk-py/tree/master/test/integration

ilamparithi10 (Thu, 19 Jul 2018 14:13:08 GMT):
but while creating a channel , i print the all channel dict in console, it shows last created channel only.

baohua (Thu, 19 Jul 2018 14:27:01 GMT):
oh, then must something wrong with the channel joining operation.

ilamparithi10 (Thu, 19 Jul 2018 14:28:38 GMT):
ok i will check the intergration test case and get back to you

ilamparithi10 (Fri, 20 Jul 2018 05:16:49 GMT):

Clipboard - July 20, 2018 10:46 AM

ilamparithi10 (Fri, 20 Jul 2018 05:16:50 GMT):
hi @baohua when i run e2e_test.py , it shows No such file or directory: 'test/fixtures/network.json' but in that directory i have network.json

dexhunter (Fri, 20 Jul 2018 08:34:56 GMT):
@ilamparithi10 Can you run `python -m unittest test.integration.e2e_test` ? And what's the result?

ilamparithi10 (Fri, 20 Jul 2018 08:44:56 GMT):

Clipboard - July 20, 2018 2:14 PM

ilamparithi10 (Fri, 20 Jul 2018 08:45:25 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=zi2K6mTeFs7TdDDQX) @dexhunter same error no network.json file

dexhunter (Fri, 20 Jul 2018 08:54:12 GMT):
@ilamparithi10 it's weird you are calling from dist_packages

ilamparithi10 (Fri, 20 Jul 2018 08:55:06 GMT):
@dexhunter any idea to change that

ilamparithi10 (Fri, 20 Jul 2018 08:55:09 GMT):
?

dexhunter (Fri, 20 Jul 2018 08:57:28 GMT):
Can you uninstall the package first?

dexhunter (Fri, 20 Jul 2018 08:57:55 GMT):
Or just delete the files at dist-packages/hfc-0.7.0-py3.5.egg

dexhunter (Fri, 20 Jul 2018 09:02:12 GMT):
Or can you create a virtualenv to test?

dexhunter (Fri, 20 Jul 2018 09:02:25 GMT):
I think virtualenv would be better

ilamparithi10 (Fri, 20 Jul 2018 09:04:54 GMT):

Clipboard - July 20, 2018 2:34 PM

ilamparithi10 (Fri, 20 Jul 2018 09:05:12 GMT):
@dexhunter i have done it and run python -m unittest test.integration.e2e_test it shows the above result.

dexhunter (Fri, 20 Jul 2018 09:06:03 GMT):
congrz, it's working

ilamparithi10 (Fri, 20 Jul 2018 09:07:51 GMT):
Thanks guys @dexhunter @baohua for your help.

ilamparithi10 (Fri, 20 Jul 2018 09:41:07 GMT):

this happens when creating a channel .. Any idea why this happening? bcoz no certificate?

dexhunter (Fri, 20 Jul 2018 10:42:03 GMT):
@ilamparithi10 did you update the dependencies as well?

ilamparithi10 (Fri, 20 Jul 2018 11:28:47 GMT):
@dexhunter what dependencies?

dexhunter (Fri, 20 Jul 2018 11:29:33 GMT):
you can check `requirements.txt` or `requirements-test.txt`

ilamparithi10 (Fri, 20 Jul 2018 11:54:45 GMT):
@dexhunter ya i have installed them

dexhunter (Fri, 20 Jul 2018 11:57:51 GMT):
hmmm.. I guess so since e2e_test passed already. Maybe you can follow the e2e_test example to create a new channel?

ilamparithi10 (Fri, 20 Jul 2018 11:58:36 GMT):
ok i

ilamparithi10 (Fri, 20 Jul 2018 11:58:46 GMT):
i'll try @dexhunter '

ilamparithi10 (Mon, 23 Jul 2018 05:40:46 GMT):
@dexhunter i have a doubt , when we run make install where the files should be installed. In my case, it is installing in dist-packages.

ilamparithi10 (Mon, 23 Jul 2018 06:05:04 GMT):
Rejecting CONFIG_UPDATE because: Error authorizing update: Error validating ReadSet: Readset expected key [Groups] /Channel/Application at version 0, but got version 1 What does the error means?

baohua (Tue, 24 Jul 2018 02:49:46 GMT):
@ilamparithi10 that means your propose config update transaction contains an old version of refered config. i.e., someone else might have changed that config before u send the change.

kariyappals (Wed, 25 Jul 2018 07:50:06 GMT):
Has joined the channel.

vncvishh (Wed, 25 Jul 2018 09:13:40 GMT):
Has joined the channel.

baohua (Thu, 26 Jul 2018 01:22:21 GMT):
@here since no much profile this week, let's cancel the meeting for this time. thanks!

yanghuazai (Fri, 27 Jul 2018 01:46:38 GMT):
Has joined the channel.

dexhunter (Sat, 04 Aug 2018 11:25:06 GMT):
https://gerrit.hyperledger.org/r/#/c/25125/

baohua (Tue, 07 Aug 2018 01:51:46 GMT):
@dexhunter merged, thanks!

baohua (Wed, 08 Aug 2018 08:55:33 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180809, welcome to attend, thanks!

YuanOwen (Mon, 13 Aug 2018 04:08:53 GMT):
Has joined the channel.

pankaj9310 (Mon, 13 Aug 2018 14:49:00 GMT):
Has joined the channel.

mastersingh24 (Tue, 14 Aug 2018 13:53:18 GMT):
Has left the channel.

baohua (Thu, 16 Aug 2018 01:21:43 GMT):
@here since no much profile this week, let's cancel the meeting. thanks!

tylerwince (Sat, 18 Aug 2018 19:09:15 GMT):
Has joined the channel.

pjobhv (Mon, 20 Aug 2018 15:08:22 GMT):
Has joined the channel.

baohua (Tue, 21 Aug 2018 01:37:09 GMT):
@here It was reported that some ballots haven't arrived on time. If your name is in any sheet of https://docs.google.com/spreadsheets/d/1-R43fMOia9P1JsFiSWe3wxkOmkzK_EM7HT2kmYNEn0M/edit#gid=31088272, you should have received the ballot. Otherwise, please ask Todd (tbenzies@linuxfoundation.org) to retrieve. Thanks!

baohua (Tue, 21 Aug 2018 01:37:09 GMT):
@here It was reported that some TSC ballots haven't arrived on time. If your name is in any sheet of https://docs.google.com/spreadsheets/d/1-R43fMOia9P1JsFiSWe3wxkOmkzK_EM7HT2kmYNEn0M/edit#gid=31088272, you should have received the ballot. Otherwise, please ask Todd (tbenzies@linuxfoundation.org) to retrieve. Thanks!

wangdong (Tue, 21 Aug 2018 01:40:26 GMT):
@baohua I have one vote for you. Hope you will get it.

baohua (Tue, 21 Aug 2018 01:41:01 GMT):
@wangdong thanks dong, how's going recently?

wangdong (Tue, 21 Aug 2018 01:42:48 GMT):
Fine, just too busy for the items.

wangdong (Tue, 21 Aug 2018 01:43:12 GMT):
debug some fabric bug recently. read a lot code.

baohua (Tue, 21 Aug 2018 01:43:32 GMT):
Cool, will you attend this week's sdk meeting? we're close to some initial release! thanks to @dexhunter

wangdong (Tue, 21 Aug 2018 01:43:54 GMT):
ok

wangdong (Tue, 21 Aug 2018 01:44:01 GMT):
well done @dexhunter

wangdong (Tue, 21 Aug 2018 01:44:26 GMT):
there are some great change recently in node sdk

wangdong (Tue, 21 Aug 2018 01:44:47 GMT):
I have been watching it and review the code.

baohua (Tue, 21 Aug 2018 01:46:51 GMT):
great, hope we can pick up those nice points! let's keep improving!

tylerwince (Tue, 21 Aug 2018 05:45:01 GMT):
Hi fabric-python folks -- I'm curious if anyone has an update on the status of the `eventhub` for the py-sdk and what the future plan might be with the newer event listener methods introduced in v1.1. I'd be interested in jumping in to help wherever it is needed. Cheers

tian (Tue, 21 Aug 2018 08:18:38 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=TjFkkqjpJmbDkQqpC) @tylerwince `eventhub` will be removed in the future, and sdks will suggest end user to use `Event Service` rather than `eventhub`. The detail you can find from here: https://jira.hyperledger.org/browse/FAB-11122

tylerwince (Tue, 21 Aug 2018 13:53:19 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=rsRRywt9hc6fsSpnB) @tian Thanks @tian. I have been following the removal of the eventhub rather closely as it was removed from the go-sdk (the sdk we use primarily) but was asking more specifically about the implementation of the event service api in the python sdk and the status of it's build out

bdjidi (Tue, 21 Aug 2018 22:49:14 GMT):
Has joined the channel.

baohua (Wed, 22 Aug 2018 08:31:50 GMT):
@tylerwince great, we would like to welcome for your contribution at this side, feel free to create the jira issue and attend the weekly meeting!

baohua (Wed, 22 Aug 2018 08:32:12 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180823, welcome to attend, thanks!

tylerwince (Wed, 22 Aug 2018 20:40:27 GMT):
@baohua is there a specific version of python this must support? Can it be 3.3+? Or maybe even 3.6+?

baohua (Thu, 23 Aug 2018 01:47:24 GMT):
@tylerwince the target is 3.6

crustafari (Fri, 24 Aug 2018 22:06:30 GMT):
Has joined the channel.

dexhunter (Tue, 28 Aug 2018 07:28:50 GMT):
@wangdong Hi! I checked the response from a query. So the result is a tuple with structure looks like ![](https://fars.ee/pLWA.png). I was wondering why there are multiple `ProposalResponse`? (The result seems to be identical)

dexhunter (Tue, 28 Aug 2018 07:30:14 GMT):

Screenshot from 2018-08-28 15-20-40.png

wangdong (Tue, 28 Aug 2018 11:49:16 GMT):
I am not sure. maybe related to your args?

wangdong (Tue, 28 Aug 2018 11:49:59 GMT):
what args did you have for the query? I may need to read some code.

dexhunter (Tue, 28 Aug 2018 12:53:24 GMT):
I don't give any args since I am just query installed chaincodes (you can check this one: https://github.com/hyperledger/fabric-sdk-py/blob/master/test/integration/query_test.py#L127)

dexhunter (Tue, 28 Aug 2018 12:53:24 GMT):
I don't give any args since I am just querying installed chaincodes (you can check this one: https://github.com/hyperledger/fabric-sdk-py/blob/master/test/integration/query_test.py#L127, just log the response)

dexhunter (Tue, 28 Aug 2018 13:27:01 GMT):
I guess it's related to peers/channel but haven't found where it's defined yet.

tylerwince (Tue, 28 Aug 2018 14:00:46 GMT):
@dexhunter I assume you are passing in a `tx_context` instance and the peers you want to connect to in a `list`? There aren't any default values for those args and are needed for the query

dexhunter (Tue, 28 Aug 2018 15:05:16 GMT):
> @dexhunter I assume you are passing in a `tx_context` instance and the peers you want to connect to in a `list`? Yes, those are created at the client API. There is no need to specify args for `query_channels` or `query_isntalled_chaincodes` which is the same in other sdks (you only need to know which peer to send tx proposal). My problem is that I don't quite understand why there are multiple identical response, I guess they are caused by different channels/peers. But I need to verify it.

dexhunter (Tue, 28 Aug 2018 23:19:44 GMT):
Please review: https://gerrit.hyperledger.org/r/#/c/25894/

dexhunter (Tue, 28 Aug 2018 23:32:41 GMT):
Besides `query_block_by_hash`, I suppose all functionalities are finished. Please let me know if there are anything missing. So we can release the project soon.

dexhunter (Tue, 28 Aug 2018 23:32:41 GMT):
Besides `query_block_by_hash`, I suppose all functionalities are finished. Please let me know if there are anything missing. So we can release the project soon. I updated tutorials/tests as well. Free feel to check them as well.

dexhunter (Tue, 28 Aug 2018 23:37:36 GMT):
For `query_block_by_hash` the problem is that in node sdk it gives a separate `argbytes` in the request, but in sdk-py `TXProposalRequest` has no `argbytes`. So I append the `block_hash` to `args`. However, it seems not reading the hash properly. It returns error: entry not found. I am taking a deeper look on this, but if anyone knows what's the problem, please help. Thanks.

baohua (Wed, 29 Aug 2018 07:41:34 GMT):
@dexhunter +2!

baohua (Wed, 29 Aug 2018 07:41:51 GMT):
entry not found, maybe the block doesn't exist yet?

dexhunter (Wed, 29 Aug 2018 07:48:26 GMT):
@baohua But the block hash is returned by the ChainInfo, how could it not exist?

baohua (Wed, 29 Aug 2018 07:57:15 GMT):
oh, i would suggest we verify the hash value first, to check whether it's correct or not

dexhunter (Wed, 29 Aug 2018 09:11:38 GMT):
Yes, I think you are right. The block hash from query_block and query_info seems to be different. But how do I verify the hash value?

dexhunter (Wed, 29 Aug 2018 09:35:55 GMT):
It seems that the previous_hash from both query_block or query_info are the same, while the current_hash is different.

dexhunter (Wed, 29 Aug 2018 09:35:55 GMT):
It seems that the previous_hash from both query_block or query_info are the same, while the current_hash is different. But still I got error `<_Rendezvous of RPC that terminated with (StatusCode.UNKNOWN, chaincode error (status: 500, message: Failed to get block hash 2bf917dd54df03734d9ebef2b9956273cd1cb6c22a5b6538c0925e18da492317, error Entry not fou nd in index))> `

dexhunter (Wed, 29 Aug 2018 09:35:55 GMT):
It seems that the previous_hash from both query_block or query_info are the same, while the current_hash is different. But still I got error `<_Rendezvous of RPC that terminated with (StatusCode.UNKNOWN, chaincode error (status: 500, message: Failed to get block hash 2bf917dd54df03734d9ebef2b9956273cd1cb6c22a5b6538c0925e18da492317, error Entry not fou nd in index))> `

dexhunter (Wed, 29 Aug 2018 09:35:55 GMT):
It seems that the previous_hash from both query_block or query_info are the same, while the current_hash is different. But still I got error ``<_Rendezvous of RPC that terminated with (StatusCode.UNKNOWN, chaincode error (status: 500, message: Failed to get block hash 2bf917dd54df03734d9ebef2b9956273cd1cb6c22a5b6538c0925e18da492317, error Entry not fou nd in index))> ``

dexhunter (Wed, 29 Aug 2018 09:35:55 GMT):
It seems that the previous_hash from both query_block or query_info are the same, while the current_hash is different. But still I got error `<_Rendezvous of RPC that terminated with (StatusCode.UNKNOWN, chaincode error (status: 500, message: Failed to get block hash 2bf917dd54df03734d9ebef2b9956273cd1cb6c22a5b6538c0925e18da492317, error Entry not found in index))>`

dexhunter (Wed, 29 Aug 2018 09:44:38 GMT):
I change the `_send_tx_proposal` to allow `bytes` arg but still does not work. So the problem is not input format.

dexhunter (Wed, 29 Aug 2018 09:51:54 GMT):
Ok, I fixed it

dexhunter (Wed, 29 Aug 2018 09:52:45 GMT):
The problem is the format, we need to provide binary format and do not hexlify the bytes to utf-8.

dexhunter (Wed, 29 Aug 2018 09:52:45 GMT):
The problem is the format, we need to provide binary format and do not hexlify the bytes decoding to utf-8.

dexhunter (Wed, 29 Aug 2018 10:14:55 GMT):
Please review: https://gerrit.hyperledger.org/r/#/c/25944/

baohua (Thu, 30 Aug 2018 02:44:52 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=wvadsLS7yABPWpopX) @dexhunter Add comments!

baohua (Thu, 30 Aug 2018 06:42:38 GMT):
@here since no much profile except the v0.7.0 release this week, let's cancel the meeting. thanks!

dexhunter (Fri, 31 Aug 2018 08:20:49 GMT):

Screenshot from 2018-08-31 16-16-50.png

dexhunter (Fri, 31 Aug 2018 09:08:58 GMT):
Does anyone know how to fix compatibility of configtxgen 1.2 and 1.0? Is it just caused by configtx.yaml?

tylerwince (Fri, 31 Aug 2018 14:26:23 GMT):
@dexhunter We just recently upgraded to 1.2 and had to revamp our `configtx.yaml` to support 1.2. Which `e2e_cli/` version are you using? We modeled ours off the example config from the `release-1.2` branch

tylerwince (Fri, 31 Aug 2018 14:27:12 GMT):
Also, we noticed some issues with the older `configtxgen` binary. Maybe check to ensure you have removed the old binary and replace it with the ones from that same 1.2 branch

dexhunter (Fri, 31 Aug 2018 16:14:27 GMT):
@tylerwince Hi! I am using version 1.2 but the configtx.yml in fabric-sdk-py is still 1.0.0 (without capabilities). I am not sure the error is caused by the incompability of configtxgen or something else is wrong? What do you think based on the error?

dexhunter (Fri, 31 Aug 2018 16:15:27 GMT):

Screenshot from 2018-09-01 00-15-07.png

dexhunter (Fri, 31 Aug 2018 16:20:22 GMT):
I also noticed there are some minor differences with the configtx.yaml in fabric-samples (https://github.com/hyperledger/fabric-samples/blob/release-1.2/first-network/configtx.yaml) such as `V1_1: Ture` or the order of the config

tylerwince (Fri, 31 Aug 2018 20:13:51 GMT):
@dexhunter looks like you are referencing the OrdererDefaults config before it is declared. I would rearrange your config to match the order of the new configtx in the release-1.2 branch and you do need to add the additional capabilities section you mentioned.

dexhunter (Sat, 01 Sep 2018 08:41:17 GMT):
Okay, after I updated the configtx.yaml file, the configtxgen error was gone. But the server returns new error. `Error processing updated config: Error deserializing key Capabilities for group /Channel/Application: Unexpected key Capabilities`

dexhunter (Sat, 01 Sep 2018 08:42:02 GMT):

Screenshot from 2018-09-01 16-39-03.png

dexhunter (Sat, 01 Sep 2018 09:00:59 GMT):
Okay, this is fixed after I deleted the related params (with keyword `capabilities`) in configtx.yaml

baohua (Mon, 03 Sep 2018 02:16:00 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=F8ZsAG3AQBYFXuuqe) @dexhunter capabilities field is introduced since fabric 1.1.

dexhunter (Mon, 03 Sep 2018 13:20:25 GMT):
@baohua Thanks for the info. There is a problem with cc instantiate, it couldn't find the `github.com/example_cc`. It might related to my own environment config, I am trying to debug now.

baohua (Tue, 04 Sep 2018 06:25:46 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=TKBxJDBKujHbofHWP) @dexhunter Noticed that fabric will find chaincode under its $GOPATH, in integration, we set customized $GOPATH in setup step.

dexhunter (Tue, 04 Sep 2018 06:43:38 GMT):
@baohua You are right. The path configuration in my case is wrong.

dexhunter (Tue, 04 Sep 2018 06:44:31 GMT):
Another problem is that I have no problem joining peers from `org1.example.com` but couldn't join peers from `org2.example.com`, I'll try to have a look at that after the previous fix.

dexhunter (Tue, 04 Sep 2018 06:44:54 GMT):

Screenshot from 2018-09-04 14-44-36.png

baohua (Tue, 04 Sep 2018 06:47:02 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=HHtrrWmhSsnbbqN28) @dexhunter org1 and org2 are both members of the channel, hence should be OK to join.

dexhunter (Tue, 04 Sep 2018 06:49:07 GMT):
I understand. However, this is done before I joined, I'll have a look at it today (maybe tonight).

dexhunter (Tue, 04 Sep 2018 06:49:38 GMT):
Let me give a fix to the docs & configtx.yaml first

dexhunter (Tue, 04 Sep 2018 07:44:08 GMT):
https://gerrit.hyperledger.org/r/26066

baohua (Wed, 05 Sep 2018 04:58:07 GMT):
@here since no much profile except the v0.7.0 release this week, let's cancel the meeting. thanks!

dexhunter (Wed, 05 Sep 2018 05:03:38 GMT):
https://gerrit.hyperledger.org/r/#/c/26079/

baohua (Wed, 05 Sep 2018 05:06:34 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=ajsJGLxtN3Yy6vZs3) @dexhunter +2!

zshwei (Wed, 05 Sep 2018 09:40:41 GMT):
Has joined the channel.

zshwei (Wed, 05 Sep 2018 09:42:27 GMT):
@baohua Does python sdk support RSA crypto suite? which means sign proposal with a RSA key&certificate?

zshwei (Wed, 05 Sep 2018 11:00:10 GMT):
Just tried following the tutorial, the create channel request simply hangs. Any ideas?

zshwei (Wed, 05 Sep 2018 11:00:13 GMT):
File "create_channel.py", line 7, in response = cli.channel_create( orderer_name='orderer.example.com', channel_name='businesschannel', requestor=org1_admin, config_yaml='test/fixtures/e2e_cli/', channel_profile='TwoOrgsChannel') File "/Users/zshwei/go/src/github.com/hyperledger/fabric-sdk-py/hfc/fabric/client.py", line 285, in channel_create envelope = f.read()

zshwei (Wed, 05 Sep 2018 11:01:49 GMT):
Here is the content of create_channel.py `from hfc.fabric import Client cli = Client(net_profile="test/fixtures/network.json") org1_admin = cli.get_user(org_name='org1.example.com', name='Admin') # Create a New Channel, the response should be true if succeed response = cli.channel_create( orderer_name='orderer.example.com', channel_name='businesschannel', requestor=org1_admin, config_yaml='test/fixtures/e2e_cli/', channel_profile='TwoOrgsChannel') print(response)`

zshwei (Wed, 05 Sep 2018 11:02:48 GMT):
`from hfc.fabric import Client cli = Client(net_profile="test/fixtures/network.json") org1_admin = cli.get_user(org_name='org1.example.com', name='Admin') # Create a New Channel, the response should be true if succeed response = cli.channel_create( orderer_name='orderer.example.com', channel_name='businesschannel', requestor=org1_admin, config_yaml='test/fixtures/e2e_cli/', channel_profile='TwoOrgsChannel') print(response)`

zshwei (Wed, 05 Sep 2018 11:03:48 GMT):
And some traces -- ^CTraceback (most recent call last): File "create_channel.py", line 7, in response = cli.channel_create( orderer_name='orderer.example.com', channel_name='businesschannel', requestor=org1_admin, config_yaml='test/fixtures/e2e_cli/', channel_profile='TwoOrgsChannel') File "/Users/zshwei/go/src/github.com/hyperledger/fabric-sdk-py/hfc/fabric/client.py", line 285, in channel_create envelope = f.read() KeyboardInterrupt

zshwei (Wed, 05 Sep 2018 11:05:34 GMT):

Clipboard - September 5, 2018 7:05 PM

zshwei (Wed, 05 Sep 2018 11:06:32 GMT):

Clipboard - September 5, 2018 7:06 PM

zshwei (Wed, 05 Sep 2018 11:06:58 GMT):
I am using python3, MacOS, the network is up and running good.

dexhunter (Wed, 05 Sep 2018 11:19:02 GMT):
@zshwei Hi, no, we currently don't have RSA crypto suite.

dexhunter (Wed, 05 Sep 2018 11:19:51 GMT):
@zshwei Could you create a clean virtualenv and test?

dexhunter (Wed, 05 Sep 2018 11:21:27 GMT):
BTW, did you follow the tutorial and set the docker up?

dexhunter (Wed, 05 Sep 2018 11:21:44 GMT):
it seems that you can't read the tx

zshwei (Wed, 05 Sep 2018 11:29:06 GMT):
I did follow the tutorial and the peers and orderer is up.

zshwei (Wed, 05 Sep 2018 11:29:18 GMT):
Thanks @dexhunter

dexhunter (Wed, 05 Sep 2018 11:30:52 GMT):
You are welcome.

zshwei (Wed, 05 Sep 2018 11:31:12 GMT):

Clipboard - September 5, 2018 7:31 PM

zshwei (Wed, 05 Sep 2018 11:33:17 GMT):

Clipboard - September 5, 2018 7:33 PM

zshwei (Wed, 05 Sep 2018 11:33:41 GMT):

Clipboard - September 5, 2018 7:33 PM

zshwei (Wed, 05 Sep 2018 11:34:23 GMT):
if I run "python3 create_channel.py", then it hangs.

dexhunter (Wed, 05 Sep 2018 11:37:00 GMT):
What's the message on docker side?

zshwei (Wed, 05 Sep 2018 11:37:32 GMT):
no new logs pop out.

zshwei (Wed, 05 Sep 2018 11:37:52 GMT):
so it means the request was not sent to the peers.

zshwei (Wed, 05 Sep 2018 11:38:27 GMT):

Clipboard - September 5, 2018 7:38 PM

dexhunter (Wed, 05 Sep 2018 11:39:59 GMT):

Screenshot from 2018-09-05 19-38-42.png

zshwei (Wed, 05 Sep 2018 11:40:58 GMT):
should I try it from a ubuntu?

zshwei (Wed, 05 Sep 2018 11:41:30 GMT):
could it because that I am on MacOS?

dexhunter (Wed, 05 Sep 2018 11:41:35 GMT):
Did you run from a virtualenv?

zshwei (Wed, 05 Sep 2018 11:41:40 GMT):
no

dexhunter (Wed, 05 Sep 2018 11:41:41 GMT):
No, I don't think so

dexhunter (Wed, 05 Sep 2018 11:41:47 GMT):
Could you try that?

zshwei (Wed, 05 Sep 2018 11:42:08 GMT):
steps?

dexhunter (Wed, 05 Sep 2018 11:42:12 GMT):
It might be some requirements not met for dependecies

dexhunter (Wed, 05 Sep 2018 11:42:12 GMT):
It might be some requirements not met for dependencies

zshwei (Wed, 05 Sep 2018 11:42:49 GMT):
I think the 'make check' already installed virtualenv, right?

dexhunter (Wed, 05 Sep 2018 11:43:54 GMT):
just virtualenv --system-site-packages -p python3 hyperledger

dexhunter (Wed, 05 Sep 2018 11:43:56 GMT):
`virtualenv --system-site-packages -p python3 hyperledger`

dexhunter (Wed, 05 Sep 2018 11:44:27 GMT):
`source hyperledger/venv/bin/activate`

dexhunter (Wed, 05 Sep 2018 11:44:27 GMT):
`source hyperledger/bin/activate`

dexhunter (Wed, 05 Sep 2018 11:45:12 GMT):
`python setup.py` or `pip install -r requirements.txt`

dexhunter (Wed, 05 Sep 2018 11:48:50 GMT):
also could you check your `configtxgen` version by `configtxgen --version`

dexhunter (Wed, 05 Sep 2018 11:49:08 GMT):
Sorry but I need to AFK a while.

zshwei (Wed, 05 Sep 2018 11:51:46 GMT):
thanks, I think it's a problem on communication between localhost to the example network

zshwei (Wed, 05 Sep 2018 11:55:32 GMT):
MacBook-Pro-2:fabric-sdk-py zshwei$ configtxgen --version 2018-09-05 19:55:15.576 CST [common/tools/configtxgen] main -> WARN 001 Omitting the channel ID for configtxgen is deprecated. Explicitly passing the channel ID will be required in the future, defaulting to 'testchainid'. configtxgen: Version: 1.2.0 Commit SHA: cae2ad4 Go version: go1.10 OS/Arch: darwin/amd64 MacBook-Pro-2:fabric-sdk-py zshwei$

zshwei (Wed, 05 Sep 2018 11:59:16 GMT):
it worked now. The reason is configtxgen was not in the PATH.

zshwei (Wed, 05 Sep 2018 12:00:33 GMT):
But I do see code that check the existence of configtxgen.

zshwei (Wed, 05 Sep 2018 12:00:45 GMT):

Clipboard - September 5, 2018 8:00 PM

dexhunter (Wed, 05 Sep 2018 13:02:41 GMT):
Hi! I'm back. Great that you found the solution. I will check it . Thanks!

dexhunter (Wed, 05 Sep 2018 19:15:40 GMT):
https://gerrit.hyperledger.org/r/#/c/26111/

dexhunter (Wed, 05 Sep 2018 19:21:05 GMT):
@baohua Hi! I wonder which user should I use for publishing on PyPI?

dexhunter (Wed, 05 Sep 2018 19:31:45 GMT):
@baohua I tested uploading to test pypi. It works fine (https://test.pypi.org/project/hfc/) But I think for formal release, we need to change the package name since saddly `hfc` is been taken.

dexhunter (Wed, 05 Sep 2018 19:31:45 GMT):
@baohua I tested uploading to test pypi. It works fine (https://test.pypi.org/project/hfc/) ~~But I think for formal release, we need to change the package name since saddly `hfc` is been taken.~~ Aww, I see that you have taken it. Then, I think it's fine

dexhunter (Wed, 05 Sep 2018 19:31:45 GMT):
@baohua I tested uploading to test pypi. It works fine (https://test.pypi.org/project/hfc/) ~~But I think for formal release, we need to change the package name since saddly `hfc` is been taken.~~ Edit: Aww, I see that you have taken it. Then, I think it's fine

dexhunter (Wed, 05 Sep 2018 19:31:45 GMT):
@baohua I tested uploading to test pypi. It works fine (https://test.pypi.org/project/hfc/) ~~But I think for formal release, we need to change the package name since saddly `hfc` is been taken.~~ Edit: Aww, I see that it's you who have taken it. Then, I think it's fine

dexhunter (Wed, 05 Sep 2018 19:34:14 GMT):
In this case, I think you can register to pypi?

dexhunter (Wed, 05 Sep 2018 19:34:14 GMT):
In this case, I think you can release to pypi?

baohua (Thu, 06 Sep 2018 00:31:49 GMT):
yes, after we make the release to gerrit. @dexhunter

zshwei (Thu, 06 Sep 2018 02:17:56 GMT):
@dexhunter The channel_create() returned true, then I run cli.channel_join() following the tutorial, the response is just false. I have totally no hint what's going wrong. Shall we make some improvement on the error messages?

dexhunter (Thu, 06 Sep 2018 05:51:03 GMT):
@zshwei Yes, I updated the tutorial but not merged yet. Basically, it is suggested that you set logging level to DEBUG or INFO

dexhunter (Thu, 06 Sep 2018 05:52:27 GMT):
Then you can have a better idea of the error msg.

dexhunter (Thu, 06 Sep 2018 05:53:21 GMT):
I don't know how previous maintainers check but at least this is how I debug.

dexhunter (Thu, 06 Sep 2018 11:02:37 GMT):
@baohua @grapebaba Hi! I just found that FABP-162 fix is not merged, was wondering why? Should I fix it again the most recent change or something else? https://gerrit.hyperledger.org/r/#/c/25944/

dexhunter (Thu, 06 Sep 2018 17:11:02 GMT):
@baohua You are right. The problem is configtx.yaml. After I downgraded configtx.yaml, all tests passed.

dexhunter (Thu, 06 Sep 2018 17:11:17 GMT):
https://gerrit.hyperledger.org/r/#/c/26111/

dexhunter (Thu, 06 Sep 2018 17:11:27 GMT):
https://gerrit.hyperledger.org/r/#/c/25944/

dexhunter (Thu, 06 Sep 2018 17:11:36 GMT):
Please help review and merge these two. Thanks

baohua (Fri, 07 Sep 2018 02:12:07 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=P9276DhmdE5MfvFZp) @dexhunter +2!

dexhunter (Fri, 07 Sep 2018 05:26:17 GMT):
@baohua Any new comments on https://gerrit.hyperledger.org/r/#/c/26111/?

javaguirre (Fri, 07 Sep 2018 10:16:54 GMT):
Has joined the channel.

baohua (Fri, 07 Sep 2018 14:53:43 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=vxvWqAWmvXdn4E92E) @dexhunter @grapebaba pls help review.

dexhunter (Sat, 08 Sep 2018 13:07:26 GMT):
@grapebaba Any comments?

raviyelleni (Sun, 09 Sep 2018 04:40:35 GMT):
Has joined the channel.

raviyelleni (Mon, 10 Sep 2018 02:32:59 GMT):
Hi, anyone does have a link or pdf to a tutorial for building fabric network from scratch using Python SDK with all available features?

dexhunter (Mon, 10 Sep 2018 06:05:03 GMT):
@raviyelleni Hi, you can read our tutorial on github: https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md

ilamparithi10 (Mon, 10 Sep 2018 07:07:30 GMT):
Hi, When will the python-sdk officially released?

dexhunter (Mon, 10 Sep 2018 07:14:10 GMT):
@ilamparithi10 Hi, currently it's under review. I think after @grapebaba viewed, we can release. Although there are not much changed at the new patchset. You can start checking. However, we only support fabric 1.0.x network right now. So if you need features of 1.x, you might want to use other sdk first

dexhunter (Mon, 10 Sep 2018 07:14:10 GMT):
@ilamparithi10 Hi, currently it's under review. I think after @grapebaba viewed, we can release. Anyways there are not much changed at the new patchset. You can start checking. However, we only support fabric 1.0.x network right now. So if you need features of 1.x, you might want to use other sdk first

dexhunter (Mon, 10 Sep 2018 07:14:10 GMT):
@ilamparithi10 Hi, currently it's under review. I think after @grapebaba viewed, we can release. Anyways there are not much changed at the new patchset. You can start checking the tutorial. However, we only support fabric 1.0.x network right now. So if you need features of 1.x, you might want to use other sdk first

dexhunter (Mon, 10 Sep 2018 07:14:10 GMT):
@ilamparithi10 Hi, currently it's under review. I think after @grapebaba viewed, we can release. Anyways there are not much changed at the new patchset. You can start checking the tutorial. However, we only support fabric 1.0 network right now. So if you need features of 1.x, you might want to use other sdk first

dexhunter (Mon, 10 Sep 2018 07:14:10 GMT):
@ilamparithi10 Hi, currently it's under review. I think after @grapebaba viewed, we can release. Anyways there are not much changes at the new patchset. You can start checking the tutorial. However, we only support fabric 1.0 network right now. So if you need features of 1.x, you might want to use other sdk first

dexhunter (Mon, 10 Sep 2018 07:14:10 GMT):
@ilamparithi10 Hi, currently it's under review. I think after @grapebaba viewed, we can release. Anyways there are not much changes at the new patchset. You can start checking the tutorial. However, we only support fabric 1.0 network right now. So if you need features of 1.x, you might want to use other sdk first. Or you can wait for about a month ( I think I'll finish it before my internship ends)

titog (Mon, 10 Sep 2018 16:41:55 GMT):
Has joined the channel.

baohua (Tue, 11 Sep 2018 01:56:57 GMT):
@here Fabric-sdk-py v0.7.0 is released, thanks every contributor's effort to make it out! https://github.com/hyperledger/fabric-sdk-py/releases/tag/v0.7.0

dexhunter (Tue, 11 Sep 2018 03:50:29 GMT):
Thanks Baohua!

GuillaumeCisco (Tue, 11 Sep 2018 07:39:19 GMT):
Thanks a lot

baohua (Wed, 12 Sep 2018 06:33:27 GMT):
https://gerrit.hyperledger.org/r/26244 @david_dornseifer @wangdong @grapebaba

wangdong (Wed, 12 Sep 2018 06:43:33 GMT):
+2

baohua (Thu, 13 Sep 2018 02:47:46 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20180913, welcome to attend, thanks!

JaydipMakadia (Thu, 13 Sep 2018 13:18:51 GMT):
Has joined the channel.

lucaspar (Tue, 18 Sep 2018 21:00:14 GMT):
Has joined the channel.

lucaspar (Tue, 18 Sep 2018 22:09:29 GMT):
Hi everyone I'm getting started with fabric-sdk-py and following the readme, but I'm getting lots of this same error when running `make check` or `make test`: ```sh IOError: [Errno Cannot deserialize the user] unsupported pickle protocol: 3 ``` any ideas what is this? I'm setting up the virtualenv with `make env` and activating it before testing, so I guess something like that shouldn't happen.

lucaspar (Tue, 18 Sep 2018 22:09:29 GMT):
Hi everyone I'm getting started with fabric-sdk-py and following the readme, but I'm getting lots of this same error when running `make check` or `make test`: ``` IOError: [Errno Cannot deserialize the user] unsupported pickle protocol: 3 ``` any ideas what is this? I'm setting up the virtualenv with `make venv` and activating it before testing, so I guess something like that shouldn't happen.

lucaspar (Tue, 18 Sep 2018 22:27:58 GMT):
I just solved it, the `make venv` was defaulting to python 2.6 on my machine. How about we change the Makefile to explicitly target python3 when creating the vitual environment?

lucaspar (Tue, 18 Sep 2018 22:27:58 GMT):
I just solved it, the `make venv` was defaulting to python 2.6 on my machine. How about we change the Makefile to explicitly target python3 when creating the virtual environment?

dexhunter (Wed, 19 Sep 2018 08:27:15 GMT):
@lucaspar Hi! Thanks for your suggestion!

dexhunter (Wed, 19 Sep 2018 08:27:15 GMT):
@lucaspar Hi! Thanks for your suggestion! I added functionality at https://gerrit.hyperledger.org/r/26385

lucaspar (Thu, 20 Sep 2018 02:08:41 GMT):
just curious, is there any particular reason why Gerrit is used to manage the Hyperledger projects?

baohua (Thu, 20 Sep 2018 03:08:24 GMT):
Gerrit is popular, do you have better alternative:-) @lucaspar [ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=ASGJEH6tR3HLCGxFp)

baohua (Thu, 20 Sep 2018 03:09:49 GMT):
@here since no much issue, let's cancel this week meeting and work offline. thanks!

wangdong (Thu, 20 Sep 2018 03:21:00 GMT):
shall we consider to use async/await to implement the asynchronous process?

baohua (Thu, 20 Sep 2018 14:04:40 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=vqS9QPYmA82ishXwu) @wangdong what's the benefit to do so?

asaningmaxchain123 (Fri, 21 Sep 2018 00:28:57 GMT):
Has joined the channel.

wangdong (Fri, 21 Sep 2018 02:11:27 GMT):
I think we discussed it long ago. It will make the code more readable and easy to maintain. Most importantly it is the python feature we will not need the third party lib to implement async, like rx and queue.

baohua (Fri, 21 Sep 2018 02:27:48 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=ryM48yG9rWpt4ptxo) @wangdong oh, i catch it, would you like to start the work? it's good timing to have some code optimization since we have the v0.7.0 release now.

wangdong (Tue, 25 Sep 2018 01:48:35 GMT):
I will have to schedule it and plan before starting it.

nekia (Tue, 25 Sep 2018 03:08:28 GMT):
Has joined the channel.

dexhunter (Tue, 25 Sep 2018 07:58:52 GMT):
@wangdong I would love to help on the implementation as well.

baohua (Tue, 25 Sep 2018 08:37:49 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=HJFMsEGkCn4MXNwdX) @dexhunter Please talk with dong and go ahead~

Kelvin_Moutet (Wed, 26 Sep 2018 07:19:23 GMT):
Has joined the channel.

lucaspar (Wed, 26 Sep 2018 20:42:52 GMT):
@baohua are we updating the fabric-sdk-py at PyPI (https://pypi.org/project/fabric-sdk-py/) to v0.7.0?

lucaspar (Wed, 26 Sep 2018 21:06:24 GMT):
oh, nevermind :sweat_smile: https://pypi.org/project/hfc-py/

baohua (Thu, 27 Sep 2018 00:33:24 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Hw8Nomhe2CjfnTCR9) @lucaspar Although we push some repo there, still encourage to use the github repo directly currently. https://github.com/hyperledger/fabric-sdk-py.

BlackMesa (Fri, 28 Sep 2018 17:26:12 GMT):
Has joined the channel.

lucaspar (Sat, 29 Sep 2018 21:00:53 GMT):
in the E2E example there are a few different query types (block, transaction / hash, id), but is there a direct way to get the world state, or the latest state of a key?

dexhunter (Sun, 30 Sep 2018 13:00:00 GMT):
@lucaspar Hi! What do you mean by `the wrold state`? Could you give an example?

lucaspar (Sun, 30 Sep 2018 15:06:35 GMT):
@dexhunter absolutely, by world state (aka current state) I mean the glossary definition: https://hyperledger-fabric.readthedocs.io/en/release-1.2/glossary.html#world-state for example, let's say we have a simple transaction ledger. With the queries in the E2E example I can easily access a specific block or transaction. But what if I want the total amount of an account? In the chaincode that seems pretty straightforward with a "stub.GetState()" call, but how is it translated to the fabric-sdk-py to call it from my python application? I hope I made myself clear :)

lucaspar (Sun, 30 Sep 2018 15:06:35 GMT):
@dexhunter absolutely, by world state (aka current state) I mean the glossary definition: https://hyperledger-fabric.readthedocs.io/en/release-1.2/glossary.html#world-state for example, let's say we have a simple transaction ledger. With the queries in the E2E example I can easily access a specific block or transaction. But what if I want the amount of an account at that time? That would be the result of all finished transactions. In the chaincode that seems pretty straightforward with a "stub.GetState()" call, but how is it translated to the fabric-sdk-py to call it from my python application? I hope I made myself clear :)

lucaspar (Sun, 30 Sep 2018 15:06:35 GMT):
@dexhunter absolutely, by world state (aka current state) I mean the glossary definition: https://hyperledger-fabric.readthedocs.io/en/release-1.2/glossary.html#world-state for example, let's say we have a simple "bank accounts" ledger. With the queries in the E2E example I can easily access a specific block or transaction. But what if I want the amount of an account at that time? That would be the result of all finished transactions. In the chaincode that seems pretty straightforward with a "stub.GetState()" call, but how is it translated to the fabric-sdk-py to call it from my python application? I hope I made myself clear :)

jakereps (Tue, 02 Oct 2018 18:03:10 GMT):
Has joined the channel.

mrjdomingus (Thu, 04 Oct 2018 08:09:19 GMT):
Has joined the channel.

ffiore81 (Thu, 04 Oct 2018 15:12:13 GMT):
Has joined the channel.

qiangqinqq (Sat, 06 Oct 2018 07:37:33 GMT):
Has joined the channel.

wangdong (Mon, 08 Oct 2018 12:34:03 GMT):
@dexhunter I have tried today. Replace rx with async/await. It works well.

wangdong (Mon, 08 Oct 2018 12:34:19 GMT):
The first I started is create channel.

wangdong (Mon, 08 Oct 2018 12:34:37 GMT):
If you like, I can create the PRs.

baohua (Tue, 09 Oct 2018 05:38:55 GMT):
@wangdong feel free to open the issue and create pr. thanks!

asaningmaxchain123 (Tue, 09 Oct 2018 15:52:02 GMT):
Has left the channel.

dexhunter (Tue, 09 Oct 2018 19:24:45 GMT):
@baohua Hi! I was wondering to update the default fabric version on `scripts/check_env.sh`. (I updated the test/fixtures/e2e_cli) One question is which version of fabric-baseimage /fabric-baseos do we need? Thanks!

dexhunter (Wed, 10 Oct 2018 04:41:44 GMT):
Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181011, welcome to attend, thanks!

dexhunter (Wed, 10 Oct 2018 04:41:44 GMT):
@all Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181011, welcome to attend, thanks!

dexhunter (Wed, 10 Oct 2018 04:41:44 GMT):
@all Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181011, welcome to attend, thanks!

dexhunter (Wed, 10 Oct 2018 04:46:51 GMT):
@baohua it seems that I cannot use here for notify all users in the channel

dexhunter (Thu, 11 Oct 2018 12:47:10 GMT):

Screenshot_20181011_204633.png

baohua (Thu, 11 Oct 2018 14:47:18 GMT):
no need to put all protos there, only those related to client sdk

dexhunter (Fri, 12 Oct 2018 13:31:47 GMT):
@baohua In current `test/fixtures` we have `docker-compose-1peer-notls.yaml` `docker-compose-2orgs-4peers-tls.yaml` `docker-compose-2orgs-4peers-tls-cli.yaml` however, in the `docker-compose-files` repo, there are `docker-compose-1orgs-1peers-dev.yaml` `docker

dexhunter (Fri, 12 Oct 2018 13:31:47 GMT):
@baohua In current `test/fixtures` we have `docker-compose-1peer-notls.yaml` `docker-compose-2orgs-4peers-tls.yaml` `docker-compose-2orgs-4peers-tls-cli.yaml`. I was wondering what's the corresponding files in the `docker-compose-files` repo? Is the `docker-compose-1orgs-1peers-dev.yaml` `docker-compose-2orgs-4peers-solo.yaml` the right ones?

dexhunter (Fri, 12 Oct 2018 13:31:47 GMT):
@baohua In current `test/fixtures` we have `docker-compose-1peer-notls.yaml` `docker-compose-2orgs-4peers-tls.yaml` `docker-compose-2orgs-4peers-tls-cli.yaml`. I was wondering what's the corresponding files in the `docker-compose-files` repo? Is the `docker-compose-1orgs-1peers-dev.yaml` `docker-compose-2orgs-4peers-solo.yaml` the right ones? Thanks!

dexhunter (Fri, 12 Oct 2018 13:31:47 GMT):
@baohua Hi! In current `test/fixtures` we have `docker-compose-1peer-notls.yaml` `docker-compose-2orgs-4peers-tls.yaml` `docker-compose-2orgs-4peers-tls-cli.yaml`. I was wondering what's the corresponding files in the `docker-compose-files` repo? Is the `docker-compose-1orgs-1peers-dev.yaml` `docker-compose-2orgs-4peers-solo.yaml` the right ones? Thanks!

dexhunter (Fri, 12 Oct 2018 17:22:40 GMT):
Just want to share a problem I met and the solutions, when I use `make check` the virtualenv created by `tox` could not load because it could not open the binary of python3.6 under `.tox/pylint/bin`. and the solution is to add the lib path of system python3.6 to the `LD_LIBRARY_PATH` or config the `/etc/lib.so.conf`. The solution is found at stackoverflow: https://stackoverflow.com/questions/43333207/python-error-while-loading-shared-libraries-libpython3-4m-so-1-0-cannot-open/43623903

dexhunter (Sat, 13 Oct 2018 04:19:03 GMT):
I think I should also update the content of these `.yaml` files but I am sure where the original ones from? `fabric-samples`?

dexhunter (Sat, 13 Oct 2018 06:07:30 GMT):
When we generate protobuf python files why not use `protoc --proto_path=hfc/protos --python_out=hfc/protos --grpc_python_out=hfc/protos hfc/protos/**/*.proto` to specify the path of proto files (which is the current fabric source file do, since the import is relative) but we need to manually add `hfc/protos` to the import? It seems making less sense to me but both method would require extra effort. So I am sticking to the previous one to manually add `hfc/proto` to `*.proto` files but just noted there we could save time in future to change to relative import.

dexhunter (Sat, 13 Oct 2018 19:58:08 GMT):
Hi! I don't quite understand how the previous businesschannel_4.block created? https://github.com/hyperledger/fabric-sdk-py/tree/master/test/fixtures/e2e_cli/channel-artifacts

dexhunter (Sat, 13 Oct 2018 20:39:20 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=A4m8T7PkvQFZpKpfo) ok, it seems that I need to first create a tx and decode it to a block

dexhunter (Sat, 13 Oct 2018 21:24:52 GMT):
I updated all the channel-artifacts/crypto-config, protos, images but after updated, the sdk seems to be broken. I need some extra time to have a deep look at it. Would really appreciate if there are any helps. (I am trying to update everything to v1.3.0) Thanks!

dexhunter (Sat, 13 Oct 2018 21:52:40 GMT):
To a small step first, I just added some config generation scripts https://gerrit.hyperledger.org/r/#/c/26980/ but still need to check why the sdk broke after the protos, crypto-config and artifacts update

dexhunter (Sat, 13 Oct 2018 21:57:48 GMT):
The tx seems to be the problem, I probably should updated to use async/await as well.

dexhunter (Sat, 13 Oct 2018 22:00:47 GMT):
@wangdong hi! What's the progress of async/await update? Would it be possible that you create a PR or provide a snippet of code so I could follow? Many thanks!

wangdong (Sun, 14 Oct 2018 02:10:16 GMT):
Not yet. I just finished the channel creation. This should be done step by step according to the transaction lifecycle.

wangdong (Sun, 14 Oct 2018 02:10:21 GMT):
@dexhunter

dexhunter (Sun, 14 Oct 2018 04:41:16 GMT):
@wangdong But would it be possible that you post the code snippet? Thanks!

dexhunter (Mon, 15 Oct 2018 08:59:05 GMT):
Hi, it seems that I am still unable to merge the changes. Could some help to merge the new patchset? Thanks! @baohua @wangdong @grapebaba

dexhunter (Mon, 15 Oct 2018 08:59:05 GMT):
Hi, it seems that I am still unable to merge the changes. Could someone help to merge the new patchset? Thanks! @baohua @wangdong @grapebaba

jwagantall (Mon, 15 Oct 2018 18:39:13 GMT):
@baohua @wangdong @grapebaba I received Dex's request to be added to the committers group.. do we need to do a voting to approve this request?

grapebaba (Tue, 16 Oct 2018 06:53:44 GMT):
@jwagantall we already agreed on our meeting.

jwagantall (Tue, 16 Oct 2018 15:56:13 GMT):
got it thanks!.. @dexhunter please accept the invitation I sent you.. I sent it to dixingxu@gmail.com

dexhunter (Wed, 17 Oct 2018 00:58:52 GMT):
@jwagantall Hi! I accepted. Thank you very much!

dexhunter (Wed, 17 Oct 2018 02:04:55 GMT):

Screenshot_20181017_100336.png

dexhunter (Wed, 17 Oct 2018 03:22:06 GMT):
@all Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181018, welcome to attend, thanks!

dexhunter (Wed, 17 Oct 2018 03:22:06 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181018, welcome to attend, thanks!

baohua (Wed, 17 Oct 2018 03:33:09 GMT):
@here

baohua (Wed, 17 Oct 2018 03:34:09 GMT):
dexhunter

smithbk (Wed, 17 Oct 2018 04:32:20 GMT):
Has left the channel.

lsher1 (Wed, 17 Oct 2018 20:41:09 GMT):
Has joined the channel.

lsher1 (Wed, 17 Oct 2018 20:47:37 GMT):
i tried search the history and couldn't find anything that is specific to my problem. I'm using the Python SDK for the first time and I'm connecting to an existing network -- meaning i have the crypto setup for the network and the users and i have public/private keys. On trying to create a channel it looks like the client.py channel_create method is calling generate_channel_tx. generate_channel_tx is trying to re-run configtxgen. This may be correct for setting up a new network but it is blocking me from connecting to a creating a channel for an existing network. Perhaps i have this wrong. Any information that can point me in the right direction would be helpful.

lsher1 (Wed, 17 Oct 2018 22:02:40 GMT):
it *think* i fixed the problem by not using Client.channel_create, instead manually instantiating a Channel object and manually assigning within the channel dict of the Client, but i've run into a new issue while trying to invoke a transaction on the chain. Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER Has anyone seen this and know how to resolve?

dexhunter (Thu, 18 Oct 2018 00:05:40 GMT):
@lsher 1 Hi! Could you check the version of your configtxgen?

dexhunter (Thu, 18 Oct 2018 00:05:40 GMT):
@lsher 1 Hi! Could you check the version of your configtxgen?

dexhunter (Thu, 18 Oct 2018 00:05:40 GMT):
@lsher 1 1 Hi! Could you check the version of your configtxgen?

dexhunter (Thu, 18 Oct 2018 00:05:40 GMT):
@lsher 1 Hi! Could you check the version of your configtxgen? (btw, it seems I am unable to ping you due to the space between r & 1)

dexhunter (Thu, 18 Oct 2018 00:05:40 GMT):
@lsher 1 Hi! Could you check the version of your configtxgen & fabric? (btw, it seems I am unable to ping you due to the space between r & 1)

lsher1 (Thu, 18 Oct 2018 01:23:05 GMT):
lloydsher

lsher1 (Thu, 18 Oct 2018 01:35:13 GMT):
thank you for the response, i think i fixed the name issue. Fabric is running 1.3.0 and i dont know the configtxgen version as the crypto files were generated by someone else a few months back but i do have the identities and keys working against nodejs version of the Fabric SDK .... trying to get python working

baohua (Thu, 18 Oct 2018 01:37:49 GMT):
@lsher1 you may follow our tutorial at https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md

baohua (Thu, 18 Oct 2018 01:38:12 GMT):
now it supports fabric v1.0.0, will support latest v1.3.0 soon.

lsher1 (Thu, 18 Oct 2018 01:39:54 GMT):
interesting, a point i missed when reading. let me try to rebuild the fabric environment with 1.0

baohua (Thu, 18 Oct 2018 01:46:35 GMT):
seems not highlighted enough :)

lsher1 (Thu, 18 Oct 2018 01:48:06 GMT):
perhaps, or time for bigger glasses. btw, when you 1.3.0 support 'soon', how soon is that expected?

baohua (Thu, 18 Oct 2018 02:13:07 GMT):
@dexhunter has more accurate number, and expected within several weeks.

lsher1 (Thu, 18 Oct 2018 02:36:26 GMT):
ok thank you. just found out that my crypto was generated with configtxgen 1.1.0 and running against 1.3.0 fabric .... do think this would be problematic?

dexhunter (Thu, 18 Oct 2018 12:53:46 GMT):
@lsher1 yes, I think you need to stick with the version 1.0.x of fabric

dexhunter (Thu, 18 Oct 2018 15:31:30 GMT):
Hmm... it seems that the `<>/tls/server.crt` or `server.key` has been renamed to `<>/tls/client.crt` and `<>/tls/client.key`

dexhunter (Thu, 18 Oct 2018 15:40:17 GMT):

Screenshot_20181018_233141.png

dexhunter (Thu, 18 Oct 2018 15:40:17 GMT):

Screenshot_20181018_233141.png

dexhunter (Fri, 19 Oct 2018 06:20:20 GMT):

Screenshot_20181019_141808.png

dexhunter (Fri, 19 Oct 2018 06:20:20 GMT):

Screenshot_20181019_141808.png

dexhunter (Fri, 19 Oct 2018 14:02:43 GMT):

Screenshot_20181019_220154.png

wuqilv (Fri, 19 Oct 2018 16:30:45 GMT):
Has joined the channel.

wuqilv (Fri, 19 Oct 2018 16:39:43 GMT):
@dexhunter Could you tell me which version of python and fabric you are using?I want to use the latest fabric-sdk-py for fabric v1.3.0.

dexhunter (Sat, 20 Oct 2018 04:05:00 GMT):
@Avery 8 Sorry to inform you but fabric v1.3.0 is not supported yet

dexhunter (Sat, 20 Oct 2018 04:05:22 GMT):
We are working on it and plan to release it in several weeks. Thanks for understanding

dexhunter (Sat, 20 Oct 2018 04:06:25 GMT):
(Sorry I cannot ping you as well due to the space between the name & number)

dexhunter (Sat, 20 Oct 2018 06:16:54 GMT):
https://gerrit.hyperledger.org/r/27116

dexhunter (Sat, 20 Oct 2018 08:03:17 GMT):
Hmm.. the Rx problem seems still haunting, we should update to async/await soon.

dexhunter (Sat, 20 Oct 2018 08:03:17 GMT):
Hmm.. the Rx problem seems still haunting (I mean I couldn't really identify the problem with this method), we should update to async/await soon.

dexhunter (Sat, 20 Oct 2018 11:07:29 GMT):
the golang version of jenkins seems to be out of date

dexhunter (Sat, 20 Oct 2018 14:29:25 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=mipsyZDfzvqTuRkRg) Maybe not, the go version of jenkins build is 1.10.3 while the go fabric source code is 1.10.4. So I am still confused on the build failure

dexhunter (Sat, 20 Oct 2018 17:03:21 GMT):
@baohua @grapebaba @wangdong please review https://gerrit.hyperledger.org/r/#/c/27116/ (btw extend timeout to 20s seems solve the empty queue)

dexhunter (Sat, 20 Oct 2018 17:05:34 GMT):
I will update the tutorial after this patchset been merged.

wangdong (Sun, 21 Oct 2018 00:59:31 GMT):
@dexhunter you got too much changes in one single patch.

wangdong (Sun, 21 Oct 2018 01:00:04 GMT):
We'd better make it small and readable for each one.

dexhunter (Sun, 21 Oct 2018 06:13:18 GMT):
@wangdong yep, actually I still left room for next patchset ( tutorial & etc.). The large size is caused by the protobuf and artifacts.

dexhunter (Sun, 21 Oct 2018 06:13:18 GMT):
@wangdong yep, actually I still left room for next patchset ( tutorial & etc.). The large size is caused mostly by the protobuf and artifacts. Thanks for understanding

dexhunter (Sun, 21 Oct 2018 06:13:18 GMT):
@wangdong yep, actually I still left room for next patchset ( tutorial & etc.). The large size is caused mostly by the protobuf and artifacts. And the CI won't pass without all bundle updating to 1.3.0 Thanks for understanding

dexhunter (Sun, 21 Oct 2018 06:13:18 GMT):
@wangdong yep, actually I still left room for next patchset ( tutorial & etc.). The large size is caused mostly by the protobuf and artifacts. And the CI won't pass without all bundle updating to 1.3.0. Besides you don't really need to review files related to protobuf or artifacts. Just the scripts would be fine. Thanks for understanding

dexhunter (Sun, 21 Oct 2018 15:48:24 GMT):
https://gerrit.hyperledger.org/r/27142

dexhunter (Sun, 21 Oct 2018 15:49:10 GMT):

Screenshot_20181021_234840.png

dexhunter (Sun, 21 Oct 2018 15:51:42 GMT):
By the way, I am still unclear about how to generate businesschannel_4.block (I suppose it is created by decoding a bussinesschannel_4.json with configtxgen) I checked your docker-compose-files repo multiple times but still couldn't find the corresponding generation script ( the kafka example seems to be created without the script) Would you please provide some extra guidance on the issue? Many thanks! @baohua

baohua (Tue, 23 Oct 2018 06:21:15 GMT):
it's only for testing, feel free to generate or copy an existing one.

Chandoo (Wed, 24 Oct 2018 14:36:52 GMT):
Has joined the channel.

baohua (Thu, 25 Oct 2018 05:48:18 GMT):
@here since no much profile this week, let's cancel the meeting. thanks!

javaguirre (Thu, 25 Oct 2018 20:27:06 GMT):
Hi! I'm new to the fabric-sdk-py, I've been using the client for node, When using enroll for the CAClient, a parameter csr is required to enroll, but this is different from the node client one since it's not required to enroll an admin/user, is there a reason for this? Also there is a CAService enroll and a CAClient.enroll, what is the difference? Thank you for your attention! :-)

smeyers (Fri, 26 Oct 2018 00:42:12 GMT):
Has joined the channel.

dexhunter (Fri, 26 Oct 2018 03:00:27 GMT):
@javaguirre Hi! We have not fully implemented the functions related for fabric-ca, so that's why there is a discrepancy. We are planning to implement it within this year after fabric 1.3.0 support. Hope this helps and have a nice day :)

javaguirre (Fri, 26 Oct 2018 06:24:15 GMT):
Thank you!

smeyers (Sat, 27 Oct 2018 02:11:38 GMT):
Hi, we are currently running into an issue when invoking chaincode that is trying to write transient data. When we invoke without transient data, it works. But when we have transient data, the transaction endorsement fails due to a hash mismatch. Has anyone else encountered this issue?

dexhunter (Mon, 29 Oct 2018 03:18:18 GMT):
@smeyers Hi! Thank you for the report. I will check the issue. But I am not sure when I can finish since I am in midterm exam this week. So if you are in a hurry, please just use without transient data. If you can wait for a while, then I will get back to you before the end of this week. Thanks again.

dexhunter (Mon, 29 Oct 2018 03:18:18 GMT):
@smeyers Hi! Thank you for the report. I will check the issue. But I am not sure when I can finish since I am in midterm exam this week. So if you are in a hurry, please just use without transient data. If you can wait for a while, then I will get back to you before the end of this week. Thanks again. Or if anyone else knows the answer, please feel free to answer.

dexhunter (Mon, 29 Oct 2018 03:35:39 GMT):
@smeyers btw, could you please provide what does your transient data look llike (which type, which function are you calling, etc)? Thank you!

AbhinayB (Mon, 29 Oct 2018 07:52:15 GMT):
Has joined the channel.

AbhinayB (Mon, 29 Oct 2018 08:02:00 GMT):
Hi! I've been following the tutorial on fabric-sdk-py at https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md. To enroll an admin, the tutorial says that we need to pass their name and password. However, I am receiving an error saying that 'csr' argument is missing. Am I missing something?

dexhunter (Mon, 29 Oct 2018 08:18:54 GMT):
@AbhinayB Are you using fabric-ca?

AbhinayB (Mon, 29 Oct 2018 08:39:50 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=XeboaMD379xwnrXuG) @dexhunter yes. I imported the hfc.fabric_ca just as mentioned in the tutorial. However when I run the following line:

AbhinayB (Mon, 29 Oct 2018 08:39:50 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=XeboaMD379xwnrXuG) @dexhunter yes. I imported the hfc.fabric_ca just as mentioned in the tutorial. However when I run the following line: _admin = cli.enroll(username="admin", password="pass")_ It throws me the error: _TypeError: enroll() missing 1 required positional argument: 'csr'_

dexhunter (Mon, 29 Oct 2018 08:48:02 GMT):
@AbhinayB Sorry to inform you but fabric-ca in python sdk is not ready. We are currently develop features for fabric v1.3.0 and after that we will support fabric-ca. Thank you for your understanding and have a nice day.

dexhunter (Mon, 29 Oct 2018 08:48:02 GMT):
@AbhinayB Sorry to inform you but fabric-ca in python sdk is not ready. We are currently developing features for fabric v1.3.0 and after that we will support fabric-ca. Thank you for your understanding and have a nice day.

dexhunter (Mon, 29 Oct 2018 08:48:37 GMT):
Of course, if you want, you can help to contribute the project. Feel free to PR or open an issue or anything.

AbhinayB (Mon, 29 Oct 2018 08:57:05 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=gFFkPYzWHDjdE3bf6) @dexhunter Thank you for your immediate reply! Is there a workaround for this? For example, can I use the REST APIs to connect to a CA server in my python code?

dexhunter (Mon, 29 Oct 2018 08:57:52 GMT):
@AbhinayB Yes, I guess so but I haven't really tested.

dexhunter (Mon, 29 Oct 2018 08:58:59 GMT):
But then you really don't have to use python sdk? Maybe it's easier to use node or go first?

AbhinayB (Mon, 29 Oct 2018 09:00:06 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=hYExzdqKBLioHst2H) @dexhunter True, I don't need to use the sdk. However, I have a Python script in which I wish to connect to the fabric-ca-server. What is the best way to do that?

AbhinayB (Mon, 29 Oct 2018 09:00:06 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=hYExzdqKBLioHst2H) @dexhunter True, I don't need to use the sdk. However, I have a Python script in which I wish to connect to the fabric-ca-server. I wanted to use the sdk to do it. However, I hoped that I can have the REST APIs running and connect to the endpoints for enrolling new users. What do you say?

AbhinayB (Mon, 29 Oct 2018 09:00:06 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=hYExzdqKBLioHst2H) @dexhunter True, I don't need to use the sdk. However, I have a Python script in which I wish to connect to the fabric-ca-server. I wanted to use the sdk to do it. Since that's not possible yet, I hoped that I can have the REST APIs running and connect to the endpoints for enrolling new users. What do you say?

dexhunter (Mon, 29 Oct 2018 09:03:34 GMT):
I guess you can use `requests` to do the connections? I am not really familiar with fabric-ca yet. Could you ask at #fabric-ca ? Or let me check the docs

AbhinayB (Mon, 29 Oct 2018 09:04:31 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=KRP2Pwv8gmZ4Hh79f) @dexhunter Sure. I guess #fabric-ca is a good option to try. Thank you!

dexhunter (Mon, 29 Oct 2018 09:04:48 GMT):
Okay, glad it helps. Have a nice day!

dexhunter (Thu, 01 Nov 2018 04:12:04 GMT):
@here since no much issue, let's cancel this week meeting and work offline. thanks!

IgarashiTakashi (Thu, 01 Nov 2018 13:44:35 GMT):
Has joined the channel.

IgarashiTakashi (Thu, 01 Nov 2018 13:46:06 GMT):
Has left the channel.

john.d.sheehan (Thu, 01 Nov 2018 16:40:51 GMT):
Has joined the channel.

john.d.sheehan (Thu, 01 Nov 2018 16:42:05 GMT):
Hi, is it possible with the python sdk to query the chaincode for a particular key?

dexhunter (Sat, 03 Nov 2018 02:49:52 GMT):
@john.d.sheehan Hi! Querying chaincode by key is not currently supported by python sdk. For more supported query operations, you may check https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md#4-query-informations Thanks and have a nice day :)

hkim07 (Sat, 03 Nov 2018 20:06:34 GMT):
Has joined the channel.

awes0menessInc (Tue, 06 Nov 2018 03:41:00 GMT):
Has joined the channel.

enriquebusti (Wed, 07 Nov 2018 12:02:16 GMT):
Has joined the channel.

dexhunter (Wed, 07 Nov 2018 13:33:17 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181108, welcome to attend, thanks!

vieiramanoel (Wed, 07 Nov 2018 13:56:18 GMT):
Has left the channel.

VenkatThota (Thu, 08 Nov 2018 11:12:34 GMT):
Has joined the channel.

AlexanderZhovnuvaty (Mon, 12 Nov 2018 11:06:41 GMT):
Has left the channel.

dexhunter (Thu, 15 Nov 2018 08:00:50 GMT):
@here since no much issue, let's cancel this week meeting and work offline. thanks!

baohua (Thu, 15 Nov 2018 09:26:32 GMT):
ok

dexhunter (Wed, 21 Nov 2018 09:00:49 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181122, welcome to attend, thanks!

aKesav (Sat, 24 Nov 2018 08:17:55 GMT):
Has joined the channel.

dexhunter (Wed, 28 Nov 2018 08:00:50 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181129, welcome to attend, thanks!

baohua (Wed, 28 Nov 2018 08:09:05 GMT):
+1!

arjitkhullar (Wed, 05 Dec 2018 00:04:31 GMT):
Has joined the channel.

NickXie (Wed, 19 Dec 2018 07:12:35 GMT):
Has joined the channel.

Kelvin_Moutet (Fri, 21 Dec 2018 08:30:22 GMT):
Hello, what is the current status of the fabric python sdk ? :)

Kelvin_Moutet (Fri, 21 Dec 2018 08:30:22 GMT):
Hello, what is the current status of the fabric python sdk ? :)

tuckerg (Mon, 24 Dec 2018 15:25:45 GMT):
Has joined the channel.

baohua (Tue, 25 Dec 2018 03:48:50 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=RikrcEmXzRRpJfXYe) @Kelvin_Moutet Here you can find some info: https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20181220.

baohua (Tue, 25 Dec 2018 03:49:23 GMT):
Due to the holidays, the fabric-sdk-py meeting will cancel this week. Happy holidays to every developers! @all

vncvishh (Tue, 01 Jan 2019 15:17:50 GMT):
hello everyone,i am new to hyperledger fabric.I knows Python and learning solidity.So how can i start working on fabric.what else should i need to learn??

baohua (Wed, 02 Jan 2019 05:49:23 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=J5sN6ERvYXDnL9YxQ) @vncvishh here is a good start to learn fabric: https://wiki.hyperledger.org/projects/fabric-sdk-py and https://wiki.hyperledger.org/projects/fabric

rsoeldner (Sat, 05 Jan 2019 07:22:52 GMT):
Has joined the channel.

rsoeldner (Sat, 05 Jan 2019 07:25:23 GMT):
Morning, is it possible to retrieve all participants of a channel ?

rsoeldner (Sat, 05 Jan 2019 08:39:16 GMT):
btw, is the current py sdk useable ?

wangdong (Sat, 05 Jan 2019 13:30:09 GMT):
@rsoeldner yes it is good to use.

wangdong (Sat, 05 Jan 2019 13:32:02 GMT):
By participant, you mean the peers? Of course. But this kind of functionality needs the support of discovery service to be implemented.

wangdong (Sat, 05 Jan 2019 13:32:14 GMT):
It is not yet in py sdk now.

rsoeldner (Sat, 05 Jan 2019 13:33:29 GMT):
I see thank you

rsoeldner (Sat, 05 Jan 2019 13:34:13 GMT):
Currently I'm running into problems with serializing the Enrollment structure, I want to store it in a session and `jsonpickle` isnt able to do this

rsoeldner (Sat, 05 Jan 2019 13:34:13 GMT):
Currently I'm running into problems with serializing the Enrollment structure, I want to store it in a session and `jsonpickle` isnt able to do this. Can you help here @wangdong

rsoeldner (Sun, 06 Jan 2019 07:16:40 GMT):
Is it currently possible to register a new user ? Can't find it in the ca code..

wangdong (Sun, 06 Jan 2019 08:10:52 GMT):
ca is not complete yet.

rsoeldner (Sun, 06 Jan 2019 09:13:30 GMT):
@wangdong The official CA Rest documentation write ``` An enrollment token consisting of two base 64 encoded parts separated by a period: - an enrollment certificate; - a signature over the certificate and body of request. ``` And from the `caservice.py` I see call the use of `request` - The Enrollment object is able to deliver the certificate, can you help out with the second part, the signature over the certificate and body of request ?

rsoeldner (Sun, 06 Jan 2019 18:55:22 GMT):
Can someone help with implementing the `register` functionality - https://gist.github.com/rsoeldner/ea64d2cc23f1d8fd5f85657dc0f1243a I tried it but struggle with current workflow

rsoeldner (Sun, 06 Jan 2019 19:09:12 GMT):
Is the current sdk able to invoke a chaincode method ?

wangdong (Mon, 07 Jan 2019 01:38:36 GMT):
yes, it can invoke.

wangdong (Mon, 07 Jan 2019 01:38:41 GMT):
@rsoeldner

rsoeldner (Mon, 07 Jan 2019 07:39:38 GMT):
@wangdong thank you

rsoeldner (Mon, 07 Jan 2019 07:39:48 GMT):
can youhelp with the caservice rest api too ?

cm_liu (Mon, 07 Jan 2019 09:47:42 GMT):
Has joined the channel.

cm_liu (Mon, 07 Jan 2019 12:16:33 GMT):
Is anyone here?

rsoeldner (Mon, 07 Jan 2019 12:22:25 GMT):
yes

cm_liu (Mon, 07 Jan 2019 12:43:03 GMT):
@rsoeldner can u speak chinese

cm_liu (Mon, 07 Jan 2019 12:49:07 GMT):
if I want use fabric-sdk-py, network.json is important to operate with a fabric network, so I just modify it to operate my fabric network.

cm_liu (Mon, 07 Jan 2019 12:49:22 GMT):
Right?

rsoeldner (Mon, 07 Jan 2019 13:02:32 GMT):
@cm_liu I can not, right now im using the fabric-ca stuff but soon need the fabric client too

cm_liu (Mon, 07 Jan 2019 13:07:38 GMT):

微信截图_20190107210712.png

cm_liu (Mon, 07 Jan 2019 13:08:22 GMT):
like this, replace my path of ca

Ryan2 (Mon, 07 Jan 2019 14:21:29 GMT):
Has joined the channel.

rsoeldner (Mon, 07 Jan 2019 18:31:09 GMT):
Can someone guide me how to `invoke` a chaincode with an `Enrollment` object ?

cm_liu (Tue, 08 Jan 2019 07:11:50 GMT):

Clipboard - January 8, 2019 3:11 PM

cm_liu (Tue, 08 Jan 2019 07:14:43 GMT):
Use sdk to create a new channel error, someone can help me

cm_liu (Wed, 09 Jan 2019 03:50:48 GMT):

Clipboard - January 9, 2019 11:50 AM

cm_liu (Wed, 09 Jan 2019 03:50:56 GMT):
someone can help me

cm_liu (Wed, 09 Jan 2019 09:14:35 GMT):

Clipboard - January 9, 2019 5:14 PM

cm_liu (Wed, 09 Jan 2019 09:14:58 GMT):
someone can help me

baohua (Thu, 10 Jan 2019 01:23:31 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=k2gzMhyu26Q7YfXgg) @cm_liu @dexhunter may help have a look

cm_liu (Thu, 10 Jan 2019 02:10:57 GMT):

Clipboard - January 10, 2019 10:10 AM

baohua (Thu, 10 Jan 2019 03:37:51 GMT):
@here The meeting will be cancelled this week since low agenda. thanks and have a nice weekend!

cm_liu (Thu, 10 Jan 2019 07:22:11 GMT):

Clipboard - January 10, 2019 3:22 PM

cm_liu (Thu, 10 Jan 2019 07:23:28 GMT):
but I have create a new channel and let peers join it.

cm_liu (Thu, 10 Jan 2019 07:24:05 GMT):

Clipboard - January 10, 2019 3:24 PM

cm_liu (Thu, 10 Jan 2019 07:34:42 GMT):
The problem has been solved,:joy:

rsoeldner (Thu, 10 Jan 2019 18:44:56 GMT):
@cm_liu what was it ?

nickgaski (Thu, 10 Jan 2019 20:46:42 GMT):
Has left the channel.

cm_liu (Fri, 11 Jan 2019 09:45:00 GMT):
sdk-py not support env of fabric-ca? sometingwrong with this.

cm_liu (Fri, 11 Jan 2019 09:45:15 GMT):

Clipboard - January 11, 2019 5:45 PM

cm_liu (Fri, 11 Jan 2019 09:45:23 GMT):
someone can help me

vsadriano (Fri, 11 Jan 2019 17:27:11 GMT):
Has joined the channel.

baohua (Thu, 17 Jan 2019 04:00:41 GMT):
@all Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/projects/fabric-sdk-py/meetings/20190117, welcome to attend, thanks!

kop94504 (Thu, 17 Jan 2019 08:38:42 GMT):
Has joined the channel.

GuillaumeCisco (Thu, 17 Jan 2019 12:58:29 GMT):
will be present

baohua (Thu, 17 Jan 2019 15:02:00 GMT):
Minutes added for the meeting!

dexhunter (Thu, 17 Jan 2019 15:07:08 GMT):
Thank you! @baohua

baohua (Thu, 17 Jan 2019 15:08:02 GMT):
:)

baohua (Thu, 17 Jan 2019 15:08:31 GMT):
glad we have new attendees like @GuillaumeCisco

GuillaumeCisco (Thu, 17 Jan 2019 15:13:11 GMT):
thank you

GuillaumeCisco (Fri, 18 Jan 2019 13:46:33 GMT):
Hello @baohua, following what we talked about yesterday in the meeting, I just checked once again the tutorial from `fabric-sdk-py`. I have a lot of obseravations I wrote in a google doc. I will paste it here. Fiurthermore, if you could redirect me to the specifications of how to build the SDK, it would be great, I'd like to write the `register` method, which is really important.

GuillaumeCisco (Fri, 18 Jan 2019 13:46:43 GMT):
Fabric-sdk-py tutorial observations In the client the CA are not initialized: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L103 Following the tutorial https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md#11-load-connection-profile cli.CAs # ca nodes in the network will give an empty dict https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md#121-if-no-valid-user-exist-yet-register-and-enroll-from-fabric-ca tutorial is wrong for connecting to server CA. Port should be 7054 too as 7050 is default for ordering services. http or https must be added too. Change cli = CAClient(server_addr="127.0.0.1:7050") to cli = CAClient(target="https://127.0.0.1:7054") admin = cli.enroll(username="admin", password="pass") cannot work as the signature of the method is: def enroll(self, enrollment_id, enrollment_secret, csr): You need to write admin = cli.enroll("admin", "pass"). However there is another enroll method described in the CAService object: def enroll(self, enrollment_id, enrollment_secret): It will generate the csr automatically. You can write: from hfc.fabric_ca.caservice import CAService cli = CAService(target="https://127.0.0.1:7054") admin = cli.enroll("admin", "pass") But it will fail with: requests.exceptions.SSLError: HTTPSConnectionPool(host='127.0.0.1', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))) Looking at the log of your server certificate authority using: docker logs -f rca-org1. You will see: http: TLS handshake error from 172.18.0.1:33054: remote error: tls: unknown certificate authority We need to pass the correct certificate: from hfc.fabric_ca.caservice import CAService cli = CAService(target="https:/127.0.0.1:7054", ca_certs_path='path_to_my/ca-cert.pem') # do not give tls-ca-cert.pem file, make sure your tls-ca-cert.pem file does not override your ca-cert.pem in your fabric-ca-server.yaml configuration. admin = cli.enroll("admin", "pass") You are now able to enroll an user. You can verify or get your cert.pem file with: cli._ca_client.get_cainfo() But you will need to pass the ca_name otherwise an error will be raised: ValueError: get_cainfo failed with errors [] You can make a full test with: from hfc.fabric_ca.caservice import CAService cli = CAService(target="https://127.0.0.1:7054", ca_certs_path='path_to_my/ca-cert.pem', ca_name='rca-org1') admin = cli.enroll("admin", "pass") with open('path_to_my/ca-cert.pem', 'rb') as f: cert = f.read() print(cli._ca_client.get_cainfo() == cert) Finally the register method is not yet implemented. did not test channel, chaincode, query operations

GuillaumeCisco (Fri, 18 Jan 2019 13:46:43 GMT):
Fabric-sdk-py tutorial observations In the client the CA are not initialized: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L103 Following the tutorial https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md#11-load-connection-profile cli.CAs # ca nodes in the network will give an empty dict https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md#121-if-no-valid-user-exist-yet-register-and-enroll-from-fabric-ca tutorial is wrong for connecting to server CA. Port should be 7054 too as 7050 is default for ordering services. http or https must be added too. Change cli = CAClient(server_addr="127.0.0.1:7050") to cli = CAClient(target="https://127.0.0.1:7054") admin = cli.enroll(username="admin", password="pass") cannot work as the signature of the method is: def enroll(self, enrollment_id, enrollment_secret, csr): You need to write admin = cli.enroll("admin", "pass"). However there is another enroll method described in the CAService object: def enroll(self, enrollment_id, enrollment_secret): It will generate the csr automatically. You can write: from hfc.fabric_ca.caservice import CAService cli = CAService(target="https://127.0.0.1:7054") admin = cli.enroll("admin", "pass") But it will fail with: requests.exceptions.SSLError: HTTPSConnectionPool(host='127.0.0.1', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1051)'))) Looking at the log of your server certificate authority using: docker logs -f rca-org1. You will see: http: TLS handshake error from 172.18.0.1:33054: remote error: tls: unknown certificate authority We need to pass the correct certificate: from hfc.fabric_ca.caservice import CAService cli = CAService(target="https:/127.0.0.1:7054", ca_certs_path='path_to_my/ca-cert.pem') # do not give tls-ca-cert.pem file, make sure your tls-ca-cert.pem file does not override your ca-cert.pem in your fabric-ca-server.yaml configuration. admin = cli.enroll("admin", "pass") You are now able to enroll an user. You can verify or get your cert.pem file with: cli._ca_client.get_cainfo() But you will need to pass the ca_name otherwise an error will be raised: ValueError: get_cainfo failed with errors [] You can make a full test with: from hfc.fabric_ca.caservice import CAService cli = CAService(target="https://127.0.0.1:7054", ca_certs_path='path_to_my/ca-cert.pem', ca_name='rca-org1') admin = cli.enroll("admin", "pass") with open('path_to_my/ca-cert.pem', 'rb') as f: cert = f.read() print(cli._ca_client.get_cainfo() == cert) Finally the register method is not yet implemented. did not test channel, chaincode, query operations

baohua (Fri, 18 Jan 2019 13:47:56 GMT):
great! here is where to start: hfc/fabric_ca/caservice.py.

GuillaumeCisco (Fri, 18 Jan 2019 13:48:14 GMT):
Yes as you could see I've test all this file :)

baohua (Fri, 18 Jan 2019 13:48:16 GMT):
the `class CAClient` is the major handler

baohua (Fri, 18 Jan 2019 13:48:40 GMT):
feel free to create jira task at jira.hyperledger.org and assign to yourself.

baohua (Fri, 18 Jan 2019 13:48:57 GMT):
hopefully you know the contribution workflow, right?

baohua (Fri, 18 Jan 2019 13:48:57 GMT):
hopefully you know the contribution workflow at https://github.com/hyperledger/fabric-sdk-py/blob/master/CONTRIBUTING.md, right?

GuillaumeCisco (Fri, 18 Jan 2019 13:48:58 GMT):
Ok but do we have some specifications?

GuillaumeCisco (Fri, 18 Jan 2019 13:49:28 GMT):
I do not know where to start. How registering an user work? What url should I call, with what arguments?

GuillaumeCisco (Fri, 18 Jan 2019 13:50:29 GMT):
Thank you for the contribution workflow

baohua (Fri, 18 Jan 2019 13:50:42 GMT):
oh, then need to read the fabric-ca API at https://github.com/hyperledger/fabric-ca/blob/release-1.4/swagger/swagger-fabric-ca.json

baohua (Fri, 18 Jan 2019 13:51:10 GMT):
the spec can be recorded into the jira issue, we use jira to track task and design

GuillaumeCisco (Fri, 18 Jan 2019 13:51:11 GMT):
Thank you, it help a lot

GuillaumeCisco (Fri, 18 Jan 2019 13:51:11 GMT):
Thank you, it helps a lot

baohua (Fri, 18 Jan 2019 13:51:32 GMT):
:)

GuillaumeCisco (Fri, 18 Jan 2019 14:29:29 GMT):
I'm facing an issue right now for getting the value of the private key after an enrollment. When enrolling, a private_key is created like `private_key = self._crypto.generate_private_key()` it give us a `cryptography.hazmat.backends.openssl.ec._EllipticCurvePrivateKey` object. Does someone know how to get the value of this private key?

GuillaumeCisco (Fri, 18 Jan 2019 14:32:03 GMT):
As i can understand the private key is created with this library: https://cryptography.io/en/latest/hazmat/primitives/asymmetric/ec/#cryptography.hazmat.primitives.asymmetric.ec.generate_private_key

GuillaumeCisco (Fri, 18 Jan 2019 14:42:50 GMT):
Only thing I can find is key dumping here: https://cryptography.io/en/latest/hazmat/primitives/asymmetric/serialization/?highlight=dump#key-dumping But I do not know how to dump with ec :/

GuillaumeCisco (Fri, 18 Jan 2019 14:54:52 GMT):
ok just found out how to do it thanks to https://cryptography.io/en/latest/x509/tutorial/?highlight=serialization code is `https://cryptography.io/en/latest/x509/tutorial/?highlight=serialization`

GuillaumeCisco (Fri, 18 Jan 2019 14:54:52 GMT):
ok just found out how to do it thanks to https://cryptography.io/en/latest/x509/tutorial/?highlight=serialization code is `self._private_key.private_bytes(encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.PKCS8, encryption_algorithm=serialization.NoEncryption())`

GuillaumeCisco (Mon, 21 Jan 2019 14:03:03 GMT):
good news, I just succeded to register an user with fabric-sdk-py

GuillaumeCisco (Mon, 21 Jan 2019 14:03:03 GMT):
good news, I've just succeded to register an user with fabric-sdk-py

GuillaumeCisco (Mon, 21 Jan 2019 14:03:08 GMT):
I will create a PR on gerrit

GuillaumeCisco (Mon, 21 Jan 2019 14:03:28 GMT):
the tutorial documentation will need to be updated too

GuillaumeCisco (Mon, 21 Jan 2019 14:45:03 GMT):
https://gerrit.hyperledger.org/r/#/c/28855/

wangdong (Tue, 22 Jan 2019 00:32:46 GMT):
@GuillaumeCisco Great. There is an error in the CI. Please correct that. Regarding the commit message, would you please make it with some explanation words about this patch? *target="_blank" rel="nofollow">https://jira.hyperledger.org/browse/FABP-184. * is not a nice one.

wangdong (Tue, 22 Jan 2019 00:32:46 GMT):
@GuillaumeCisco Great. There is an error in the CI. Please correct that. Regarding the commit message, would you please make it with some explanation words about this patch? **target="_blank" rel="nofollow">https://jira.hyperledger.org/browse/FABP-184. ** is not a nice one.

wangdong (Tue, 22 Jan 2019 00:32:46 GMT):
@GuillaumeCisco Great. There is an error in the CI. Please correct that. Regarding the commit message, would you please make it with some explanation words about this patch? The current one is not a nice one.

GuillaumeCisco (Tue, 22 Jan 2019 08:32:04 GMT):
Hello @wangdong , yes there is an error in the CI. I don't understand why. Does the current version of fabric-sdk-py work with the CI? I really need help about this issue. I tried all day yesterday understand why, but cannot figure it out. And regarding the commit message I added the implementation of the register method. I don't know what to add.

GuillaumeCisco (Tue, 22 Jan 2019 08:32:04 GMT):
Hello @wangdong , yes there is an error in the CI. I don't understand why. Does the current version of fabric-sdk-py work with the CI? I really need help about this issue. I tried all day yesterday understand why, but cannot figure it out. And regarding the commit message I added the implementation of the register method. I don't know what to add more.

GuillaumeCisco (Tue, 22 Jan 2019 08:32:04 GMT):
Hello @wangdong , yes there is an error in the CI. I don't understand why. Does the current version of fabric-sdk-py work with the CI? I really need help about this issue. I tried all day yesterday understand why, but cannot figure it out. And regarding the commit message, I added the implementation of the register method. I don't know what to add more.

wangdong (Tue, 22 Jan 2019 08:34:56 GMT):
what is the error in the log?

GuillaumeCisco (Tue, 22 Jan 2019 08:42:05 GMT):
I do not know :/ I read all the logs present here: https://logs.hyperledger.org/production/vex-yul-hyp-jenkins-3/fabric-sdk-py-verify-x86_64/527/ And I don't know where to start.

GuillaumeCisco (Tue, 22 Jan 2019 09:30:28 GMT):
The only thing I see is: ``` Error: Remove JIRA URLs from commit message Add jira references as: Issue: -, instead of URLs ```

GuillaumeCisco (Tue, 22 Jan 2019 09:30:42 GMT):
I just rewrote my commit message

GuillaumeCisco (Tue, 22 Jan 2019 09:30:42 GMT):
I've just rewritten my commit message

wangdong (Tue, 22 Jan 2019 11:59:57 GMT):
OK. Let's see your second version

wangdong (Tue, 22 Jan 2019 23:30:00 GMT):
`Trailing white spaces found in file:docs/release_note.md`

wangdong (Tue, 22 Jan 2019 23:30:12 GMT):
This is the error message I found.

wangdong (Tue, 22 Jan 2019 23:30:43 GMT):
Everytime you got failure from CI, you can find the reason from concole output.

wangdong (Tue, 22 Jan 2019 23:30:51 GMT):
https://jenkins.hyperledger.org/job/fabric-sdk-py-verify-x86_64/528/console

wangdong (Tue, 22 Jan 2019 23:30:54 GMT):
@GuillaumeCisco

baohua (Wed, 23 Jan 2019 01:03:55 GMT):
@GuillaumeCisco this might help: https://stackoverflow.com/questions/10711051/how-to-remove-trailing-whitespaces-for-multiple-files

GuillaumeCisco (Wed, 23 Jan 2019 08:45:05 GMT):
my god, why don't we have a git hook that remove trailing whitespaces automatically before committing?

GuillaumeCisco (Wed, 23 Jan 2019 08:56:25 GMT):
Just added a new commit removing the trailing whitespace. Furthermore, I think we should review how the enroll method work. Currently, it returns an Enrollment instance. Should it however returns an User object? I based my register method from the Enrollment object, but from what I understand, it would be better to base it from an User object. Thoughts ? @dexhunter

GuillaumeCisco (Wed, 23 Jan 2019 08:56:25 GMT):
Just added a new commit removing the trailing whitespace. Furthermore, I think we should review how the enroll method work. Currently, it returns an Enrollment instance. Should it however returns an User instance (Enrollment + mspid)? I based my register method from the Enrollment object, but from what I understand, it would be better to base it from an User instance. Thoughts ? @dexhunter

GuillaumeCisco (Wed, 23 Jan 2019 08:56:25 GMT):
Just added a new commit removing the trailing whitespace. Furthermore, I think we should review how the enroll method work. Currently, it returns an Enrollment instance. Should it however returns an User instance (Enrollment + mspid)? I based my register method from the Enrollment instance, but from what I understand, it would be better to base it from an User instance. Thoughts ? @dexhunter

GuillaumeCisco (Thu, 24 Jan 2019 09:04:27 GMT):
Will be a meeting settled tonight?

GuillaumeCisco (Thu, 24 Jan 2019 15:37:23 GMT):
Hello there, Just go back from testing the register method. As I can see in the Makefile : `TOX_VENV_NAMES = pylint flake8 py30 py35` We are testing once in py30 and in second time with py35. What's going on is the first time the registering will work, but the second time it will fail as we have already registered the user. The `fabric.server.db` is not cleaned. What should we do? launch a `make clean` between py30 and py35, override the db file for testing, removing the user on tearDown? I need help for this case @baohua @dexhunter @wangdong

baohua (Thu, 24 Jan 2019 16:34:54 GMT):
if tox support to clean after each venv, then we can delete the temp db. and i remember tox should auto setup a total clean env from scratch... feel free to pick up your efficient way.

baohua (Thu, 24 Jan 2019 16:34:54 GMT):
if tox supports to clean after each venv, then we can delete the temp db. and i remember tox should auto setup a total clean env from scratch... feel free to pick up your efficient way.

GuillaumeCisco (Thu, 24 Jan 2019 20:04:39 GMT):
I'm not sure, because the DB file is automatically created from the fabric-ca-server-conf.yaml. The docker instance create it if it does not exist. So if I remove it between tests, I have to relaunch all the docker-compose setup. It won't work. Currently I use a random username as a fix. It allows me to register different users with each test suite environment, but I do not know if it is a good idea...

baohua (Fri, 25 Jan 2019 02:43:21 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=kgvPQg3kymWLrdnd2) @GuillaumeCisco Let's use different usernames first. and add comments in code to claim the reason to do so.

lancelot96 (Fri, 25 Jan 2019 05:04:44 GMT):
Has joined the channel.

GuillaumeCisco (Fri, 25 Jan 2019 09:49:56 GMT):
Thanks @baohua , I will do. I also discovered that we can remove an identity via `identity remove` but... right now... This method has not been implemented. I'll stuck with the random usernames for now. Furthermore, I think I'm heading in the wrong direction. The current enroll method return a certificate, not an user. I'm waiting the next meeting for discussing about it. What would be really useful is to know the specifications the node SDK used. It would be great to port their effort in python. Right now, I deeply lack about informations.

dexhunter (Fri, 25 Jan 2019 16:50:34 GMT):
@GuillaumeCisco I think for node sdk they return a secret? https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/fabric-ca-client/lib/FabricCAClient.js#L94

dexhunter (Fri, 25 Jan 2019 16:54:50 GMT):
By the way, I think I am confused about the network problem. The problem with RxPy library is that the queue is empty, and we need to add extra timeout for retrieving the result. So I changed this asynchronous method back to synchronous method as FABP-185. However, with the synchronous I found there are still connection problems (but it does not happen every time, so it remains a mystery to me). I wonder if there are any ideas on why this might happen or suggestions where I should investigate? Thanks!

dexhunter (Fri, 25 Jan 2019 16:54:50 GMT):
By the way, I think I am confused about the network problem. The problem with RxPy library is that the queue is empty, and we need to add extra timeout for retrieving the result (and the result is still not guaranteed to get). So I changed this asynchronous method back to synchronous method as FABP-185. However, with the synchronous I found there are still connection problems (but it does not happen every time, so it remains a mystery to me). I wonder if there are any ideas on why this might happen or suggestions where I should investigate? Thanks!

dexhunter (Fri, 25 Jan 2019 17:03:13 GMT):
https://gerrit.hyperledger.org/r/#/c/28955/ basically I just re-triggered the jobbuilder and the build passed. The previous error is shown below, which seems to be a grpc problem. But I am not quite sure how to fix it.

dexhunter (Fri, 25 Jan 2019 17:03:28 GMT):

Screenshot from 2019-01-26 01-02-43.png

dexhunter (Sat, 26 Jan 2019 12:15:20 GMT):
@GuillaumeCisco I just merged your patch set. Thank you for contributing!

baohua (Sun, 27 Jan 2019 14:56:08 GMT):
Thanks and congrats @GuillaumeCisco for his first merged patchset!

GuillaumeCisco (Mon, 28 Jan 2019 09:00:17 GMT):
Thank you @dexhunter and @baohua . Great work. I successfully impelemented the revoke method too. But as I said, we should not register from an enrollment instance. But from an user instance. I'm investigating how to do this cleanly. Unfortunately, I cannot help you @dexhunter on the asynchronous issue, I lack of knowledge in this area.

GuillaumeCisco (Mon, 28 Jan 2019 09:00:17 GMT):
Thank you @dexhunter and @baohua . Great work. I've successfully implemented the revoke method too. But as I said, we should not register from an enrollment instance. But from an user instance. I'm investigating how to do this cleanly. Unfortunately, I cannot help you @dexhunter on the asynchronous issue, I lack of knowledge in this area.

GuillaumeCisco (Mon, 28 Jan 2019 10:42:24 GMT):
https://gerrit.hyperledger.org/r/#/c/28979/

Kelvin_Moutet (Mon, 28 Jan 2019 15:23:40 GMT):
Hello, it seems that the version `protobuf` should be at least `protobuf >= 3.6.0` and not `protobuf >= 3.5.2.post1` to handle `serialized_options` for `FileDescriptor`

dexhunter (Mon, 28 Jan 2019 16:21:17 GMT):
@GuillaumeCisco Merged. Thank you!

dexhunter (Mon, 28 Jan 2019 16:22:24 GMT):
@Kelvin_Moutet will update later. My protobuf version is `3.6.1`, I think this causes the problem. Sorry for the trouble. And thank you for reminder

dexhunter (Tue, 29 Jan 2019 06:31:45 GMT):
Hi, currently we need to manually specify the peers for tx with python sdk while in node sdk the target seems to be detected automatically, I remembered @baohua told me the reason of this design previously but I forgot it XD. I wonder is it possible that you tell me again? Thank you very much!

baohua (Tue, 29 Jan 2019 07:14:09 GMT):
we can keep the existing specify way and add a new API to auto detect available endorsers. how do you think?

dexhunter (Tue, 29 Jan 2019 08:29:51 GMT):
Thanks, I agree. Let me think about the implementation.

Kelvin_Moutet (Tue, 29 Jan 2019 08:53:34 GMT):
Hello, I'm trying to query my hyperledger network build with fabric-ca (certificates are generated from fabric-ca) with ``` from hfc.fabric import Client cli = Client(net_profile="./network.json") admin = cli.get_user('org', 'admin') channel = cli.new_channel('mychannel') response = cli.query_block( requestor=admin, channel_name='mychannel', peer_names=['peer1'], block_number='0' ) ``` But I have this error : `E0129 09:43:22.678817000 4673078720 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:10000412:SSL routines:OPENSSL_internal:SSLV3_ALERT_BAD_CERTIFICATE.` if I'm using the `ca-cert.pem` generated by the fabric-ca Or this error if I try to use `tls-ca-cert.pem` generated by the fabric-ca I have this one `E0129 09:46:49.157442000 4632470976 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.` Does someone knwo how to fix this issue

Kelvin_Moutet (Tue, 29 Jan 2019 08:53:34 GMT):
Hello, I'm trying to query my hyperledger network build with fabric-ca (certificates are generated from fabric-ca) with ``` from hfc.fabric import Client cli = Client(net_profile="./network.json") admin = cli.get_user('org', 'admin') channel = cli.new_channel('mychannel') response = cli.query_block( requestor=admin, channel_name='mychannel', peer_names=['peer1'], block_number='0' ) ``` But I have this error : `E0129 09:43:22.678817000 4673078720 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:10000412:SSL routines:OPENSSL_internal:SSLV3_ALERT_BAD_CERTIFICATE.` if I'm using the `ca-cert.pem` generated by the fabric-ca Or this error if I try to use `tls-ca-cert.pem` generated by the fabric-ca I have this one `E0129 09:46:49.157442000 4632470976 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.` Does someone know how to fix this issue ?

GuillaumeCisco (Tue, 29 Jan 2019 09:38:34 GMT):
FYI @Kelvin_Moutet is my coworker. We experience this error both. I'm right now trying to implement the generateCRL method. It should follow the same way register and revoke do, if I'm referencing to the fabric-sdk-node. But I get an very weird error `[{'code': 20, 'message': 'Authentication failure'}]`. It looks like this issue happen if the user who wants to generateCRL does not have the `hf.GenCRL` set to true. As described here: https://jira.hyperledger.org/browse/FAB-7207?jql=text%20~%20%22generate%20CRL%22 We can see the same kind of issue with LDAP here: https://medium.com/@aleksobol/hyperledger-fabric-with-ldap-integration-part-2-eb87c2c95f39 https://jira.hyperledger.org/browse/FABC-729 I do not know how to pass this test and make it works. @dexhunter I will create a jira issue and a branch with the code. If you can take a look, it would be great :)

GuillaumeCisco (Tue, 29 Jan 2019 09:54:05 GMT):
https://gerrit.hyperledger.org/r/#/c/29000/

GuillaumeCisco (Tue, 29 Jan 2019 10:10:21 GMT):
Regarding @Kelvin_Moutet issue, I discovered this jira issue: https://jira.hyperledger.org/browse/FABP-175 Can someone tell us more about it? Thank you,

dexhunter (Tue, 29 Jan 2019 10:13:49 GMT):
@Kelvin_Moutet Hi, could you also post the `network.json` file? Thanks!

dexhunter (Tue, 29 Jan 2019 10:14:10 GMT):
@GuillaumeCisco FABP-175 is about implementation of query methods

dexhunter (Tue, 29 Jan 2019 10:18:47 GMT):
you can check `e2e_test` to see (https://github.com/hyperledger/fabric-sdk-py/blob/master/test/integration/e2e_test.py#L294-L317). I also found there seems to be some problems regarding querying methods after I migrate from rxpy -> vanilla. But I am currently busy implementing new features, would have a look tomorrow (GMT+8)

dexhunter (Tue, 29 Jan 2019 10:19:38 GMT):
I pointed out the problem at TODO if you want to have a look

dexhunter (Tue, 29 Jan 2019 10:19:38 GMT):
I pointed out the problem at comment (TODO) if you want to have a look

Kelvin_Moutet (Tue, 29 Jan 2019 10:21:59 GMT):
@dexhunter ``` { "certificateAuthorities": { "rca-orderer": { "grpcOptions": { "verify": true }, "registrar": [ { "enrollId": "admin-orderer", "enrollSecret": "ADMIN_PASSWORD" } ], "tlsCACerts": { "path": "/orderer/ca-cert.pem" }, "url": "rca-orderer:9054" }, "rca-myorg": { "grpcOptions": { "verify": true }, "registrar": [ { "enrollId": "admin-myorg", "enrollSecret": "ADMIN_PASSWORD" } ], "tlsCACerts": { "path": "/myorg/ca-cert.pem" }, "url": "rca-myorg:7054" } }, "client": { "credentialStore": { "cryptoStore": { "path": "/tmp/hfc-cvs" }, "path": "/tmp/hfc-kvs", "wallet": "wallet-name" }, "organization": "myorg" }, "description": "My Org network", "name": "myorgnet", "orderers": { "orderer": { "grpcOptions": { "grpc-max-send-message-length": 15, "ssl-target-name-override": "orderer1-orderer" }, "tlsCACerts": { "path": "/orderer/ca-cert.pem" }, "url": "orderer1-orderer:7050" } }, "organizations": { "orderer": { "certificateAuthorities": [ "rca-orderer" ], "mspid": "ordererMSP", "orderers": [ "orderer1-orderer" ], "users": { "admin": { "cert": "/orderer/admin/msp/signcerts/cert.pem", "private_key": "/orderer/admin/msp/keystore/42982947b97bee294e86357134aaa6900bd174aa20fd11c12c449475e6f11d1f_sk" } } }, "myorg": { "certificateAuthorities": [ "rca-myorg" ], "mspid": "ordererMSP", "peers": [ "peer1-myorg", "peer2-myorg" ], "users": { "admin": { "cert": "/myorg/admin/msp/signcerts/cert.pem", "private_key": "/myorg/admin/msp/keystore/a7dd49309bd892987bb4ac242c316352a844447d6997360243679be11b91f85f_sk" }, "user": { "cert": "/myorg/user/msp/signcerts/cert.pem", "private_key": "/myorg/user/msp/keystore/541ce79d8d57e907b94c6f794882272a17ebdbd6b137861bdb791be05ff6ab3e_sk" } } } }, "peers": { "peer1-myorg": { "eventUrl": "peer1-myorg:7053", "grpcOptions": { "grpc-max-send-message-length": 15, "ssl-target-name-override": "peer1-myorg" }, "tlsCACerts": { "path": "/myorg/tls-ca-cert.pem" }, "url": "peer1-myorg:7051" }, "peer2-myorg": { "eventUrl": "peer2-myorg:8053", "grpcOptions": { "grpc-max-send-message-length": 15, "ssl-target-name-override": "peer2-myorg" }, "tlsCACerts": { "path": "/myorg/ca-cert.pem" }, "url": "peer2-myorg:8051" } }, "version": "0.1" } ``` Thank you for your help :)

dexhunter (Tue, 29 Jan 2019 10:26:11 GMT):
Right now I could see the peer name should be `peer1-myorg` but I am not sure if there are other problems.

dexhunter (Tue, 29 Jan 2019 10:27:04 GMT):
And org_name seems to be `myorg` in your case

Kelvin_Moutet (Tue, 29 Jan 2019 10:34:12 GMT):
Ah sorry, it's just renaming to keep it as clear as possible, I update the python call along to :) ``` from hfc.fabric import Client cli = Client(net_profile="./network.json") admin = cli.get_user('myorg', 'admin') channel = cli.new_channel('mychannel') response = cli.query_block( requestor=admin, channel_name='mychannel', peer_names=['peer1-myorg'], block_number='0' ) ```

Kelvin_Moutet (Tue, 29 Jan 2019 10:34:12 GMT):
Ah sorry, it's just renaming to keep it as clear as possible, I update the python call along it :) ``` from hfc.fabric import Client cli = Client(net_profile="./network.json") admin = cli.get_user('myorg', 'admin') channel = cli.new_channel('mychannel') response = cli.query_block( requestor=admin, channel_name='mychannel', peer_names=['peer1-myorg'], block_number='0' ) ```

GuillaumeCisco (Tue, 29 Jan 2019 11:14:03 GMT):
quick question, I'm implementing the `reenroll` method. What is best in your opinion: ``` # enroll User = cacli.enroll(username, secret) # reenroll User = cacli.reenroll(User) ``` Or ``` # enroll User = cacli.enroll(username, secret) # reenroll User.reenroll() ```

dexhunter (Tue, 29 Jan 2019 13:45:23 GMT):
For the API design, I think @baohua is more suitable to answer :)

dexhunter (Tue, 29 Jan 2019 13:45:23 GMT):
For the API design, I think @baohua is more suitable/qualified to answer :)

GuillaumeCisco (Tue, 29 Jan 2019 13:53:21 GMT):
Thank you

GuillaumeCisco (Tue, 29 Jan 2019 14:07:29 GMT):
just implemented the reenroll method: https://gerrit.hyperledger.org/r/#/c/29010/

dexhunter (Tue, 29 Jan 2019 14:28:42 GMT):
@GuillaumeCisco Hi, could you check the console logs? https://logs.hyperledger.org/production/vex-yul-hyp-jenkins-3/fabric-sdk-py-verify-x86_64/549/console.log.gz By the way, you can do `make check` before `git review` if you haven't done already. Thanks

GuillaumeCisco (Tue, 29 Jan 2019 15:14:19 GMT):
THank you @dexhunter I did not update these tests, only unit and integration, will do :)

GuillaumeCisco (Tue, 29 Jan 2019 15:14:19 GMT):
Thank you @dexhunter I did not update these tests, only unit and integration, will do :) (as make check take 35 minutes on my computer)

wangdong (Tue, 29 Jan 2019 15:28:41 GMT):
@GuillaumeCisco I think the first one is better.

GuillaumeCisco (Tue, 29 Jan 2019 15:38:49 GMT):
ok, I've just committed with test passing and with `User = cacli.reenroll(User)` way

baohua (Tue, 29 Jan 2019 23:36:11 GMT):
https://gerrit.hyperledger.org/r/#/c/29010/

dexhunter (Wed, 30 Jan 2019 00:02:01 GMT):
@GuillaumeCisco maybe you can just check the specific file something like `python3 -m tox -e py36 -- test/integration/ca_test.py` that would save you a lot of time

dexhunter (Wed, 30 Jan 2019 00:03:40 GMT):
By the way would you address the things @baohua mentioned in comments? Thanks!

baohua (Wed, 30 Jan 2019 00:06:38 GMT):
yeah, that quicker way is demonstrated in the documentation, too!

GuillaumeCisco (Wed, 30 Jan 2019 08:58:54 GMT):
Yeah, this is what I do, But the modification impacted enother test suite ;)

GuillaumeCisco (Wed, 30 Jan 2019 08:58:54 GMT):
Yeah, this is what I do, But the modification impacted another test suite ;)

Kelvin_Moutet (Wed, 30 Jan 2019 09:21:46 GMT):
Hello everyone, I'm trying to understand how the client work to interact with my ledger but I see some "strange" things in the code like : https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L816 Why 'businesschannel' is hardcoded here (and at other places too in the client.py file) ?

GuillaumeCisco (Wed, 30 Jan 2019 10:32:07 GMT):
https://gerrit.hyperledger.org/r/#/c/29024/

Kelvin_Moutet (Wed, 30 Jan 2019 10:45:20 GMT):
I'm trying also to launch the `e2e_test.py` alone with `tox -e py30 -- test/integration/e2e_test.py` but it fails. Nevertheless, when launching it with `make check`, it works do you know why ?

Kelvin_Moutet (Wed, 30 Jan 2019 10:45:20 GMT):
I'm trying also to launch the `e2e_test.py` alone with `tox -e py30 -- test/integration/e2e_test.py` but it fails. Nevertheless, when launching it with `make check`, it works do you know why ? -> Found, we need to add the path to `fabric-bin/bin` (for cryptogen) manually in the `PATH` env var

GuillaumeCisco (Wed, 30 Jan 2019 13:42:39 GMT):
Just created the identity management: https://gerrit.hyperledger.org/r/#/c/29024/

GuillaumeCisco (Wed, 30 Jan 2019 13:44:11 GMT):
I will work on the affiliation service this afternoon

GuillaumeCisco (Wed, 30 Jan 2019 14:56:49 GMT):
affiliation is ready: https://gerrit.hyperledger.org/r/#/c/29033/

GuillaumeCisco (Wed, 30 Jan 2019 14:57:18 GMT):
I will wait for creating certificates as the last two PR modify a lot of things, and it is difficult to keep track

dexhunter (Wed, 30 Jan 2019 15:41:56 GMT):
@Kelvin_Moutet hi, sorry for the late reply, I just traveled back home for Spring Festival. Yep, I agree that is problematic. Previously there is a parameter `channel_name` but someone told me is redundant then I removed it and use businesschannel as `send_install_proposal` method which just create a businesschannel. I will check whether to use system channel or the channel that chaincode running on. Thank you for rpeorting.

dexhunter (Wed, 30 Jan 2019 15:41:56 GMT):
@Kelvin_Moutet hi, sorry for the late reply, I just traveled back home for Spring Festival. Yep, I agree that is problematic. Previously there is a parameter `channel_name` but someone told me is redundant then I removed it and use businesschannel as `send_install_proposal` method which just create a businesschannel. I will check whether to use system channel or the channel that chaincode running on. Thank you for reporting!

dexhunter (Wed, 30 Jan 2019 15:41:56 GMT):
@Kelvin_Moutet hi, sorry for the late reply, I just traveled back home for Spring Festival. Previously there is a parameter `channel_name` but someone told me is redundant then I removed it (which is the same as creating businesschannel). I will check whether to use system channel or the channel that chaincode running on. Thank you for reporting!

dexhunter (Wed, 30 Jan 2019 15:42:17 GMT):
@GuillaumeCisco Great! Many thanks.

dexhunter (Wed, 30 Jan 2019 15:42:17 GMT):
@GuillaumeCisco Great! Many thanks. I am not very familiar with either apis so I need to check docs first and will merge them tomorrow.

Kelvin_Moutet (Wed, 30 Jan 2019 16:02:08 GMT):
I also fixed some issues with chaincode instantiate and chaincode invoke, do I need to do have a jira issue to do a pull request ?

GuillaumeCisco (Wed, 30 Jan 2019 16:03:53 GMT):
quick question. I'd like to know more about the eventhub. Looks like there are not implemented in fabric-sdk-py. Can you confirm that @dexhunter? Also, is there any difference between eventhub and channeleventhub

GuillaumeCisco (Wed, 30 Jan 2019 16:03:53 GMT):
quick question. I'd like to know more about the eventhub. Looks like there are not implemented in fabric-sdk-py. Can you confirm that @dexhunter? Also, is there any difference between eventhub and channeleventhub?

GuillaumeCisco (Wed, 30 Jan 2019 16:03:53 GMT):
quick question. I'd like to know more about the eventhub. Looks like they are are not implemented in fabric-sdk-py. Can you confirm that @dexhunter? Also, is there any difference between eventhub and channeleventhub?

dexhunter (Wed, 30 Jan 2019 16:12:12 GMT):
@Kelvin_Moutet yep, please follow contributing guide. many thanks! https://github.com/hyperledger/fabric-sdk-py/blob/master/CONTRIBUTING.md

dexhunter (Wed, 30 Jan 2019 16:13:26 GMT):
@GuillaumeCisco yep, we do have an event_hub class under hfc/fabric but the implementation is not finished

dexhunter (Wed, 30 Jan 2019 16:14:17 GMT):
I guess it's the same difference as peer & channelpeer etc?

dexhunter (Wed, 30 Jan 2019 16:14:56 GMT):
I do see there is such thing in node sdk but I didn't see in python sdk

Kelvin_Moutet (Wed, 30 Jan 2019 16:15:01 GMT):
I'm trying to clone with this `$ git clone ssh://LFID@gerrit.hyperledger.org:29418/fabric-sdk-py && scp -p -P 29418 LFID@gerrit.hyperledger.org:hooks/commit-msg fabric-sdk-py/.git/hooks/` replacing LFID by my LFID, but it says `Permission denied (publickey)` any idea ?

GuillaumeCisco (Wed, 30 Jan 2019 16:15:11 GMT):
I'm looking at the fabric-sdk-node and there is no eventhub file, only channeleventhub

dexhunter (Wed, 30 Jan 2019 16:16:58 GMT):
hmm.. @baohua actually told me to follow go sdk implementation. But I found this: https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/release_notes/v1.3.0.txt @GuillaumeCisco

dexhunter (Wed, 30 Jan 2019 16:17:26 GMT):
@Kelvin_Moutet I think you need to add your key to gerrit?

dexhunter (Wed, 30 Jan 2019 16:18:13 GMT):
Or something else, I am not so sure now. Sorry guys it's quite late in China so I need to sleep. See you tomorrow. :)

GuillaumeCisco (Wed, 30 Jan 2019 16:18:24 GMT):
ok I see a eventhuffactory.js in the fabric-sdk-node, it is placed in their fabric-network folder

GuillaumeCisco (Wed, 30 Jan 2019 16:18:24 GMT):
ok I see a eventhubfactory.js in the fabric-sdk-node, it is placed in their fabric-network folder

GuillaumeCisco (Wed, 30 Jan 2019 16:19:00 GMT):
good night

Kelvin_Moutet (Wed, 30 Jan 2019 16:43:42 GMT):
Pushed https://gerrit.hyperledger.org/r/#/c/29045/ Feel free to review and comment :)

Kelvin_Moutet (Wed, 30 Jan 2019 16:51:29 GMT):
I will surely make update to make it cleaner too

baohua (Wed, 30 Jan 2019 17:18:57 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=B9GvxDyPbn4YaSCYR) @Kelvin_Moutet Seems ci is unhappy -;)

baohua (Wed, 30 Jan 2019 17:18:57 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=B9GvxDyPbn4YaSCYR) @Kelvin_Moutet Seems ci is unhappy ;-)

bdjidi (Wed, 30 Jan 2019 20:11:40 GMT):
Has left the channel.

baohua (Wed, 30 Jan 2019 21:55:29 GMT):
Hyperledger wiki (wiki.hyperledger.org) has done the migration to confluence (much faster), old content can be found at https://wiki-archive.hyperledger.org.

baohua (Wed, 30 Jan 2019 23:19:49 GMT):
https://gerrit.hyperledger.org/r/#/c/29010/

baohua (Wed, 30 Jan 2019 23:19:54 GMT):
https://gerrit.hyperledger.org/r/#/c/29033/

baohua (Wed, 30 Jan 2019 23:30:47 GMT):
https://gerrit.hyperledger.org/r/#/c/29024/

dexhunter (Thu, 31 Jan 2019 04:12:19 GMT):
@GuillaumeCisco Could you rebase this patchset to the master and fix the conflict? Thank you! https://gerrit.hyperledger.org/r/#/c/29010/

dexhunter (Thu, 31 Jan 2019 04:14:43 GMT):
@baohua @Kelvin_Moutet I've helped to fix the format. Are there any other issues left? Thank you! https://gerrit.hyperledger.org/r/#/c/29045/

dexhunter (Thu, 31 Jan 2019 05:47:02 GMT):
@Kelvin_Moutet Hi, merged and thank you for contribution

Kelvin_Moutet (Thu, 31 Jan 2019 07:17:23 GMT):
Hello, oh you already merged it, it seems that there are little work and discussion about my code ( Guillaume noticed some stuff by comparing it with fabrik sdk node) We still can do it in another pull request :) @dexhunter It seems that your method `query_instantiated_chaincodes` in `client.py` works but I don't know why the test (e2e) is commented Moreover it seems we still need to do this in `chaincode_instantiate` ``` responses = utils.send_transaction( self.orderers, tran_req, tx_context_tx) ``` I will check that today :)

Kelvin_Moutet (Thu, 31 Jan 2019 07:17:23 GMT):
Hello, oh you already merged it, it seems that there are little work and discussion about my code ( Guillaume noticed some stuff by comparing it with fabrik sdk node) We still can do it in another pull request :) @dexhunter It seems that your method `query_instantiated_chaincodes` in `client.py` works but I don't know why the test (e2e) is commented Moreover it seems we still need to do this in `chaincode_instantiate` ``` responses = utils.send_transaction( self.orderers, tran_req, tx_context_tx) ``` I will check that today :)

dexhunter (Thu, 31 Jan 2019 07:23:46 GMT):
it works now but I forgot why it doesn't work previously I will push the new code soon.

dexhunter (Thu, 31 Jan 2019 07:25:05 GMT):
by the way, did you guys how tx_id is passed in node sdk? I suppose there is a better way to do it than put inside the client instance.

dexhunter (Thu, 31 Jan 2019 07:25:05 GMT):
by the way, did you guys check how tx_id is passed in node sdk? I suppose there is a better way to do it than put inside the client instance.

Kelvin_Moutet (Thu, 31 Jan 2019 07:26:41 GMT):
Yes we see that for the `tx_id` (only used for the test). Maybe we need to query/list all blocks/transactions to get one in it to test the methods

Kelvin_Moutet (Thu, 31 Jan 2019 07:27:40 GMT):
Guillaume maybe have info on it (It mainly him who looked in the fabric-sdk-node)

Kelvin_Moutet (Thu, 31 Jan 2019 07:30:57 GMT):
We may not talk about the same thing. I'm talking about that https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L740

dexhunter (Thu, 31 Jan 2019 07:34:25 GMT):
Yes, we are talking the same thing

Kelvin_Moutet (Thu, 31 Jan 2019 07:37:41 GMT):
So if we need to contribute on this part of the code (invoke, instantiate, query, etc.) we push under this issue (https://jira.hyperledger.org/browse/FABP-175) on gerrit ?

dexhunter (Thu, 31 Jan 2019 08:17:09 GMT):
I suppose you can create a new jira issue and link it to FABP-175, but you can also just push to FABP-175. I suppose either way is fine.

dexhunter (Thu, 31 Jan 2019 08:17:09 GMT):
I suppose you can create a new jira issue and link it to FABP-175, or you can just push to FABP-175. I suppose either way is fine.

GuillaumeCisco (Thu, 31 Jan 2019 08:48:37 GMT):
Hello guys, thank you for all your work and your reactiveness. Kelvin removed a part in the code that should have not been removed. The `utils.send_transaction` part in the `chaincode_invoke` method. Actually, this part is needed, otherwise nothing will be reflected to the other peers. But, the real issue is these method should not even belong to the code. It should live in a tutorial or utils part. As described here: https://fabric-sdk-node.github.io/tutorial-channel-events.html (Transaction listener part). We can also see it in action here: https://github.com/hyperledger/fabric-samples/blob/release-1.4/fabcar/javascript-low-level/invoke.js It does not belong to the SDK. But should be heavily documented and provided for allowing developper to understand how it works and give a basic implementation. Right now, we do not have the channelEventHub part which is mandatory if we want to know our invoke transaction has been correctly validated to be synchronized among peers. We will start working on this topic with my team, but it is not our priority and we will need active help.

Kelvin_Moutet (Thu, 31 Jan 2019 08:51:23 GMT):
I'm re-adding it and update the test along with :)

dexhunter (Thu, 31 Jan 2019 09:25:12 GMT):
@GuillaumeCisco Yes, I see your point. We should add more tutorials/explanations

GuillaumeCisco (Thu, 31 Jan 2019 09:33:21 GMT):
https://gerrit.hyperledger.org/r/#/c/29010/ and https://gerrit.hyperledger.org/r/#/c/29033/ have been rebased

GuillaumeCisco (Thu, 31 Jan 2019 09:36:52 GMT):
We will surely need asyncio.gather https://docs.python.org/3/library/asyncio-task.html#asyncio.gather for reproducing the `Promise.all` part of the fabric-sdk-node for knowing when the invoke transaction has been validated and will be reflected among peers

dexhunter (Thu, 31 Jan 2019 09:38:28 GMT):
yep, feel free to add that. We are planning to use async/await method.

dexhunter (Thu, 31 Jan 2019 09:42:00 GMT):
@GuillaumeCisco FABP-173 is about that. https://jira.hyperledger.org/browse/FABP-173

dexhunter (Thu, 31 Jan 2019 09:42:00 GMT):
@GuillaumeCisco FABP-173/172 is about that. https://jira.hyperledger.org/browse/FABP-173

dexhunter (Thu, 31 Jan 2019 09:42:00 GMT):
@GuillaumeCisco FABP-173/172 are about that. https://jira.hyperledger.org/browse/FABP-173

dexhunter (Thu, 31 Jan 2019 10:24:54 GMT):
https://gerrit.hyperledger.org/r/#/c/29061/

dexhunter (Thu, 31 Jan 2019 10:29:46 GMT):
@baohua Hi, @GuillaumeCisco said we should update commit_msg at CONTRIBUTING.md. What do you think? Thanks! https://github.com/hyperledger/fabric-sdk-py/blob/master/CONTRIBUTING.md#code-commit-steps

dexhunter (Thu, 31 Jan 2019 10:31:09 GMT):
@GuillaumeCisco still need to look at this one: https://gerrit.hyperledger.org/r/#/c/29033/

dexhunter (Thu, 31 Jan 2019 10:32:20 GMT):
well, it seems the ci does not start, let me test again.

Kelvin_Moutet (Thu, 31 Jan 2019 11:21:21 GMT):
New pull request

Kelvin_Moutet (Thu, 31 Jan 2019 11:21:22 GMT):
https://gerrit.hyperledger.org/r/29065

dexhunter (Thu, 31 Jan 2019 11:33:03 GMT):
@Kelvin_Moutet this is nice, but will need to fix conflict later. let's waiting for @baohua to review

Kelvin_Moutet (Thu, 31 Jan 2019 12:33:09 GMT):
I forgot to fix the flake8 issue, I will do it

GuillaumeCisco (Thu, 31 Jan 2019 12:48:02 GMT):
Thansk @dexhunter https://gerrit.hyperledger.org/r/#/c/29033/ is ok now

GuillaumeCisco (Thu, 31 Jan 2019 12:48:02 GMT):
Thanks @dexhunter https://gerrit.hyperledger.org/r/#/c/29033/ is ok now But it looks like the integration tests disappeared

Kelvin_Moutet (Thu, 31 Jan 2019 12:51:56 GMT):
@dexhunter I see that we will have some conflict with your pull request https://gerrit.hyperledger.org/r/#/c/29061/ and mine. We surely need a rebase on one of those pull requests (depending on which one will be merged first )

GuillaumeCisco (Thu, 31 Jan 2019 13:15:04 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Rxf8TwG6Mp5waEZdG) I forgot to commit this file...

dexhunter (Thu, 31 Jan 2019 13:16:55 GMT):
@GuillaumeCisco you can pull and pr again, right?

dexhunter (Thu, 31 Jan 2019 13:18:27 GMT):
@Kelvin_Moutet I can merge yours first if you want me to do the fixing. Or if you want to do the fixing I can merge mine first.

GuillaumeCisco (Thu, 31 Jan 2019 13:19:45 GMT):
@dexhunter Yes I'm doign it

GuillaumeCisco (Thu, 31 Jan 2019 13:19:45 GMT):
@dexhunter Yes I'm doing it

Kelvin_Moutet (Thu, 31 Jan 2019 13:20:22 GMT):
As you want, maybe it's easier to merge your pr first because it's late (utc+8 for you ) and I can rebase during this aftertnoon (utc+1 for me) and update my pr :)

Kelvin_Moutet (Thu, 31 Jan 2019 13:20:22 GMT):
@dexhunter As you want, maybe it's easier to merge your pr first because it's late (utc+8 for you ) and I can rebase during this aftertnoon (utc+1 for me) and update my pr :)

dexhunter (Thu, 31 Jan 2019 13:21:14 GMT):
@Kelvin_Moutet sure, let me ask someone else to review and merge the code ( I cannot merge the code myself)

dexhunter (Thu, 31 Jan 2019 13:21:48 GMT):
and thanks @Kelvin_Moutet

dexhunter (Thu, 31 Jan 2019 13:21:48 GMT):
and thanks @Kelvin_Moutet @GuillaumeCisco

GuillaumeCisco (Thu, 31 Jan 2019 13:23:00 GMT):
https://gerrit.hyperledger.org/r/#/c/29033/

dexhunter (Thu, 31 Jan 2019 13:32:16 GMT):
@Kelvin_Moutet you can rebase to the master and fix the conflict now. thank you!

Kelvin_Moutet (Thu, 31 Jan 2019 13:33:42 GMT):
yep

dexhunter (Thu, 31 Jan 2019 13:35:54 GMT):
for quick flake8 test you can do `python3 -m flake8 hfc test --exclude=protos` and it's very fast.

Kelvin_Moutet (Thu, 31 Jan 2019 13:36:06 GMT):
Thxs :)

dexhunter (Thu, 31 Jan 2019 14:32:20 GMT):
https://gerrit.hyperledger.org/r/#/c/29033/ @GuillaumeCisco merged. Thank you!

Kelvin_Moutet (Thu, 31 Jan 2019 15:02:20 GMT):
I will nearly push my pr rebased There is a particular behavior with all query function which, if works return a dict, and in other case raise an exception or return a ProposalReponse. Maybe we should review those functions and handle all case to return a clean, same type, response

GuillaumeCisco (Thu, 31 Jan 2019 15:15:42 GMT):
Thansk @dexhunter

GuillaumeCisco (Thu, 31 Jan 2019 15:15:42 GMT):
Thanks @dexhunter

dexhunter (Thu, 31 Jan 2019 15:15:47 GMT):
@Kelvin_Moutet hi, which one?

dexhunter (Thu, 31 Jan 2019 15:16:15 GMT):
yep, I agree

Kelvin_Moutet (Thu, 31 Jan 2019 15:16:47 GMT):
All `query_*` in `client.py`

Kelvin_Moutet (Thu, 31 Jan 2019 15:16:47 GMT):
All `query_*` functions in `client.py`

dexhunter (Thu, 31 Jan 2019 15:19:13 GMT):
The `query_*` functions in client should return `ProposalResponse`

dexhunter (Thu, 31 Jan 2019 15:19:55 GMT):
as in `channel.py` we use `send_tx_proposal`

dexhunter (Thu, 31 Jan 2019 15:20:18 GMT):
What do you suggest we return? @Kelvin_Moutet

dexhunter (Thu, 31 Jan 2019 15:21:28 GMT):
I see what do you mean by returning a dict. Yes, sometimes, we need to decode the block or something, so in client it's more specific

GuillaumeCisco (Thu, 31 Jan 2019 15:21:31 GMT):
I think the issue is with the dict return

Kelvin_Moutet (Thu, 31 Jan 2019 15:21:59 GMT):
Why we need to decode the block ?

Kelvin_Moutet (Thu, 31 Jan 2019 15:21:59 GMT):
Why do we need to decode the block ?

dexhunter (Thu, 31 Jan 2019 15:22:45 GMT):
if I remembered correctly, I was trying to align with node sdk or golang sdk

dexhunter (Thu, 31 Jan 2019 15:23:11 GMT):
and we do have a BlockDecoder class so I just used it

Kelvin_Moutet (Thu, 31 Jan 2019 15:25:07 GMT):
Okay, we surely need some investigation to see if it is still needed. I found it very strange to have to type of return possible ! Maybe @baohua can answer us :)

Kelvin_Moutet (Thu, 31 Jan 2019 15:25:07 GMT):
Okay, we surely need some investigation to see if it is still needed. I found it very strange to have two types of return possible ! Maybe @baohua can answer us :)

dexhunter (Thu, 31 Jan 2019 15:29:28 GMT):
yeah, I suppose you can give some suggestions from your production perspective

Kelvin_Moutet (Thu, 31 Jan 2019 15:32:49 GMT):
For instance , in case of `500`, we have no payload (so decode will fail), but there is better information to give to the client than an exception ``` response { status: 500 message: "make sure the chaincode example_cc has been successfully instantiated and try again: chaincode example_cc not found" } ```

Kelvin_Moutet (Thu, 31 Jan 2019 15:32:49 GMT):
For instance , in case of `500`, we have no payload (so decode will fail), but there is better information to give to the client than an exception ``` response { status: 500 message: "make sure the chaincode example_cc has been successfully instantiated and try again: chaincode example_cc not found" } ``` We have an `status` and a `payload` :)

Kelvin_Moutet (Thu, 31 Jan 2019 15:32:49 GMT):
For instance , in case of `500`, we have no payload (so decode will fail), but there is better information to give to the client than an exception ``` response { status: 500 message: "make sure the chaincode example_cc has been successfully instantiated and try again: chaincode example_cc not found" } ``` We have an `status` and a `message` but no payload :)

Kelvin_Moutet (Thu, 31 Jan 2019 15:32:49 GMT):
For instance , in case of `500`, we have no payload (so decode will fail), but there is better information to give to the client than an exception ``` response { status: 500 message: "make sure the chaincode example_cc has been successfully instantiated and try again: chaincode example_cc not found" } ``` We have an `status` and a `message` but no `payload` :)

Kelvin_Moutet (Thu, 31 Jan 2019 15:32:49 GMT):
For instance , in case of `500`, we have no payload (so decode will fail), but there is better information to give to the client than an exception ``` response { status: 500 message: "make sure the chaincode example_cc has been successfully instantiated and try again: chaincode example_cc not found" } ``` We have a `status` and a `message` but no `payload` :)

dexhunter (Thu, 31 Jan 2019 15:35:35 GMT):
we can just return the whole response in case of failure since I am not sure if all status == 500 are with a message? Can you confirm that if status != 200 then there will be a message?

dexhunter (Thu, 31 Jan 2019 15:35:35 GMT):
we can just return the whole response in case of failure since I am not sure if all `status == 500` are with a message? Can you confirm that if `status != 200` then there will be a message?

dexhunter (Thu, 31 Jan 2019 15:35:35 GMT):
we can just return the whole response in case of failure since I am not sure if all `status == 500` are with a `message`? Can you confirm that if `status != 200` then there will be a `message`?

Kelvin_Moutet (Thu, 31 Jan 2019 15:37:45 GMT):
If I remember well, when we used the `fabric-client` binary, we always have a message in case of `status != 200`

dexhunter (Thu, 31 Jan 2019 15:40:33 GMT):
okay, then I think we can add message to the logger in case of failure. I posted some comments at https://gerrit.hyperledger.org/r/#/c/29065/

Kelvin_Moutet (Thu, 31 Jan 2019 15:49:20 GMT):
Yep, I posted back :)

Kelvin_Moutet (Thu, 31 Jan 2019 15:49:20 GMT):
Yep, I posted back !

dexhunter (Thu, 31 Jan 2019 15:56:13 GMT):
I think you need to click the `reply` button (blue one) again otherwise it's just draft. (It's gerrit XD)

Kelvin_Moutet (Thu, 31 Jan 2019 15:59:46 GMT):
I can only save or discard my reply draft strange :/

dexhunter (Thu, 31 Jan 2019 16:02:31 GMT):

Screenshot from 2019-02-01 00-02-17.png

dexhunter (Thu, 31 Jan 2019 16:02:39 GMT):
click on the draft comments @Kelvin_Moutet

dexhunter (Thu, 31 Jan 2019 16:02:56 GMT):
or if you have drafted comments, the reply button blue will be blue

dexhunter (Thu, 31 Jan 2019 16:02:56 GMT):
or if you have drafted comments, the reply button blue will be blue, then you can click and post it if I remembered correctly

GuillaumeCisco (Thu, 31 Jan 2019 16:04:00 GMT):
We do not have a blue button

GuillaumeCisco (Thu, 31 Jan 2019 16:04:08 GMT):
maybe because we are not reviewers

Kelvin_Moutet (Thu, 31 Jan 2019 16:04:35 GMT):
good :)

baohua (Thu, 31 Jan 2019 16:04:40 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=aDT3Ac3r8Y4aTcWGN) @Kelvin_Moutet yes, we should use the same return, e.g., all as Response type.

baohua (Thu, 31 Jan 2019 16:06:07 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=bv2irWA2sbZRqPf3G) @dexhunter 200 is the only OK case, otherwise, should include some error in msg, and in this case, payload might be None as it's in error.

Kelvin_Moutet (Thu, 31 Jan 2019 16:07:53 GMT):
@baohua So we should not decode the response.payload and return it but return directly the response in all status case and fail if we have no response ?

baohua (Thu, 31 Jan 2019 16:09:48 GMT):
In error case, we should not decode payload as you cannot handle all error results as the same format. But we can return error code and error msg (mostly from fabric directly) to indicate the reason, hence the client users know what happens.

baohua (Thu, 31 Jan 2019 16:12:16 GMT):
btw, i remember node sdk does not keep same response everywhere (which may be fixed later). we may make it easier with same processing and response format to end users.

baohua (Thu, 31 Jan 2019 16:12:16 GMT):
btw, i remember node sdk does not keep the same response everywhere (which may be fixed later). we may make it easier with same processing and response format to end users.

dexhunter (Thu, 31 Jan 2019 16:12:30 GMT):
@baohua to be more clear, in the ok case, we do decode the block and return the decoded result, is that right?

dexhunter (Thu, 31 Jan 2019 16:12:48 GMT):
I see

baohua (Thu, 31 Jan 2019 16:13:35 GMT):
for query blocks, we may.

Kelvin_Moutet (Thu, 31 Jan 2019 16:13:57 GMT):
@dexhunter Not sure, if we decode the block (the payload) we cannot return a ProposalReponse

Kelvin_Moutet (Thu, 31 Jan 2019 16:13:57 GMT):
@dexhunter Not sure, if we decode the block (the payload) we cannot return a ProposalReponse, because the decoded block become a dict

baohua (Thu, 31 Jan 2019 16:14:12 GMT):
we can cover the most popular case to bring convience for end-users, and provide more if there's extra requirement.

dexhunter (Thu, 31 Jan 2019 16:14:21 GMT):
but I don't think user can decode the block themselves?

baohua (Thu, 31 Jan 2019 16:14:28 GMT):
@Kelvin_Moutet what do you think?

baohua (Thu, 31 Jan 2019 16:14:45 GMT):
would end users expect a raw result or some decoded one.

baohua (Thu, 31 Jan 2019 16:14:45 GMT):
would end users expect a raw result or some decoded one when they call query block.

baohua (Thu, 31 Jan 2019 16:14:45 GMT):
would end users expect a raw result or some decoded one? when they call query block.

Kelvin_Moutet (Thu, 31 Jan 2019 16:15:24 GMT):
We can add a option in the function call

dexhunter (Thu, 31 Jan 2019 16:16:21 GMT):
the decode is actually done with protobuf, it seems to me very rare the user would need a raw block. (well, I am not quite sure though

Kelvin_Moutet (Thu, 31 Jan 2019 16:16:30 GMT):
decode=False -> raw result for status 200 and other decode=True -> decode the payload block if possible (status 200), if not raise a error for all other status

dexhunter (Thu, 31 Jan 2019 16:16:50 GMT):
@Kelvin_Moutet an option parameter seems good

dexhunter (Thu, 31 Jan 2019 16:16:50 GMT):
@Kelvin_Moutet an optional parameter seems good

baohua (Thu, 31 Jan 2019 16:17:05 GMT):
sure, if there's real requirement for it. But please try to keep it extendiable (e.g., decode=True by default).

baohua (Thu, 31 Jan 2019 16:17:05 GMT):
sure, if there's real requirement for it. But please try to keep it extensible (e.g., decode=True by default).

Kelvin_Moutet (Thu, 31 Jan 2019 16:17:06 GMT):
And we can set default parameter to what now xD ?

Kelvin_Moutet (Thu, 31 Jan 2019 16:17:06 GMT):
And we can set default parameter to what now xD ?

Kelvin_Moutet (Thu, 31 Jan 2019 16:17:43 GMT):
Okay, good for me

baohua (Thu, 31 Jan 2019 16:17:47 GMT):
+1!

Kelvin_Moutet (Thu, 31 Jan 2019 16:18:09 GMT):
I will add that in my pr :)

dexhunter (Thu, 31 Jan 2019 16:18:16 GMT):
thanks @Kelvin_Moutet

Kelvin_Moutet (Thu, 31 Jan 2019 16:18:28 GMT):
@dexhunter @GuillaumeCisco good for you ?

dexhunter (Thu, 31 Jan 2019 16:18:43 GMT):
yep, agreed

GuillaumeCisco (Thu, 31 Jan 2019 16:19:16 GMT):
agreed

Kelvin_Moutet (Thu, 31 Jan 2019 16:39:16 GMT):
https://gerrit.hyperledger.org/r/#/c/29065/ is updated with `decode` option It allows us to use it with `decode=False` in `chaincode_invoke` and `chaincode_instantiate` to wait the ledger to take them into account (will be replace by channel event hub in the future)

dexhunter (Thu, 31 Jan 2019 16:45:12 GMT):
@GuillaumeCisco @Kelvin_Moutet Hi, just curious, are you guys integrating fabric with your federated learning framework? One of my research topics is actually related and I used to follow openmined project.

GuillaumeCisco (Thu, 31 Jan 2019 16:45:33 GMT):
yes

GuillaumeCisco (Thu, 31 Jan 2019 16:46:20 GMT):
check your private messages

GuillaumeCisco (Thu, 31 Jan 2019 17:02:13 GMT):
I've started working on the ChannelEventHub topic. here is the work in progress code: https://gerrit.hyperledger.org/r/#/c/29078/ I've basically translated the code from fabric-sdk-node, but there are a lot of zones of shadow in my mind. Mainly: how does work the grpc stream for getting stream on info: https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/fabric-client/lib/ChannelEventHub.js#L392 For example, in the orderer class I can see things like in the fabric-sdk-node: https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/fabric-client/lib/Orderer.js#L119 When in the fabric-sdk-py we have only: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/orderer.py#L113 I really need help to understand how it is working underneath. If you can provide some documentation.

rsoeldner (Thu, 31 Jan 2019 19:42:53 GMT):
Is it right now possible to invoke a chaincode (nodejs) with an Enrollment ?

dexhunter (Fri, 01 Feb 2019 01:55:48 GMT):
@GuillaumeCisco Have you checked the protos? https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/protos/orderer/ab.proto#L76

dexhunter (Fri, 01 Feb 2019 01:57:06 GMT):
I am not sure what is the most proper way to do streaming in python either but a quick google shows something like: https://stackoverflow.com/questions/49580793/how-to-broadcast-in-grpc-from-server-to-client or https://github.com/melledijkstra/python-grpc-chat

dexhunter (Fri, 01 Feb 2019 06:07:52 GMT):
@Kelvin_Moutet merged and thank you! https://gerrit.hyperledger.org/r/#/c/29065/

Kelvin_Moutet (Fri, 01 Feb 2019 07:16:32 GMT):
Thank you, there is a mistake in the tutorial https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md ``` # Query a chaincode args = ['b'] # The response should be true if succeed -> The response should be '400' if succeed ```

GuillaumeCisco (Fri, 01 Feb 2019 08:14:53 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=TvDaj82bYG4xAZqhz) Yes I didi. I used them for translating the code for channelEventHub. Do not hesitate to fetch the branch and look at the code I produced.

GuillaumeCisco (Fri, 01 Feb 2019 08:14:53 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=TvDaj82bYG4xAZqhz) Yes I did. I used them for translating the code for channelEventHub. Do not hesitate to fetch the branch and look at the code I produced.

GuillaumeCisco (Fri, 01 Feb 2019 08:18:58 GMT):
@dexhunter I'm not asking how to work with grpc. But asking how things work in fabric-sdk-py with grpc. Do we have some documentation? As I pointed out, we can see in fabric-sdk-py just one line of code, when we have +50 in fbaric-sdk-node, Where in the fabric-sdk-py do we manage the reseult/errors of the grpc stream?

GuillaumeCisco (Fri, 01 Feb 2019 08:18:58 GMT):
@dexhunter I'm not asking how to work with grpc. But asking how things work in fabric-sdk-py with grpc. Do we have some documentation? As I pointed out, we can see in fabric-sdk-py just one line of code, when we have +50 in fabric-sdk-node, Where in the fabric-sdk-py do we manage the reseult/errors of the grpc stream?

GuillaumeCisco (Fri, 01 Feb 2019 08:18:58 GMT):
@dexhunter I'm not asking how to work with grpc. But asking how things work in fabric-sdk-py with grpc. Do we have some documentation? As I pointed out, we can see in fabric-sdk-py just one line of code, when we have +50 in fabric-sdk-node. Where in the fabric-sdk-py do we manage the reseult/errors of the grpc stream?

GuillaumeCisco (Fri, 01 Feb 2019 08:18:58 GMT):
@dexhunter I'm not asking how to work with grpc. But asking how things work in fabric-sdk-py with grpc. Do we have some documentation? As I pointed out, we can see in fabric-sdk-py just one line of code, when we have +50 in fabric-sdk-node. Where in the fabric-sdk-py do we manage the result/errors of the grpc stream?

GuillaumeCisco (Fri, 01 Feb 2019 08:20:43 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=DpdBYHm5pKeZBTXvG) @rsoeldner We are testing with our own network today. But be informed the ChannelEventHub is not yet implemented, so you can now if your proposal transaction is good or not, if you correctly set the transaction to the orderer. But you cannot know if it has been validated by the orderer for being synchronised among peers.

GuillaumeCisco (Fri, 01 Feb 2019 08:20:43 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=DpdBYHm5pKeZBTXvG) @rsoeldner We are testing with our own network today. But be informed the ChannelEventHub is not yet implemented, so you can now if your proposal transaction is good or not, if you correctly set the transaction to the orderer. But you cannot know if it has been validated by the orderer for being synchronized among peers.

GuillaumeCisco (Fri, 01 Feb 2019 08:20:43 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=DpdBYHm5pKeZBTXvG) @rsoeldner We are testing with our own network today. But be informed the ChannelEventHub is not yet implemented, so you can know if your proposal transaction is good or not, if you correctly set the transaction to the orderer. But you cannot know if it has been validated by the orderer for being synchronized among peers.

Kelvin_Moutet (Fri, 01 Feb 2019 08:27:34 GMT):
@rsoeldner I add a "pooling" query at the end of invoke and instantiate to "counter" that issue with the missing of ChannelEventHub

GuillaumeCisco (Fri, 01 Feb 2019 08:28:23 GMT):
The method `chaincode_invoke` in the client has been hard coded with a chaincode coded in GOLANG by the way: `cc_type=CC_TYPE_GOLANG`, so this method won't work with a chaincode coded in node.js.

GuillaumeCisco (Fri, 01 Feb 2019 08:29:05 GMT):
Note the code created by Kelvin with polling: ``` # Wait until chaincode invoke is really effective # Note : we will remove this part when we have channel event hub starttime = int(time.time()) while int(time.time()) - starttime < timeout: try: response = self.query_transaction( requestor=requestor, channel_name=channel_name, peer_names=peer_names, tx_id=tx_context.tx_id, decode=False ) if response.response.status == 200: return True time.sleep(1) except Exception: time.sleep(1) ```

GuillaumeCisco (Fri, 01 Feb 2019 08:29:05 GMT):
Note the code created by Kelvin with polling: ``` # Wait until chaincode invoke is really effective # Note : we will remove this part when we have channel event hub starttime = int(time.time()) while int(time.time()) - starttime < timeout: try: response = self.query_transaction( requestor=requestor, channel_name=channel_name, peer_names=peer_names, tx_id=tx_context.tx_id, decode=False ) if response.response.status == 200: return True time.sleep(1) except Exception: time.sleep(1) ```

GuillaumeCisco (Fri, 01 Feb 2019 09:13:47 GMT):
https://gerrit.hyperledger.org/r/29101

GuillaumeCisco (Fri, 01 Feb 2019 09:42:33 GMT):
By the way, if @baohua or @dexhunter will have the time to check https://jira.hyperledger.org/browse/FABP-188 I still do not know why it does not work. This is the very last thing to be added to the fabric-ca part of the fabric-sdk-py for supportingfabric-ca entirely

GuillaumeCisco (Fri, 01 Feb 2019 09:42:33 GMT):
By the way, if @baohua or @dexhunter will have the time to check https://jira.hyperledger.org/browse/FABP-188 I still do not know why it does not work. This is the very last thing to be added to the fabric-ca part of the fabric-sdk-py for supporting fabric-ca entirely

dexhunter (Fri, 01 Feb 2019 11:59:25 GMT):
@GuillaumeCisco okay, just visited some relatives for Spring Festival and I'm back. I see what you mean. Short answer is we don't have documentations on this part (feel free to add one) and everything is at the code. Previously, it looks like: https://github.com/hyperledger/fabric-sdk-py/blob/1893f273ca2c68ecb64580714e2297d204ea3300/hfc/api/orderer.py#L39-L51 and I changed to synchronous method. The grpc streaming api requires an iterator and a list works fine but after reading node sdk, it seems we could add better handling for this streaming. Maybe under a Thread?

dexhunter (Fri, 01 Feb 2019 11:59:25 GMT):
@GuillaumeCisco okay, just visited some relatives for Spring Festival and I'm back. I see what you mean. Short answer is we don't have documentations on this part (feel free to add one) and everything is at the code. Previously, it looks like: https://github.com/hyperledger/fabric-sdk-py/blob/1893f273ca2c68ecb64580714e2297d204ea3300/hfc/api/orderer.py#L39-L51 and I changed to synchronous method. The grpc streaming api requires an iterator and a list works fine but after reading node sdk, it seems we could add better handling for this streaming. Maybe under a loop?

dexhunter (Fri, 01 Feb 2019 12:18:56 GMT):
@Kelvin_Moutet sorry I didn't find that out, maybe you can fix it in the next patchset. Thank you!

GuillaumeCisco (Fri, 01 Feb 2019 15:32:37 GMT):
We pause our development on the ChannelEventHub implementation for focusing on the query and invoke of our chaincode with a fabric-ca tls environment

GuillaumeCisco (Fri, 01 Feb 2019 15:33:00 GMT):
Unfortunately, we are not able to query our chaincode with the tls certificate file passed.

GuillaumeCisco (Fri, 01 Feb 2019 15:35:42 GMT):
We use the one generated for the tls ca in the fabric-ca-server-config.yaml file: ``` tls: # Enable TLS (default: false) enabled: false # TLS for the server's listening port certfile: tls-ca-cert.pem # the one created here keyfile: clientauth: type: noclientcert certfiles: ```

GuillaumeCisco (Fri, 01 Feb 2019 15:35:53 GMT):
https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/serverconfig.html

GuillaumeCisco (Fri, 01 Feb 2019 15:36:23 GMT):
The error we get when queying is `ssl_transport_security.cc:1229] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.`

GuillaumeCisco (Fri, 01 Feb 2019 15:37:11 GMT):
However when testing with the network of the `fabric-sdk-py` with already generated cert, the `chaincode_invoke_test.py` works well.

GuillaumeCisco (Fri, 01 Feb 2019 15:39:36 GMT):
By default it use certificates located here: https://github.com/hyperledger/fabric-sdk-py/tree/master/test/fixtures/e2e_cli/crypto-config/peerOrganizations/org1.example.com/msp/tlscacerts as descrined in the `network.json` here: https://github.com/hyperledger/fabric-sdk-py/blob/master/test/fixtures/network.json#L92

GuillaumeCisco (Fri, 01 Feb 2019 15:40:21 GMT):
after running the command: `openssl x509 -noout -text -in test/fixtures/e2e_cli/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem`, we get: ``` Certificate: Data: Version: 3 (0x2) Serial Number: 0d:a0:09:c4:56:2d:d3:c2:c3:90:5a:b4:86:b8:a3:2c Signature Algorithm: ecdsa-with-SHA256 Issuer: C = US, ST = California, L = San Francisco, O = org1.example.com, CN = tlsca.org1.example.com Validity Not Before: Oct 19 03:48:00 2018 GMT Not After : Oct 16 03:48:00 2028 GMT Subject: C = US, ST = California, L = San Francisco, O = org1.example.com, CN = tlsca.org1.example.com Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) pub: 04:fd:a9:24:e1:55:ab:3a:3d:ba:02:1f:49:a3:b2: 30:3b:ba:b5:6f:d2:e8:41:a0:79:91:99:60:70:4c: 70:84:07:e3:f6:3b:de:cc:26:da:b0:6c:8d:de:3f: a3:c0:d8:77:48:0c:41:c0:c3:7f:76:ba:e1:e4:fb: 06:bd:7c:87:f7 ASN1 OID: prime256v1 NIST CURVE: P-256 X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment, Certificate Sign, CRL Sign X509v3 Extended Key Usage: Any Extended Key Usage X509v3 Basic Constraints: critical CA:TRUE X509v3 Subject Key Identifier: BA:42:69:37:E5:F4:90:88:22:FC:CA:C9:9B:CF:D4:E4:8B:54:B1:78:AD:DF:08:E7:08:7C:6C:AC:39:9E:BF:89 Signature Algorithm: ecdsa-with-SHA256 30:45:02:21:00:fe:11:ee:20:34:09:7f:f7:66:6f:b7:bc:f8: bf:7f:60:7b:64:e9:a8:00:8c:64:56:df:4b:02:2f:4a:0f:25: bf:02:20:02:67:11:91:c9:60:24:f0:27:57:de:ad:af:9f:44: f4:33:66:ac:ed:64:1b:01:22:82:d2:fb:ef:8e:3c:7e:d4 ```

GuillaumeCisco (Fri, 01 Feb 2019 15:41:59 GMT):
In comparaison our generated tls ca cert we use to test the invoke method looks like: ``` Certificate: Data: Version: 3 (0x2) Serial Number: 72:fe:f0:06:5b:6e:65:84:e3:27:90:23:84:57:2c:98:83:f1:30:0c Signature Algorithm: ecdsa-with-SHA256 Issuer: C = FR, ST = Loire-Atlantique, L = Nantes, O = owkin, CN = rca-owkin Validity Not Before: Feb 1 14:47:00 2019 GMT Not After : Feb 1 14:47:00 2020 GMT Subject: C = FR, ST = Loire-Atlantique, L = Nantes, O = owkin, CN = d162912c8bf6 Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) pub: 04:fc:a8:6d:a0:83:18:ad:a5:c9:1d:4b:97:4a:40: 79:43:f2:23:bd:33:15:be:68:dc:d8:1f:05:0f:34: 1b:9a:58:20:e9:98:6f:ec:e7:6c:4c:ad:0e:80:64: 0d:4a:5e:3e:71:bf:7e:37:f1:89:2e:6f:88:9d:10: 06:08:2c:45:d5 ASN1 OID: prime256v1 NIST CURVE: P-256 X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment, Key Agreement X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication X509v3 Basic Constraints: critical CA:FALSE X509v3 Subject Key Identifier: A6:1C:28:E7:BF:45:12:85:39:DB:F4:1A:00:F0:39:76:25:07:1F:01 X509v3 Authority Key Identifier: keyid:96:5A:E4:3B:0D:B7:35:56:69:79:1D:04:A7:DC:56:2D:B8:E0:BF:B8 X509v3 Subject Alternative Name: DNS:localhost, DNS:rca-owkin Signature Algorithm: ecdsa-with-SHA256 30:45:02:21:00:99:69:2a:0a:6d:a9:d1:e7:5b:34:40:cd:e4: 3a:ed:b9:e1:52:b6:85:31:31:d1:3b:59:a1:4a:76:e6:c3:e7: 32:02:20:1e:8b:d4:fe:00:98:f4:3b:5f:ea:ac:ac:f5:a3:39: d5:0d:dd:1b:a2:a7:02:60:6a:e7:06:e5:98:b7:16:15:0d ```

GuillaumeCisco (Fri, 01 Feb 2019 15:41:59 GMT):
In comparaison our generated tls ca cert we use to test the invoke method looks like: ``` Certificate: Data: Version: 3 (0x2) Serial Number: 72:fe:f0:06:5b:6e:65:84:e3:27:90:23:84:57:2c:98:83:f1:30:0c Signature Algorithm: ecdsa-with-SHA256 Issuer: C = FR, ST = Loire-Atlantique, L = Nantes, O = owkin, CN = rca-owkin Validity Not Before: Feb 1 14:47:00 2019 GMT Not After : Feb 1 14:47:00 2020 GMT Subject: C = FR, ST = Loire-Atlantique, L = Nantes, O = owkin, CN = rca-owkin Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) pub: 04:fc:a8:6d:a0:83:18:ad:a5:c9:1d:4b:97:4a:40: 79:43:f2:23:bd:33:15:be:68:dc:d8:1f:05:0f:34: 1b:9a:58:20:e9:98:6f:ec:e7:6c:4c:ad:0e:80:64: 0d:4a:5e:3e:71:bf:7e:37:f1:89:2e:6f:88:9d:10: 06:08:2c:45:d5 ASN1 OID: prime256v1 NIST CURVE: P-256 X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment, Key Agreement X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication X509v3 Basic Constraints: critical CA:FALSE X509v3 Subject Key Identifier: A6:1C:28:E7:BF:45:12:85:39:DB:F4:1A:00:F0:39:76:25:07:1F:01 X509v3 Authority Key Identifier: keyid:96:5A:E4:3B:0D:B7:35:56:69:79:1D:04:A7:DC:56:2D:B8:E0:BF:B8 X509v3 Subject Alternative Name: DNS:localhost, DNS:rca-owkin Signature Algorithm: ecdsa-with-SHA256 30:45:02:21:00:99:69:2a:0a:6d:a9:d1:e7:5b:34:40:cd:e4: 3a:ed:b9:e1:52:b6:85:31:31:d1:3b:59:a1:4a:76:e6:c3:e7: 32:02:20:1e:8b:d4:fe:00:98:f4:3b:5f:ea:ac:ac:f5:a3:39: d5:0d:dd:1b:a2:a7:02:60:6a:e7:06:e5:98:b7:16:15:0d ```

GuillaumeCisco (Fri, 01 Feb 2019 15:43:20 GMT):
Do you think the `CA:FALSE` is responsible in our case ? or maybebecause we do not have `Any Extended Key Usage` in `X509v3 Extended Key Usage`?

GuillaumeCisco (Fri, 01 Feb 2019 15:43:20 GMT):
Do you think the `CA:FALSE` is responsible in our case ? or maybe because we do not have `Any Extended Key Usage` in `X509v3 Extended Key Usage`?

GuillaumeCisco (Fri, 01 Feb 2019 15:44:13 GMT):
Maybe @baohua , can you redirect me to someone who has a deep understanding of the generated certificates. I would really appreciate

patmc (Sat, 02 Feb 2019 16:16:41 GMT):
Has joined the channel.

GuillaumeCisco (Mon, 04 Feb 2019 09:52:23 GMT):
Hello guys, are you on vacation this week for the chinese new year?

dexhunter (Mon, 04 Feb 2019 10:47:02 GMT):
Yes, I will be slow to response this week.

GuillaumeCisco (Mon, 04 Feb 2019 10:49:42 GMT):
ok, thank you @dexhunter. Have a nice week ;)

GuillaumeCisco (Mon, 04 Feb 2019 10:50:23 GMT):
for more info about the tls cert and the query method, I tried with a certificate that looks like: ``` Certificate: Data: Version: 3 (0x2) Serial Number: 40:ef:75:d2:14:3b:f8:6c:22:c1:74:9e:6a:7f:16:88:86:0a:3e:fa Signature Algorithm: ecdsa-with-SHA256 Issuer: C = FR, ST = Loire-Atlantique, L = Nantes, O = owkin, CN = rca-owkin Validity Not Before: Feb 4 10:00:00 2019 GMT Not After : Feb 4 10:00:00 2020 GMT Subject: C = FR, ST = Loire-Atlantique, L = Nantes, O = owkin, CN = rca-owkin Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) pub: 04:ea:91:59:70:78:c1:fa:6e:90:ff:52:7c:63:28: 79:7d:de:58:66:07:53:f1:29:b6:05:38:f0:c8:01: f1:fa:52:48:3f:58:6b:8f:ca:85:fc:0e:29:eb:cd: b8:a7:79:e5:5d:59:a4:52:f4:1d:ba:01:7c:cb:2f: 30:e3:21:fc:d1 ASN1 OID: prime256v1 NIST CURVE: P-256 X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment, Key Agreement, Certificate Sign, CRL Sign X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication, Any Extended Key Usage X509v3 Basic Constraints: critical CA:FALSE X509v3 Subject Key Identifier: 36:00:B2:F2:21:6E:5D:4E:E5:68:8C:54:9A:5D:19:CE:04:F7:69:2B X509v3 Subject Alternative Name: DNS:localhost, DNS:rca-owkin Signature Algorithm: ecdsa-with-SHA256 30:44:02:20:38:96:89:bd:fe:fb:55:5c:37:72:c4:5e:bd:61: ea:00:1e:20:cd:00:60:95:0b:fb:98:cd:c5:4f:87:61:66:e1: 02:20:6c:b8:28:18:b6:a8:56:e7:81:aa:fa:0b:57:86:4b:e1: 25:70:38:17:05:d6:0f:79:e3:92:d4:50:3a:68:83:b5 ```

GuillaumeCisco (Mon, 04 Feb 2019 10:51:09 GMT):
Without success, still same error `ssl_transport_security.cc:1229] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED.` `"{"created":"@1549276006.464476496","description":"Failed to create subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":2721,"referenced_errors":[{"created":"@1549276006.464474676","description":"Pick Cancelled","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":241,"referenced_errors":[{"created":"@1549276006.464465420","description":"Connect Failed","file":"src/core/ext/filters/client_channel/subchannel.cc","file_line":689,"grpc_status":14,"referenced_errors":[{"created":"@1549276006.464396856","description":"Handshake failed","file":"src/core/lib/security/transport/security_handshaker.cc","file_line":248,"tsi_code":10,"tsi_error":"TSI_PROTOCOL_FAILURE"}]}]}]}"`

GuillaumeCisco (Mon, 04 Feb 2019 10:52:23 GMT):
The only mainly different thing is the `CA:TRUE` as you can see. Do you think it is mandatory?

GuillaumeCisco (Mon, 04 Feb 2019 11:02:57 GMT):
Maybe it is a grpc version mismatch https://github.com/grpc/grpc/issues/8433 ?

GuillaumeCisco (Mon, 04 Feb 2019 11:05:37 GMT):
no it does not look like

GuillaumeCisco (Mon, 04 Feb 2019 14:33:04 GMT):
I've tried creating a certificate by myself using these commands: ``` openssl ecparam -out org1.example.com.key -name prime256v1 -genkey ``` Create openssl.cnf like: ``` [ req ] default_bits = 1024 default_md = sha256 default_keyfile = privkey.pem distinguished_name = req_distinguished_name attributes = req_attributes req_extensions = v3_req x509_extensions = usr_cert [ usr_cert ] basicConstraints = CA:TRUE keyUsage = digitalSignature, keyEncipherment, cRLSign, keyCertSign extendedKeyUsage = anyExtendedKeyUsage subjectKeyIdentifier = hash #authorityKeyIdentifier = keyid,issuer [ v3_req] extendedKeyUsage = anyExtendedKeyUsage basicConstraints = CA:FALSE keyUsage = digitalSignature, keyEncipherment, cRLSign, keyCertSign [ req_distinguished_name ] countryName = Country Name (2 letter code) countryName_default = AU countryName_min = 2 countryName_max = 2 stateOrProvinceName = State or Province Name (full name) stateOrProvinceName_default = Some-State localityName = Locality Name (eg, city) 0.organizationName = Organization Name (eg, company) 0.organizationName_default = Internet Widgits Pty Ltd organizationalUnitName = Organizational Unit Name (eg, section) commonName = Common Name (e.g. server FQDN or YOUR name) commonName_max = 64 emailAddress = Email Address emailAddress_max = 64 # SET-ex3 = SET extension number 3 [ req_attributes ] challengePassword = A challenge password challengePassword_min = 4 challengePassword_max = 20 ``` And ran command: ``` openssl req -config openssl.cnf -new -days 3650 -nodes -x509 -subj "/C=US/ST=California/L=San Francisco/O=org1.example.com/CN=tlsca.org1.example.com" -key org1.example.com.key -out org1.example.com.cert ``` It gives me a certificate that looks like the one used for the tests: ``` Certificate: Data: Version: 3 (0x2) Serial Number: 8c:94:00:3a:10:2f:ff:6a Signature Algorithm: ecdsa-with-SHA256 Issuer: C = US, ST = California, L = San Francisco, O = org1.example.com, CN = tlsca.org1.example.com Validity Not Before: Feb 4 14:28:35 2019 GMT Not After : Feb 1 14:28:35 2029 GMT Subject: C = US, ST = California, L = San Francisco, O = org1.example.com, CN = tlsca.org1.example.com Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) pub: 04:ec:b5:dd:84:6b:83:d4:6f:6f:db:15:f2:b4:fd: f8:51:58:68:b9:50:0a:d9:cd:8d:9e:d6:8c:85:d8: 0e:20:66:11:07:b4:ef:30:7e:5a:f1:b5:17:04:d5: a7:b6:6e:09:6a:06:a2:9f:60:2d:c8:19:be:21:08: 7a:df:c5:33:b0 ASN1 OID: prime256v1 NIST CURVE: P-256 X509v3 extensions: X509v3 Basic Constraints: CA:TRUE X509v3 Key Usage: Digital Signature, Key Encipherment, Certificate Sign, CRL Sign X509v3 Extended Key Usage: Any Extended Key Usage X509v3 Subject Key Identifier: 96:B1:9C:7A:0F:1F:99:58:A7:0F:ED:E3:59:DF:4F:7A:4B:24:D3:DB Signature Algorithm: ecdsa-with-SHA256 30:44:02:20:06:2f:bb:a2:c3:0e:2f:23:dc:38:70:75:96:1a: 13:1d:9a:9a:04:f9:1a:04:39:e5:b1:02:05:50:30:30:2c:3f: 02:20:1b:bf:bf:e8:c4:9c:47:9a:c3:23:3d:45:d0:0b:80:0a: 95:fb:fe:e2:ed:bc:f0:7c:ad:9f:e0:9c:a5:62:dc:87 ``` Unfortunately the test fail with this generated certificate. What is different? Why the one provided in the fixtures makes things work? I'm deeply lost here. Do you think someone in the fabric-ca team can help me understanding this? Thank you

mastersingh24 (Mon, 04 Feb 2019 14:50:27 GMT):
Has joined the channel.

MHBauer (Wed, 06 Feb 2019 22:36:16 GMT):
Has joined the channel.

bstri (Thu, 07 Feb 2019 15:57:14 GMT):
Has joined the channel.

GuillaumeCisco (Thu, 07 Feb 2019 16:13:05 GMT):
Ok for more information, after a lot of testing, I'm not able to mimic a cert produced by the crypto material tools.I still do not know how to make TLS works with fabric-sdk-py

GuillaumeCisco (Thu, 07 Feb 2019 17:10:02 GMT):
THe way CAs are generated with cryptogen can be find here: https://github.com/hyperledger/fabric/blob/release-1.4/common/tools/cryptogen/ca/generator.go

GuillaumeCisco (Fri, 08 Feb 2019 10:52:09 GMT):
I finally found what is the issue. We have two location where the tls ca is verified

GuillaumeCisco (Fri, 08 Feb 2019 10:55:39 GMT):
one is the ca we send for making the call defined here `test/fixtures/e2e_cli/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem` And the one in the peer config, defined here `test/fixtures/e2e_cli/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt` They need to be the same, and the `server.crt` and `server.key` in `test/fixtures/e2e_cli/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/` need to be related to it. I'll try to update our project network for working correctly with it.

GuillaumeCisco (Fri, 08 Feb 2019 16:52:30 GMT):
ok great news. After a long week of investigation, I succeeded!

GuillaumeCisco (Fri, 08 Feb 2019 16:53:40 GMT):
I now have a question about the core.yaml file, especially this param `clientAuthRequired`, passing it to `true` triggers a certificate verify failed. Any idea how it works and what is its purpose?

GuillaumeCisco (Fri, 08 Feb 2019 16:53:40 GMT):
I now have a question about the core.yaml file, especially this param `clientAuthRequired`, passing it to `true` triggers a `SSLV3_ALERT_BAD_CERTIFICATE`. Any idea how it works and what is its purpose?

wangdong (Sun, 10 Feb 2019 09:02:19 GMT):
This should be used for client authentication by server.

dexhunter (Mon, 11 Feb 2019 04:07:28 GMT):
@GuillaumeCisco congrats on finding the cause of certificate failure. I am trying to help to debug genCRL error. The error msg is ` ValueError: generating CRL failed with errors [{'code': 20, 'message': 'Authentication failure'}]` while for other methods the authentication works fine. So I am guessing there might be missing parameters for auth of genCRL.

GuillaumeCisco (Mon, 11 Feb 2019 08:21:17 GMT):
Yes, @dexhunter I looked at the fabric SDK node. But found nothing. Does it work in fabric SDK node btw?

GuillaumeCisco (Mon, 11 Feb 2019 10:48:40 GMT):
My team and I will now focus on the channelEventHub topic. We will need help @dexhunter , especially regarding grpc channel handling

GuillaumeCisco (Mon, 11 Feb 2019 15:28:53 GMT):
I've just created a PR for having better return on the invoke command. I also highlight where we can trigger a `SSLV3_ALERT_BAD_CERTIFICATE` error in the tests. https://gerrit.hyperledger.org/r/#/c/29235/ Feel free to review it @dexhunter

dexhunter (Mon, 11 Feb 2019 15:38:49 GMT):
@GuillaumeCisco it works with node sdk, the only difference I found so far is there is a ca name. Besides that, the client seems to be different. I am also trying to read the source code of fabric-ca to see why this happens.

GuillaumeCisco (Mon, 11 Feb 2019 15:44:54 GMT):
hum ok, @Kelvin_Moutet just test things and has been able to do it with en enroll and `hf.GenCRL` set to `True`. He is trying to make it works with the tests right now

GuillaumeCisco (Mon, 11 Feb 2019 15:44:54 GMT):
hum ok, @Kelvin_Moutet just test things and has been able to do it with an enroll and `hf.GenCRL` set to `True`. He is trying to make it works with the tests right now

GuillaumeCisco (Mon, 11 Feb 2019 15:45:44 GMT):
Regarding the `caName` and `caname`, fabric-sdk-node does it twice. So I put it too. But I think the fabric-sdk-node is not right

Kelvin_Moutet (Mon, 11 Feb 2019 16:39:09 GMT):
@dexhunter It seems that we also need to add `hf.GenCRL: true` in the admin `attrs` of fabric-ca-server-config.yaml

Kelvin_Moutet (Mon, 11 Feb 2019 16:39:32 GMT):
But I still have the issue with genCRL

Kelvin_Moutet (Mon, 11 Feb 2019 16:39:32 GMT):
But I still have the same issue with genCRL

Kelvin_Moutet (Mon, 11 Feb 2019 17:24:49 GMT):
I manage to make it works :)

Kelvin_Moutet (Mon, 11 Feb 2019 17:26:48 GMT):
@dexhunter How can I patch the https://gerrit.hyperledger.org/r/#/c/29000/

Kelvin_Moutet (Mon, 11 Feb 2019 17:30:48 GMT):
Seems I found the way to : https://gerrit.hyperledger.org/r/#/c/29000/ @GuillaumeCisco

dexhunter (Mon, 11 Feb 2019 18:38:57 GMT):
@Kelvin_Moutet great! It seems I did not find the missing `hf.GenCRL`. And we should not modify the passing ca_name? How did you find this fix? (I'll help to fix the flake error)

dexhunter (Mon, 11 Feb 2019 20:29:51 GMT):
Maybe we can append more settings according to this: https://hyperledger-fabric-ca.readthedocs.io/en/latest/serverconfig.html

Kelvin_Moutet (Tue, 12 Feb 2019 07:09:00 GMT):
@dexhunter it seems that if ca_name is empty we should not pass the argument. But we do not know if this is `caname`or `caName`, do you have more insights on it ?

Kelvin_Moutet (Tue, 12 Feb 2019 07:13:05 GMT):
I think it `caname` and it should be the same as the ca name it the server config. In the fixtures, the ca : name: is not provided, so we should not providing it for the test. Maybe it would be better to add it in the conf and in the tests ?

Kelvin_Moutet (Tue, 12 Feb 2019 07:47:04 GMT):
`The –caname flag specifies the name of the CA to which this request is sent. In this example, the gencrl request is sent to the default CA.``

Kelvin_Moutet (Tue, 12 Feb 2019 07:47:04 GMT):
`The –caname flag specifies the name of the CA to which this request is sent. In this example, the gencrl request is sent to the default CA.`

Kelvin_Moutet (Tue, 12 Feb 2019 07:47:04 GMT):
`The –caname flag specifies the name of the CA to which this request is sent. In this example, the gencrl request is sent to the default CA.`

Kelvin_Moutet (Tue, 12 Feb 2019 07:47:41 GMT):
if we have `caname=""` it will go to the default CA

Kelvin_Moutet (Tue, 12 Feb 2019 07:49:02 GMT):
but i'm trying to put `caname=fabric-ca` everywhere, after modifications, all work except genCRL ( it tried with caName and caname :() But with caname="" it still works

GuillaumeCisco (Tue, 12 Feb 2019 08:46:16 GMT):
We've just understood why it was not working. The authorization header was not correctly generated -> missing caname param

GuillaumeCisco (Tue, 12 Feb 2019 08:48:21 GMT):
https://gerrit.hyperledger.org/r/29254

GuillaumeCisco (Tue, 12 Feb 2019 08:51:05 GMT):
After all our work on this project during one month, can I have now the rights for merging PR ? :D

dexhunter (Tue, 12 Feb 2019 10:52:08 GMT):
I see, thanks @Kelvin_Moutet @GuillaumeCisco about rights for merging PR, we need to consult @baohua

baohua (Wed, 13 Feb 2019 01:54:12 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Fe8tYPpfNhkGYErFJ) @GuillaumeCisco Typically, we nominate new maintainer based on 3 months continuous contributions. Look forward to seeing more activities from you!

GuillaumeCisco (Wed, 13 Feb 2019 08:41:57 GMT):
Haha thank you @baohua , I hope we won't finish the fabric-sdk-py too early ;)

dexhunter (Wed, 13 Feb 2019 09:42:44 GMT):
Hi, I wonder should we update the Makefile so that the build on github could pass ci as well? (The error is https://travis-ci.com/hyperledger/fabric-sdk-py/jobs/177068089#L496) I think we can either change the travis ci config or use something like `python3 -m tox ...` but I understand this is not on priority just saying.

dexhunter (Wed, 13 Feb 2019 09:43:44 GMT):
@GuillaumeCisco haha, even if we finish the project early, there is always room for creating customized tools such as sign-transaction-offline in node sdk (https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/docs/tutorials/sign-transaction-offline.md)

Kelvin_Moutet (Wed, 13 Feb 2019 10:11:36 GMT):
@dexhunter do you see that thread https://stackoverflow.com/questions/37016688/how-to-run-tox-with-travis-ci ?

dexhunter (Wed, 13 Feb 2019 11:39:28 GMT):
@Kelvin_Moutet No, I haven't. It seems `tox-travis` is what it needs, many thanks!

AlbertCL (Wed, 13 Feb 2019 14:23:31 GMT):
Has joined the channel.

AlbertCL (Wed, 13 Feb 2019 16:24:47 GMT):
Hi all, I'm having troubles trying to get cli.query_into(org1_admin, 'ilimitchannel', peer_names=['peer0.org1.test_org1.com']). The error: client.py:964 --> response = channel.query_info(tx_context, peers) the channel is a Nonetype. I think that I'm not writting right the channel in the network.json, any example how to do it?

AlbertCL (Wed, 13 Feb 2019 16:24:47 GMT):
Hi all, I'm having troubles trying to `get cli.query_into(org1_admin, 'ilimitchannel', peer_names=['peer0.org1.test_org1.com']`). The error: client.py:964 --> response = channel.query_info(tx_context, peers) the channel is a Nonetype. I think that I'm not writting right the channel in the network.json, any example how to do it?

GuillaumeCisco (Wed, 13 Feb 2019 16:55:20 GMT):
By the way @baohua, can we figure in the contributors list?

GuillaumeCisco (Wed, 13 Feb 2019 17:21:32 GMT):
`query_into` or `query_info` ?

GuillaumeCisco (Wed, 13 Feb 2019 17:22:06 GMT):
@AlbertCL you can look the e2e tests for more information on how to do it

Kelvin_Moutet (Wed, 13 Feb 2019 17:23:05 GMT):
@AlbertCL Are you at the last version (master) because l. 964 is not related to the `query_info` method

AlbertCL (Wed, 13 Feb 2019 18:05:26 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=jzKrfn59jZGc3wHds) @GuillaumeCisco Yes, query_info, I'll check the tests thanks!

AlbertCL (Wed, 13 Feb 2019 18:07:56 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=FMa46DuQpuTAxpRgZ) @Kelvin_Moutet I'm using v0.7.0, I'll try with the branch master thanks!

baohua (Thu, 14 Feb 2019 01:14:26 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=2MG6y24DuKB867wbx) @GuillaumeCisco What do you mean? like this?https://github.com/hyperledger/fabric-sdk-py/graphs/contributors

baohua (Thu, 14 Feb 2019 06:13:17 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-02-14 welcome to attend, thanks!

GuillaumeCisco (Thu, 14 Feb 2019 07:28:31 GMT):
Thank you @baohua , yes this one: https://wiki.hyperledger.org/display/fabric/Hyperledger+Fabric+SDK+Py

GuillaumeCisco (Thu, 14 Feb 2019 13:42:33 GMT):
Thank you @baohua , we just discovered the `discover api` here: https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-cli.html

GuillaumeCisco (Thu, 14 Feb 2019 13:42:33 GMT):
Thank you @baohua , we've just discovered the `discover api` here: https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-cli.html

GuillaumeCisco (Thu, 14 Feb 2019 13:42:39 GMT):
it works weel with our project

GuillaumeCisco (Thu, 14 Feb 2019 13:42:39 GMT):
it works well with our project

GuillaumeCisco (Thu, 14 Feb 2019 13:43:25 GMT):
Do you have a jira issue with a gerrit page on it @dexhunter ?

pchochu (Thu, 14 Feb 2019 20:56:21 GMT):
Has joined the channel.

lucasrol (Thu, 14 Feb 2019 22:08:01 GMT):
Has joined the channel.

baohua (Fri, 15 Feb 2019 02:12:40 GMT):
I don't think so, feel free to open one

dexhunter (Fri, 15 Feb 2019 13:19:27 GMT):
@GuillaumeCisco Actually I do, do you mean this one: https://jira.hyperledger.org/browse/FABP-182 ? (Sorry for the late reply, I was taking a test today)

dexhunter (Fri, 15 Feb 2019 13:19:27 GMT):
@GuillaumeCisco Actually we do, do you mean this one: https://jira.hyperledger.org/browse/FABP-182 ? (Sorry for the late reply, I was taking a test today)

GuillaumeCisco (Fri, 15 Feb 2019 13:27:03 GMT):
Thank @dexhunter , I hope your test was not too hard ;) Did you push on gerrit your current progress related to this issue?

dexhunter (Fri, 15 Feb 2019 14:04:12 GMT):
I haven't but will do it soon

GuillaumeCisco (Mon, 18 Feb 2019 15:44:03 GMT):
@dexhunter I don't know if you tested `fabric-sdk-py` with the `clientAuthRequired` to true and ran tests for displaying the `SSLV3_ALERT_BAD_CERTIFICATE.` error. I try to find out why it does appear but can find the root source of the problem, maybe we have to specify the peers with tls cert and key files? I do not clearly understand how `clientAuthRequired` is working.

GuillaumeCisco (Mon, 18 Feb 2019 15:44:03 GMT):
@dexhunter I don't know if you tested `fabric-sdk-py` with the `clientAuthRequired` to true and ran tests for displaying the `SSLV3_ALERT_BAD_CERTIFICATE.` error. I try to find out why it does appear but can't find the root source of the problem, maybe we have to specify the peers with tls cert and key files? I do not clearly understand how `clientAuthRequired` is working.

GuillaumeCisco (Mon, 18 Feb 2019 16:22:09 GMT):
I think this has to deal with grpc security channel as explained here: https://stackoverflow.com/questions/52955316/grpc-python-client-authentication-example

GuillaumeCisco (Mon, 18 Feb 2019 16:22:58 GMT):
https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/util/channel.py#L41

GuillaumeCisco (Mon, 18 Feb 2019 16:23:23 GMT):
Any reasons why we are not passing the cert/key of the peer for tls mutual authentication?

GuillaumeCisco (Mon, 18 Feb 2019 16:26:08 GMT):
In the fabric-sdk-node, the cert/key seems to be supported: https://github.com/hyperledger/fabric-sdk-node/blob/0d24cec10f7a3e0153fcf3f0158a89c5eaa0cfab/fabric-client/lib/Remote.js#L268

GuillaumeCisco (Mon, 18 Feb 2019 16:36:20 GMT):
I've just tested it on a modificated version of fabric-sdk-py, it works :)

GuillaumeCisco (Mon, 18 Feb 2019 16:36:31 GMT):
Will make a PR for supporting clientAuthRequired

GuillaumeCisco (Mon, 18 Feb 2019 16:36:51 GMT):
Quick question, I need to know how to load it from the network API. Is there documentation about it?

dexhunter (Tue, 19 Feb 2019 04:45:47 GMT):
@GuillaumeCisco Sorry I was caught up with bccsp yesterday but I managed to change the signature algorithm now. What is the network API are you talking about? Is that `requests` or something else?

dexhunter (Tue, 19 Feb 2019 04:45:47 GMT):
@GuillaumeCisco Sorry I was caught up with bccsp yesterday but I managed to change the signature algorithm now. What is the network API are you talking about? ~Is that `requests` or something else?~ okay, I think we need to check the grpc docs

dexhunter (Tue, 19 Feb 2019 04:45:47 GMT):
@GuillaumeCisco Sorry I was caught up with bccsp yesterday but I managed to change the signature algorithm now. What is the network API you are referring to? ~Is that `requests` or something else?~ okay, I think we need to check the grpc docs

GuillaumeCisco (Tue, 19 Feb 2019 08:39:17 GMT):
Hey @dexhunter In fact, I found nothing about it in the docs. It looks like this is custom to `fabric-sdk-node`. What I call the Network API is the action of loading a config file `network.json` or `network-config.yaml` for initializing the network. As we do in `fabric-sdk-py` with `network.json`. As far as I understand, this network API will be replaced by the `discover` API. I just wanted to know if there is any documentation on how to name keys in this particular file. I'm just fixing test right now, I will create the issue and show you in details what I mean :)

GuillaumeCisco (Tue, 19 Feb 2019 13:41:01 GMT):
https://gerrit.hyperledger.org/r/#/c/29374/

GuillaumeCisco (Tue, 19 Feb 2019 13:41:50 GMT):
This PR can break old code (especially when creating a peer without explicitly declaring the arguments)

baohua (Wed, 20 Feb 2019 03:10:30 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=fuXZBbsHzbnYFy93p) @GuillaumeCisco LGTM, thanks!

baohua (Wed, 20 Feb 2019 06:32:21 GMT):
https://gerrit.hyperledger.org/r/#/c/29398/

baohua (Wed, 20 Feb 2019 08:20:55 GMT):
@here Dear all, we will cancel this week's meeting due to low issues to discuss, please continue to work offline. Thanks!

Kelvin_Moutet (Wed, 20 Feb 2019 08:23:34 GMT):
:+1:

baohua (Wed, 20 Feb 2019 15:17:12 GMT):
https://gerrit.hyperledger.org/r/#/c/29405/

GuillaumeCisco (Thu, 21 Feb 2019 09:47:14 GMT):
:thumbsup:

GuillaumeCisco (Thu, 21 Feb 2019 09:48:09 GMT):
Thanks @baohua for your work on documentation. What could be great is reproducing the original sh e2e tests with explanations.

dexhunter (Thu, 21 Feb 2019 13:03:58 GMT):
@baohua @wangdong I added the internship page, wonder if there are anything you would like to modify? https://wiki.hyperledger.org/display/INTERN/Hyperledger+Fabric+Python+SDK Also, comments are welcome :)

baohua (Thu, 21 Feb 2019 15:11:13 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=KLfPB56egj7DX6tps) @dexhunter minor change the time and requirement. Feel free to review.

dexhunter (Thu, 21 Feb 2019 17:30:49 GMT):
Many thanks @baohua

nanspro (Fri, 22 Feb 2019 06:27:11 GMT):
Has joined the channel.

GuillaumeCisco (Fri, 22 Feb 2019 11:01:12 GMT):
very good work

wangdong (Fri, 22 Feb 2019 23:22:59 GMT):
:thumbsup:

dexhunter (Sat, 23 Feb 2019 00:58:02 GMT):
I am still a bit confused about mutual tls at this patch( https://gerrit.hyperledger.org/r/#/c/29374/) . If someone could provide some explanations that would be helpful.

dexhunter (Sat, 23 Feb 2019 01:27:11 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=fuXZBbsHzbnYFy93p) @GuillaumeCisco I was wondering should we make it as `opts` as in node sdk or we explicitly require these parameters @GuillaumeCisco @baohua

dexhunter (Sat, 23 Feb 2019 01:27:11 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=fuXZBbsHzbnYFy93p) I was wondering should we make it as `opts` as in node sdk or we explicitly require these parameters @GuillaumeCisco @baohua

nanspro (Sat, 23 Feb 2019 02:24:53 GMT):
Hey everyone :smile: I just assigned myself this task https://jira.hyperledger.org/browse/FABP-199

nanspro (Sat, 23 Feb 2019 02:26:01 GMT):
I can ask issue related doubts here, right?

dexhunter (Sat, 23 Feb 2019 05:12:46 GMT):
welcome and feel free to ask questions :) @nanspro

dexhunter (Sun, 24 Feb 2019 05:25:54 GMT):
@baohua @wangdong hi, in node sdk, they have this connection profile (https://fabric-sdk-node.github.io/tutorial-network-config.html), should we adopt the same in python sdk?

dexhunter (Sun, 24 Feb 2019 05:25:54 GMT):
@baohua @wangdong hi, in node sdk, they have this connection profile (https://fabric-sdk-node.github.io/tutorial-network-config.html) since 1.1, should we adopt the same in python sdk?

wangdong (Sun, 24 Feb 2019 13:02:35 GMT):
At present, I do not find any reason not to adopt it. It is convenient and powerful.

wangdong (Sun, 24 Feb 2019 13:05:02 GMT):
do you have any different idea about this?

Kelvin_Moutet (Sun, 24 Feb 2019 13:09:44 GMT):
IMO, a connection profile should be limited to the entrypoint we need (e.g. a peer) The rest should be gotten through the discover API, it is way more convenient. We should not have to describe the full network to use it (imagine a network with 1000 orgs)

dexhunter (Sun, 24 Feb 2019 15:46:33 GMT):
@wangdong No, I don't

dexhunter (Sun, 24 Feb 2019 15:46:43 GMT):
@Kelvin_Moutet I see. Thank you.

nanspro (Sun, 24 Feb 2019 16:25:10 GMT):
I was looking at `test/fixtures/e2e_cli/channel-artifacts/channel.json` and there is capabilities field here but no ordering service

nanspro (Sun, 24 Feb 2019 16:26:05 GMT):
To use sdk-py to change ordering service config what attributes should i change?

nanspro (Sun, 24 Feb 2019 16:31:13 GMT):
Change in ordering config means change in orderers right?

nanspro (Sun, 24 Feb 2019 16:31:13 GMT):
Changing configuration of ordering means changing the orderers right?

dexhunter (Sun, 24 Feb 2019 17:12:15 GMT):
@nanspro what orderer configs are you trying to change?

dexhunter (Mon, 25 Feb 2019 03:56:23 GMT):
hi, I think we also need to add msp, msp-manager, identity to the python sdk, is that right? Should I create related jira issues?

dexhunter (Mon, 25 Feb 2019 04:13:01 GMT):
hi, currently msp and related info are integrated inside `User`, I was wondering should we separate them back to individual class/files? @baohua @wangdong

nanspro (Mon, 25 Feb 2019 05:23:31 GMT):
@dexhunter i can't seem to find any orderer related info in `channel.json`

nanspro (Mon, 25 Feb 2019 05:25:36 GMT):
Orderers for a channel should be present in config file

nanspro (Mon, 25 Feb 2019 05:25:36 GMT):
I thought channel config should contain orderers object and it should be able to add and remove them

nanspro (Mon, 25 Feb 2019 05:33:26 GMT):
If client wants to change orderer attributes like `grpc_options` then he should be able to do so by changing channel.json(channel config)

nanspro (Mon, 25 Feb 2019 05:33:27 GMT):
If client wants to change orderer attributes like `grpc_options` then he should be able to do so by changing channel.json(channel config)

nanspro (Mon, 25 Feb 2019 05:33:28 GMT):
If client wants to change orderer attributes like `grpc_options` then he should be able to do so by changing channel.json(channel config)

nanspro (Mon, 25 Feb 2019 05:34:19 GMT):
But there is nothing related to orderers there

nanspro (Mon, 25 Feb 2019 05:39:35 GMT):
Also regarding attributes, If client wants to change orderer attributes like `grpc_options` then he should be able to do so by changing channel.json(channel config)

dexhunter (Mon, 25 Feb 2019 05:54:56 GMT):
@nanspro I think you should check `configtx.yaml` rather than `channel.json`

dexhunter (Mon, 25 Feb 2019 05:55:50 GMT):
files at `channel-artifacts` are mostly generated by tools such as `configtxgen`

dexhunter (Mon, 25 Feb 2019 05:55:50 GMT):
files at `channel-artifacts` are mostly generated by tools such as `configtxgen` and I don't think you should change them

dexhunter (Mon, 25 Feb 2019 05:56:07 GMT):
You shouldn't change them

nanspro (Mon, 25 Feb 2019 06:00:56 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=yJgtpEprCasiLkD8a) @dexhunter Okay

baohua (Mon, 25 Feb 2019 12:14:05 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=qgkXaGiHAAMdAy3tk) @dexhunter Yes, we can, and basically, i think User will call functions of MSP.

nanspro (Mon, 25 Feb 2019 12:29:25 GMT):
@dexhunter i checked out `configtx.yaml` and here is my understanding of the issue 1. Client should be able to change capabilities present in `channel.json`(only channel capability is present here so should we generate application and orderer capabilities from configtx?) 2. Client should be able to change orderer default values like (organisations, policies, batch timeout) so we need to create a orderer config generated from `configtx.yaml`(there exists `orderer.genesis.block` but to read data i think we might need orderer.json) After getting proper config next step would be to read them and define api's to call each item

GuillaumeCisco (Mon, 25 Feb 2019 13:07:14 GMT):
I agree with @Kelvin_Moutet , the network loading way should be deprecated. The discover API is the way to go. Regarding the channel API, can someone point us to any documentation?

baohua (Mon, 25 Feb 2019 13:16:46 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=ByiiPWnxHYFmzS4DT) @GuillaumeCisco Some doc: https://hlf.readthedocs.io/en/latest/discovery-overview.html

baohua (Mon, 25 Feb 2019 13:17:30 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=19059888-67f8-412e-81e3-96c22287e8d2) @nanspro Nanspro, have you tried the e2e example for fabric?

baohua (Mon, 25 Feb 2019 13:19:01 GMT):
if i remember correctly, it's to dump the latest channel config --> json --> change the value --> serialize --> calculate diff --> send the update transaction to orderer.

baohua (Mon, 25 Feb 2019 13:19:01 GMT):
if i remember correctly, it's to dump the latest channel config --> json --> change the value --> serialize --> calculate diff --> send the update transaction to orderer. Here's a doc: https://hlf.readthedocs.io/en/latest/config_update.html?

dexhunter (Mon, 25 Feb 2019 13:20:35 GMT):
I previously thought we should separate the identity, msp, msp_manager, etc as the nodejs sdk, but spending the whole day reading nodejs code and playing around my perception shifted. Our current implementation seems to be a more light-weight approach which I think is a supplement to the nodejs sdk. I implemented the identity, msp, msp_manager separately but now I think I will use a light-weight approach instead.

dexhunter (Mon, 25 Feb 2019 13:20:35 GMT):
I previously thought we should separate the identity, msp, msp_manager, etc as the nodejs sdk, but after spending the whole day reading nodejs code and playing around, my perspective shifted. Our current implementation seems to be a more light-weight approach which I think is a supplement to the nodejs sdk. I implemented the identity, msp, msp_manager separately but now I think I will use a light-weight approach instead.

baohua (Mon, 25 Feb 2019 13:22:48 GMT):
haha, i would always to recommend start from the light-weight. The principle is `Less is More`

wangdong (Tue, 26 Feb 2019 07:00:01 GMT):
@GuillaumeCisco I agree with him too. But this load file shoul be the entry point.

GuillaumeCisco (Tue, 26 Feb 2019 08:46:26 GMT):
Yes @wangdong using a peer credential for discovering the network. As the network API does not exist, and has no documentation, we should not mimic something that is exclusively implemented in the node js part.

wangdong (Tue, 26 Feb 2019 08:48:05 GMT):
Yes, we should implment it more pythonic not as node style.

wangdong (Tue, 26 Feb 2019 08:48:52 GMT):
there are many this type of implementation in node sdk. I think the class or some will do this trick.

dexhunter (Tue, 26 Feb 2019 09:25:46 GMT):
@GuillaumeCisco I though `init_with_net_profile` is the network API you are talking about? I think it can co-exist with the discovery api?

dexhunter (Tue, 26 Feb 2019 09:28:51 GMT):
In node sdk, I can use a `Config` or give the file path to the config file, for the discovery api, there will be a target peer (I am not sure if it's also called anchor peer) that send a request for discovery

dexhunter (Tue, 26 Feb 2019 09:28:51 GMT):
In node sdk, I can use a `Config` or give the file path to the config file, for the discovery api, there will be a target peer (I am not sure if it's also called anchor peer) that sends a request to the discovery service for discovery

dexhunter (Tue, 26 Feb 2019 09:28:51 GMT):
In node sdk, I can use a `Config` or give the file path to the config file. For the discovery api, there will be a target peer (I am not sure if it's also called anchor peer) that sends a request to the discovery service for discovery

GuillaumeCisco (Tue, 26 Feb 2019 09:32:45 GMT):
Yes @dexhunter it can co-exist. But in my opinion, the network initialization should be deprecated.

GuillaumeCisco (Tue, 26 Feb 2019 09:33:15 GMT):
You can see in the hyperldger explorer project, that they use their own network API implementation too. This is very confusing.

dexhunter (Tue, 26 Feb 2019 09:35:28 GMT):
Let me check the explorer. I agree that we should make the sdk easier to use.

dexhunter (Tue, 26 Feb 2019 09:38:18 GMT):
@GuillaumeCisco Could you point me to the network API in hyperledger explorer you mentioned? Thanks.

dexhunter (Tue, 26 Feb 2019 09:39:04 GMT):
By the way, I though the explorer does not init the netwrok

dexhunter (Tue, 26 Feb 2019 09:39:21 GMT):
It's a dashboard to view the information of the network?

GuillaumeCisco (Tue, 26 Feb 2019 09:48:04 GMT):
yes it is, we will ask @Kelvin_Moutet as he spend a lot of time on this part

GuillaumeCisco (Tue, 26 Feb 2019 09:48:04 GMT):
yes it is, we will ask @Kelvin_Moutet as he spent a lot of time on this part

Kelvin_Moutet (Tue, 26 Feb 2019 09:48:58 GMT):
@dexhunter here the config.json aka network.json they use https://raw.githubusercontent.com/hyperledger/blockchain-explorer/master/app/platform/fabric/config.json

Kelvin_Moutet (Tue, 26 Feb 2019 09:49:17 GMT):
I try to find the code for the network loading

Kelvin_Moutet (Tue, 26 Feb 2019 09:51:10 GMT):
Here :) https://github.com/hyperledger/blockchain-explorer/tree/d474a42368444e3974abb410231a8614340a631c/app/platform/fabric

dexhunter (Tue, 26 Feb 2019 10:01:43 GMT):
@Kelvin_Moutet Thanks! I see they also config for the clients.

dexhunter (Tue, 26 Feb 2019 10:06:30 GMT):
For me, the confusing part is about peer and user (and the different roles such as anchor_peer, admin_peer?, admin_user?, etc.) but I am starting to get the point that it's just the same object with different roles depending on the definition

dexhunter (Tue, 26 Feb 2019 10:08:35 GMT):
Besides, tls, cert, ca part need extra care as well.

nanspro (Tue, 26 Feb 2019 20:08:55 GMT):
I am trying to setup sdk locally and when i ran `tox - e all .` it gives this error

nanspro (Tue, 26 Feb 2019 20:09:00 GMT):
` def test_in_sequence(self): logger.info("\n\nE2E testing started...") > self.channel_create() test/integration/e2e_test.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/integration/e2e_test.py:41: in channel_create self.assertTrue(response) E AssertionError: False is not true ------------------------------------------------------------------------------------- Captured log call -------------------------------------------------------------------------------------- e2e_test.py 433 INFO E2E testing started... e2e_test.py 33 INFO E2E: Channel creation start: name=businesschannel client.py 678 ERROR configtxgen not in PATH. client.py 278 ERROR Configtx is empty `

nanspro (Tue, 26 Feb 2019 20:09:00 GMT):
``` def test_in_sequence(self): logger.info("\n\nE2E testing started...") > self.channel_create() test/integration/e2e_test.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/integration/e2e_test.py:41: in channel_create self.assertTrue(response) E AssertionError: False is not true ------------------------------------------------------------------------------------- Captured log call -------------------------------------------------------------------------------------- e2e_test.py 433 INFO E2E testing started... e2e_test.py 33 INFO E2E: Channel creation start: name=businesschannel client.py 678 ERROR configtxgen not in PATH. client.py 278 ERROR Configtx is empty ```

baohua (Wed, 27 Feb 2019 01:50:42 GMT):
yes, as indicated in doc, you need to install configtxgen from fabric first.

dexhunter (Wed, 27 Feb 2019 08:02:16 GMT):
hi, there is a naming in python sdk I found a bit confusing `tx_prop_req`. In `proposal.proto` it says > The proposal is basically a request to do something that will result on some action with impact on the ledger So I was wondering to change it either to `tx_prop` or just `proposal`? What are your opinions on this?

Kelvin_Moutet (Wed, 27 Feb 2019 08:22:28 GMT):
In network communication, `tx` means transmission. Moreover, `tx_prop_req` is not something directly related to hyperledger fabric ? I think I already see this term in fabric code

Kelvin_Moutet (Wed, 27 Feb 2019 08:22:28 GMT):
In network communication, `tx` means transmission. Moreover, `tx_prop_req` is something directly related to hyperledger fabric ? I think I already see this term in fabric code

jimmy486 (Wed, 27 Feb 2019 08:35:50 GMT):
Has joined the channel.

dexhunter (Wed, 27 Feb 2019 09:09:23 GMT):
@Kelvin_Moutet I tried to grep `tx_prop_req` at fabric folder but I didn't find such a thing. `tx` means transaction in our implementation. I think I don't like the naming because it's similar to name something like `apple_fruit` which is ok but not necessary, `apple` would be just fine IMO.

Kelvin_Moutet (Wed, 27 Feb 2019 09:39:45 GMT):
Okay, so if its related only to the python sdk, seems legit to change it if it's more convenient :)

wangdong (Wed, 27 Feb 2019 13:59:06 GMT):
It is transaction requrest.

wangdong (Wed, 27 Feb 2019 13:59:06 GMT):
It is transaction proposal requrest.

baohua (Wed, 27 Feb 2019 14:39:44 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=EX6avnkNRAJMyXbkp) @dexhunter clients send the request to peer, and peer will send back response. In this case, how would you identify the response?

baohua (Wed, 27 Feb 2019 14:56:00 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-02-28 welcome to attend, thanks!

cccc (Thu, 28 Feb 2019 07:22:00 GMT):
Has joined the channel.

cccc (Thu, 28 Feb 2019 07:29:09 GMT):
Please my poor english. When i use fabric-sdk-py to instantiate a new chaincode. i meet a error message like this :`error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 \"can\'t load package: package github.com/parcel` . After searching this problem by google, i guess this problem cause of cannot get chaincode package. But I havenot deep know fabric-sdk-py. I have used fabric-sdk-java. Hope your help.

baohua (Thu, 28 Feb 2019 07:52:35 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=ab6Tfbg3zHiQjHA3Z) @cccc from the log, i guess it should be you chaincode problem, have you vendored the github.com/parcel package with your chaincode?

nanspro (Thu, 28 Feb 2019 08:02:08 GMT):
@AlanLee could you tell me why you marked https://jira.hyperledger.org/browse/FABP-199 complete. It is still in progress and i'll share the design here soon.

AlanLee (Thu, 28 Feb 2019 08:02:09 GMT):
Has joined the channel.

cccc (Thu, 28 Feb 2019 08:18:29 GMT):
@baohua yes, i vendored chaincode package. And i find in docker peer, the chaincode installed only 8k, the normal chaincode installed should have about 244k. And sir ,i have some doubt about that how to get channel existed when i want to install or instantiate chaincode. Now my method is ``` per_exist_channel = client.new_channel(per_channel_name) for per_orderer_name in per_channel_value.get("orderers"): per_exist_channel.add_orderer(client.get_orderer(per_orderer_name)) for per_peer_name, per_peer_value in per_channel_value.get("peers").items(): per_exist_channel.add_peer(client.get_peer(per_peer_name)) ``` . Could you tell me whether this method is correct.

dexhunter (Thu, 28 Feb 2019 08:20:20 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=86AZBC9ghqCExPKwf) @baohua ProposalResponse? Just checking on the `peer.proto`, the client sends a SignedProposal to the peer (endorser) and the peer will return a ProposalResponse. ``` service Endorser { rpc ProcessProposal(SignedProposal) returns (ProposalResponse) {} } ```

dexhunter (Thu, 28 Feb 2019 08:26:25 GMT):
@cccc Hi, I think you can do `client.get_channel()` to see whether your channel exists

dexhunter (Thu, 28 Feb 2019 08:28:29 GMT):
@cccc By the way, to create channel, please follow the tutorial (https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md#2-operate-channels-with-fabric-network). Your current channel creation method does not seem right to me.

cccc (Thu, 28 Feb 2019 09:03:44 GMT):
@dexhunter sorry. I guess that you don't get my point. If a channel have been created in fabric network, how i should assign this channel to client._channels[channel_name]. The tutorial you mention will creat a new channel.

cccc (Thu, 28 Feb 2019 09:08:35 GMT):
And when i look source code, i find the hard code(https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L338). Whether it is right?

GuillaumeCisco (Thu, 28 Feb 2019 09:38:33 GMT):
Seems deeply wrong

GuillaumeCisco (Thu, 28 Feb 2019 09:40:43 GMT):
this part of code need deeper review @dexhunter

GuillaumeCisco (Thu, 28 Feb 2019 13:36:28 GMT):
https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/fabric-client/lib/Channel.js#L1064

GuillaumeCisco (Thu, 28 Feb 2019 13:37:16 GMT):
https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/fabric-client/lib/Channel.js#L1708

dexhunter (Thu, 28 Feb 2019 13:42:12 GMT):
Oh, I see. I think the doc is clear at node sdk: https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/fabric-client/lib/Channel.js#L1056-L1058

GuillaumeCisco (Thu, 28 Feb 2019 13:44:05 GMT):
looking a this test: https://github.com/hyperledger/fabric-sdk-node/blob/0d24cec10f7a3e0153fcf3f0158a89c5eaa0cfab/test/integration/e2e/join-channel.js#L74 It looks like we should use the orderer admin

baohua (Thu, 28 Feb 2019 13:44:50 GMT):
https://gerrit.hyperledger.org/r/#/c/29398/, welcome to help review

GuillaumeCisco (Thu, 28 Feb 2019 13:46:29 GMT):
@dexhunter does it still work to simply replace the `orderer_admin = self.get_user('orderer.example.com', 'Admin')` to `orderer_admin = self.get_user(orderer_name, 'Admin')`?

dexhunter (Thu, 28 Feb 2019 13:47:09 GMT):
@GuillaumeCisco just delete this line and change the next `tx_context` to ` tx_context = TXContext(requestor, ecies(), tx_prop_req)`

dexhunter (Thu, 28 Feb 2019 13:47:16 GMT):
:)

GuillaumeCisco (Thu, 28 Feb 2019 13:47:54 GMT):
I don't think we should do that, As the requestor need to be an admin

dexhunter (Thu, 28 Feb 2019 13:49:03 GMT):
I did not get the reason why not? Actually this line has nothing to with the orderer

dexhunter (Thu, 28 Feb 2019 13:49:13 GMT):
the orderer is defined above

dexhunter (Thu, 28 Feb 2019 13:49:24 GMT):
` orderer = self.get_orderer(orderer_name`

GuillaumeCisco (Thu, 28 Feb 2019 13:49:42 GMT):
I think only the orderer admin should request the genesis block

GuillaumeCisco (Thu, 28 Feb 2019 13:50:34 GMT):
it is more natural to me as described here: https://github.com/hyperledger/fabric-sdk-node/blob/0d24cec10f7a3e0153fcf3f0158a89c5eaa0cfab/test/integration/e2e/join-channel.js#L74

GuillaumeCisco (Thu, 28 Feb 2019 13:52:09 GMT):
I also think the hardcoded variable is due to a bad replace when the variable has been added in the signature method

dexhunter (Thu, 28 Feb 2019 13:56:56 GMT):
Hmm.. but I thought the requestor must be an admin? So are you suggesting that we should check whether the requestor is the orderer admin?

dexhunter (Thu, 28 Feb 2019 13:56:56 GMT):
Hmm.. but I thought the orderer must be an admin? So are you suggesting that we should check whether the orderer is the orderer admin?

dexhunter (Thu, 28 Feb 2019 14:00:30 GMT):
Hmm... what do you mean by orderer admin? @GuillaumeCisco From my understanding, only a User have the role of either MEMBER or ADMIN, for msp, there are peers & orderers, but I don't know what's orderer admin?

baohua (Thu, 28 Feb 2019 14:04:01 GMT):
there are different organizations, orderer org is one.

dexhunter (Thu, 28 Feb 2019 14:04:05 GMT):
I am not sure if an requestor is not an admin could still make the operation though. I think you need to have the admin privilege to do it?

baohua (Thu, 28 Feb 2019 14:04:38 GMT):
there can be other non-orderer orgs like org1, org2

baohua (Thu, 28 Feb 2019 14:04:46 GMT):
who only owns some peer nodes

GuillaumeCisco (Thu, 28 Feb 2019 14:10:54 GMT):
In puth this in a nutshell, I think this hardcoded variable is just a forgotten review. Simply replacing it to `orderer_name` should do the trick

GuillaumeCisco (Thu, 28 Feb 2019 14:10:54 GMT):
To put this in a nutshell, I think this hardcoded variable is just a forgotten review. Simply replacing it to `orderer_name` should do the trick

dexhunter (Thu, 28 Feb 2019 14:33:47 GMT):
https://gerrit.hyperledger.org/r/#/c/29705/

dexhunter (Thu, 28 Feb 2019 14:35:24 GMT):
@GuillaumeCisco Nope, I don't think `orderer_name` has anything to do with the requestor. Maybe this could clarify things? https://github.com/hyperledger/fabric-sdk-node/blob/0d24cec10f/docs/tutorials/app-dev-env-setup.md#what-makes-up-a-hyperledger-fabric-application-development-environment

GuillaumeCisco (Thu, 28 Feb 2019 14:48:13 GMT):
I'm not opposing the requestor and the admin orderer. I just think we should only replace the hardcoded part `orderer.example.com` to `orderer_name`, this is the simpliest fix, and won't break anything. As all the tests example I've looked at in the fabric-sdk-node use the admin orderer and not the requestor, I think we should do the same. As described in the doc you've pointed out: ``` As discussed above, the orderer should be the first step to bootstrap (launch) a network. The orderer will need the initial configurations wrapped inside a genesis block. Follow the instructions here to use the configtxgen tool to generate a genesis.block. The output, a genesis block file for the orderer, will be used in the next step to launch the orderer node. ```

dexhunter (Thu, 28 Feb 2019 15:31:25 GMT):
@GuillaumeCisco Oh, I see your point. Will modify the code. Many thanks!

GuillaumeCisco (Thu, 28 Feb 2019 15:32:09 GMT):
no problem ;) These parts are very hard to put in a global thinking

dexhunter (Thu, 28 Feb 2019 15:32:57 GMT):
Yep, also thanks to @baohua for the previous comments. Yep, I think if there are some orgs with no orderer that will be problems

wangdong (Fri, 01 Mar 2019 09:38:20 GMT):
@GuillaumeCisco I have reviewed your patch which are very good. Only some minors, please consider them.

GuillaumeCisco (Fri, 01 Mar 2019 09:40:06 GMT):
Thanks @wangdong , I think @baohua will be happy to hear that

wangdong (Fri, 01 Mar 2019 09:49:10 GMT):
@baohua are you happy? :wink:

baohua (Fri, 01 Mar 2019 10:19:02 GMT):
Sure, thanks all for the comments, will submit first. Let's keep updating the documentation.

dexhunter (Sat, 02 Mar 2019 17:03:05 GMT):
https://gerrit.hyperledger.org/r/#/c/29762/ I just implemented peer_query in the test, will add config and interests tomorrow or later, just wonder your guys opinion on whether we should add more classes to represent things like Singner, msp_manager, etc as in node sdk. And I am currently using LBYL style, would love to change to more pythonic EAFP, but wonder your guys opinion on whether to change. Thanks.

dexhunter (Sun, 03 Mar 2019 05:40:58 GMT):
merged, thanks @baohua

dexhunter (Sun, 03 Mar 2019 18:03:10 GMT):
https://gerrit.hyperledger.org/r/29772

wangdong (Mon, 04 Mar 2019 01:11:09 GMT):
Regarding the arguments explanation for the function, I think we need unify the format. I have seen different style in the patch.

dexhunter (Mon, 04 Mar 2019 03:13:17 GMT):
@wangdong agree, I have seen that too and I think we should use google python style (https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings)

dexhunter (Mon, 04 Mar 2019 03:15:47 GMT):
basically instead of writing something like ``` :param X: X ``` We need to write like ``` Args: X: X ```

dexhunter (Mon, 04 Mar 2019 06:51:28 GMT):
Any suggestions? @baohua

baohua (Mon, 04 Mar 2019 07:36:44 GMT):
Originally we start with the google way. so let's try best to use it unless there's strong reason. :)

ajmeraharsh (Tue, 05 Mar 2019 06:18:31 GMT):
Has joined the channel.

ajmeraharsh (Tue, 05 Mar 2019 06:19:56 GMT):
Does the lastest sdk-py allows `transient` field for passing Private Data?

dexhunter (Tue, 05 Mar 2019 06:24:41 GMT):
@ajmeraharsh Hi, we do allow `TransientMap` in chaincode proposal

ajmeraharsh (Tue, 05 Mar 2019 06:27:14 GMT):
can you share any example i can refer? I could find much with chaincode invoke method

ajmeraharsh (Tue, 05 Mar 2019 06:27:14 GMT):
@dexhunter thanks for responding. Can you share any example i can refer? I could find much with chaincode invoke method

ajmeraharsh (Tue, 05 Mar 2019 06:32:15 GMT):
@dexhunter thanks for responding. Can you share any example i can refer? I could find much with chaincode invoke method

dexhunter (Tue, 05 Mar 2019 06:55:54 GMT):
@ajmeraharsh Hmm... sorry, we do support `transient` at lower level (by channel) but we don't have a high-level api (with client) on this. The underlying one is there: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/transaction/tx_proposal_request.py#L31

dexhunter (Tue, 05 Mar 2019 06:57:16 GMT):
If you know how to use `send_tx_proposal` (https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/channel/channel.py#L580) basically you can build one yourself, but I will create an issue on this. Thanks for reporting.

ajmeraharsh (Tue, 05 Mar 2019 06:59:55 GMT):
Thanks @dexhunter that helps a lot. I will report the issue

ajmeraharsh (Tue, 05 Mar 2019 07:00:26 GMT):
Would you by any chance know if I can get `transient` field from sdk-node? I have already asked this in the channel, but haven't got much details yet

ajmeraharsh (Tue, 05 Mar 2019 07:00:26 GMT):
Would you by any chance know if I can get `transient` field exists on sdk-node? I have already asked this in the channel, but haven't got much details yet

dexhunter (Tue, 05 Mar 2019 07:01:24 GMT):
I don't quite remember details, but I think you need to create a `request` object with `transient` attribute and pass it to chaincode operation methods in sdk-node

dexhunter (Tue, 05 Mar 2019 07:03:31 GMT):
@ajmeraharsh Maybe this helps?: https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/test/scenario/features/lib/chaincode.js#L214

ajmeraharsh (Tue, 05 Mar 2019 07:13:40 GMT):
you nailed it bro! though it is again for low level. I found the high level one right here `https://fabric-sdk-node.github.io/release-1.4/module-fabric-network.Transaction.html#setTransient__anchor`

baohua (Tue, 05 Mar 2019 10:47:39 GMT):
@here we will cancel this week's meeting due to hyperledger bootcamp. Thanks!

wangdong (Tue, 05 Mar 2019 13:22:56 GMT):
Some one is asking if our sdk can be used for production env.

wangdong (Tue, 05 Mar 2019 13:23:16 GMT):
It seems that we have some attention already.

GuillaumeCisco (Tue, 05 Mar 2019 13:33:43 GMT):
no as channel event hub is not yet implemented

dexhunter (Tue, 05 Mar 2019 14:41:30 GMT):
https://gerrit.hyperledger.org/r/#/c/29832/

dexhunter (Tue, 05 Mar 2019 16:01:39 GMT):
The travis build on github failed again because `configtxgen` is not included in the path: https://travis-ci.com/hyperledger/fabric-sdk-py/builds/103219895

GuillaumeCisco (Tue, 05 Mar 2019 16:31:27 GMT):
For information, the fabric-sdk-java use this nomenclature for the Mututl TLS support: https://github.com/hyperledger/fabric-sdk-java/blob/master/src/test/fixture/sdkintegration/network_configs/network-config-tls.yaml#L295

GuillaumeCisco (Tue, 05 Mar 2019 16:31:27 GMT):
For information, the fabric-sdk-java uses this nomenclature for the Mututl TLS support: https://github.com/hyperledger/fabric-sdk-java/blob/master/src/test/fixture/sdkintegration/network_configs/network-config-tls.yaml#L295

wangdong (Wed, 06 Mar 2019 01:41:39 GMT):
The event hub is missed yet?

wangdong (Wed, 06 Mar 2019 02:11:11 GMT):
@GuillaumeCisco are you working on the eventhub?

dexhunter (Wed, 06 Mar 2019 02:54:23 GMT):
@wangdong he is. WIP: https://gerrit.hyperledger.org/r/#/c/29078/

wangdong (Wed, 06 Mar 2019 02:54:51 GMT):
this is a ripe patch?

dexhunter (Wed, 06 Mar 2019 02:55:34 GMT):
nope, just proof of concept I think

dexhunter (Wed, 06 Mar 2019 02:55:56 GMT):
but I can help with event service

dexhunter (Wed, 06 Mar 2019 03:52:20 GMT):
@GuillaumeCisco I see. BTW, I think we should use `yaml` package instead of `json` since YAML is a superset of JSON

dexhunter (Wed, 06 Mar 2019 04:01:30 GMT):
Anyone used yapf for autoformat? https://github.com/google/yapf/

GuillaumeCisco (Wed, 06 Mar 2019 08:35:30 GMT):
I strongly discourage yaml

GuillaumeCisco (Wed, 06 Mar 2019 08:36:18 GMT):
I'm not working on the event hub right now. This PR https://gerrit.hyperledger.org/r/#/c/29078/ is just a basic translation of the one we can find in fabric-sdk-node. The connect part, the most important has not been implemented

GuillaumeCisco (Wed, 06 Mar 2019 08:36:18 GMT):
I'm not working on the event hub right now. This PR https://gerrit.hyperledger.org/r/#/c/29078/ is just a basic translation of the implemtnation we can find in fabric-sdk-node. The connect part, the most important has not been implemented

GuillaumeCisco (Wed, 06 Mar 2019 08:36:18 GMT):
I'm not working on the event hub right now. This PR https://gerrit.hyperledger.org/r/#/c/29078/ is just a basic translation of the implementation we can find in fabric-sdk-node. The connect part, the most important has not been implemented

GuillaumeCisco (Wed, 06 Mar 2019 08:36:18 GMT):
I'm not working on the event hub right now. This PR https://gerrit.hyperledger.org/r/#/c/29078/ is just a basic translation of the implementation we can find in fabric-sdk-node. The connect part, the most important, has not been implemented

GuillaumeCisco (Wed, 06 Mar 2019 10:42:37 GMT):
@baohua I think we can close this issue: https://jira.hyperledger.org/browse/FABP-197

dexhunter (Wed, 06 Mar 2019 11:33:42 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=jYtQrPWRoyyLmvamd) @GuillaumeCisco @GuillaumeCisco could you give the reason for discouragement?

dexhunter (Wed, 06 Mar 2019 11:33:42 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=jYtQrPWRoyyLmvamd) @GuillaumeCisco could you give the reason for discouragement?

GuillaumeCisco (Wed, 06 Mar 2019 12:55:18 GMT):
yaml introduce reference to objects which can be very confusing. Furthermore json is really close to the python dict object, very easy to read. And enhance performance in python. Yaml python support is poor (no reference handling). You can also easily stringify/load json data, not for yaml.

dexhunter (Wed, 06 Mar 2019 13:27:14 GMT):
@GuillaumeCisco I am not familiar with the object referencing you mentioned but I will check that later. The reason for yaml IMO is 1) yaml is a superset of json, which means you can use yaml to load json file but not the other way around as indicated there: https://stackoverflow.com/questions/1726802/what-is-the-difference-between-yaml-and-json-when-to-prefer-one-over-the-other 2) we can support both yaml and json configuration file for starting a fabric network What others opinions? @wangdong @baohua @Kelvin_Moutet

Kelvin_Moutet (Wed, 06 Mar 2019 13:28:26 GMT):
I prefer json too

Kelvin_Moutet (Wed, 06 Mar 2019 13:31:59 GMT):
We can load json with yaml, but do we want a mix of .json files and .yaml file for the user

Kelvin_Moutet (Wed, 06 Mar 2019 13:31:59 GMT):
We can load json with yaml, but do we want a mix of .json files and .yaml file for the user ?

Kelvin_Moutet (Wed, 06 Mar 2019 13:31:59 GMT):
We can load json with yaml, but do we want a mix of .json files and .yaml file for the user ?

wangdong (Wed, 06 Mar 2019 13:36:33 GMT):
by config file, what do you mean? the profile file?

Kelvin_Moutet (Wed, 06 Mar 2019 13:41:13 GMT):
yep

wangdong (Wed, 06 Mar 2019 13:51:33 GMT):
OK. Then json will be fine.

baohua (Wed, 06 Mar 2019 15:39:01 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=oshSAvSihWS8DEZyv) @GuillaumeCisco Ok, closed!

baohua (Wed, 06 Mar 2019 15:41:41 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=26Xd3vcf3a4K79dDa) @dexhunter No worry, in most cases, json and yaml can convert to each other easily. Yaml is more readable for human with shorter length, while json is popular in python. We can feel free to pick the json one as start (e.g., the network.json config is json).

baohua (Wed, 06 Mar 2019 15:42:15 GMT):
Besides, i will be in HK bootcamp these 2 days, feel free to find me if you're here :)

dexhunter (Wed, 06 Mar 2019 15:49:21 GMT):
https://gerrit.hyperledger.org/r/#/c/29889/

dexhunter (Wed, 06 Mar 2019 15:53:47 GMT):
@baohua Aw.. sorry I couldn't make it because I didn't get my exit-entry permit for traveling to Hong Kong. Besides, I will go to Singapore this Saturday. Anyways, I wish you have fruitful trip, all the best.

dexhunter (Wed, 06 Mar 2019 15:53:47 GMT):
@baohua Aw.. sorry I couldn't make it because I didn't get my exit-entry permit for traveling to Hong Kong. Besides, I will go to Singapore this Saturday. Anyways, I wish you have a fruitful trip, all the best.

dexhunter (Wed, 06 Mar 2019 17:07:36 GMT):
https://gerrit.hyperledger.org/r/#/c/29892/

baohua (Thu, 07 Mar 2019 01:49:52 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=zy7cbBN96JivKGmLe) @dexhunter +2!

GuillaumeCisco (Thu, 07 Mar 2019 08:38:26 GMT):
could we pass the python code to 120 characters instead of 79. I think supporting 79 characters nowadays is a nonsense

Kelvin_Moutet (Thu, 07 Mar 2019 11:19:05 GMT):
@GuillaumeCisco With smartphone 79 is not a nonsense, no ?

Kelvin_Moutet (Thu, 07 Mar 2019 11:19:05 GMT):
@GuillaumeCisco With smartphone, 79 characters is not a nonsense, no ?

cccc (Thu, 07 Mar 2019 11:38:15 GMT):
hi. When i use fabric-sdk-py, i encounter the problem that the vendor folder cannot be put into tar.gz . When i install chaincode with vendor folder, i debug the code, find run the section (https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/util/utils.py#L454), and raise ValueError("No chaincode file found!"). And i resolve the problem, the url of my commit is https://github.com/codeAndxv/fabric-sdk-py/commit/2284089c377081669d94e9f601f91e7cb5f2674d. Because i don't use lf id, and i don't have time to process cotribute. So please check the problem, and cosider whether is right.

nanspro (Thu, 07 Mar 2019 13:07:24 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=74c3Frdcc4HDw8RhA) @dexhunter Have you been able to solve this problem? 🙂

nanspro (Thu, 07 Mar 2019 13:09:08 GMT):
When I am running make test it is showing me failed error in joining channel

GuillaumeCisco (Thu, 07 Mar 2019 13:09:20 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=4vcf7Yqrb6q2FaZqE) @cccc from what I see, you add the possibility to support folders. I don't think it is necessary. I think the error may come from the way you created your chaincode

GuillaumeCisco (Thu, 07 Mar 2019 13:10:19 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=2b5c42b4-7f25-4f57-9d7b-b8580139e300) @nanspro is it about mutual TLS? If yes, I fixed it.

cccc (Thu, 07 Mar 2019 13:40:48 GMT):
@GuillaumeCisco but if don't add vendor folder, the chaincode instantiate failed

GuillaumeCisco (Thu, 07 Mar 2019 13:46:22 GMT):
isn't there a way to create a chaincode with autovendoring?

GuillaumeCisco (Thu, 07 Mar 2019 13:46:52 GMT):
From what I recall, the chaincode should includes its vendoring files

GuillaumeCisco (Thu, 07 Mar 2019 13:47:04 GMT):
Did you test without fabric-sdk-py? With the shell binaries?

cccc (Thu, 07 Mar 2019 13:58:57 GMT):
In my opinion, if the chaincode installed just uses the packages include in fabric-peer docker image, the chaincode instantiate without vendoro success too. If not, the instantiate will fail.

nanspro (Thu, 07 Mar 2019 14:05:04 GMT):
@GuillaumeCisco i think it's some grpc issue

nanspro (Thu, 07 Mar 2019 14:05:10 GMT):
```try: sleep(1) responses = send_transaction_proposal(proposal, tx_context, request['targets']) except Exception as e: > raise IOError("fail to send transaction proposal", e) ```

nanspro (Thu, 07 Mar 2019 14:06:00 GMT):
Tests are failing when `join_channel` is being called

nanspro (Thu, 07 Mar 2019 14:06:23 GMT):
The error is ```E OSError: [Errno fail to send transaction proposal] <_Rendezvous of RPC that terminated with: E status = StatusCode.UNAVAILABLE E details = "Connect Failed" E debug_error_string = "{"created":"@1551965852.330001424","description":"Failed to create subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":2267,"referenced_errors":[{"created":"@1551965852.329849920","description":"Pick Cancelled","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":242,"referenced_errors":[{"created":"@1551965852.329833333","description":"Connect Failed","file":"src/core/ext/filters/client_channel/subchannel.cc","file_line":962,"grpc_status":14,"referenced_errors":[{"created":"@1551965852.329773119","description":"Handshake read failed","file":"src/core/lib/security/transport/security_handshaker.cc","file_line":358,"referenced_errors":[{"created":"@1551965852.329768380","description":"Connection reset by peer","errno":104,"fd":9,"file":"src/core/lib/iomgr/tcp_posix.cc","file_line":471,"grpc_status":14,"os_error":"Connection reset by peer","syscall":"recvmsg","target_address":"ipv4:127.0.0.1:7051"}]}]}]}]}" E > ```

GuillaumeCisco (Thu, 07 Mar 2019 14:19:24 GMT):
@nanspro this is only a grpc return, not a grpc issue.

nanspro (Thu, 07 Mar 2019 14:21:25 GMT):
I didn't get you

nanspro (Thu, 07 Mar 2019 14:21:40 GMT):
Is it normal ?

nanspro (Thu, 07 Mar 2019 14:24:59 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=kjRZLKTGtSCBDEfq8) @GuillaumeCisco i am also facing the same error but i have added the path already

nanspro (Thu, 07 Mar 2019 14:31:15 GMT):
Ohh wait it worked

nanspro (Thu, 07 Mar 2019 14:33:50 GMT):
All the tests are running on my system finally

baohua (Fri, 08 Mar 2019 04:59:29 GMT):
https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md

ajmeraharsh (Fri, 08 Mar 2019 05:49:25 GMT):
Has left the channel.

y-arai (Fri, 08 Mar 2019 06:09:19 GMT):
Has joined the channel.

y-arai (Fri, 08 Mar 2019 06:09:41 GMT):
https://gerrit.hyperledger.org/r/#/c/29953/

baohua (Fri, 08 Mar 2019 06:14:06 GMT):
https://jira.hyperledger.org/projects/FABP/issues/FABP-209

baohua (Fri, 08 Mar 2019 06:31:04 GMT):
Congrats to the 1st contribution by @y-arai !

baohua (Fri, 08 Mar 2019 06:32:18 GMT):
https://hlf.readthedocs.io/en/latest/CONTRIBUTING.html#ways-to-contribute

rohitkhatri (Fri, 08 Mar 2019 10:46:19 GMT):
Has joined the channel.

rohitkhatri (Fri, 08 Mar 2019 11:37:00 GMT):
Is it safe to use python sdk in production?

rohitkhatri (Fri, 08 Mar 2019 11:54:03 GMT):
And how to install it, Isn't this available on pip?

baohua (Fri, 08 Mar 2019 13:56:15 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=Pd75wyjEYZ2mFWuyN) @rohitkhatri feel free to read our tutorial first: https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md.

Kelvin_Moutet (Fri, 08 Mar 2019 16:34:27 GMT):
https://gerrit.hyperledger.org/r/29960

Kelvin_Moutet (Fri, 08 Mar 2019 16:35:17 GMT):
@dexhunter We are starting to use the discovery api with our network

Kelvin_Moutet (Fri, 08 Mar 2019 16:35:57 GMT):
And We found very strange that `_discover` is a private method of channel

Kelvin_Moutet (Fri, 08 Mar 2019 16:41:56 GMT):
It is still work in progress (build fails on jenkins) and I need to see how to add a public discover api :)

baohua (Sat, 09 Mar 2019 14:23:38 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=KQsGr6Nv8PpeoZpnF) @Kelvin_Moutet :thumbsup:

dexhunter (Sat, 09 Mar 2019 16:59:17 GMT):
@Kelvin_Moutet I posted some comments on the patchset. Well, the public function of `discovery` in node sdk is a wrapper for the private one and it also integrates with `initialize` method on Channel, and since we don't have `initialize` method yet I was wondering if it is necessary to wrap the private function up.

dexhunter (Sun, 10 Mar 2019 07:45:46 GMT):
Hi, I just arrived in Singapore and will spend at least 5 months there. I am willing to meetup or host if anyone comes nearby :slight_smile: .

ak97m (Sun, 10 Mar 2019 12:37:22 GMT):
Has joined the channel.

baohua (Sun, 10 Mar 2019 13:10:27 GMT):
Cool, Singapore has very active fintech culture!

baohua (Sun, 10 Mar 2019 13:10:27 GMT):
Cool, Singapore has a very active fintech culture!

KyunghoKim (Tue, 12 Mar 2019 03:12:27 GMT):
Has joined the channel.

dexhunter (Wed, 13 Mar 2019 01:52:49 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-03-14 welcome to attend, thanks!

GuillaumeCisco (Thu, 14 Mar 2019 08:42:34 GMT):
Hello I'd like an enlightenment about the `--waitForEvent` option. In the doc we can read: `--waitForEvent Whether to wait for the event from each peer's deliver filtered service signifying that the 'invoke' transaction has been committed successfully` I'd like to know if the `commit` part relate to the endorser or the orderer. In another way: when we have waited for the event, is the block committed in the ledger from the orderer, or has it been only validated by the endorser peer?

wangdong (Thu, 14 Mar 2019 09:09:37 GMT):
This should be from peer when to commit the block

GuillaumeCisco (Thu, 14 Mar 2019 11:06:21 GMT):
We've just succeeded making the peer channel based event hub working fabric-sdk-py. Unfortunately we still have issues for supporting mutual tls

GuillaumeCisco (Thu, 14 Mar 2019 11:06:29 GMT):
As explained here: https://hyperledger-fabric.readthedocs.io/en/release-1.3/peer_event_services.html

GuillaumeCisco (Thu, 14 Mar 2019 11:06:43 GMT):
``` If mutual TLS is enabled on the peer, the TLS certificate hash must be set in the envelope’s channel header. ```

GuillaumeCisco (Thu, 14 Mar 2019 11:07:17 GMT):
we do not know how to compute this hash, we tried with a raw certificate, then a based64 certificate, and we still do not have events

GuillaumeCisco (Thu, 14 Mar 2019 11:10:58 GMT):
https://gerrit.hyperledger.org/r/#/c/29078/

GuillaumeCisco (Thu, 14 Mar 2019 11:14:32 GMT):
https://gerrit.hyperledger.org/r/#/c/29078/5/hfc/fabric/peer.py

GuillaumeCisco (Thu, 14 Mar 2019 11:20:12 GMT):
we can also see in the `common.proto`: ``` // If mutual TLS is employed, this represents // the hash of the client's TLS certificate bytes tls_cert_hash = 8; ```

GuillaumeCisco (Thu, 14 Mar 2019 11:20:34 GMT):
so it looks like we should send bytes

baohua (Thu, 14 Mar 2019 13:04:50 GMT):
https://zoom.us/my/hyperledger.community.backup

baohua (Thu, 14 Mar 2019 13:16:41 GMT):
sha256(tls_cert)

baohua (Thu, 14 Mar 2019 13:18:18 GMT):
base64.b64encode(sha256(tls_cert))

GuillaumeCisco (Thu, 14 Mar 2019 13:19:56 GMT):
`TypeError: <_sha256.sha256 object at 0x7fa5f5c0ceb0> has type , but expected one of: ((,),)`

GuillaumeCisco (Thu, 14 Mar 2019 13:21:37 GMT):
`TypeError: a bytes-like object is required, not '_sha256.sha256'`

baohua (Thu, 14 Mar 2019 13:42:46 GMT):
oh, you should get the hashed string value as bytes

baohua (Thu, 14 Mar 2019 13:42:55 GMT):
seems you got the object

baohua (Thu, 14 Mar 2019 13:43:58 GMT):
See https://docs.python.org/3/library/hashlib.html for example

GuillaumeCisco (Thu, 14 Mar 2019 13:44:15 GMT):
WE've just tried with `sha256(root_cert).hexdigest().encode()`

GuillaumeCisco (Thu, 14 Mar 2019 13:44:15 GMT):
We've just tried with `sha256(root_cert).hexdigest().encode()`

GuillaumeCisco (Thu, 14 Mar 2019 13:44:22 GMT):
no events are sent

GuillaumeCisco (Thu, 14 Mar 2019 13:45:35 GMT):
same with `base64.b64encode(sha256(root_cert).hexdigest().encode())`

baohua (Thu, 14 Mar 2019 13:46:54 GMT):
interesting, the root_cert is your client's TLS cert, right?

baohua (Thu, 14 Mar 2019 13:50:18 GMT):
Here's example for go sdk: https://github.com/hyperledger/fabric-sdk-go/blob/f198238ee7dac8113e84a445a49fc4daf37bc251/pkg/fab/txn/env.go#L149

baohua (Thu, 14 Mar 2019 13:50:23 GMT):
@GuillaumeCisco

GuillaumeCisco (Thu, 14 Mar 2019 13:51:42 GMT):
yeah

GuillaumeCisco (Thu, 14 Mar 2019 13:51:57 GMT):
we've juste found this in the node sdk: ``` getClientCertHash() { if (this.clientCert) { const der_cert = utils.pemToDER(this.clientCert); return HashPrimitives.SHA2_256(der_cert, null /* We need a Buffer */); } else { return null; } } ```

GuillaumeCisco (Thu, 14 Mar 2019 13:51:57 GMT):
we've just found this in the node sdk: ``` getClientCertHash() { if (this.clientCert) { const der_cert = utils.pemToDER(this.clientCert); return HashPrimitives.SHA2_256(der_cert, null /* We need a Buffer */); } else { return null; } } ```

GuillaumeCisco (Thu, 14 Mar 2019 13:52:07 GMT):
``` module.exports.pemToDER = (pem) => { // PEM format is essentially a nicely formatted base64 representation of DER encoding // So we need to strip "BEGIN" / "END" header/footer and string line breaks // Then we simply base64 decode it and convert to hex string const contents = pem.toString().trim().split(/\r?\n/); // check for BEGIN and END tags if (!(contents[0].match(/-----\s*BEGIN ?([^-]+)?-----/) && contents[contents.length - 1].match(/-----\s*END ?([^-]+)?-----/))) { throw new Error('Input parameter does not appear to be PEM-encoded.'); } contents.shift(); // remove BEGIN contents.pop(); // remove END // base64 decode and encode as hex string // var hex = Buffer.from(contents.join(''), 'base64').toString('hex'); const hex = Buffer.from(contents.join(''), 'base64'); return hex; }; ```

GuillaumeCisco (Thu, 14 Mar 2019 13:52:16 GMT):
Looks like we should make some modification

baohua (Thu, 14 Mar 2019 13:52:51 GMT):
It seems golang uses direct sha256 calculation: https://github.com/hyperledger/fabric-sdk-go/blob/f198238ee7dac8113e84a445a49fc4daf37bc251/pkg/core/config/comm/comm.go#L50

baohua (Thu, 14 Mar 2019 13:52:51 GMT):
It seems golang uses direct sha256 calculation on the certificate: https://github.com/hyperledger/fabric-sdk-go/blob/f198238ee7dac8113e84a445a49fc4daf37bc251/pkg/core/config/comm/comm.go#L50

GuillaumeCisco (Thu, 14 Mar 2019 13:54:13 GMT):
It looks like we should remove the `BEGIN` `END` part

GuillaumeCisco (Thu, 14 Mar 2019 13:54:32 GMT):
I don not know if a function already exists in the fabric-sdk-py for achieving this

baohua (Thu, 14 Mar 2019 13:54:52 GMT):
oh, it seems converting the PEM format to DER format.

baohua (Thu, 14 Mar 2019 13:55:10 GMT):
both are formats for a certificate. but different encoded.

baohua (Thu, 14 Mar 2019 13:55:26 GMT):
FYI. https://stackoverflow.com/questions/22743415/what-are-the-differences-between-pem-cer-and-der/22743616

GuillaumeCisco (Thu, 14 Mar 2019 14:00:27 GMT):
We've just tried with: ``` arr = root_cert.split(b'\n') der = b''.join(arr[1:-2]) kwargs['tls_cert_hash'] = sha256(base64.b64encode(der)).hexdigest().encode() ```

GuillaumeCisco (Thu, 14 Mar 2019 14:00:27 GMT):
We've just tried with: ``` arr = root_cert.split(b'\n') der = b''.join(arr[1:-2]) kwargs['tls_cert_hash'] = sha256(base64.b64encode(der)).hexdigest().encode() ```

GuillaumeCisco (Thu, 14 Mar 2019 14:00:31 GMT):
no more success

GuillaumeCisco (Thu, 14 Mar 2019 14:01:58 GMT):
``` arr = root_cert.split(b'\n') der = b''.join(arr[1:-2]) kwargs['tls_cert_hash'] = sha256(der).hexdigest().encode() ``` still no more success

GuillaumeCisco (Thu, 14 Mar 2019 14:04:38 GMT):
we can see in the logs of the peer: ``` Rejecting deliver for 172.18.0.1:36066 due to envelope validation error: claimed TLS cert hash is [77 73 73 67 65 84 67 67 65 97 101 103 65 119 73 66 65 103 73 85 98 105 114 67 111 56 57 108 114 115 81 108 99 103 53 55 113 98 70 57 86 121 97 78 68 101 103 119 67 103 89 73 75 111 90 73 122 106 48 69 65 119 73 119 88 84 69 76 77 65 107 71 65 49 85 69 66 104 77 67 82 108 73 120 71 84 65 88 66 103 78 86 66 65 103 84 69 69 120 118 97 88 74 108 76 85 70 48 98 71 70 117 100 71 108 120 100 87 85 120 68 122 65 78 66 103 78 86 66 65 99 84 66 107 53 104 98 110 82 108 99 122 69 79 77 65 119 71 65 49 85 69 67 104 77 70 98 51 100 114 97 87 52 120 69 106 65 81 66 103 78 86 66 65 77 84 67 88 74 106 89 83 49 118 100 50 116 112 98 106 65 101 70 119 48 120 79 84 65 122 77 84 81 120 77 84 69 119 77 68 66 97 70 119 48 122 78 68 65 122 77 84 65 120 77 84 69 119 77 68 66 97 77 70 48 120 67 122 65 74 66 103 78 86 66 65 89 84 65 107 90 83 77 82 107 119 70 119 89 68 86 81 81 73 69 120 66 77 98 50 108 121 90 83 49 66 100 71 120 104 98 110 82 112 99 88 86 108 77 81 56 119 68 81 89 68 86 81 81 72 69 119 90 79 89 87 53 48 90 88 77 120 68 106 65 77 66 103 78 86 66 65 111 84 66 87 57 51 97 50 108 117 77 82 73 119 69 65 89 68 86 81 81 68 69 119 108 121 89 50 69 116 98 51 100 114 97 87 52 119 87 84 65 84 66 103 99 113 104 107 106 79 80 81 73 66 66 103 103 113 104 107 106 79 80 81 77 66 66 119 78 67 65 65 84 50 108 74 90 77 115 67 109 53 51 104 100 101 65 80 114 108 74 87 55 108 108 86 85 71 109 113 48 122 99 119 84 113 69 89 77 115 87 107 81 52 113 50 113 77 112 76 66 98 105 110 118 53 118 52 120 68 74 85 97 52 120 75 54 66 50 56 115 85 75 85 47 122 71 103 75 73 110 78 56 43 119 120 110 99 111 48 85 119 81 122 65 79 66 103 78 86 72 81 56 66 65 102 56 69 66 65 77 67 65 81 89 119 69 103 89 68 86 82 48 84 65 81 72 47 66 65 103 119 66 103 69 66 47 119 73 66 65 68 65 100 66 103 78 86 72 81 52 69 70 103 81 85 87 113 110 110 66 120 79 51 72 57 100 111 79 67 111 73 106 122 49 106 51 78 82 110 88 53 56 119 67 103 89 73 75 111 90 73 122 106 48 69 65 119 73 68 83 65 65 119 82 81 73 104 65 77 119 82 113 54 115 112 89 53 105 97 52 99 56 74 73 72 118 122 85 102 66 75 67 89 112 68 81 81 49 74 105 116 69 76 86 68 73 114 56 113 88 117 65 105 65 100 55 104 108 110 111 102 98 118 55 103 81 65 47 82 107 84 107 77 85 55 90 104 70 86 86 120 88 70 55 69 66 85 51 118 81 78 87 78 90 49 50 65 61 61] but actual TLS cert hash is [2 227 122 45 159 68 35 140 213 115 37 255 153 78 155 205 105 201 248 77 52 89 33 120 180 157 199 98 222 35 169 138] ```

rohitkhatri (Thu, 14 Mar 2019 14:08:54 GMT):
Has left the channel.

GuillaumeCisco (Thu, 14 Mar 2019 14:12:42 GMT):
is there any doc about this, we've testes almot 20 possibilities

GuillaumeCisco (Thu, 14 Mar 2019 14:12:42 GMT):
is there any doc about this, we've tested almot 20 possibilities

GuillaumeCisco (Thu, 14 Mar 2019 14:24:38 GMT):
We think the right code is: ``` arr = root_cert.split(b'\n') der = b''.join(arr[1:-2]) kwargs['tls_cert_hash'] = sha256(base64.b64decode(der)).digest() ``` but we still do not have success

baohua (Thu, 14 Mar 2019 14:51:30 GMT):
i guess `der = base64.b64decode(pem[1:-2])`

baohua (Thu, 14 Mar 2019 14:51:43 GMT):
according to https://stackoverflow.com/questions/22743415/what-are-the-differences-between-pem-cer-and-der/22743616

baohua (Thu, 14 Mar 2019 14:53:37 GMT):
Maybe can contact `troy@troyronda.com`, who wrote the golang tls cert hash code.

baohua (Thu, 14 Mar 2019 14:59:02 GMT):
And yes, i understand the pain, it's open source, it's often to need to read doc and code, or contact other developers.

GuillaumeCisco (Thu, 14 Mar 2019 15:18:36 GMT):
I think we've just found doing some reverse engineering

GuillaumeCisco (Thu, 14 Mar 2019 15:18:36 GMT):
I think we've just found by doing some reverse engineering

GuillaumeCisco (Thu, 14 Mar 2019 15:18:44 GMT):
The cert we've passed was not the right one

GuillaumeCisco (Thu, 14 Mar 2019 15:18:50 GMT):
but the method seems the right one

GuillaumeCisco (Thu, 14 Mar 2019 15:21:18 GMT):
yes, it works, will commit :sweat_smile:

GuillaumeCisco (Thu, 14 Mar 2019 15:28:18 GMT):
For our project, fabric-sdk-py is finally available for production. This is a very big milestone for us :tada:

GuillaumeCisco (Thu, 14 Mar 2019 15:30:38 GMT):
https://gerrit.hyperledger.org/r/#/c/29078/

Kelvin_Moutet (Thu, 14 Mar 2019 15:44:41 GMT):
@dexhunter I'm trying to add a second init function for the client `init_with_discovery`

dexhunter (Thu, 14 Mar 2019 15:53:22 GMT):
sure, thanks @Kelvin_Moutet

GuillaumeCisco (Thu, 14 Mar 2019 17:01:35 GMT):
Build is finally successful: https://gerrit.hyperledger.org/r/#/c/29078/

GuillaumeCisco (Thu, 14 Mar 2019 17:04:44 GMT):
We should update the README and the tutorial for telling user to add the `waitForEvent=True` option for being sure the block has been committed in the ledger @baohua

wangdong (Fri, 15 Mar 2019 01:35:08 GMT):
@GuillaumeCisco really great work on this.

wangdong (Fri, 15 Mar 2019 01:36:07 GMT):
@Kelvin_Moutet regarding the init function, I would like you to refer to the node sdk.

wangdong (Fri, 15 Mar 2019 01:38:54 GMT):
It would be good to put all the init work in this function. This discovery service should be one option requested by the sdk user.

wangdong (Fri, 15 Mar 2019 01:42:49 GMT):
when to init a channel, the msp config can be got for later endorsement verification.

wangdong (Fri, 15 Mar 2019 01:43:26 GMT):
Just my points for your consideration.

wangdong (Fri, 15 Mar 2019 01:53:47 GMT):
@GuillaumeCisco As I reviewed your code, I got some comments. This event service is channel based not the old one. So let's just decouple it from peer.

wangdong (Fri, 15 Mar 2019 02:05:45 GMT):
I got no time to review all the code. I will do this tomorrow.

dexhunter (Fri, 15 Mar 2019 02:43:19 GMT):
should we set default True for `waitForEvent` @GuillaumeCisco ?

baohua (Fri, 15 Mar 2019 04:01:30 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=3EpPaZ8a9hnBsDhvd) @GuillaumeCisco Definitely!

baohua (Fri, 15 Mar 2019 04:02:53 GMT):
Merged, thanks!

GuillaumeCisco (Fri, 15 Mar 2019 08:22:21 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=CtcqQPD2dzQCyaR5C) @wangdong I don't understand. Can you be more specific please.

GuillaumeCisco (Fri, 15 Mar 2019 08:24:06 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=KoLGe5tdzwfyZan52) @dexhunter The shell peer binary has it False by default : https://hyperledger-fabric.readthedocs.io/en/release-1.4/commands/peerchaincode.html#peer-chaincode-invoke I've just adapted it for being false by default too. BVut as I said long time ago. The method we provide `chaincode_invoke` should not even belong to the client. It is more like an helper.

GuillaumeCisco (Fri, 15 Mar 2019 08:26:09 GMT):
Regarding all your comments on the PR. I agree with you, but I was too tired yesterday for creating tests. I will make a new Jira issue for adding tests and cleaning code

dexhunter (Fri, 15 Mar 2019 08:34:37 GMT):
Sure, thanks @GuillaumeCisco

GuillaumeCisco (Fri, 15 Mar 2019 08:35:07 GMT):
https://jira.hyperledger.org/browse/FABP-211

Kelvin_Moutet (Fri, 15 Mar 2019 09:59:50 GMT):
@dexhunter https://gerrit.hyperledger.org/r/#/c/29960/ updated :)

ZLL (Fri, 15 Mar 2019 11:16:28 GMT):
Has joined the channel.

ZLL (Fri, 15 Mar 2019 11:21:18 GMT):
Can fabric 1.0 use python sdk? Fabric-sdk-py does not have multiple versions.

GuillaumeCisco (Fri, 15 Mar 2019 13:06:12 GMT):
soon

dexhunter (Fri, 15 Mar 2019 15:21:08 GMT):
@Kelvin_Moutet I think after this update, the discovery api is mostly implemented, are there anything else left?

Kelvin_Moutet (Fri, 15 Mar 2019 15:23:27 GMT):
Nope, I think the rest will depend on the use of this API. Users will tell us in the future what needs to be changed :)

dexhunter (Fri, 15 Mar 2019 15:27:52 GMT):
Sure, merged! Thank you! @Kelvin_Moutet

GuillaumeCisco (Fri, 15 Mar 2019 15:33:22 GMT):
https://gerrit.hyperledger.org/r/#/c/30121/

GuillaumeCisco (Fri, 15 Mar 2019 15:40:15 GMT):
yesterday we wrote about: v0.9.0: Channel update and Discovery

GuillaumeCisco (Fri, 15 Mar 2019 15:40:15 GMT):
yesterday we wrote about: v0.9.0: Channel update

GuillaumeCisco (Fri, 15 Mar 2019 15:40:22 GMT):
what should be achieved?

GuillaumeCisco (Fri, 15 Mar 2019 15:41:47 GMT):
is it a loadConfigUpdate like we can see here in the fabric-sdk-node? -> https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/fabric-client/lib/Channel.js#L1957

dexhunter (Sat, 16 Mar 2019 02:04:05 GMT):
@GuillaumeCisco if I understand correctly, this is function sending an update transaction to update channel's config

dexhunter (Sat, 16 Mar 2019 02:07:07 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=e45BNYCXrFkbNmTws) @GuillaumeCisco merged, thank you~

GuillaumeCisco (Sat, 16 Mar 2019 08:49:47 GMT):
Hum I see @dexhunter can you provide some official documentation and the related code in the node sdk?

GuillaumeCisco (Sat, 16 Mar 2019 08:50:12 GMT):
Looks easy to add for me

dexhunter (Sat, 16 Mar 2019 09:13:27 GMT):
@GuillaumeCisco I think this one is related https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/docs/tutorials/channel-create.md#signing-and-submitting-the-channel-update since I am at FOSS Asia Summit now, if we can wait, I could add it tonight or tomorrow. Or free feel to self-assign the task. Thanks!

GuillaumeCisco (Sat, 16 Mar 2019 19:09:04 GMT):
I have something urgent to do before Wednesday, so I won't be available before :/

dexhunter (Sun, 17 Mar 2019 03:59:33 GMT):
Sure, I will look at it and I think this is also related: https://hyperledger-fabric.readthedocs.io/en/latest/configtx.html

wangdong (Sun, 17 Mar 2019 13:40:35 GMT):
@GuillaumeCisco The first event service is called eventhub which comes from peers. user would have to use it along with peer, creating an event service, connecting, listening the specific peer. But there were some problem with this design. You will have to take care all the details, connecting and disconnecting or reuse. People always get confused when to reuse it. And there are so many issue in this. And other users can not get the event service from other peers in the same channel. Then here comes the channel event service. It is based on channel. client can register the event service and it will not have to take care the peer. And the event will be distributed to the channel. The registered client can get them. 1. As I see your get_event is block event. There are three kind of events now, the other two are chain code and transaction 2. This kind of events should be asynchronous event. I did not get how did you cope with this. Previously we handle this with queue and rx module. But we planed to implement await/async. So the best design(from my mind) is to design this event service as standalone class and it should expose API to client or channel. Yes of course I am affected by nodejs sdk. I think it is a good reference.

dexhunter (Sun, 17 Mar 2019 16:05:07 GMT):
I thought the first eventhub (from peer) is deprecated, no?

dexhunter (Sun, 17 Mar 2019 16:08:14 GMT):
Just a remainder, the travis-ci build on github is still failing due to lack of configtxgen tool, I am not sure why it does not download the fabric-bin.

GuillaumeCisco (Sun, 17 Mar 2019 17:16:16 GMT):
Yes @wangdong . we've only implementend block events, and we decided to create the client on each peer by default. Everything is available from the client, no need to do some operations on the channel. Regarding the async/await, we are working on it. @Kelvin_Moutet is close to a solution.

wangdong (Mon, 18 Mar 2019 01:13:10 GMT):
@dexhunter yes, it is deprecated.

wangdong (Mon, 18 Mar 2019 01:31:16 GMT):
@GuillaumeCisco Ok. you will couple the event with client. I would like you to articulate your idea about this design so that we can discuss it.

wangdong (Mon, 18 Mar 2019 01:31:16 GMT):
@GuillaumeCisco Ok. you will couple the event with client. I would like you to articulate your idea about this design. I would like know more about it.

wangdong (Mon, 18 Mar 2019 01:32:20 GMT):
@Kelvin_Moutet It is great the asynchronous will be implemented.

wangdong (Mon, 18 Mar 2019 01:39:03 GMT):
@dexhunter @baohua As I see, that two +2 has been done for this event patch. This is only my comments. If you think it is OK I am fine.

dexhunter (Mon, 18 Mar 2019 02:28:45 GMT):
@baohua I think we already have the update channel function ( https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L562-L577 ), but I don't see the test, so I am just creating a test to see how to perform this operation and will update docs accordingly.

Kelvin_Moutet (Mon, 18 Mar 2019 08:48:38 GMT):
As grpc stream are not async generator/iterator, using async/await is not possible right now. https://stackoverflow.com/questions/48979972/is-grpc-server-response-streaming-still-blocking/49501641#49501641 https://github.com/grpc/grpc/issues/6046 https://github.com/hubo1016/aiogrpc

GuillaumeCisco (Mon, 18 Mar 2019 15:04:26 GMT):
As @Kelvin_Moutet grpc does not work with asyncio by default, so we used aiogrpc (https://github.com/hubo1016/aiogrpc). It works great but it deals with a lot of refactoring. I'm currently working on it. I'll make a PR which how to use the SDK the async way

GuillaumeCisco (Mon, 18 Mar 2019 15:04:26 GMT):
As @Kelvin_Moutet said, grpc does not work with asyncio by default, so we used aiogrpc (https://github.com/hubo1016/aiogrpc). It works great but it deals with a lot of refactoring. I'm currently working on it. I'll make a PR which how to use the SDK the async way

GuillaumeCisco (Mon, 18 Mar 2019 15:04:26 GMT):
As @Kelvin_Moutet said, grpc does not work with asyncio by default, so we used aiogrpc (https://github.com/hubo1016/aiogrpc). It works great but it deals with a lot of refactoring. I'm currently working on it. I'll make a PR which show how to use the SDK the async way

GuillaumeCisco (Mon, 18 Mar 2019 15:04:59 GMT):
WEll done @dexhunter looks like we already ave a channel update indeed

GuillaumeCisco (Mon, 18 Mar 2019 15:04:59 GMT):
Well done @dexhunter looks like we already ave a channel update indeed

dexhunter (Mon, 18 Mar 2019 17:11:19 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=zucq2tgv2g8rMgrAr) @GuillaumeCisco Great, thanks~

GuillaumeCisco (Mon, 18 Mar 2019 17:27:18 GMT):
I'd like to draw attention about the `generate_channel_tx` from the client. Is it normal it calls the configtxgen binary? Shouldn't it be handled all by python??

dexhunter (Tue, 19 Mar 2019 02:03:31 GMT):
@GuillaumeCisco I agree with you on sdk should function more. But as far as I see, the binary tools are still necessary, although I guess we can just rewrite the function to the python sdk and besides, if I am remember correctly, we can also write support for python chaincodes

GuillaumeCisco (Tue, 19 Mar 2019 08:26:29 GMT):
Yes because it looks like we have the proto for this

GuillaumeCisco (Tue, 19 Mar 2019 08:30:52 GMT):
During my refacto with async, I've just discovered all the client methods do not work correctly, as there is only some things wrote like `responses[0][0]`. It is usually when we want a response from a peer, but doing this, we occult the responses of others peers. This is a big no no

GuillaumeCisco (Tue, 19 Mar 2019 08:31:36 GMT):
I'm writing everything in a new way for supporting it correctly. @baohua's tutorial will be changed a little too for supporting calls to async

Kelvin_Moutet (Tue, 19 Mar 2019 09:39:57 GMT):
For the configtxgen issue. I looked in the (node, java, go)-sdk, they does not use it directly. Instead the read directly the `channel.tx` file generated by configtxgen I've updated channel create to expose both solution https://gerrit.hyperledger.org/r/#/c/30212/

Kelvin_Moutet (Tue, 19 Mar 2019 09:39:57 GMT):
For the configtxgen issue. I looked in the (node, java, go)-sdk, they does not use it directly. Instead the read directly the `channel.tx` file generated by configtxgen I've updated channel create to expose both solutions https://gerrit.hyperledger.org/r/#/c/30212/

Kelvin_Moutet (Tue, 19 Mar 2019 09:39:57 GMT):
For the configtxgen issue. I looked in the (node, java, go)-sdk, they do not use it directly. Instead the read directly the `channel.tx` file generated by configtxgen I've updated channel create to expose both solutions https://gerrit.hyperledger.org/r/#/c/30212/

Kelvin_Moutet (Tue, 19 Mar 2019 09:39:57 GMT):
For the configtxgen issue. I looked in the (node, java, go)-sdk, they do not use it directly. Instead they read directly the `channel.tx` file generated by configtxgen I've updated channel create to expose both solutions https://gerrit.hyperledger.org/r/#/c/30212/

midhun14 (Tue, 19 Mar 2019 11:42:26 GMT):
Has joined the channel.

midhun14 (Tue, 19 Mar 2019 11:42:54 GMT):
How to start using python sdk for hyperledger fabric

Kelvin_Moutet (Tue, 19 Mar 2019 13:31:46 GMT):
@midhun14 Welcome, here a tutorial to use the puthp

Kelvin_Moutet (Tue, 19 Mar 2019 13:31:46 GMT):
@midhun14 Welcome, here a tutorial to use the python sdk with fabric https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md

GuillaumeCisco (Tue, 19 Mar 2019 15:30:24 GMT):
does a jira issue regarding async exist? I've just finished the async refactoring. It can be very good entrypoint for creating the channelBasedEvent as you wanted @wangdong

GuillaumeCisco (Tue, 19 Mar 2019 15:46:15 GMT):
https://gerrit.hyperledger.org/r/#/c/30229/

GuillaumeCisco (Tue, 19 Mar 2019 15:46:24 GMT):
This is a breaking change

GuillaumeCisco (Tue, 19 Mar 2019 15:46:36 GMT):
README and tutorial should be updated too

GuillaumeCisco (Tue, 19 Mar 2019 15:46:51 GMT):
This PR changes a l ot of things. Please review it carefully

GuillaumeCisco (Tue, 19 Mar 2019 15:46:51 GMT):
This PR changes a lot of things. Please review it carefully

GuillaumeCisco (Tue, 19 Mar 2019 17:06:48 GMT):
looks like the build failed due to the new dependence with aiogrpc, how to add it for making the jenkins build successful

GuillaumeCisco (Wed, 20 Mar 2019 08:33:52 GMT):
looks like `protos/idemix` is missing in the fabric-sdk-py protos. Should we add it @baohua ?

baohua (Wed, 20 Mar 2019 09:24:04 GMT):
Yes let's add it first!

baohua (Wed, 20 Mar 2019 09:24:10 GMT):
Thanks!

Kelvin_Moutet (Wed, 20 Mar 2019 10:38:44 GMT):
@baohua and @dexhunter Do you know why https://gerrit.hyperledger.org/r/#/c/30229/ fails. It seems that it didn't manage to install `agrpcio`

Kelvin_Moutet (Wed, 20 Mar 2019 10:38:44 GMT):
@baohua and @dexhunter Do you know why https://gerrit.hyperledger.org/r/#/c/30229/ fails ? It seems that it didn't manage to install `agrpcio`

GuillaumeCisco (Wed, 20 Mar 2019 13:45:40 GMT):
Did someone have the time to review the async PR?

baohua (Thu, 21 Mar 2019 01:17:22 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=t2WgvBpa6yZAwHMou) @Kelvin_Moutet please contact helpdesk@hyperledger.org to help check the CI.

baohua (Thu, 21 Mar 2019 01:17:44 GMT):
@here This week's agenda: https://wiki.hyperledger.org/display/fabric/2019-03-21

baohua (Thu, 21 Mar 2019 01:18:22 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=hQLsySN5r6L8BoKbw) @GuillaumeCisco The ci failed :(

GuillaumeCisco (Thu, 21 Mar 2019 08:14:39 GMT):
Yes I know @baohua , this is due to a fail installation of aiogrpc dependency. And I don't know why

baohua (Thu, 21 Mar 2019 08:19:47 GMT):
Feel free to contact helpdesk@hyperledger.org

baohua (Thu, 21 Mar 2019 08:19:55 GMT):
for any issue related to CI.

GuillaumeCisco (Thu, 21 Mar 2019 08:20:26 GMT):
thanks

GuillaumeCisco (Thu, 21 Mar 2019 08:24:47 GMT):
I've posted a question without answer yet about the chaincode instantiation and its ProposalResponse.Response.payload: https://lists.hyperledger.org/g/fabric/topic/30520766#5712

GuillaumeCisco (Thu, 21 Mar 2019 08:25:24 GMT):
If you can take time to read it @baohua , it would be great. This is the very last thing I need to be coherent with the async Pull Request

Kelvin_Moutet (Thu, 21 Mar 2019 10:04:27 GMT):
New PR : https://gerrit.hyperledger.org/r/30271 It seems that we should handle peer/orderer as the same way as requestor. I preserve the previous compatibility ! Feel free to comment :)

dexhunter (Thu, 21 Mar 2019 13:10:14 GMT):
@GuillaumeCisco hi, if you don't specify the version for `aiogrpc`, will it work?

dexhunter (Thu, 21 Mar 2019 13:10:14 GMT):
@GuillaumeCisco hi, if you don't specify the version for `aiogrpc`, will it work? Because when I install `aiogrpc` it also installs `grpcio-1.19.0`

GuillaumeCisco (Thu, 21 Mar 2019 13:12:41 GMT):
No idea, seems weird

baohua (Thu, 21 Mar 2019 14:20:49 GMT):
https://gerrit.hyperledger.org/r/#/c/30212/ +2!

baohua (Thu, 21 Mar 2019 14:21:24 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=6wZJookwptD26CECY) @Kelvin_Moutet +2, thanks!

baohua (Thu, 21 Mar 2019 15:15:43 GMT):
@dexhunter @wangdong https://gerrit.hyperledger.org/r/#/c/30286/

Kelvin_Moutet (Fri, 22 Mar 2019 10:58:59 GMT):
Updated : https://gerrit.hyperledger.org/r/#/c/30271/

wangdong (Sat, 23 Mar 2019 01:29:36 GMT):
@GuillaumeCisco I reviewed the async code which are really great. Thanks for your effort. I got some comments. Please consider them.

wangdong (Sat, 23 Mar 2019 01:57:33 GMT):
And after the review, I got some thoughts about the code style and design work. 1. About the folded line: Our style now is a little ugly. We fold the line with will which break the lines unconditionally, making them unreadability. 2. About the variable naming: We should try our best to make the variables self-explained. The script languages like python, nodes make the variable reclaiming very cheap. people can acclaim variable as their will when they want. But this is not good, especially for some big project. This will drive other developer crazy when to read the code. So I would like advise to not use the single letter variables, especially which spreads multiple lines or blocks. One line style could be the exception. 3. About the patch size. Let’s break the big patch into small ones. It would be easy to review and the quality will be guarranteed. Small steps make great progress. 4. About the modularization, I would advise to make the low level service modulated, like discovery, event service. Later we will have more service enabled in fabric, token system, metrics service. We make them modulated and it will be very flexible later for our job, making the sdk more scalable and the structure clear. So please reconsider this when to design the feature.

fukwin10 (Sat, 23 Mar 2019 06:58:53 GMT):
Has joined the channel.

fukwin10 (Sat, 23 Mar 2019 07:04:56 GMT):
Hello, I'm trying to learn fabric. I already created a network using python. Now I have to connect to the network using the python sdk. As per the tutorial I've to use network.json to access the network. Is this is same as configtx.yml? Or should I manually code it? Thanks in advance. I'm having a hard time understanding this.

fukwin10 (Sat, 23 Mar 2019 07:04:56 GMT):
Hello, I'm trying to learn fabric. I already created a network using docker. Now I have to connect to the network using the python sdk. As per the tutorial I've to use network.json to access the network. Is this is same as configtx.yml? Or should I manually code it? Thanks in advance. I'm having a hard time understanding this.

baohua (Sun, 24 Mar 2019 12:58:07 GMT):
You may follow the tutorial in the docs dir first, there are some examples. @fukwin10 [ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=JYpdFwhGghEQ3t2bc)

hengfun (Mon, 25 Mar 2019 07:51:52 GMT):
Has joined the channel.

hengfun (Mon, 25 Mar 2019 07:54:14 GMT):
Hi! I'm new to fabric, would like to contribute if possible is there any easy task for a beginner? I'm mainly familiar with python.

Kelvin_Moutet (Mon, 25 Mar 2019 08:15:35 GMT):
Hi @hengfun, here to start https://github.com/hyperledger/fabric-sdk-py/blob/master/CONTRIBUTING.md

baohua (Mon, 25 Mar 2019 11:34:28 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=8tRv5go6aRwFJ3QtJ) @hengfun Welcome!

GuillaumeCisco (Mon, 25 Mar 2019 15:45:51 GMT):
Please watch: https://jira.linuxfoundation.org/browse/RELENG-1893

wangdong (Tue, 26 Mar 2019 01:21:10 GMT):
It is done.

wangdong (Tue, 26 Mar 2019 01:21:14 GMT):
@GuillaumeCisco

cccc (Tue, 26 Mar 2019 11:11:59 GMT):
hi, Now i wonder whether network.json support multi-channel config. I don't find the config of channels in this file.

wangdong (Tue, 26 Mar 2019 11:50:22 GMT):
@cccc yes, it should support multi channels. The config file is for the network.

GuillaumeCisco (Wed, 27 Mar 2019 15:00:36 GMT):
The build failed one again @tijohnson : https://gerrit.hyperledger.org/r/#/c/30229/

GuillaumeCisco (Wed, 27 Mar 2019 15:00:36 GMT):
The build failed once again @tijohnson : https://gerrit.hyperledger.org/r/#/c/30229/

tijohnson (Wed, 27 Mar 2019 15:00:38 GMT):
Has joined the channel.

tijohnson (Wed, 27 Mar 2019 15:01:52 GMT):
Is that the same failure?

GuillaumeCisco (Wed, 27 Mar 2019 15:02:03 GMT):
yes

GuillaumeCisco (Wed, 27 Mar 2019 15:02:30 GMT):
https://jenkins.hyperledger.org/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/650/pipeline#log-302

tijohnson (Wed, 27 Mar 2019 15:06:00 GMT):
It seems like it still can't find aiogrpc, it did use the new kernel

tijohnson (Wed, 27 Mar 2019 15:06:12 GMT):
(I thought you fixed the aiogrpc==1.6?

tijohnson (Wed, 27 Mar 2019 15:11:06 GMT):
added a 'pip list' and sure enough aiogrpc is NOT there

tijohnson (Wed, 27 Mar 2019 15:11:32 GMT):
So I have to figure out what happened on my end

GuillaumeCisco (Wed, 27 Mar 2019 15:14:52 GMT):
I do not understand when you tell me `I thought you fixed the aiogrpc==1.6`. Because this is exactly what I tought too, I thought you fixed the aiogrpc==1.6, which is the original issue

tijohnson (Wed, 27 Mar 2019 15:18:28 GMT):
I did not change anything, it was '==' it should be '>=' like all the others in the requirements.txt

tijohnson (Wed, 27 Mar 2019 15:19:04 GMT):
no big deal, it did not effect the test, aiopgrpc is not there

tijohnson (Wed, 27 Mar 2019 15:19:40 GMT):
something did not work, I will chase it down.

GuillaumeCisco (Wed, 27 Mar 2019 15:24:19 GMT):
ok you only want me to change `==` to `>=`. Let's do this

tijohnson (Wed, 27 Mar 2019 15:28:13 GMT):
There is really no hurry, I need to figure out what happened and generate a new VM image... I will be in touch when I know more

GuillaumeCisco (Wed, 27 Mar 2019 15:33:22 GMT):
https://jenkins.hyperledger.org/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/652/pipeline#log-304

GuillaumeCisco (Wed, 27 Mar 2019 15:33:40 GMT):
Are we sure jenkins use your new VM image?

vishalse (Wed, 27 Mar 2019 23:38:32 GMT):
Has joined the channel.

vishalse (Wed, 27 Mar 2019 23:39:59 GMT):
Hello all, I'd like to contribute to the project and possibly come in as an intern this summer. Going through the contrib.md as I type this message. I'd really appreciate it if you could assign me an issue..

baohua (Thu, 28 Mar 2019 00:07:20 GMT):
sorry we do not have intern ticket this year. There are some todo issues in jira and the tutorial doc. And feel free to let us know what feature you think can improve, thanks! @vishalse [ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=BDuxzkM4DrHcHhebe)

baohua (Thu, 28 Mar 2019 00:08:24 GMT):
@here will cancel this week's meeting due to low items. Enjoy the weekend!

MHBauer (Thu, 28 Mar 2019 03:27:42 GMT):
Has left the channel.

GuillaumeCisco (Thu, 28 Mar 2019 08:02:57 GMT):
thanks @baohua , have a nice week-end too

GuillaumeCisco (Thu, 28 Mar 2019 08:05:32 GMT):
@dexhunter I've heard about a discussion regarding not supporting python 2.7 anymore, but only python 3. Does it speaks to you? Can you tell me mote about this? @tijohnson told me we cannot use `aiogrpc` due to the version of pip in the VM image which are based on python 2.7. Thanks

GuillaumeCisco (Thu, 28 Mar 2019 08:05:32 GMT):
@dexhunter I've heard about a discussion regarding not supporting python 2.7 anymore, but only python 3. Does it speaks to you? Can you tell me more about this? @tijohnson told me we cannot use `aiogrpc` due to the version of pip in the VM image which are based on python 2.7. Thanks

GuillaumeCisco (Thu, 28 Mar 2019 09:15:10 GMT):
https://github.com/hyperledger/fabric-sdk-py/blob/master/.travis.yml

GuillaumeCisco (Thu, 28 Mar 2019 09:39:09 GMT):
I've found it @dexhunter : https://github.com/hyperledger/fabric-sdk-py/blob/master/tox.ini

wangdong (Thu, 28 Mar 2019 12:20:48 GMT):
can we wrapper the grpc into a async grpc instead of using aiogrpc?

wangdong (Thu, 28 Mar 2019 12:22:24 GMT):
not the whole grpc, but with the decorator for the function including grpc

GuillaumeCisco (Thu, 28 Mar 2019 16:05:56 GMT):
I do not know @wangdong , maybe you can give it a try. By the way, I'm still working on this PR and cleaning it. I'm also renaming some variable to make it clearer. By the way I've found some errors in the peer binaries. I exposed my discoveries on the #fabric-documentation channel for getting some clarifications.

hengfun (Sat, 30 Mar 2019 07:45:31 GMT):
Hi,

hengfun (Sat, 30 Mar 2019 07:45:49 GMT):
Is it possible to call python code in the chaincode?

RomanGromov (Mon, 01 Apr 2019 10:12:04 GMT):
Has joined the channel.

baohua (Mon, 01 Apr 2019 11:26:32 GMT):
You mean python chaincode? Not yet ;)

GuillaumeCisco (Mon, 01 Apr 2019 12:25:55 GMT):
by the way, is there some work in progress about htis?

GuillaumeCisco (Mon, 01 Apr 2019 12:25:55 GMT):
by the way, is there some work in progress about this?

RomanGromov (Mon, 01 Apr 2019 14:39:41 GMT):
Hello Everyone!

RomanGromov (Mon, 01 Apr 2019 14:40:03 GMT):
I'm wondering about structure of network.json file..

RomanGromov (Mon, 01 Apr 2019 14:41:00 GMT):
Where can I find the descriptions of the meanings of key-value pairs?

GuillaumeCisco (Mon, 01 Apr 2019 16:05:36 GMT):
There is no documentation among SDKs unfortunately for this :/ Each SDK can define one

laurasp (Tue, 02 Apr 2019 07:49:28 GMT):
Has joined the channel.

hengfun (Tue, 02 Apr 2019 15:22:22 GMT):
@baohua Thanks for the response! I would like Go to call a python script to compute some function in the peer container. Is this possible? I know its possible to use Go to do this on my computer exec.Command("python", "-c","print('hello')")

hengfun (Tue, 02 Apr 2019 19:25:26 GMT):
was able to do this with chaincode-docker-devmode, so i guess it should be doable in production?

SimeonPopov (Wed, 03 Apr 2019 09:44:26 GMT):
Has joined the channel.

dexhunter (Thu, 04 Apr 2019 01:43:58 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-04-04 welcome to attend, thanks!

GuillaumeCisco (Thu, 04 Apr 2019 07:21:31 GMT):
I think so @hengfun , but you docker running your chaincode need to embed the python script file too, I do not know if it is reachable

Kelvin_Moutet (Thu, 04 Apr 2019 07:46:51 GMT):
@tijohnson On the last fail build (https://jenkins.hyperledger.org/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/663/pipeline#log-291) We can see `ERROR: invocation failed (exit code 1), logfile: /w/workspace/fabric-sdk-py-verify-x86_64/gopath/src/github.com/hyperledger/fabric-sdk-py/.tox/pylint/log/pylint-1.log` Can we have the content of this logfile. It may help to debug this issue :) Thank you

valentin994 (Thu, 04 Apr 2019 13:40:40 GMT):
Has joined the channel.

valentin994 (Thu, 04 Apr 2019 13:43:14 GMT):
So while trying to set up fabric-sdk-py i stumbled upon several issues. Make check passed with everything approved. But when i enter venv and try to run the sample.py i get Traceback (most recent call last): File "", line 6, in TypeError: channel_create() got an unexpected keyword argument 'orderer' If i try to enroll an admin like in the cacli example i get multiple ssl errors

valentin994 (Thu, 04 Apr 2019 13:43:34 GMT):
I'm using ubuntu 16.04

valentin994 (Thu, 04 Apr 2019 13:46:50 GMT):
I'm using the tutorial network that is presented in the tutorial.

GuillaumeCisco (Thu, 04 Apr 2019 15:12:38 GMT):
I'm sorry guys but @tijohnson can't make it today

GuillaumeCisco (Thu, 04 Apr 2019 16:16:52 GMT):
Ok I have to go

PrakritiSharma (Mon, 08 Apr 2019 09:40:49 GMT):
Has joined the channel.

tijohnson (Mon, 08 Apr 2019 15:27:30 GMT):
@GuillaumeCisco @baohua working example here: https://jenkins.hyperledger.org/sandbox/view/fabric-sdk-py/job/fabric-sdk-py-verify-x86_64/4/console (search for TIMJ)

GuillaumeCisco (Mon, 08 Apr 2019 15:30:41 GMT):
great news!

GuillaumeCisco (Mon, 08 Apr 2019 15:31:06 GMT):
so it works with the `hyp-x-test` :)

GuillaumeCisco (Mon, 08 Apr 2019 15:31:29 GMT):
do you know why the `check` failed? ``` 17:21:40 Makefile:8: recipe for target 'check' failed 17:21:40 make: *** [check] Error 2 ```

GuillaumeCisco (Mon, 08 Apr 2019 15:37:16 GMT):
``` 17:21:36 Installing setuptools, pkg_resources, pip, wheel...done. 17:21:39 Running virtualenv with interpreter /usr/bin/python3.6 17:21:39 source venv/bin/activate 17:21:39 pip install -r requirements.txt 17:21:40 Requirement already satisfied: aiogrpc>=1.6 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 1)) (1.6) 17:21:40 aiogrpc requires Python '>=3.6' but the running Python is 3.5.2 17:21:40 Makefile:71: recipe for target 'venv' failed ```

GuillaumeCisco (Mon, 08 Apr 2019 15:38:25 GMT):
looks like the venv is still not used, python is still 3.5

GuillaumeCisco (Mon, 08 Apr 2019 15:41:11 GMT):
maybe we should modify the Makefile for using `pip3.6` instead of `pip`?

tijohnson (Mon, 08 Apr 2019 15:43:53 GMT):
virtualenv -p python3.6 venv source venv/bin/activate pip install -r requirements.txt pip install -r requirements-test.txt python --version pip --version tox --version

GuillaumeCisco (Mon, 08 Apr 2019 15:44:11 GMT):
ok I will modify this for debugging puproses

tijohnson (Mon, 08 Apr 2019 15:44:27 GMT):
do not use the makefile, it is too hard to use, use a script

GuillaumeCisco (Mon, 08 Apr 2019 15:44:59 GMT):
ok, what should I do for debugging? Create a script and reference it from the makefile?

tijohnson (Mon, 08 Apr 2019 15:45:14 GMT):
the current makefile is not even c lose to working,

tijohnson (Mon, 08 Apr 2019 15:46:27 GMT):
just call the script from the makefile, the should should live in same directory as Makefile and the shell that calls the Makefile in already in that directory

tijohnson (Mon, 08 Apr 2019 15:46:27 GMT):
just call the script from the makefile, the script should should live in same directory as Makefile and the shell that calls the Makefile in already in that directory

tijohnson (Mon, 08 Apr 2019 15:47:52 GMT):
also you should have permission to run a build in the sandbox: https://jenkins.hyperledger.org/sandbox/view/fabric-sdk-py/job/fabric-sdk-py-verify-x86_64/ you will need to login with your LF account

GuillaumeCisco (Mon, 08 Apr 2019 15:49:50 GMT):
ok I've just found out that it was not using the venv due to missing `;` and `\`, it was using a new shell on evry line

GuillaumeCisco (Mon, 08 Apr 2019 15:49:50 GMT):
ok I've just found out that it was not using the venv due to missing `;` and `\`, it was using a new shell on every line

GuillaumeCisco (Mon, 08 Apr 2019 15:51:46 GMT):
I can confirm I can run build now

GuillaumeCisco (Mon, 08 Apr 2019 16:02:38 GMT):
looks like it's working: https://jenkins.hyperledger.org/sandbox/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/5/pipeline

GuillaumeCisco (Mon, 08 Apr 2019 16:02:38 GMT):
looks like it's not working: https://jenkins.hyperledger.org/sandbox/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/5/pipeline

GuillaumeCisco (Mon, 08 Apr 2019 16:07:05 GMT):
tox try to recreate a venv : https://jenkins.hyperledger.org/sandbox/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/5/pipeline#log-491 But it uses python < 3.6, and it fails

tijohnson (Mon, 08 Apr 2019 16:09:18 GMT):
Upon inspection everything with my code works as expected, yours is completely broken, let me know when you have the makefile working with the script then I can help you debug the script

tijohnson (Mon, 08 Apr 2019 16:10:00 GMT):
Here is where my debug code is for that build: https://jenkins.hyperledger.org/sandbox/view/fabric-sdk-py/job/fabric-sdk-py-verify-x86_64/configure let me know, you may not be able to get there

tijohnson (Mon, 08 Apr 2019 16:10:20 GMT):
if you can see it search for TIMJ

josephnicholas (Tue, 09 Apr 2019 07:12:48 GMT):
Has joined the channel.

GuillaumeCisco (Tue, 09 Apr 2019 07:29:04 GMT):
I can see your modifications: ``` echo "######## TIMJ ########" echo "Boot Source: $(curl -Ls ${HUDSON_URL}computer/$NODE_NAME |\ html2text -width 100 | grep boot-source | cut -d ' ' -f 2-)" set -x virtualenv -p python3.6 venv source venv/bin/activate pip install -r requirements.txt pip install -r requirements-test.txt python --version pip --version tox --version set +x echo "######## TIMJ ########" ``` This won't install tox, that's why it will fail

GuillaumeCisco (Tue, 09 Apr 2019 07:30:32 GMT):
here is the output of this script: ``` 17:59:49 ######## TIMJ ######## 17:59:52 Boot Source: Image ZZCI - Ubuntu 16.04 - docker - x86_64 - 20190331-174923.774 17:59:52 + virtualenv -p python3.6 venv 17:59:53 Using base prefix '/usr' 17:59:53 New python executable in /w/workspace/fabric-sdk-py-verify-x86_64/venv/bin/python3.6 17:59:53 Also creating executable in /w/workspace/fabric-sdk-py-verify-x86_64/venv/bin/python 17:59:53 Installing setuptools, pkg_resources, pip, wheel...done. 17:59:58 Running virtualenv with interpreter /usr/bin/python3.6 17:59:58 + source venv/bin/activate 17:59:58 ++ deactivate nondestructive 17:59:58 ++ unset -f pydoc 17:59:58 ++ '[' -z '' ']' 17:59:58 ++ '[' -z '' ']' 17:59:58 ++ '[' -n /bin/bash ']' 17:59:58 ++ hash -r 17:59:58 ++ '[' -z '' ']' 17:59:58 ++ unset VIRTUAL_ENV 17:59:58 ++ '[' '!' nondestructive = nondestructive ']' 17:59:58 ++ VIRTUAL_ENV=/w/workspace/fabric-sdk-py-verify-x86_64/venv 17:59:58 ++ export VIRTUAL_ENV 17:59:58 ++ _OLD_VIRTUAL_PATH=/usr/lib/jvm/java-1.8.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games 17:59:58 ++ PATH=/w/workspace/fabric-sdk-py-verify-x86_64/venv/bin:/usr/lib/jvm/java-1.8.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games 17:59:58 ++ export PATH 17:59:58 ++ '[' -z '' ']' 17:59:58 ++ '[' -z '' ']' 17:59:58 ++ _OLD_VIRTUAL_PS1= 17:59:58 ++ '[' x '!=' x ']' 17:59:58 +++ basename /w/workspace/fabric-sdk-py-verify-x86_64/venv 17:59:58 ++ PS1='(venv) ' 17:59:58 ++ export PS1 17:59:58 ++ alias pydoc 17:59:58 ++ '[' -n /bin/bash ']' 17:59:58 ++ hash -r 17:59:58 + pip install -r requirements.txt 17:59:58 Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' 17:59:58 + pip install -r requirements-test.txt 17:59:59 Could not open requirements file: [Errno 2] No such file or directory: 'requirements-test.txt' 17:59:59 + python --version 17:59:59 Python 3.6.7 17:59:59 + pip --version 17:59:59 pip 19.0.3 from /w/workspace/fabric-sdk-py-verify-x86_64/venv/lib/python3.6/site-packages/pip (python 3.6) 17:59:59 + tox --version 17:59:59 2.3.1 imported from /usr/lib/python3/dist-packages/tox/__init__.py 17:59:59 + set +x 17:59:59 ######## TIMJ ######## ``` Tox is installed with python 3.5, not python 3.6, so it will fail

GuillaumeCisco (Tue, 09 Apr 2019 07:36:41 GMT):
It could be great if you could provide a clean version of the Makefile so we can test it together

GuillaumeCisco (Tue, 09 Apr 2019 09:10:18 GMT):
I've just made an update to the Makefile, where tox is installed in the virtualenv, it will force him to use python 3.6, instead of current /usr/bin/python3 of the machine which is `3.5`> I launched the build which should success as I can reproduce it on my machine, but it looks like the slaves are dead: https://jenkins.hyperledger.org/sandbox/view/fabric-sdk-py/job/fabric-sdk-py-verify-x86_64/

GuillaumeCisco (Tue, 09 Apr 2019 09:11:17 GMT):
@baohua do you know who is in charge to support the jenkins images for builds? And who has the power to provide a machine with python3.6 inside it and make it available for fabric-sdk-py project?

GuillaumeCisco (Tue, 09 Apr 2019 13:23:12 GMT):
Great news : https://jenkins.hyperledger.org/sandbox/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/7/pipeline/

GuillaumeCisco (Tue, 09 Apr 2019 13:23:38 GMT):
Build is passing on the `hyp-x-test` from @tijohnson with python 3.6 installed on it

GuillaumeCisco (Tue, 09 Apr 2019 13:23:54 GMT):
we now need to have gerrit uses this vm image

tijohnson (Tue, 09 Apr 2019 14:20:22 GMT):
@GuillaumeCisco I will be working that issue today

GuillaumeCisco (Tue, 09 Apr 2019 14:25:20 GMT):
wonderful

Kelvin_Moutet (Tue, 09 Apr 2019 14:57:52 GMT):
@tijohnson Thank you so much !

maral (Tue, 09 Apr 2019 16:21:18 GMT):
Has joined the channel.

tijohnson (Tue, 09 Apr 2019 16:46:39 GMT):
two parts to you change: ci-managment & fabric-sdk-py the ci-managment changes tie fabric-sdk-py builds to hyp-x-test (new VM image) The gerrit verify for your fabric-sdk-py changes will not pass until I merge in my ci-management change

tijohnson (Tue, 09 Apr 2019 16:54:30 GMT):
Unfortunately there is a bug in LF configure code the means that every night the hyp-x-test node is unusable until I manually fix each morning that is next on my list

maral (Tue, 09 Apr 2019 23:01:07 GMT):
Hi, I am new to Python SDK. I would like to use Python SDK to connect to existing fabric network with existing channel and chaincode. It seems that Client operations in the tutorial do not work with an existing channel or chaincode. For example after initializing the client with network profile I would like to run query_instantiated_chaincodes on an existing channel. But I get AttributeError: 'NoneType' object has no attribute 'query_instantiated_chaincodes'. Am I missing something?

baohua (Wed, 10 Apr 2019 00:16:33 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=woN8TyxnMYkDFxLst) @maral Please open a jira issue including the steps and details to repeat the error msg, which will help to dig out the root cause. Thanks!

maral (Wed, 10 Apr 2019 01:02:03 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=C88HNGhayQji59wQt) @baohua Thank you for quick reply! Here is the summary and steps: Tutorial item 4.1. Here I am using the sample network coming with tutorial. You can see that chaincode and channel exist but the cli.query_info runs with error. The same case is for other methods such as query_instantiated_chaincodes.``` >>> from hfc.fabric import Client >>> cli = Client(net_profile="test/fixtures/network.json") >>> org1_admin = cli.get_user('org1.example.com', 'Admin') >>> response = cli.query_installed_chaincodes( ... requestor=org1_admin, ... peers=['peer0.org1.example.com'], ... decode=True ... ) >>> print(response) chaincodes { name: "example_cc" version: "v1.0" path: "github.com/example_cc" id: "\344n;`\177Z\243t\223\0037b\305Lt}\336\354[\270\334k[\rF\004\355\246\344\035\374(" } >>> response = cli.query_channels( ... requestor=org1_admin, ... peers=['peer0.org1.example.com'], ... decode=True ... ) >>> print(response) channels { channel_id: "businesschannel" } >>> response = cli.query_info( ... requestor=org1_admin, ... channel_name='businesschannel', ... peers=['peer0.org1.example.com'], ... decode=True ... ) Traceback (most recent call last): File "", line 5, in File "/home/vagrant/fabric-sdk-py/hfc/fabric/client.py", line 1275, in query_info responses = channel.query_info(tx_context, target_peers) AttributeError: 'NoneType' object has no attribute 'query_info' ```

dexhunter (Wed, 10 Apr 2019 01:44:30 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-04-11 welcome to attend, thanks!

GuillaumeCisco (Wed, 10 Apr 2019 07:57:47 GMT):
@maral you need to manullay create a channel in the python memory

GuillaumeCisco (Wed, 10 Apr 2019 08:00:33 GMT):
``` from hfc.fabric import Client cli = Client(net_profile='./network.json') cli.new_channel('mychannel') ```

GuillaumeCisco (Wed, 10 Apr 2019 08:02:24 GMT):
hum after reading again, it seems there is another error, I will investigate.

GuillaumeCisco (Wed, 10 Apr 2019 08:18:26 GMT):
if we read the code: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L1275 ``` channel = self.get_channel(channel_name) tx_context = create_tx_context(requestor, requestor.cryptoSuite, TXProposalRequest()) responses = channel.query_info(tx_context, target_peers) ``` It looks like the channel is not available in python memory from configuration. So you should make fabric-sdk-py know about it by doing: ``` cli.new_channel('businesschannel') ``` just before. Right now, it is not possible to declare channels from the json configuration, maybe it is something we'd like to change. toughts @baohua ?

GuillaumeCisco (Wed, 10 Apr 2019 08:18:26 GMT):
if we read the code: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L1275 ``` channel = self.get_channel(channel_name) tx_context = create_tx_context(requestor, requestor.cryptoSuite, TXProposalRequest()) responses = channel.query_info(tx_context, target_peers) ``` It looks like the channel is not available in python memory from configuration. So you should make fabric-sdk-py know about it by doing: ``` cli.new_channel('businesschannel') ``` just before. Right now, it is not possible to declare channels from the json configuration, maybe it is something we'd like to change. thoughts @baohua ?

GuillaumeCisco (Wed, 10 Apr 2019 08:18:26 GMT):
if we read the code: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L1275 ```python channel = self.get_channel(channel_name) tx_context = create_tx_context(requestor, requestor.cryptoSuite, TXProposalRequest()) responses = channel.query_info(tx_context, target_peers) ``` It looks like the channel is not available in python memory from configuration. So you should make fabric-sdk-py know about it by doing: ``` cli.new_channel('businesschannel') ``` just before. Right now, it is not possible to declare channels from the json configuration, maybe it is something we'd like to change. thoughts @baohua ?

GuillaumeCisco (Wed, 10 Apr 2019 14:07:29 GMT):
@baohua I've created this jira issue for updating to last protos: https://jira.hyperledger.org/browse/FABP-217

GuillaumeCisco (Wed, 10 Apr 2019 14:09:14 GMT):
By the way for adding the new protos I've created `ChaincodeData` and `CDSData`, I don't know in which global project I should add them. If you know what fabric project deals with it, it would be great

GuillaumeCisco (Wed, 10 Apr 2019 15:53:58 GMT):
https://gerrit.hyperledger.org/r/#/c/30863/

maral (Wed, 10 Apr 2019 16:22:18 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=R4HNgRfWvNWLPqNF7) @GuillaumeCisco Thank you.

GuillaumeCisco (Thu, 11 Apr 2019 09:14:47 GMT):
protos update passes ci now: https://gerrit.hyperledger.org/r/#/c/30863/

Kelvin_Moutet (Thu, 11 Apr 2019 13:18:59 GMT):
@dexhunter (In you MP during the meeting) you said that we do not need to copy all protos ? What do you mean by that :)

GuillaumeCisco (Thu, 11 Apr 2019 13:33:19 GMT):
https://gerrit.hyperledger.org/r/#/c/30863/

GuillaumeCisco (Thu, 11 Apr 2019 13:33:43 GMT):
I've updated the protos to be on the 1.4 version with fixed bug

GuillaumeCisco (Thu, 11 Apr 2019 13:35:31 GMT):
Unfortunately, my `git review` command is hanging

GuillaumeCisco (Thu, 11 Apr 2019 13:36:07 GMT):
ok here we go, patch 2 has been created

baohua (Thu, 11 Apr 2019 14:49:27 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=tLdFm3zvLmaZtbpgQ) @GuillaumeCisco +2, thanks!

GuillaumeCisco (Thu, 11 Apr 2019 14:52:55 GMT):
Very great news folks! :https://gerrit.hyperledger.org/r/#/c/30229/

GuillaumeCisco (Thu, 11 Apr 2019 14:53:15 GMT):
ci now use python 3.6 thanks to @tijohnson ! Great thanks to him

GuillaumeCisco (Thu, 11 Apr 2019 14:53:51 GMT):
You can check it @baohua I need to clean it again an little bit. Moreover tutorial has been updated for handling async methods

baohua (Thu, 11 Apr 2019 14:59:12 GMT):
Nice progress!

GuillaumeCisco (Thu, 11 Apr 2019 15:35:02 GMT):
@baohua https://jenkins.hyperledger.org/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/686/pipeline is ready for merge. It does not implement Channel Based Event Hub for now. But it *does* use events. Furthermore, it is a breaking change as user now need to use asyncio for using the client. We need to have 0.0.8 version to be created and after that 0.0.9 and 1.0.0.

baohua (Thu, 11 Apr 2019 15:39:39 GMT):
ok, let's make it a todo for v0.9.0.

tijohnson (Thu, 11 Apr 2019 15:57:55 GMT):
@baohua @GuillaumeCisco This little 'exercise' required a little digging that exposed some problems with the CI configuration for the fabric-sdk-py project. We have identified those issues and and I am working with the Hyperledger CI guys to get them addressed @GuillaumeCisco Be sure to include me in the review of that script cleanup... it was a mess. Just make a simple change and send it out for review I will make comments about issues

nanspro (Thu, 11 Apr 2019 19:10:14 GMT):
Has left the channel.

baohua (Fri, 12 Apr 2019 00:54:23 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=CpwxWTPN5hcsCHpMG) @tijohnson Great, thanks for your help!

dexhunter (Fri, 12 Apr 2019 06:58:46 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=x2aRymJcNmyAgAYEC) @Kelvin_Moutet @baohua suggested this before, some protos are never used in sdk (at least for now) so we do not need to copy them such as tokens.

dexhunter (Fri, 12 Apr 2019 06:58:46 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=x2aRymJcNmyAgAYEC) @baohua suggested this before, some protos are never used in sdk (at least for now) so we do not need to copy them such as tokens.

dexhunter (Fri, 12 Apr 2019 07:03:49 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=c8jarTmWPtTQjDv9t) @GuillaumeCisco congratulations! Tim posted some comments, maybe after those are addressed, we can merge it. Thanks for the effort!

Kelvin_Moutet (Fri, 12 Apr 2019 07:08:19 GMT):
@dexhunter Yes, they are not used, but the procedure to add them is a bit complex, so it's more simple to add them all from fabric no ?

GuillaumeCisco (Fri, 12 Apr 2019 07:42:37 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=agqCaQhDsv4hGZ8xu) @dexhunter Shouldn't we add them so there are available for future development?

GuillaumeCisco (Fri, 12 Apr 2019 07:49:23 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=XSZAqF43zbiXyZRPg) @dexhunter I've just replied with modifications

valentin994 (Fri, 12 Apr 2019 08:33:41 GMT):
after running the updated tutorial for creating a channel i still get a false response

valentin994 (Fri, 12 Apr 2019 08:34:05 GMT):
is the updated tutorial tested and working?

valentin994 (Fri, 12 Apr 2019 08:43:15 GMT):
nvm made it work

GuillaumeCisco (Fri, 12 Apr 2019 12:46:59 GMT):
what was your issue with the tutorial @valentin994

wangdong (Fri, 12 Apr 2019 13:55:51 GMT):
@dexhunter @baohua https://gerrit.hyperledger.org/r/30919

GuillaumeCisco (Fri, 12 Apr 2019 15:21:58 GMT):
@baohua I've added the new protos on fabric here: https://gerrit.hyperledger.org/r/#/c/30924/ Not sure who to notify

GuillaumeCisco (Fri, 12 Apr 2019 15:21:58 GMT):
@baohua I added the new protos on fabric here: https://gerrit.hyperledger.org/r/#/c/30924/ Not sure who to notify

GuillaumeCisco (Fri, 12 Apr 2019 15:23:35 GMT):
https://jira.hyperledger.org/browse/FAB-15164

GuillaumeCisco (Fri, 12 Apr 2019 15:44:41 GMT):
https://gerrit.hyperledger.org/r/#/c/30925/

wangdong (Sat, 13 Apr 2019 02:40:42 GMT):
@GuillaumeCisco Dave Enyeart and Gari Singh

wangdong (Sat, 13 Apr 2019 08:29:16 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=hcFF6ZP2TJ9hzLKDK) This one is not execucted. Is there any issue ?

baohua (Sat, 13 Apr 2019 09:13:58 GMT):
https://gerrit.hyperledger.org/r/#/c/30919/

baohua (Sat, 13 Apr 2019 09:14:38 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=XQkbpPL9AqiqzcjtH) @GuillaumeCisco You need to put the jira number into commit msg.

baohua (Sat, 13 Apr 2019 10:05:31 GMT):
@here fabric-sdk-py v0.8.0 is released now! Feel free to try the new features: https://github.com/hyperledger/fabric-sdk-py/releases/tag/v0.8.0. Thanks to all contributors' efforts!

GuillaumeCisco (Mon, 15 Apr 2019 07:20:34 GMT):
Thansk @baohua , I updated it

GuillaumeCisco (Mon, 15 Apr 2019 07:21:34 GMT):
Thansk @baohua for the 0.8.0 version, is it available from pypi? https://pypi.org/project/fabric-sdk-py/?

GuillaumeCisco (Mon, 15 Apr 2019 07:22:01 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=qP5id2k3m4FgGDRs9) @wangdong Maybe @tijohnson can help us on this

valentin994 (Mon, 15 Apr 2019 07:43:52 GMT):
@GuillaumeCisco well i had to declare the channel because it wasn't in the python memory, wasn't in the tutorial but i saw someone else having problems with it and you answering it

GuillaumeCisco (Mon, 15 Apr 2019 07:51:55 GMT):
ok great. Which part of the tutorial triggered this issue? We should update it

valentin994 (Mon, 15 Apr 2019 08:01:17 GMT):
well the channel create part i suppose

valentin994 (Mon, 15 Apr 2019 08:01:19 GMT):
cli = Client(net_profile="test/fixtures/network.json") org1_admin = cli.get_user(org_name='org1.example.com', name='Admin') # Create a New Channel, the response should be true if succeed response = cli.channel_create( orderer='orderer.example.com', channel_name='abcd', requestor=org1_admin, config_yaml='test/fixtures/e2e_cli/', channel_profile='TwoOrgsChannel' ) print(response==True)

valentin994 (Mon, 15 Apr 2019 08:04:29 GMT):
``cli = Client(net_profile="test/fixtures/network.json") org1_admin = cli.get_user(org_name='org1.example.com', name='Admin') # Create a New Channel, the response should be true if succeed response = cli.channel_create( orderer='orderer.example.com', channel_name='abcd', requestor=org1_admin, config_yaml='test/fixtures/e2e_cli/', channel_profile='TwoOrgsChannel' ) print(response==True)``

valentin994 (Mon, 15 Apr 2019 08:05:16 GMT):
and the version is 0.8 now so maybe change that also from 0.7

valentin994 (Mon, 15 Apr 2019 08:30:14 GMT):
oh and for the error basically after importing hfc and enrolling admin

valentin994 (Mon, 15 Apr 2019 08:30:17 GMT):

Clipboard - April 15, 2019 10:30 AM

valentin994 (Mon, 15 Apr 2019 08:30:22 GMT):
you get that

valentin994 (Mon, 15 Apr 2019 08:49:46 GMT):
and in the tutorial on the 184th line you missed a comma

valentin994 (Mon, 15 Apr 2019 09:30:32 GMT):
@GuillaumeCisco there were some syntax errors in the tutorial code and some missing prints i think i corrected most of them do you want me to send you the file?

GuillaumeCisco (Mon, 15 Apr 2019 09:46:31 GMT):
There is a work in progress in the tutorial for supporting the new async feature for dealing with events here: https://gerrit.hyperledger.org/r/#/c/30229/41/docs/tutorial.md

GuillaumeCisco (Mon, 15 Apr 2019 09:46:42 GMT):
Can you create a Pull Request on your own?

valentin994 (Mon, 15 Apr 2019 09:50:10 GMT):
Yes, i used that one before. I'm on another vm now so i forgot to pull here aswell i guess

valentin994 (Mon, 15 Apr 2019 12:47:43 GMT):
for the network.json is it meant that the keys are hardcoded or is that going to change?

Kelvin_Moutet (Mon, 15 Apr 2019 14:34:52 GMT):
@valentin994 What do you mean by `keys are hardcoded` ? In fact, the `network.json` file is a common pratice to give to the sdk the network information. Unfortunately, there is no official `network.json`, so each sdk define it differently (but try to have the same info)

Kelvin_Moutet (Mon, 15 Apr 2019 14:34:52 GMT):
@valentin994 What do you mean by `keys are hardcoded` ? In fact, the `network.json` file is a common pratice to give to the sdk the network information. Unfortunately, there is no official `network.json`, so each sdk defines it differently (but try to have the same info)

GuillaumeCisco (Mon, 15 Apr 2019 16:39:42 GMT):
Hi folks, I've just updated the code for handling channel event hub correctly. This is way cleaner up to date. Please review it on https://gerrit.hyperledger.org/r/30229

GuillaumeCisco (Mon, 15 Apr 2019 16:39:42 GMT):
Hi folks, I've just updated the code for handling channel event hub correctly. This is way cleaner and up to date. Please review it on https://gerrit.hyperledger.org/r/30229

GuillaumeCisco (Mon, 15 Apr 2019 16:39:42 GMT):
Hi folks, I've just updated the code for handling channel event hub correctly. This is far more clean and up to date. Please review it on https://gerrit.hyperledger.org/r/30229

GuillaumeCisco (Mon, 15 Apr 2019 16:41:07 GMT):
Also I discovered the query method does not send a real transaction, but only a proposal transaction. is this normal???

tijohnson (Mon, 15 Apr 2019 17:51:19 GMT):
Please keep your review for fabric-sdk-py to a minimum the verify builds are all failing This is know issue I am working it full time

GuillaumeCisco (Tue, 16 Apr 2019 08:02:39 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=CLQr5jBwuRL4isHrk) FYI, I have an answer to this question `Get endorsed result of chaincode function call and print it. It won't generate transaction.` https://hyperledger-fabric.readthedocs.io/en/release-1.4/commands/peerchaincode.html So it's ok

tijohnson (Tue, 16 Apr 2019 12:32:24 GMT):
I have resolved the issue withs fabric-sdk-py verify builds having problems with the default cloud templates The 'reverify' comment trigger is still not supported

tijohnson (Tue, 16 Apr 2019 12:32:24 GMT):
@GuillaumeCisco I have resolved the issues with fabric-sdk-py verify builds and the default cloud templates The 'reverify' comment trigger is still not supported

GuillaumeCisco (Tue, 16 Apr 2019 12:38:34 GMT):
ok thanks @tijohnson. Is the `reverify` not working only in the case of `fabric-sdk-py` or is it for all projects? What can we do to help you?

tijohnson (Tue, 16 Apr 2019 12:48:35 GMT):
It needs to be done one project at a time. Most projects have it enabled but was overlooked when creating project recently We are also looking into a problem where the fabric-sdk-py repo is cloned, there is a problem with it's current location

GuillaumeCisco (Tue, 16 Apr 2019 14:19:56 GMT):
thanks, this is interesting

GuillaumeCisco (Tue, 16 Apr 2019 14:20:25 GMT):
FYI, I asked a couple of questions about channel event hub on https://chat.hyperledger.org/channel/fabric-sdk-node folks @baohua @dexhunter @wangdong

tijohnson (Tue, 16 Apr 2019 20:30:26 GMT):
@GuillaumeCisco I ran a build of patch set 42 on the sandbox and it still has the problem in the Makefile: 13:14:07 [[ -d venv ]] && rm -rf venv 13:14:07 Makefile:71: recipe for target 'venv' failed I commented on it back in patch set 40

GuillaumeCisco (Wed, 17 Apr 2019 07:29:44 GMT):
Hello @tijohnson , where is your comment? I cannot find it

GuillaumeCisco (Wed, 17 Apr 2019 07:30:45 GMT):
I only see `The 'fabric-sdk-py' project builds do not support 'Trigger on Comment' (reverify). I would suggest you create Infrastructure ticket (IN). This functionality should be there.` on patch 40

GuillaumeCisco (Wed, 17 Apr 2019 07:32:32 GMT):
Are you referring to: https://gerrit.hyperledger.org/r/#/c/30229/39/Makefile@74?

GuillaumeCisco (Wed, 17 Apr 2019 08:46:14 GMT):
By the way, I'm looking at the code of the `channel.py` file. A lot of methods are never used. And others are commented. I think a very big refacto is needed on the whole project. But it is a very big work to do...

GuillaumeCisco (Wed, 17 Apr 2019 08:46:50 GMT):
We merged the 0.8.0 version but we can see this file is still on the 0.7.0 version: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/version.py

wangdong (Wed, 17 Apr 2019 12:07:32 GMT):
@GuillaumeCisco I just see your info. does not spare time to read that.

wangdong (Wed, 17 Apr 2019 12:07:49 GMT):
yes, there are many unsed functions.

wangdong (Wed, 17 Apr 2019 12:09:49 GMT):
did you get your question resolved?

GuillaumeCisco (Wed, 17 Apr 2019 12:12:20 GMT):
which one @wangdong ?

wangdong (Wed, 17 Apr 2019 12:13:58 GMT):
eventhub

GuillaumeCisco (Wed, 17 Apr 2019 12:16:13 GMT):
not yet :/ On the 4 questions, 2 are remaining

GuillaumeCisco (Wed, 17 Apr 2019 12:18:12 GMT):
I have a new one too, regarding the `last_seen` possibility for the `start` option in the `connect` method of the fabric-sdk-node. I do not understand how it can work. Memoizing the last event to start from, I understand it. But from which context? I do not understand how they handle this, I will have to read the node sdk

wangdong (Wed, 17 Apr 2019 13:10:17 GMT):
I am not clear about this too.

GuillaumeCisco (Wed, 17 Apr 2019 13:15:13 GMT):
I've just updated the code too, in order to better handling chaincode invocation, using either transaction event or chaincode event

GuillaumeCisco (Wed, 17 Apr 2019 13:15:19 GMT):
https://gerrit.hyperledger.org/r/#/c/30229/

GuillaumeCisco (Wed, 17 Apr 2019 13:15:50 GMT):
I had to update the ecample chaincode for testing: https://gerrit.hyperledger.org/r/#/c/30229/43/test/fixtures/chaincode/src/github.com/example_cc/example_cc.go

GuillaumeCisco (Wed, 17 Apr 2019 13:15:50 GMT):
I had to update the ecample chaincode for testing: https://gerrit.hyperledger.org/r/#/c/30229/44/test/fixtures/chaincode/src/github.com/example_cc/example_cc.go

GuillaumeCisco (Wed, 17 Apr 2019 13:15:50 GMT):
I had to update the example chaincode for testing: https://gerrit.hyperledger.org/r/#/c/30229/44/test/fixtures/chaincode/src/github.com/example_cc/example_cc.go

tijohnson (Wed, 17 Apr 2019 13:51:08 GMT):
@GuillaumeCisco can we connect for a few minutes this AM/PM ? back in 15mion

GuillaumeCisco (Wed, 17 Apr 2019 13:59:17 GMT):
yep, send me a private message when you want

GuillaumeCisco (Wed, 17 Apr 2019 14:57:21 GMT):
@wangdong when do you plan to release the 0.8.0 version on pypi? https://pypi.org/project/fabric-sdk-py/

GuillaumeCisco (Wed, 17 Apr 2019 15:58:36 GMT):
new PR: https://gerrit.hyperledger.org/r/#/c/30985/

GuillaumeCisco (Wed, 17 Apr 2019 19:29:27 GMT):
@baohua @dexhunter @wangdong I added comments on https://gerrit.hyperledger.org/r/#/c/30229/ which will help us know what are the last things to be done for this Pull Request to be merged

GuillaumeCisco (Wed, 17 Apr 2019 19:30:03 GMT):
I finally have answers to all my questions. And I can tell fabric-sdk-node is not doing things rights

GuillaumeCisco (Wed, 17 Apr 2019 19:30:03 GMT):
I finally have answers to all my questions. And I can tell fabric-sdk-node is not doing things right

dexhunter (Thu, 18 Apr 2019 00:51:33 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-04-18 welcome to attend, thanks!

wangdong (Thu, 18 Apr 2019 01:11:32 GMT):
@GuillaumeCisco I will do it soon.

baohua (Thu, 18 Apr 2019 13:15:21 GMT):
https://gerrit.hyperledger.org/r/#/c/30925/

baohua (Thu, 18 Apr 2019 13:16:50 GMT):
https://gerrit.hyperledger.org/r/#/c/30992/

dexhunter (Fri, 19 Apr 2019 02:28:18 GMT):
Congratulations to @GuillaumeCisco for becoming a new maintainer of the project!

wangdong (Fri, 19 Apr 2019 06:28:40 GMT):
@baohua I have registered a account in pypi.

wangdong (Fri, 19 Apr 2019 06:28:55 GMT):
please add me with email. xdragon007@gmail.com

wangdong (Fri, 19 Apr 2019 06:29:02 GMT):
or wangdong4fabric.

wangdong (Fri, 19 Apr 2019 06:29:34 GMT):
Also a pathch for some minors: https://gerrit.hyperledger.org/r/31022

GuillaumeCisco (Fri, 19 Apr 2019 10:14:26 GMT):
last version is finally out: https://gerrit.hyperledger.org/r/#/c/30229/

GuillaumeCisco (Fri, 19 Apr 2019 10:14:35 GMT):
if it passes tests, it can be merged

GuillaumeCisco (Fri, 19 Apr 2019 10:14:50 GMT):
some minor options need to be handle, but there are not mandatory

GuillaumeCisco (Fri, 19 Apr 2019 10:14:50 GMT):
some minor options need to be handle, but they are not mandatory

GuillaumeCisco (Fri, 19 Apr 2019 12:36:12 GMT):
I'm still fixing tests

GuillaumeCisco (Fri, 19 Apr 2019 12:49:28 GMT):
Now that https://gerrit.hyperledger.org/r/#/c/30992/ has been merged, do I have rights to merge PR on gerrit?

GuillaumeCisco (Fri, 19 Apr 2019 13:07:39 GMT):
ok great news, build is passing on channel event hub with async methods

GuillaumeCisco (Fri, 19 Apr 2019 13:08:00 GMT):
https://gerrit.hyperledger.org/r/#/c/30229/

GuillaumeCisco (Fri, 19 Apr 2019 13:14:55 GMT):
I'm rebasing it with new chaincode data

dexhunter (Fri, 19 Apr 2019 13:16:35 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=trfjA9nRe3yQT23BK) @GuillaumeCisco I think you need ask helpdesk@hyperledger.org for the rights

dexhunter (Fri, 19 Apr 2019 13:17:09 GMT):
or @baohua will help I guess

GuillaumeCisco (Fri, 19 Apr 2019 13:50:10 GMT):
curiously tests works on my machine but not everytime on the ci, I need to investigate on this, maybe a race condition, as we use event timeout in tests now

GuillaumeCisco (Fri, 19 Apr 2019 14:05:42 GMT):
it does not fail on pylint, py30, but in py36 teling me the chaincode is not instantiated on an invoke test, but just before we make sure the chaincode is instantiated. So I don't really understand why it could fail

GuillaumeCisco (Fri, 19 Apr 2019 14:19:38 GMT):
Ok I think we need more time: `16:18:35 test/integration/user_test.py Build timed out (after 20 minutes). Marking the build as failed. `

GuillaumeCisco (Fri, 19 Apr 2019 14:19:38 GMT):
Ok I think we need more time: `16:18:35 test/integration/user_test.py Build timed out (after 20 minutes). Marking the build as failed.`

GuillaumeCisco (Fri, 19 Apr 2019 14:52:13 GMT):
do we still need to test on py30?

dexhunter (Fri, 19 Apr 2019 15:19:31 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=9KkeT696rfENnCisY) @GuillaumeCisco I think we can skip py30.

dexhunter (Fri, 19 Apr 2019 15:20:37 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=55Tng9pf6PKx2bwxE) @GuillaumeCisco You mean the timeout for returning the response or making the build?

GuillaumeCisco (Fri, 19 Apr 2019 16:37:19 GMT):
making the build

GuillaumeCisco (Fri, 19 Apr 2019 16:37:39 GMT):
I removed py30, and it is successful now: https://gerrit.hyperledger.org/r/#/c/30229/

dexhunter (Sat, 20 Apr 2019 07:30:13 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=uZFGfXMhygpscetbE) @GuillaumeCisco Well, this is a major update, would need others to review as well @wangdong @baohua

dexhunter (Sat, 20 Apr 2019 07:30:13 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=uZFGfXMhygpscetbE) @GuillaumeCisco Well, this is a major update, would need others to review as well @wangdong @baohua @Kelvin_Moutet

GuillaumeCisco (Sat, 20 Apr 2019 07:48:32 GMT):
yep

hengfun (Sun, 21 Apr 2019 17:53:55 GMT):
hi all ive been here several times

hengfun (Sun, 21 Apr 2019 17:54:00 GMT):
would like to contribute

hengfun (Sun, 21 Apr 2019 17:54:17 GMT):
i'm using py-sdk for a school project

hengfun (Sun, 21 Apr 2019 23:16:59 GMT):
made my first commit, updated the tutorial.md

dexhunter (Mon, 22 Apr 2019 09:36:10 GMT):
@hengfun please paste the Gerrit link there, thank you

ZLL (Mon, 22 Apr 2019 11:11:26 GMT):
Has left the channel.

hengfun (Mon, 22 Apr 2019 14:14:09 GMT):
@dexhunter i believe i did, i followed the procedure in the docs

dexhunter (Mon, 22 Apr 2019 17:05:27 GMT):
@hengfun should be this one: https://gerrit.hyperledger.org/r/#/c/31039/

dexhunter (Mon, 22 Apr 2019 17:05:41 GMT):
I merged it, thanks for contribution.

hengfun (Mon, 22 Apr 2019 22:12:03 GMT):
@dexhunter is there something that needs to be worked on that is not too difficult?

dexhunter (Tue, 23 Apr 2019 00:36:51 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=uPDf2qmxTw4pwbvfP) @hengfun depending on how you define "difficult", you can check the jira issues.

dexhunter (Tue, 23 Apr 2019 08:47:58 GMT):
@here Hi, guys, please spend a few seconds fill out your favourite fabric python sdk module name for pypi release, thank you! https://xoyondo.com/ap/EHvVXLUJZXR2xsh

hengfun (Tue, 23 Apr 2019 10:38:17 GMT):
@dexhunter I'm building a voting application for thesis perhaps it can be an example/tutorial?

GuillaumeCisco (Tue, 23 Apr 2019 12:16:39 GMT):
I hope the async/channel event hub way will be quickly merged, this will be a major release :)

dexhunter (Tue, 23 Apr 2019 12:55:36 GMT):
@hengfun yes, we can merge to the project if related

dexhunter (Tue, 23 Apr 2019 12:56:26 GMT):
@GuillaumeCisco just waiting for others to review, I have put notification on Chinese wechat group as well.

GuillaumeCisco (Tue, 23 Apr 2019 13:13:00 GMT):
thanks

hengfun (Tue, 23 Apr 2019 19:50:32 GMT):
hi what is the status of this issue?

hengfun (Tue, 23 Apr 2019 19:50:32 GMT):
https://jira.hyperledger.org/browse/FABP-199

hengfun (Tue, 23 Apr 2019 19:50:36 GMT):
how do i work on it?

wangdong (Wed, 24 Apr 2019 01:10:12 GMT):
@dexhunter can this module name with dash ?

wangdong (Wed, 24 Apr 2019 01:11:00 GMT):
I mean fabric-sdk-py, instead of fabric_sdk_py.

dexhunter (Wed, 24 Apr 2019 03:45:57 GMT):
@wangdong for the project name is can be fabric-sdk-py, but for the module name (when you do `import`) it should be fabric_sdk_py

wangdong (Wed, 24 Apr 2019 07:19:18 GMT):
ok

dexhunter (Wed, 24 Apr 2019 08:06:06 GMT):
@here will cancel this week and next week's meeting due to low items and holidays. Enjoy the holidays!

GuillaumeCisco (Wed, 24 Apr 2019 08:07:19 GMT):
@hengfun I think this issue need to be done too, but I found some code about it in the sdk.

dexhunter (Wed, 24 Apr 2019 08:07:32 GMT):
By the way, if you have time please help to vote at https://xoyondo.com/ap/EHvVXLUJZXR2xsh Thanks!

GuillaumeCisco (Wed, 24 Apr 2019 08:21:57 GMT):
I @baohua and @wangdong can verify https://gerrit.hyperledger.org/r/#/c/30229/. We can merge it :)

baohua (Wed, 24 Apr 2019 08:22:48 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=uC6GGTLe5harwceX4) @GuillaumeCisco Merged, and like it! Thanks!

GuillaumeCisco (Wed, 24 Apr 2019 08:24:04 GMT):
Great!!! We can now schedule 0.0.9

tijohnson (Wed, 24 Apr 2019 14:29:29 GMT):
@GuillaumeCisco Congrats on THE merge(56 patches)... this has been a long haul

hengfun (Wed, 24 Apr 2019 21:48:55 GMT):
hi I would like to help with https://jira.hyperledger.org/browse/FABP-199, can you provide some hints, on where to start? i'm unfamiliar with the library. Thanks

GuillaumeCisco (Thu, 25 Apr 2019 06:17:15 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=PofWSYFsaq57d5kkf) @hengfun Pull the last version of the code, install new requirements. Look at the client.py file to see if this method already exist or not. If yes, you can enhance it, if not you can create it

hengfun (Thu, 25 Apr 2019 07:28:12 GMT):
@GuillaumeCisco thanks I will give it a try

GuillaumeCisco (Thu, 25 Apr 2019 07:38:59 GMT):
0.0.8 version still not released @wangdong ? https://pypi.org/project/fabric-sdk-py/. Do you need help?

GuillaumeCisco (Thu, 25 Apr 2019 07:38:59 GMT):
0.8.0 version still not released @wangdong ? https://pypi.org/project/fabric-sdk-py/. Do you need help?

wangdong (Thu, 25 Apr 2019 12:08:53 GMT):
The names are done?

wangdong (Thu, 25 Apr 2019 12:09:19 GMT):
If you have time, you can do that. I am little busy these days.

wangdong (Thu, 25 Apr 2019 12:09:26 GMT):
BTW, it is 0.8.0.

Fias (Fri, 26 Apr 2019 06:55:37 GMT):
Has joined the channel.

GuillaumeCisco (Mon, 29 Apr 2019 07:39:06 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=9NcthbR6TkNkvh6Hd) @wangdong What is the topic about names?

GuillaumeCisco (Mon, 29 Apr 2019 13:18:24 GMT):
you mean `fabric`, `fabric-sdk` and `fabric-sdk-py`?

GuillaumeCisco (Mon, 29 Apr 2019 13:18:24 GMT):
you mean `hfc`, `fabric`, `fabric-sdk` and `fabric-sdk-py`?

GuillaumeCisco (Mon, 29 Apr 2019 13:19:00 GMT):
https://xoyondo.com/ap/EHvVXLUJZXR2xsh

Kelvin_Moutet (Mon, 29 Apr 2019 15:07:40 GMT):
Yep

wangdong (Tue, 30 Apr 2019 02:45:47 GMT):
yes. that is it.

wangdong (Tue, 30 Apr 2019 02:46:36 GMT):
so we will use fabric-sdk-py as the wrapper name and fabric_sdk_py as the core name?

wangdong (Tue, 30 Apr 2019 02:48:53 GMT):
I think the `fabric-sdk-py` and `sdk` may be good. with core named `sdk`, inside, we will have fabric and fabric-ca. I think they are more clear to understand. Just my opinion in this.

baohua (Tue, 30 Apr 2019 03:34:04 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=RQ3urHJfnxJrRiNs3) @wangdong `sdk` feels too general, considering pypi already has numberous of sdks...

baohua (Tue, 30 Apr 2019 03:34:33 GMT):
hence at least should include the `fabric` or `hlf` into the name.

vhulendamoraba (Wed, 01 May 2019 01:06:26 GMT):
Has joined the channel.

haniavis (Wed, 01 May 2019 19:17:47 GMT):
Has joined the channel.

haniavis (Wed, 01 May 2019 19:23:47 GMT):
Hi, I recently started using the fabric-sdk-py and I was wondering where can I find all the available methods of the API, are there any others than those mentioned in the tutorial https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md?

GuillaumeCisco (Thu, 02 May 2019 14:03:32 GMT):
Yes there are some more, you can check: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py

GuillaumeCisco (Thu, 02 May 2019 14:04:26 GMT):
fabric already exists on pypi too, I think, the best is too put hfc, no?

GuillaumeCisco (Thu, 02 May 2019 14:05:15 GMT):
I originally voted for `fabric-sdk` but `hfc` is better I think

haniavis (Thu, 02 May 2019 19:03:52 GMT):
OK thanks. I am trying to run the step by step tutorial

haniavis (Thu, 02 May 2019 19:04:21 GMT):
I can successfully run the first 2 steps but in 3 Operate Chaincodes with Fabric Network I always get an error

haniavis (Thu, 02 May 2019 19:04:45 GMT):
Traceback (most recent call last): File "new/opCC.py", line 38, in wait_for_event=True # for being sure chaincode is instantiated File "/usr/lib/python3.6/asyncio/base_events.py", line 473, in run_until_complete return future.result() File "/usr/local/lib/python3.6/dist-packages/hfc-0.7.0-py3.6.egg/hfc/fabric/client.py", line 986, in chaincode_instantiate tx_context_dep, target_peers, channel_name) File "/usr/local/lib/python3.6/dist-packages/hfc-0.7.0-py3.6.egg/hfc/fabric/client.py", line 887, in send_instantiate_proposal return app_channel.send_instantiate_proposal(tx_context, peers) AttributeError: 'NoneType' object has no attribute 'send_instantiate_proposal'

haniavis (Thu, 02 May 2019 19:05:38 GMT):
I can confirm that the channel is created in the previous step, I connect to the peer0.org1 container and see that there is the channel installed

haniavis (Thu, 02 May 2019 19:07:39 GMT):
and I also can confirm that the chaincode is installed (I print the responses variable)

GuillaumeCisco (Fri, 03 May 2019 07:32:58 GMT):
You are not the first one to have it

GuillaumeCisco (Fri, 03 May 2019 07:33:07 GMT):
@baohua I think we need to update the tutorial

GuillaumeCisco (Fri, 03 May 2019 07:33:41 GMT):
@haniavis what's going on is that your channel is correctly created, but the fabric-sdk-py doesn't know the channel in its python memory

GuillaumeCisco (Fri, 03 May 2019 07:34:40 GMT):
see https://chat.hyperledger.org/channel/fabric-sdk-py?msg=B7ZH5RcqJ6WsXZc7Z

haniavis (Fri, 03 May 2019 14:38:40 GMT):
ok thanks I will give it a try

haniavis (Fri, 03 May 2019 15:38:19 GMT):
Regarding the tutorial, sample.py also needs adjustments. The `if response: print("Join channel successful")` always gives successful but this is not true for any response. It also needs the async loop that is added in the step by step Tutorial.

tijohnson (Mon, 06 May 2019 03:18:07 GMT):
FABP-224 Enable TOX coala Changes out for review https://gerrit.hyperledger.org/r/#/c/31220/ Wasn't sure who all needs to review this change...

wangdong (Mon, 06 May 2019 07:36:42 GMT):
@tijohnson this will change the coding habit. Is there any docuemnt about this requirement so that guys can figure out how to get used to it.

wangdong (Mon, 06 May 2019 07:36:42 GMT):
@tijohnson this will change the coding habit. All of them is about indentation and line-breaking. Is there any docuemnt about this requirement so that guys can figure out how to get used to it.

wangdong (Mon, 06 May 2019 07:36:55 GMT):
BTW, why this change?

wangdong (Mon, 06 May 2019 07:40:06 GMT):
@baohua @GuillaumeCisco @dexhunter From the previous discussion, the name for the pypi is fabric-sdk-py and module is fabric_sdk_py. How do you think of this? If it is OK, I will use them.

baohua (Mon, 06 May 2019 08:29:18 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=ByuLXBd4qPWJXGa4D) @wangdong I'm fine with that :)

baohua (Mon, 06 May 2019 08:42:46 GMT):
@here The weekly meeting room is changed to https://zoom.us/my/hyperledger.community.3, FYI.

hengfun (Mon, 06 May 2019 14:31:34 GMT):
Hi I've been trying to edit the chaincode in "github.com/example_cc/example_cc.go" but its not showing and difference in the peer is there a reason why?

hengfun (Mon, 06 May 2019 14:52:45 GMT):
For example, I rename the "example_cc.go" to "example_c.go" and I run the sample.py, I can install the chain code, however I am unable to instantiate it.

hengfun (Mon, 06 May 2019 15:05:08 GMT):
I get something like this:

hengfun (Mon, 06 May 2019 15:05:10 GMT):
response { status: 500 message: "error starting container: error starting container: Failed to generate platform-specific docker build: Error returned from build: 2 \"# github.com/example_cc\nchaincode/input/src/github.com/example_cc/example_cc.go:28:6: SimpleChaincode redeclared in this block\n\tprevious declaration at chaincode/input/src/github.com/example_cc/example_c.go:28:6\nchaincode/input/src/github.com/example_cc/example_cc.go:31:27: (*SimpleChaincode).Init redeclared in this block\n\tprevious declaration at chaincode/input/src/github.com/example_cc/example_c.go:31:6\nchaincode/input/src/github.com/example_cc/example_cc.go:69:27: (*SimpleChaincode).Invoke redeclared in this block\n\tprevious declaration at chaincode/input/src/github.com/example_cc/example_c.go:69:6\nchaincode/input/src/github.com/example_cc/example_cc.go:87:27: (*SimpleChaincode).invoke redeclared in this block\n\tprevious declaration at chaincode/input/src/github.com/example_cc/example_c.go:87:6\nchaincode/input/src/github.com/example_cc/example_cc.go:145:27: (*SimpleChaincode).delete redeclared in this block\n\tprevious declaration at chaincode/input/src/github.com/example_cc/example_c.go:145:6\nchaincode/input/src/github.com/example_cc/example_cc.go:162:27: (*SimpleChaincode).query redeclared in this block\n\tprevious declaration at chaincode/input/src/github.com/example_cc/example_c.go:162:6\nchaincode/input/src/github.com/example_cc/example_cc.go:190:6: main redeclared in this block\n\tprevious declaration at chaincode/input/src/github.com/example_cc/example_c.go:190:6\n\"" }

tijohnson (Mon, 06 May 2019 15:27:39 GMT):
@wangdong I don't really know of any documentation of this indention is soo hard because there are so many ideas about what is 'best' this enforces one this really helps minimizing white-space changes which can cause merge issues in git

tijohnson (Mon, 06 May 2019 15:31:03 GMT):
@all you should be able to run tox in your shell: 'tox -e coala' this runs MUCH quicker than 'tox' (which runs all the pylint checks) it is no fun learning about an extra tab from the review verify build

peters (Mon, 06 May 2019 16:22:56 GMT):
Has joined the channel.

wangdong (Tue, 07 May 2019 01:25:54 GMT):
@tijohnson OK. This patch is main about the code style of json, shell, and yaml. Most of them are test codes. The main part code style is good. I am ok with this.

tijohnson (Tue, 07 May 2019 02:00:42 GMT):
@wangdong A primary issue is to have enough standardization with white-space/indent style that it minimizes white-space only changes which can cause merge issues with git As I guy who spends hours each week reviewing code, I have come to appreciate consistency even if it is not my preferred style

tijohnson (Tue, 07 May 2019 02:00:42 GMT):
@wangdong A primary issue is to have enough standardization with white-space/indent style that it minimizes white-space changes which can cause merge issues with git As I guy who spends hours each week reviewing code, I have come to appreciate consistency even if it is not my preferred style

wangdong (Tue, 07 May 2019 02:07:32 GMT):
Yes, I can understand that. The test code style and other connfig files are really messy. It is good to make them consistent.

baohua (Thu, 09 May 2019 07:36:19 GMT):
@dexhunter so this week's meeting is canceled, right? See no agenda.

dexhunter (Thu, 09 May 2019 08:02:24 GMT):
yep, seems @GuillaumeCisco not online as well

dexhunter (Thu, 09 May 2019 08:03:22 GMT):
@here We will cancel this week's meeting due to low profile. Have a nice day!

GuillaumeCisco (Thu, 09 May 2019 08:15:02 GMT):
Hey there, I was on holiday during 4 days

baohua (Thu, 09 May 2019 08:36:46 GMT):
Enjoy!

GuillaumeCisco (Thu, 09 May 2019 09:34:23 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=ByuLXBd4qPWJXGa4D) I'm fine with that too

GuillaumeCisco (Thu, 09 May 2019 09:36:58 GMT):
@hengfun you've only renamed the chaincode file? You should refer to it in the docker-compose file too them

GuillaumeCisco (Thu, 09 May 2019 09:36:58 GMT):
@hengfun you've only renamed the chaincode file? You should refer to it in the docker-compose file too then

hengfun (Thu, 09 May 2019 09:41:39 GMT):
@GuillaumeCisco thank you for the help! really appreciate it

GuillaumeCisco (Thu, 09 May 2019 12:37:43 GMT):
@Kelvin_Moutet just have fixed an issue on the sdk qith the query method: https://gerrit.hyperledger.org/r/#/c/31297/

GuillaumeCisco (Thu, 09 May 2019 12:37:43 GMT):
@Kelvin_Moutet just have fixed an issue on the sdk with the query method: https://gerrit.hyperledger.org/r/#/c/31297/

GuillaumeCisco (Thu, 09 May 2019 12:37:43 GMT):
@Kelvin_Moutet just has fixed an issue on the sdk with the query method: https://gerrit.hyperledger.org/r/#/c/31297/

GuillaumeCisco (Thu, 09 May 2019 12:38:10 GMT):
I'm waiting for it to passes the test and will merge it, it is a very small modification for handling error

hengfun (Sat, 11 May 2019 05:04:26 GMT):
Hi does anyone know how to edit exampe_cc.go? I've been trying to edit it but when I run the tutorial example its not reflected.

hengfun (Sat, 11 May 2019 05:04:26 GMT):
Hi does anyone know how to edit exampe_cc.go? I've been trying to edit it but when I run the tutorial example my changes are not shown?

hengfun (Sun, 12 May 2019 06:04:38 GMT):
im editing the chain code in test/fixtures/chaincode/example_cc/example_cc.go, my changes aren't reflected in the install and invoke in docs/sample.py is it because the docker images have the example_cc.go already compiled on the docker images?

hengfun (Sun, 12 May 2019 06:04:38 GMT):
im editing the chain code in test/fixtures/chaincode/example_cc/example_cc.go, my changes aren't reflected in the install and invoke methods in docs/sample.py is it because the docker images have the example_cc.go already compiled on the docker images?

hengfun (Sun, 12 May 2019 06:04:38 GMT):
Hi guys, I would like to edit and customize "test/fixtures/chaincode/example_cc/example_cc.go" however my changes aren't reflected when I run the docs/sample.py or the tutorial.md specifically the install and invoke chaincode methods. I have been trying to debug this for a while with no progress any hints? @GuillaumeCisco @baohua @wangdong @dexhunter Thanks! Sorry to bother you guys.

GuillaumeCisco (Mon, 13 May 2019 11:56:39 GMT):
@hengfun you probably need to remove the docker chaincode image. I think `make clean` does this for you

hengfun (Mon, 13 May 2019 16:56:34 GMT):
@GuillaumeCisco Thanks I will give this a shot

baohua (Thu, 16 May 2019 06:34:21 GMT):
@here Seems few issues this week, will cancel this week's meeting, and let's discuss offline for any potential topics.

baohua (Thu, 16 May 2019 06:34:36 GMT):
@dexhunter @wangdong @GuillaumeCisco

dexhunter (Thu, 16 May 2019 07:42:42 GMT):
Thanks @baohua

GuillaumeCisco (Mon, 20 May 2019 09:02:38 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/31439

GuillaumeCisco (Mon, 20 May 2019 09:08:44 GMT):
For people interested in participating to fabric-sdk-py, you can work on this issue: https://jira.hyperledger.org/browse/FABP-229

GuillaumeCisco (Mon, 20 May 2019 09:09:00 GMT):
After that, I think the channel event hub will be fully supported

GuillaumeCisco (Tue, 21 May 2019 09:06:09 GMT):
Can someone merge https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/31439/? @baohua , @dexhunter ? Thanks

dexhunter (Tue, 21 May 2019 14:29:09 GMT):
merged thanks @GuillaumeCisco

GuillaumeCisco (Tue, 21 May 2019 14:37:27 GMT):
Thanks @dexhunter

Kelvin_Moutet (Wed, 22 May 2019 14:42:39 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/31482

Kelvin_Moutet (Wed, 22 May 2019 14:42:48 GMT):
Typo fix in the block_decoder code

dexhunter (Thu, 23 May 2019 01:02:36 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-05-23 welcome to attend, thanks!

baohua (Thu, 23 May 2019 01:45:48 GMT):
:thumbsup:

baohua (Thu, 23 May 2019 01:45:56 GMT):
@GuillaumeCisco @wangdong

Kelvin_Moutet (Thu, 23 May 2019 09:04:13 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/31504

GuillaumeCisco (Thu, 23 May 2019 09:06:52 GMT):
this minor fix has been merged

Kelvin_Moutet (Thu, 23 May 2019 10:01:35 GMT):
When fabric-sdk-py 0.0.7 and 0.0.8 will be released ?

baohua (Thu, 23 May 2019 12:53:06 GMT):
We already have 0.8.0, the next one will be 0.9.0

Kelvin_Moutet (Thu, 23 May 2019 13:00:28 GMT):
Nope

Kelvin_Moutet (Thu, 23 May 2019 13:00:29 GMT):
https://pypi.org/project/fabric-sdk-py/

GuillaumeCisco (Thu, 23 May 2019 13:38:53 GMT):
I have an issue guy

GuillaumeCisco (Thu, 23 May 2019 13:38:53 GMT):
I have an issue guys

GuillaumeCisco (Thu, 23 May 2019 13:39:26 GMT):
If I push the 0.8.0 version on pypi, we need to update the 0.8.0 tag on gerrit to the last version of master

GuillaumeCisco (Thu, 23 May 2019 13:39:37 GMT):
As https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/31022/ has been merged

GuillaumeCisco (Thu, 23 May 2019 13:49:43 GMT):
ok guy I re-release the 0.8.0 version

GuillaumeCisco (Thu, 23 May 2019 13:51:13 GMT):
0.8.0 is now on pypi https://pypi.org/project/fabric-sdk-py/#history

baohua (Thu, 23 May 2019 13:55:03 GMT):
:thumbsup:

baohua (Thu, 23 May 2019 13:55:29 GMT):
so agile!

baohua (Thu, 23 May 2019 15:07:16 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/31220

GuillaumeCisco (Thu, 23 May 2019 15:48:13 GMT):
@baohua I think you can close all these jira issues: https://jira.hyperledger.org/browse/FABP-231 https://jira.hyperledger.org/browse/FABP-217 https://jira.hyperledger.org/browse/FABP-211 https://jira.hyperledger.org/browse/FABP-191 https://jira.hyperledger.org/browse/FABP-222 https://jira.hyperledger.org/browse/FABP-230 https://jira.hyperledger.org/browse/FABP-219 https://jira.hyperledger.org/browse/FABP-218 https://jira.hyperledger.org/browse/FABP-215 https://jira.hyperledger.org/browse/FABP-172 https://jira.hyperledger.org/browse/FABP-173

GuillaumeCisco (Thu, 23 May 2019 15:51:58 GMT):
And: https://jira.hyperledger.org/browse/FABP-147

GuillaumeCisco (Thu, 23 May 2019 15:52:08 GMT):
I don't think this issue is still relevant: https://jira.hyperledger.org/browse/FABP-25

GuillaumeCisco (Thu, 23 May 2019 15:53:52 GMT):
this one seems outdated too: https://jira.hyperledger.org/browse/FABP-109

baohua (Fri, 24 May 2019 00:55:39 GMT):
@GuillaumeCisco sure, feel free to close then once done. i will do a check today.

GuillaumeCisco (Fri, 24 May 2019 07:37:19 GMT):
Thanks @baohua , would love too, but I don'

GuillaumeCisco (Fri, 24 May 2019 07:37:19 GMT):
Thanks @baohua , would love too, but I don't think I have rights for :)

GuillaumeCisco (Fri, 24 May 2019 07:37:19 GMT):
Thanks @baohua , would love to, but I don't think I have rights for :)

baohua (Fri, 24 May 2019 07:48:29 GMT):
@GuillaumeCisco you mean mark it as done? Have you login into the jira?

baohua (Fri, 24 May 2019 07:48:38 GMT):
Everyone should be able to change the jira issue status.

GuillaumeCisco (Fri, 24 May 2019 08:09:03 GMT):
oh ? Where should I click, I see no buttons

GuillaumeCisco (Fri, 24 May 2019 08:10:34 GMT):

jira.hyperledger.org_browse_FABP-229.png

baohua (Fri, 24 May 2019 08:36:00 GMT):
`Accept`

baohua (Fri, 24 May 2019 08:36:58 GMT):
Besides, are you able to +2/-2 with gerrit now? If not, can send email to `helpdesk@hyperledger.org`

Kelvin_Moutet (Fri, 24 May 2019 12:47:20 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/31529

GuillaumeCisco (Fri, 24 May 2019 12:56:36 GMT):
Ok thanks @baohua , yes I can +2/-2, merge PR, but not mine

baohua (Fri, 24 May 2019 13:43:47 GMT):
great!

baohua (Fri, 24 May 2019 13:46:57 GMT):
This is only to demo the discovering neighbor peers in the channel, right?

Kelvin_Moutet (Fri, 24 May 2019 14:05:35 GMT):
Yes, you're right. Neighbor peers and orderers in the channel. But also discover the config of the peer

RodrigoMedeiros (Wed, 29 May 2019 17:17:29 GMT):
Has joined the channel.

dexhunter (Thu, 30 May 2019 02:43:34 GMT):
@here We will cancel this week's meeting due to low profile. If there are any problems let's discuss offline and have a nice week!

baohua (Thu, 30 May 2019 14:41:55 GMT):
:dog:

GuillaumeCisco (Thu, 30 May 2019 17:45:27 GMT):
I discovered some issues yesterday about mutual tls with the orderer. I successfully fixed it in the sdk, I will create a PR tomorrow about this. We then should deploy it as 0.8.1

GuillaumeCisco (Thu, 30 May 2019 17:46:09 GMT):
I also found an issue when trying to install a chaincode with vendor files. I fixed it too, and will create the PR tomorrow

baohua (Fri, 31 May 2019 07:40:07 GMT):
Great! @GuillaumeCisco

GuillaumeCisco (Fri, 31 May 2019 09:18:50 GMT):
It looks like there is also an issue with the instantiate method

GuillaumeCisco (Fri, 31 May 2019 09:19:04 GMT):
We cannot pass the policy right now, we will need to update it

GuillaumeCisco (Fri, 31 May 2019 09:20:07 GMT):
I will check how it is done on the fabric-sdk-node

GuillaumeCisco (Fri, 31 May 2019 09:26:45 GMT):
I found nothing :/ Where can we access the REST api documentation ?

GuillaumeCisco (Fri, 31 May 2019 09:28:20 GMT):
nevermind, we already support it in the sdk

baohua (Fri, 31 May 2019 13:48:48 GMT):
never heard that node-sdk has a REST api doc?

GuillaumeCisco (Fri, 31 May 2019 14:50:51 GMT):
you once gave it to me @baohua , I will find it, no worries

GuillaumeCisco (Fri, 31 May 2019 14:51:06 GMT):
by the way, can we do this method with the current fabric-sdk-py: https://hyperledger-fabric.readthedocs.io/en/release-1.4/commands/peerchannel.html#peer-channel-signconfigtx-example ?

baohua (Fri, 31 May 2019 14:53:58 GMT):
i do not think so, that's the update channel operation.

GuillaumeCisco (Fri, 31 May 2019 14:54:23 GMT):
by the way, this method `_get_latest_block` seems unused, I think we should remove it

baohua (Fri, 31 May 2019 14:55:23 GMT):
sure, either way is ok, we can safely keep it because it may be used later.

GuillaumeCisco (Fri, 31 May 2019 14:55:39 GMT):
Are you sure @baohua? I can see a `peer channel update`, a `peer channel signconfigtx` on the page

GuillaumeCisco (Fri, 31 May 2019 14:55:39 GMT):
Are you sure @baohua? I can see a `peer channel update` and a `peer channel signconfigtx` on the page

GuillaumeCisco (Fri, 31 May 2019 14:55:52 GMT):
ok

baohua (Fri, 31 May 2019 14:57:08 GMT):
let me check again.

GuillaumeCisco (Fri, 31 May 2019 14:57:16 GMT):
But I can see we have a `sign_channel_config`,maybe it is related to `signconfigtx`, I will try

GuillaumeCisco (Fri, 31 May 2019 14:57:16 GMT):
But I can see we have a `sign_channel_config`, maybe it is related to `signconfigtx`, I will try

GuillaumeCisco (Fri, 31 May 2019 14:57:46 GMT):
And `update_channel` should be related to `peer channel update`

baohua (Fri, 31 May 2019 15:00:24 GMT):
`sign_channel_config` is only used in `channel_create` now

GuillaumeCisco (Fri, 31 May 2019 16:37:33 GMT):
I'm think I'm developing a `channel_update` right now... And a lot of refactoring can be done. Furthermore, the `have_envolope` param seems never reached but looks like the `config_tx` file passed to the method. I will investigate that. A lot of refactoring need to be done on fabric-sdk-py :/

GuillaumeCisco (Fri, 31 May 2019 16:44:18 GMT):
Does the `peer channel fetch` method exists in fabric-sdk-py?

GuillaumeCisco (Fri, 31 May 2019 16:48:01 GMT):
Looks like only `get_channel_config` exist

GuillaumeCisco (Fri, 31 May 2019 16:48:01 GMT):
Looks like only `get_channel_config` exists

baohua (Sat, 01 Jun 2019 09:28:09 GMT):
Agree with that, glad we have most functionalities now and can do some refactoring.

GuillaumeCisco (Mon, 03 Jun 2019 14:45:30 GMT):
I have an issue with the `get_channel_config` when trying to get the config of the system channel, named by default `testchainid`. I always get an error which looks like: ``` grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with: status = StatusCode.UNKNOWN details = "access denied: channel [testchainid] creator org [Org1MSP]" debug_error_string = "{"created":"@1559572059.608069311","description":"Error received from peer","file":"src/core/lib/surface/call.cc","file_line":1039,"grpc_message":"access denied: channel [testchainid] creator org [Org1MSP]","grpc_status":2}" ```

GuillaumeCisco (Mon, 03 Jun 2019 14:46:13 GMT):
It looks like only the orderer can fetch the `testchainid` config, confirmed in this issue too: https://lists.hyperledger.org/g/fabric/topic/some_questions_about_the/19215615?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,19215615

GuillaumeCisco (Mon, 03 Jun 2019 14:47:01 GMT):
I'

GuillaumeCisco (Mon, 03 Jun 2019 14:47:01 GMT):
I've tried twiking the code without success. I'm in a dead end right now

GuillaumeCisco (Mon, 03 Jun 2019 14:47:01 GMT):
I've tried tweaking the code without success. I'm in a dead end right now

GuillaumeCisco (Mon, 03 Jun 2019 14:59:44 GMT):
The only hint I have, is maybe we should use a orderer broadcast instead of a peer delivery for this method. I need confirmation

GuillaumeCisco (Mon, 03 Jun 2019 14:59:44 GMT):
The only hint I have, is maybe we should use an orderer broadcast instead of a peer delivery for this method. I need confirmation

GuillaumeCisco (Mon, 03 Jun 2019 14:59:44 GMT):
The only hint I have, is maybe we should use an orderer broadcast instead of a peer endorsing for this method. I need confirmation

GuillaumeCisco (Mon, 03 Jun 2019 15:01:31 GMT):
As I can see: ``` 2019-06-03 14:59:33.441 UTC [comm.grpc.server] 1 -> INFO 009 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=172.20.0.8:60098 grpc.peer_subject="CN=peer1-orderer,OU=peer,O=hfc,L=Nantes,ST=new york,C=US" error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=3.17382ms ``` When doing the call with `peer channel fetch config`

GuillaumeCisco (Mon, 03 Jun 2019 15:50:13 GMT):
Looking a the peer binary code :https://github.com/hyperledger/fabric/blob/eca1b14b7e3453a5d32296af79cc7bad10c7673b/peer/channel/fetch.go and https://github.com/hyperledger/fabric/blob/066713109a853c8faa3786589ed3c40ef8308883/peer/channel/channel.go

GuillaumeCisco (Mon, 03 Jun 2019 15:50:38 GMT):
it looks like we need to do an orderer broadcast, I will try to create this method

GuillaumeCisco (Mon, 03 Jun 2019 16:24:59 GMT):
ok I can assure this is the case after looking at the implementation of fabric-sdk-node

GuillaumeCisco (Tue, 04 Jun 2019 14:27:20 GMT):
I've successfully created this method

GuillaumeCisco (Tue, 04 Jun 2019 14:27:41 GMT):
I will create separate jira issues and PR, once my project run fully with the fabric-sdk-py

GuillaumeCisco (Tue, 04 Jun 2019 14:28:51 GMT):
I add to fix a lot of bugs, especially in decode functions. I also created channel update/upgrade methods

GuillaumeCisco (Tue, 04 Jun 2019 14:28:51 GMT):
I had to fix a lot of bugs, especially in decode functions. I also created channel update/upgrade methods

dexhunter (Thu, 06 Jun 2019 08:17:25 GMT):
@here We will cancel this week's meeting due to low profile. If there are any problems let's discuss offline and have a nice week!

baohua (Thu, 06 Jun 2019 14:43:34 GMT):
Enjoy holidays!

GuillaumeCisco (Fri, 07 Jun 2019 07:06:54 GMT):
I'm happy to tell after a week of development, I've been able to use the fabric-sdk-py fully instead of the peer binary commands. I will create in the next week, several jira issues with their related Pull Request. There is a lot of bug fixes and new methods

GuillaumeCisco (Fri, 07 Jun 2019 17:22:22 GMT):
I spoke too quickly

GuillaumeCisco (Fri, 07 Jun 2019 17:22:51 GMT):
the invoke does not work due to endorsment_policy not being correctly sent to the instantiate/upgrade method

GuillaumeCisco (Fri, 07 Jun 2019 17:22:58 GMT):
I can see this has never been coded

GuillaumeCisco (Fri, 07 Jun 2019 17:23:19 GMT):
I will have to do this, for being able to make it works correctly

dexhunter (Wed, 12 Jun 2019 08:24:41 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-06-13 welcome to attend, thanks!

GuillaumeCisco (Wed, 12 Jun 2019 12:38:25 GMT):
I have an issue when running tests after regenerating the config. For example, on the master branch, I run the `integration/e2e_test.py` test, it works correctly. I regenerate configs and artifacts with `make gen_config`, then retest the e2e_test, it fails

GuillaumeCisco (Wed, 12 Jun 2019 12:38:35 GMT):
Can someone confirm me this behavior?

Kelvin_Moutet (Wed, 12 Jun 2019 15:42:51 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/31862

bbonetee (Wed, 12 Jun 2019 19:44:36 GMT):
Has joined the channel.

bbonetee (Wed, 12 Jun 2019 19:48:50 GMT):
Hi, when trying to invoke chaincode using the sample configurations I am getting the following error: ` ` ` /usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ` ` `

bbonetee (Wed, 12 Jun 2019 19:48:50 GMT):
Hi, when trying to invoke chaincode using the sample configurations I am getting the following error ` File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' `

bbonetee (Wed, 12 Jun 2019 19:48:50 GMT):
Hi, when trying to invoke chaincode using the sample configurations I am getting the following error """File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' """

bbonetee (Wed, 12 Jun 2019 19:48:50 GMT):
Hi, when trying to invoke chaincode using the sample configurations I am getting the following error: /usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' """

bbonetee (Wed, 12 Jun 2019 19:48:50 GMT):
Hi, when trying to invoke chaincode using the sample configurations I am getting the following error: /usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' """

bbonetee (Wed, 12 Jun 2019 19:53:55 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following ` ` File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ` `

bbonetee (Wed, 12 Jun 2019 19:53:55 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following ' ' ' File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ` ` `

bbonetee (Wed, 12 Jun 2019 19:53:55 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following ` ` ` File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ` ` `

bbonetee (Wed, 12 Jun 2019 19:53:55 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following ` File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' `

bbonetee (Wed, 12 Jun 2019 19:57:05 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following `` File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ``

bbonetee (Wed, 12 Jun 2019 19:57:05 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following ` ` File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ` `

bbonetee (Wed, 12 Jun 2019 19:57:05 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following ` File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' `

bbonetee (Wed, 12 Jun 2019 20:01:42 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following: `` ` File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' `` `

bbonetee (Wed, 12 Jun 2019 20:07:13 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following: `File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 1101, in chaincode_invoke responses, proposal, header = channel.send_tx_proposal(tx_context, AttributeError: 'NoneType' object has no attribute 'send_tx_proposal'`

bbonetee (Wed, 12 Jun 2019 20:08:13 GMT):
`test`

bbonetee (Wed, 12 Jun 2019 20:12:01 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following: `Traceback (most recent call last): File "instantiat_cc.py", line 27, in wait_for_event=True # for being sure chaincode is instantiated File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 986, in chaincode_instantiate tx_context_dep, target_peers, channel_name) File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 887, in send_instantiate_proposal return app_channel.send_instantiate_proposal(tx_context, peers) AttributeError: 'NoneType' object has no attribute 'send_instantiate_proposal'

bbonetee (Wed, 12 Jun 2019 20:12:01 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following: `Traceback (most recent call last): File "instantiat_cc.py", line 27, in wait_for_event=True # for being sure chaincode is instantiated File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 986, in chaincode_instantiate tx_context_dep, target_peers, channel_name) File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 887, in send_instantiate_proposal return app_channel.send_instantiate_proposal(tx_context, peers) AttributeError: 'NoneType' object has no attribute 'send_instantiate_proposal'`

bbonetee (Wed, 12 Jun 2019 20:12:01 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following: `Traceback (most recent call last): File "instantiat_cc.py", line 27, in wait_for_event=True # for being sure chaincode is instantiated File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 986, in chaincode_instantiate tx_context_dep, target_peers, channel_name) File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 887, in send_instantiate_proposal return app_channel.send_instantiate_proposal(tx_context, peers) AttributeError: 'NoneType' object has no attribute 'send_instantiate_proposal'`

bbonetee (Wed, 12 Jun 2019 20:12:01 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following: `Traceback (most recent call last): File "instantiat_cc.py", line 27, in wait_for_event=True # for being sure chaincode is instantiated File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 986, in chaincode_instantiate tx_context_dep, target_peers, channel_name) File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 887, in send_instantiate_proposal return app_channel.send_instantiate_proposal(tx_context, peers) `AttributeError: 'NoneType' object has no attribute 'send_instantiate_proposal'`

bbonetee (Wed, 12 Jun 2019 20:12:01 GMT):
Hi when trying to instantiate chaincode, using the sample network and example provided in the tutorial, I see the following: `Traceback (most recent call last): File "instantiat_cc.py", line 27, in wait_for_event=True # for being sure chaincode is instantiated File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 986, in chaincode_instantiate tx_context_dep, target_peers, channel_name) File "/home/ubuntu/pysdk/fsdkpy1/fabric-sdk-py/hfc/fabric/client.py", line 887, in send_instantiate_proposal `return app_channel.send_instantiate_proposal(tx_context, peers)` `AttributeError: 'NoneType' object has no attribute 'send_instantiate_proposal'`

bbonetee (Wed, 12 Jun 2019 20:15:53 GMT):
standing up the sample network works fine, creating and joining the channel works fine, installing the chaincode works fine but instantiating, invoking does not. similar errors. Perhaps something was missed during my setup?

bbonetee (Wed, 12 Jun 2019 20:43:12 GMT):
O.K. - I found what to do from previous chat history, The sample tutorial should be updated to reflect this. spent quite a bit of time tracing this as the make check tests all pass only to look and see that invoke and instantiate are just "pass"

bbonetee (Wed, 12 Jun 2019 20:44:31 GMT):
Thankyou @GuillaumeCisco for solution mentioned in chat

GuillaumeCisco (Thu, 13 Jun 2019 08:10:35 GMT):
Thanks @Lynchm 2 , could you tell us where in the tutorial this step happen?

GuillaumeCisco (Thu, 13 Jun 2019 08:10:35 GMT):
Thanks @Lynchm 2 , could you tell us where in the tutorial this step happens?

GuillaumeCisco (Thu, 13 Jun 2019 08:11:04 GMT):
Also, the channel file whould be entirely refactired, a lot of methods are not used anymore, and new features need to be done

GuillaumeCisco (Thu, 13 Jun 2019 08:29:11 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/31885

GuillaumeCisco (Thu, 13 Jun 2019 08:43:05 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/31886/

GuillaumeCisco (Thu, 13 Jun 2019 09:50:55 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/31889

GuillaumeCisco (Thu, 13 Jun 2019 14:34:07 GMT):
The last CI passes :)

GuillaumeCisco (Thu, 13 Jun 2019 14:34:19 GMT):
I will update the tutorial

GuillaumeCisco (Thu, 13 Jun 2019 14:46:11 GMT):
done ;)

GuillaumeCisco (Thu, 13 Jun 2019 14:46:31 GMT):
I don't think I will have time to split this in mutliples PR

GuillaumeCisco (Thu, 13 Jun 2019 14:46:55 GMT):
These changes took me almost 3 weeks and I have to work on other priorities

bbonetee (Thu, 13 Jun 2019 14:57:45 GMT):
So this happens in the tutorial after you create channel and install chaincode - this all works up to that point in the tutorial, the tutorial should be updated to include adding the new_channel method.

bbonetee (Thu, 13 Jun 2019 14:58:58 GMT):
Also looks like the recent commits broke something, on a fresh install, now getting the following when creating new channel and installing chaincode step:

bbonetee (Thu, 13 Jun 2019 14:58:58 GMT):
Also looks like the recent commits broke something, on a fresh install, now getting the following:

bbonetee (Thu, 13 Jun 2019 14:59:25 GMT):
"False Traceback (most recent call last): File "create_new_channel.py", line 28, in print(len(responses) == 2) TypeError: object of type 'bool' has no len() "

GuillaumeCisco (Thu, 13 Jun 2019 15:15:05 GMT):
@Lynchm 2 Can you tell me where in the tutorial we need to add `new_channel` exactly please, I will update it

GuillaumeCisco (Thu, 13 Jun 2019 15:15:29 GMT):
The recent commits did nothing about delaing with the creation of a new channel

bbonetee (Thu, 13 Jun 2019 15:24:07 GMT):
sure, fwiw, I just verified that you need to run make check first, if you just do make install, you will see the error above. yes I'll post what it should look like shortly

bbonetee (Thu, 13 Jun 2019 15:27:59 GMT):
For section: 3. Operate Chaincodes with Fabric Network

bbonetee (Thu, 13 Jun 2019 15:29:10 GMT):
''' import asyncio from hfc.fabric import Client loop = asyncio.get_event_loop() cli = Client(net_profile="test/fixtures/network.json") org1_admin = cli.get_user('org1.example.com', 'Admin') cli.new_channel('businesschannel') # <--- Add this # Install Example Chaincode to Peers # GOPATH setting is only needed to use the example chaincode inside sdk . . . '''

bbonetee (Thu, 13 Jun 2019 15:29:10 GMT):
''' import asyncio from hfc.fabric import Client loop = asyncio.get_event_loop() cli = Client(net_profile="test/fixtures/network.json") org1_admin = cli.get_user('org1.example.com', 'Admin') cli.new_channel('businesschannel') # Install Example Chaincode to Peers # GOPATH setting is only needed to use the example chaincode inside sdk . . . '''

bbonetee (Thu, 13 Jun 2019 15:31:04 GMT):
Hopefully that's clear?

GuillaumeCisco (Thu, 13 Jun 2019 15:55:45 GMT):
yep

GuillaumeCisco (Thu, 13 Jun 2019 15:56:50 GMT):
I added it to my current PR which fixes a lot of issues: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/31889/ Please @dexhunter and @baohua review it when you have time :)

GuillaumeCisco (Thu, 13 Jun 2019 15:59:07 GMT):
@baohua I found what I was talking about regarding ChaincodeData : https://lists.hyperledger.org/g/fabric/topic/30520766#5801

bbonetee (Thu, 13 Jun 2019 19:26:47 GMT):
I would like to attend the next scheduled meeting if possible :-)

baohua (Fri, 14 Jun 2019 04:47:26 GMT):
Welcome!

GuillaumeCisco (Fri, 14 Jun 2019 14:09:41 GMT):
@dexhunter Are you ok for merging: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/31889 ?

dexhunter (Fri, 14 Jun 2019 15:24:08 GMT):
great job @GuillaumeCisco

GuillaumeCisco (Fri, 14 Jun 2019 15:29:17 GMT):
Thansk a lot!

GuillaumeCisco (Fri, 14 Jun 2019 15:29:17 GMT):
Thanks a lot!

GuillaumeCisco (Fri, 14 Jun 2019 15:29:26 GMT):
Should we create the 0.9.0 release?

GuillaumeCisco (Fri, 14 Jun 2019 15:29:31 GMT):
or a 0.8.1 release?

baohua (Mon, 17 Jun 2019 06:52:31 GMT):
Prefer a v0.9.0 some time in July, after we make it more stable.

Moolkothari (Mon, 17 Jun 2019 09:13:42 GMT):
Has joined the channel.

GuillaumeCisco (Mon, 17 Jun 2019 13:13:06 GMT):
ok

GuillaumeCisco (Thu, 20 Jun 2019 09:20:55 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32000

baohua (Thu, 20 Jun 2019 09:21:52 GMT):
Besides, will cancel this week meeting and let's sync next week.

GuillaumeCisco (Thu, 20 Jun 2019 12:12:05 GMT):
THanks @baohua

GuillaumeCisco (Thu, 20 Jun 2019 12:13:00 GMT):
FYI there is an issue regarding txId missing in some blocks, you can be aware of it here: https://jira.hyperledger.org/browse/FAB-15411

baohua (Thu, 20 Jun 2019 12:34:55 GMT):
yes, saw your comments.

Kelvin_Moutet (Thu, 20 Jun 2019 12:45:12 GMT):
@baohua Do you know if it's possible to get the current chaincode policy of an instantiated chaincode ?

Kelvin_Moutet (Thu, 20 Jun 2019 12:56:39 GMT):
Ah it seems I found a way with https://hyperledger-fabric.readthedocs.io/en/release-1.4/discovery-cli.html#endorsers-query

baohua (Thu, 20 Jun 2019 13:00:50 GMT):
lscc.getdepspec() could help too

GuillaumeCisco (Fri, 21 Jun 2019 10:01:36 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32018

GuillaumeCisco (Fri, 21 Jun 2019 10:01:59 GMT):
This PR fixes an issue on channel update after a config update

GuillaumeCisco (Fri, 21 Jun 2019 10:02:27 GMT):
This was the very last issue in our migration from peer binaries to fabric-sdk-py support

baohua (Fri, 21 Jun 2019 12:24:46 GMT):
Thanks and merged!

GuillaumeCisco (Fri, 21 Jun 2019 12:25:54 GMT):
thank you

GuillaumeCisco (Mon, 24 Jun 2019 07:45:47 GMT):
Hello there, I've created a simple tool regarding endorsment policy transformation for it to work great with fabric-sdk-py. I think I should put this code in the fabric-sdk-py code but I need your advice. Basically it trasnforms endorsment policies https://hyperledger-fabric.readthedocs.io/en/release-1.4/endorsement-policies.html from string format to python dict and the opposite way. policy declared like `OR('Org1.member', 'Org2.member')` will be transformed as: ``` { 'identities': [ { 'role': { 'name': 'member', 'mspId': 'Org1' }}, { 'role': { 'name': "member', 'mspId': 'Org2' }}, ], 'policy': { '1-of': [{ 'signed-by': 0}, { 'signed-by': 1 },] } } ``` It supports all logic `EXPR` (`OR`, `AND`, `OutOf`), I've added some tests, but I will need confirmation for some. Will you be interested for putting this tool in fabric-sdk-py? I think it will be very helpful.

GuillaumeCisco (Mon, 24 Jun 2019 07:45:47 GMT):
Hello there, I've created a simple tool regarding endorsment policy transformation for it to work great with fabric-sdk-py. I think I should put this code in the fabric-sdk-py code but I need your advice. Basically it transforms endorsment policies https://hyperledger-fabric.readthedocs.io/en/release-1.4/endorsement-policies.html from string format to python dict and the opposite way. policy declared like `OR('Org1.member', 'Org2.member')` will be transformed as: ``` { 'identities': [ { 'role': { 'name': 'member', 'mspId': 'Org1' }}, { 'role': { 'name': "member', 'mspId': 'Org2' }}, ], 'policy': { '1-of': [{ 'signed-by': 0}, { 'signed-by': 1 },] } } ``` It supports all logic `EXPR` (`OR`, `AND`, `OutOf`), I've added some tests, but I will need confirmation for some. Will you be interested for putting this tool in fabric-sdk-py? I think it will be very helpful.

GuillaumeCisco (Tue, 25 Jun 2019 12:24:52 GMT):
There was a little issue regarding the package_chaincode method, fix is: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32063/

GuillaumeCisco (Tue, 25 Jun 2019 12:24:58 GMT):
Please merge it asap :)

Kelvin_Moutet (Tue, 25 Jun 2019 13:20:43 GMT):
@dexhunter @baohua :) !

wangdong (Tue, 25 Jun 2019 13:35:15 GMT):
@GuillaumeCisco I think the tools is great.

dexhunter (Tue, 25 Jun 2019 14:24:21 GMT):
merged thanks for the effort! @GuillaumeCisco @Kelvin_Moutet

dexhunter (Tue, 25 Jun 2019 14:24:52 GMT):
We can merge the tool definitely

GuillaumeCisco (Tue, 25 Jun 2019 14:25:52 GMT):
ok I will make a PR for it

GuillaumeCisco (Wed, 26 Jun 2019 10:22:13 GMT):
We found an issue when installiong chaincode with same data, Here is the PR fixing it: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32094 And the details description: https://jira.hyperledger.org/browse/FABP-242

GuillaumeCisco (Wed, 26 Jun 2019 12:53:34 GMT):
@baohua should we remove this issue? https://jira.hyperledger.org/browse/FABP-59

Kelvin_Moutet (Wed, 26 Jun 2019 13:02:13 GMT):
@dexhunter do you have more insight on this one ? https://jira.hyperledger.org/browse/FABP-207

Kelvin_Moutet (Wed, 26 Jun 2019 13:10:52 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/32095

Kelvin_Moutet (Wed, 26 Jun 2019 13:19:46 GMT):
As we have flake8 in make_check, this is still relevant ? https://jira.hyperledger.org/projects/FABP/issues/FABP-93

GuillaumeCisco (Wed, 26 Jun 2019 15:14:32 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32094/ finally pass the build test. Please merge it when you have time :)

dexhunter (Thu, 27 Jun 2019 00:38:42 GMT):
for this, we can just use ide to refactor the code

dexhunter (Thu, 27 Jun 2019 00:43:09 GMT):
sorry I haven't work on that for a while

dexhunter (Thu, 27 Jun 2019 00:49:45 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-06-27 welcome to attend, thanks!

dexhunter (Thu, 27 Jun 2019 00:51:08 GMT):
thanks for the patch @GuillaumeCisco

baohua (Thu, 27 Jun 2019 00:54:57 GMT):
Got!

baohua (Thu, 27 Jun 2019 00:55:21 GMT):
Reviewing ^^^

baohua (Thu, 27 Jun 2019 00:56:46 GMT):
Closed it :)

GuillaumeCisco (Thu, 27 Jun 2019 07:24:59 GMT):
Thansk guys

GuillaumeCisco (Thu, 27 Jun 2019 07:24:59 GMT):
Thanks guys

GuillaumeCisco (Thu, 27 Jun 2019 07:25:12 GMT):
Here is the tools about endorsment policies transformation I was talking about: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32109

GuillaumeCisco (Thu, 27 Jun 2019 07:25:12 GMT):
Here is the tool about endorsment policies transformation I was talking about: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32109

GuillaumeCisco (Thu, 27 Jun 2019 07:25:47 GMT):
it add a new dependency: lark-parser

GuillaumeCisco (Thu, 27 Jun 2019 07:25:47 GMT):
it adds a new dependency: `lark-parser`

madhukar_sh (Thu, 27 Jun 2019 10:13:11 GMT):
Has joined the channel.

madhukar_sh (Thu, 27 Jun 2019 10:13:12 GMT):
Hi all, How can I create an instance of a registered user (to use it as a requestor to invoke chaincode). I understand I have to use `cli.get_user` function -> but this needs the User's credential file paths to be present in the network.json (while creating connection) I am fetching the user's key and certificate from a different place, How can I use them to generate a user instance?

madhukar_sh (Thu, 27 Jun 2019 12:00:33 GMT):
Do I have to create a new network profile for every user?

Kelvin_Moutet (Thu, 27 Jun 2019 12:35:16 GMT):
@madhukar_sh Nope, you have a `create_user` function or you can use the `User` class directly

madhukar_sh (Thu, 27 Jun 2019 12:39:01 GMT):
My bad, did not know there was a User class since it was not mentioned in tutorial / sample.... Any samples on how to use it? (I found one snippet in the integration test)

Kelvin_Moutet (Thu, 27 Jun 2019 12:48:08 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/32112

Kelvin_Moutet (Thu, 27 Jun 2019 12:49:39 GMT):
``` requestor = create_user( name='requestor_name', org='org_name', state_store=FileKeyValueStore('/tmp/kvs'), msp_id='orgMSP', key_path='key_path', cert_path='cert_path' ) ```

madhukar_sh (Thu, 27 Jun 2019 12:52:40 GMT):
Thanks @klenik , Your help is much appreciated...

klenik (Thu, 27 Jun 2019 12:52:40 GMT):
Has joined the channel.

dexhunter (Thu, 27 Jun 2019 13:30:36 GMT):
Sorry guys, I got something to do just now so I missed the meeting this week, will sync later this week

wangdong (Thu, 27 Jun 2019 13:35:07 GMT):
as discussed in the meeting, we may have a new release.

wangdong (Thu, 27 Jun 2019 13:35:32 GMT):
just wonder an formal release?

wangdong (Thu, 27 Jun 2019 13:36:07 GMT):
do we miss still any import features?

wangdong (Thu, 27 Jun 2019 13:36:20 GMT):
this needs some discussion.

baohua (Thu, 27 Jun 2019 13:46:33 GMT):
Regrets, i cannot attend today's meeting due to something urgent. Glad dong attended it. @wangdong

baohua (Thu, 27 Jun 2019 13:46:44 GMT):
I agree we can make a new release in this July.

Kelvin_Moutet (Thu, 27 Jun 2019 13:49:30 GMT):
I think we can release a 0.8.1 with all new features. For the 0.9.0 we surely need lot of cleaning and refacto to be similar to fabric-sdk js and go flows. But we nearly have all important features already implemented

wangdong (Fri, 28 Jun 2019 01:33:43 GMT):
@baohua That's fine. We got a new player. @madhukar_sh

Kelvin_Moutet (Fri, 28 Jun 2019 07:45:51 GMT):
@baohua I see you merged my branch but I forget to add doc string

Kelvin_Moutet (Fri, 28 Jun 2019 07:45:59 GMT):
here the new commit to fix that

Kelvin_Moutet (Fri, 28 Jun 2019 07:46:00 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/32122

Kelvin_Moutet (Fri, 28 Jun 2019 13:53:19 GMT):
@baohua https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32125/

baohua (Fri, 28 Jun 2019 14:14:31 GMT):
👍

GuillaumeCisco (Fri, 28 Jun 2019 14:38:43 GMT):
This will need to be refactored for being consistent with others SDKs. But this implies a lot of other refactos :/

Kelvin_Moutet (Fri, 28 Jun 2019 14:42:41 GMT):
Yes, if there is not more feature to add, I could start maybe next week !

Kelvin_Moutet (Fri, 28 Jun 2019 14:42:41 GMT):
Yes, if there is no more feature to add, I could start maybe next week !

stone-ch (Sat, 29 Jun 2019 03:01:26 GMT):
Has joined the channel.

Kelvin_Moutet (Sun, 30 Jun 2019 10:11:57 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32132/

wangdong (Mon, 01 Jul 2019 06:29:04 GMT):
@Kelvin_Moutet thsi transitMap is for private data. You can find more examples about this in fabric doc.

Kelvin_Moutet (Mon, 01 Jul 2019 06:33:23 GMT):
@wangdong Yep I know :) But I never spend time to focus on this (and see how it works) !

wangdong (Mon, 01 Jul 2019 06:33:52 GMT):
OK.

wangdong (Mon, 01 Jul 2019 07:42:34 GMT):
so I guess you add this feature without a test?

wangdong (Mon, 01 Jul 2019 07:42:58 GMT):
If so, we may need a pr for this too.

Kelvin_Moutet (Mon, 01 Jul 2019 07:50:44 GMT):
I'm adding a test right now

Kelvin_Moutet (Mon, 01 Jul 2019 13:01:54 GMT):
I updated lot of stuff and add test for the transient_map. But I have an issue with `INVALID_ENDORSER_TRANSACTION` https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32132/

Kelvin_Moutet (Mon, 01 Jul 2019 13:02:14 GMT):
during chaincove invoke of the e2e_private_data_test

Kelvin_Moutet (Mon, 01 Jul 2019 13:06:16 GMT):
If someone can help me :) It's strange because it's nearly the same setup as e2e test (but with a different chaincode)

wangdong (Mon, 01 Jul 2019 13:52:01 GMT):
more detail will be better. I did not see this before. It is a bad endorsement?

wangdong (Mon, 01 Jul 2019 14:17:30 GMT):
you can refer to the fabric doc for what does ths mean exactly. This should be at protos/peer

Kelvin_Moutet (Mon, 01 Jul 2019 15:02:04 GMT):
Ah sorry I forgot to add the test

Kelvin_Moutet (Mon, 01 Jul 2019 15:02:35 GMT):
Add with patch 3 : https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32132/

Kelvin_Moutet (Mon, 01 Jul 2019 15:03:25 GMT):
I try to do the invoke from https://hyperledger-fabric.readthedocs.io/en/release-1.4/private_data_tutorial.html#pd-install-instantiate-cc with frabic-sdk-py, and I got the invalid endorser transaction

Kelvin_Moutet (Mon, 01 Jul 2019 15:23:57 GMT):
https://jenkins.hyperledger.org/blue/organizations/jenkins/fabric-sdk-py-verify-x86_64/detail/fabric-sdk-py-verify-x86_64/761/pipeline/#log-736

Kelvin_Moutet (Mon, 01 Jul 2019 15:24:01 GMT):
here it is

Kelvin_Moutet (Tue, 02 Jul 2019 07:22:11 GMT):
`INVALID_ENDORSER_TRANSACTION` could come from https://github.com/hyperledger/fabric/blob/release-1.4/gossip/privdata/util.go#L151 or https://github.com/hyperledger/fabric/blob/release-1.4/core/common/validation/msgvalidation.go#L429 As the test is on private data, I think it comes from the first link.

Kelvin_Moutet (Tue, 02 Jul 2019 08:43:40 GMT):
After more investigation it seems that it comes from msg validation

Kelvin_Moutet (Tue, 02 Jul 2019 08:43:52 GMT):
I have a `2019-07-02 08:39:38.433 UTC [protoutils] ValidateTransaction -> DEBU 623 ValidateTransactionEnvelope returns err proposal hash does not match 2019-07-02 08:39:38.433 UTC [protoutils] ValidateTransaction -> ERRO 624 validateEndorserTransaction returns err proposal hash does not match`

Kelvin_Moutet (Tue, 02 Jul 2019 08:43:52 GMT):
I have a ``` 2019-07-02 08:39:38.433 UTC [protoutils] ValidateTransaction -> DEBU 623 ValidateTransactionEnvelope returns err proposal hash does not match 2019-07-02 08:39:38.433 UTC [protoutils] ValidateTransaction -> ERRO 624 validateEndorserTransaction returns err proposal hash does not match ```

Kelvin_Moutet (Tue, 02 Jul 2019 09:14:09 GMT):
I think I found

Kelvin_Moutet (Tue, 02 Jul 2019 09:14:09 GMT):
https://jira.hyperledger.org/browse/FAB-12536?focusedCommentId=52438&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-52438

Kelvin_Moutet (Tue, 02 Jul 2019 09:14:11 GMT):
We need to return a proposal without the transient map to be sent to the orderer

Kelvin_Moutet (Tue, 02 Jul 2019 09:44:15 GMT):
After fixing this, a issue still remains

Kelvin_Moutet (Tue, 02 Jul 2019 09:44:42 GMT):
``` 019-07-02 09:43:15.035 UTC [gossip.privdata] fetchFromPeers -> WARN 486 Failed fetching private data for block 2 from peers: Empty membership 2019-07-02 09:43:20.045 UTC [gossip.privdata] fetchFromPeers -> WARN 4ae Failed fetching private data for block 2 from peers: Empty membership ```

Kelvin_Moutet (Tue, 02 Jul 2019 09:45:32 GMT):
on peer0 of the second org. I don't know why its try to fetch private data as it does not have the rights to

Kelvin_Moutet (Tue, 02 Jul 2019 09:47:23 GMT):
https://jira.hyperledger.org/browse/FAB-13420

wangdong (Tue, 02 Jul 2019 12:55:39 GMT):
does this cause the failure of the test? This is just a warning.

Kelvin_Moutet (Tue, 02 Jul 2019 13:28:46 GMT):
We can get the public ledger data with the second org because it cannot fetch the block 2

Kelvin_Moutet (Tue, 02 Jul 2019 13:28:51 GMT):
but I found the issue

Kelvin_Moutet (Tue, 02 Jul 2019 13:28:59 GMT):
we need to setup the anchor peer

Kelvin_Moutet (Tue, 02 Jul 2019 13:34:12 GMT):
It now working

Kelvin_Moutet (Tue, 02 Jul 2019 13:34:12 GMT):
It's now working

Kelvin_Moutet (Tue, 02 Jul 2019 13:34:27 GMT):
We can use private data :)

Kelvin_Moutet (Tue, 02 Jul 2019 13:34:42 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32132/

Kelvin_Moutet (Tue, 02 Jul 2019 14:17:47 GMT):
ci fails, but it works on my computer :(

Kelvin_Moutet (Tue, 02 Jul 2019 14:18:03 GMT):
Can someone launch the test to see if there is any other issue

Kelvin_Moutet (Tue, 02 Jul 2019 15:01:25 GMT):
Okay, just a matter of time

Kelvin_Moutet (Tue, 02 Jul 2019 15:10:41 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32132/

Kelvin_Moutet (Tue, 02 Jul 2019 15:10:48 GMT):
It's a success :)

wangdong (Tue, 02 Jul 2019 23:03:17 GMT):
that's great.

wangdong (Tue, 02 Jul 2019 23:04:04 GMT):
yes, the anchor peer is required if the private data features is used.

baohua (Thu, 04 Jul 2019 07:44:15 GMT):
@wangdong @GuillaumeCisco let's have a quick sync today: https://wiki.hyperledger.org/display/fabric/2019-07-04. dixing will not be able to attend.

Kelvin_Moutet (Thu, 04 Jul 2019 09:55:41 GMT):
Guillaume will not be able to attend either

baohua (Thu, 04 Jul 2019 10:21:54 GMT):
ok @wangdong let's sync

wangdong (Thu, 04 Jul 2019 12:40:40 GMT):
sure

wangdong (Thu, 04 Jul 2019 12:40:45 GMT):
@baohua

baohua (Thu, 11 Jul 2019 02:15:50 GMT):
No much to sync. Let’s cancel this week. Dong will plan the 0.8.1 release soon! @wangdong @here

wangdong (Thu, 11 Jul 2019 08:17:00 GMT):
:grimacing:

GuillaumeCisco (Thu, 11 Jul 2019 12:47:42 GMT):
Hey there

GuillaumeCisco (Thu, 11 Jul 2019 12:47:43 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32267

GuillaumeCisco (Thu, 11 Jul 2019 12:48:12 GMT):
I've found an issue with the `decode_last_config_sequence_number` method initialization

GuillaumeCisco (Thu, 11 Jul 2019 12:48:54 GMT):
it broke the fetch_config_block_with_orderer method when no precedent update config was made

GuillaumeCisco (Thu, 11 Jul 2019 13:56:15 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32269/

GuillaumeCisco (Thu, 11 Jul 2019 13:56:44 GMT):
This fix the issue when instatiating a chaincode with no private data <- this is URGENT

GuillaumeCisco (Thu, 11 Jul 2019 13:56:44 GMT):
This fixes the issue when instatiating a chaincode with no private data <- this is URGENT

GuillaumeCisco (Thu, 11 Jul 2019 13:57:42 GMT):
Please merge ASAP

baohua (Thu, 11 Jul 2019 14:42:09 GMT):
Done!

GuillaumeCisco (Thu, 11 Jul 2019 14:46:30 GMT):
thanks @baohua !

wangdong (Thu, 11 Jul 2019 23:48:45 GMT):
@GuillaumeCisco what is the difference before and after?

wangdong (Thu, 11 Jul 2019 23:50:41 GMT):
it is collections_configs ?

wangdong (Thu, 11 Jul 2019 23:51:26 GMT):
This may be none, then it can not be added.

Kelvin_Moutet (Fri, 12 Jul 2019 05:59:06 GMT):
@wangdong If collections_configs is None, we should not pass a `CollectionConfigPackage()` as last argument to insure retro-compatibility with Application channel without at least v1_2 capabilities (for private data).

wangdong (Fri, 12 Jul 2019 09:19:38 GMT):
OK.

wangdong (Fri, 12 Jul 2019 09:20:02 GMT):
you guys are doing deep testing on the sdk?

GuillaumeCisco (Fri, 12 Jul 2019 09:55:38 GMT):
We use it in production

wangdong (Sat, 13 Jul 2019 02:13:32 GMT):
good to hear that.

wangdong (Sat, 13 Jul 2019 02:13:48 GMT):
you are the first customer I guess

dexhunter (Thu, 18 Jul 2019 06:46:25 GMT):
@here We will cancel this week's meeting, let's sync offline, thank you!

baohua (Thu, 18 Jul 2019 06:49:08 GMT):
:grinning:

Kelvin_Moutet (Thu, 18 Jul 2019 14:43:40 GMT):
Does someone know when the 0.8.1 will be released ?

baohua (Thu, 18 Jul 2019 14:58:35 GMT):
Last time talk with @wangdong in meeting, guess we can trigger recently.

baohua (Thu, 18 Jul 2019 14:58:48 GMT):
@Kelvin_Moutet any issues you think to block the release?

Kelvin_Moutet (Thu, 18 Jul 2019 15:01:28 GMT):
Nope, I think. You have some issues in mind @GuillaumeCisco (if we don't take into account the refacto for the 0.9.0)

GuillaumeCisco (Thu, 18 Jul 2019 15:03:22 GMT):
No issues for me

baohua (Thu, 18 Jul 2019 15:45:02 GMT):
Then i think we can trigger! @wangdong what do you think

wangdong (Thu, 18 Jul 2019 23:02:57 GMT):
I am out of office yerterdat.

wangdong (Thu, 18 Jul 2019 23:02:57 GMT):
I am out of office yerterday.

wangdong (Thu, 18 Jul 2019 23:03:19 GMT):
sure.

wangdong (Sun, 21 Jul 2019 10:34:45 GMT):
something wrong with my gerrit account. I have already fired a ticket for it.

GuillaumeCisco (Mon, 22 Jul 2019 08:35:08 GMT):
Hello guys, any news on the 0.8.1version?

GuillaumeCisco (Mon, 22 Jul 2019 08:35:27 GMT):
Do you want me to trigger the new versions on pypi and gerrit?

GuillaumeCisco (Mon, 22 Jul 2019 08:35:27 GMT):
Do you want me to trigger the new version on pypi and gerrit?

wangdong (Mon, 22 Jul 2019 09:43:44 GMT):
I have everything ready. But something wrong with my gerrit account. I can not login.

wangdong (Mon, 22 Jul 2019 09:44:01 GMT):
If you can do that, that will be great.

wangdong (Mon, 22 Jul 2019 09:44:03 GMT):
Thanks.

wangdong (Mon, 22 Jul 2019 09:44:06 GMT):
@GuillaumeCisco

wangdong (Mon, 22 Jul 2019 09:44:23 GMT):
I have logged a ticket, no response so far.

GuillaumeCisco (Mon, 22 Jul 2019 09:52:09 GMT):
Unfortunately I don't have the right to create the 0.8.1 release on either gerrit or github :/

GuillaumeCisco (Mon, 22 Jul 2019 09:52:47 GMT):
I've been removed from the fabric github organization because I don't use 2 factor authentification

GuillaumeCisco (Mon, 22 Jul 2019 10:08:54 GMT):
``` $> git tag 0.8.1 $> git push origin --tags Total 0 (delta 0), reused 0 (delta 0) remote: error: branch refs/tags/0.8.1: remote: You need 'Create' rights to create new references. remote: User: GuillaumeCisco remote: Contact an administrator to fix the permissions remote: Processing changes: refs: 1, done To ssh://gerrit.hyperledger.org:29418/fabric-sdk-py ! [remote rejected] 0.8.1 -> 0.8.1 (prohibited by Gerrit: not permitted: create) error: failed to push some refs to 'ssh://GuillaumeCisco@gerrit.hyperledger.org:29418/fabric-sdk-py' ```

GuillaumeCisco (Mon, 22 Jul 2019 10:10:52 GMT):
We also need to update the `CHANGELOG.md`, `Makefile`, `release_note.md` and `version.py` files in a new gerrit PR

GuillaumeCisco (Mon, 22 Jul 2019 16:11:18 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32433

GuillaumeCisco (Mon, 22 Jul 2019 16:11:18 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32433 <- build failing due to new version of RX: https://github.com/ReactiveX/RxPY. I'm on it

wangdong (Tue, 23 Jul 2019 01:15:27 GMT):
I think there is admin in this channel. I need help for my gerrit account.

wangdong (Tue, 23 Jul 2019 01:16:23 GMT):
@tijohnson I got you.

wangdong (Tue, 23 Jul 2019 01:16:37 GMT):
could you please help that?

GuillaumeCisco (Tue, 23 Jul 2019 08:26:15 GMT):
build on https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32433 is now successful

baohua (Wed, 24 Jul 2019 02:43:41 GMT):
Merged!

baohua (Wed, 24 Jul 2019 02:43:57 GMT):
@GuillaumeCisco @wangdong @dexhunter Anything need to discuss this week?

baohua (Wed, 24 Jul 2019 02:45:27 GMT):
@GuillaumeCisco for the 2fa issue, you may contact helpdesk@hyperledger.org.

dexhunter (Wed, 24 Jul 2019 04:12:11 GMT):
@here We will cancel this week's meeting, let's sync offline, thank you!

baohua (Wed, 24 Jul 2019 04:27:57 GMT):
:grinning:

GuillaumeCisco (Wed, 24 Jul 2019 07:21:27 GMT):
Thanks @baohua

GuillaumeCisco (Wed, 24 Jul 2019 07:21:39 GMT):
who should I contact for this issue: `remote: Contact an administrator to fix the permissions`?

klenik (Wed, 24 Jul 2019 13:23:46 GMT):
Has left the channel.

GuillaumeCisco (Thu, 25 Jul 2019 14:30:09 GMT):
I've created a very big PR for improving the channel event hub feature. This can lead to breaking changes: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32500/

GuillaumeCisco (Thu, 25 Jul 2019 15:10:45 GMT):
Ok, right now, as I added new tests, the test build timed out :/

GuillaumeCisco (Thu, 25 Jul 2019 16:03:25 GMT):
I removed the py30 test, as we do not need it anymore due to new rx dependency

GuillaumeCisco (Thu, 25 Jul 2019 16:04:07 GMT):
the build has been successful in 19min54s. Our timeout is 20min, we should increase it

wangdong (Fri, 26 Jul 2019 01:48:30 GMT):
The build? You mean the local test process?

wangdong (Fri, 26 Jul 2019 01:48:45 GMT):
I have my gerrit issue resolved.

wangdong (Fri, 26 Jul 2019 02:00:39 GMT):
@GuillaumeCisco The patch is too big.

wangdong (Fri, 26 Jul 2019 02:00:39 GMT):
@GuillaumeCisco The patch is too big, including many topic. And code changes a lot. It would be better split it into small ones. It is good to reveiw.

wangdong (Fri, 26 Jul 2019 02:56:49 GMT):
could you please split it into some smaller? Especally for the big topic. Put the simples into one will be fine.

GuillaumeCisco (Fri, 26 Jul 2019 08:00:06 GMT):
I could but it will have no sense... Everything is interdependant

GuillaumeCisco (Fri, 26 Jul 2019 08:00:26 GMT):
can @Kelvin_Moutet and @baohua review please?

GuillaumeCisco (Fri, 26 Jul 2019 08:00:47 GMT):
by the way, did you retrieve your gerrit credentials for publishing the 0.8.1 release?

GuillaumeCisco (Fri, 26 Jul 2019 08:00:50 GMT):
would be great

Kelvin_Moutet (Fri, 26 Jul 2019 08:02:22 GMT):
Yes, I will surely did it on monday

Kelvin_Moutet (Fri, 26 Jul 2019 08:02:22 GMT):
Yes, I will surely do it on monday

GuillaumeCisco (Fri, 26 Jul 2019 08:35:52 GMT):
I will split as far as I can @wangdong

GuillaumeCisco (Fri, 26 Jul 2019 08:36:05 GMT):
but with that some PR will need to be merged bewfore others...

GuillaumeCisco (Fri, 26 Jul 2019 08:36:05 GMT):
but with that some PR will need to be merged before others...

GuillaumeCisco (Fri, 26 Jul 2019 08:36:05 GMT):
but with that some PR will need to be merged before others and a lot of rebase will be needed (which is a pain in the ass)...

GuillaumeCisco (Fri, 26 Jul 2019 08:36:09 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32532

GuillaumeCisco (Fri, 26 Jul 2019 08:45:40 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32533

GuillaumeCisco (Fri, 26 Jul 2019 09:15:26 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32534

GuillaumeCisco (Fri, 26 Jul 2019 09:16:16 GMT):
we need to wait for these one to be merged, then I will be able to rebase the first one

GuillaumeCisco (Fri, 26 Jul 2019 09:18:00 GMT):
currently all the builds fail due to the 20min timeout on the jenkins build...

GuillaumeCisco (Fri, 26 Jul 2019 09:18:25 GMT):
We need to wait for someone from the team of @tijohnson to increase this timeout

wangdong (Fri, 26 Jul 2019 14:18:17 GMT):
sure.

wangdong (Fri, 26 Jul 2019 14:18:17 GMT):
I will review them soon make sure you can go straight.

tijohnson (Fri, 26 Jul 2019 16:08:55 GMT):
@GuillaumeCisco I need a list of jobs that need increased timeouts and what do you want to increase them to?

baohua (Fri, 26 Jul 2019 19:07:50 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32500/

wangdong (Fri, 26 Jul 2019 21:25:38 GMT):
https://gerrit.hyperledger.org/r/c/fabric-sdk-py/+/32543

wangdong (Sat, 27 Jul 2019 06:41:53 GMT):
`test/unit/channel/channel_event_hub_test.py .....Build timed out (after 20 minutes). Marking the build as failed.`

wangdong (Sat, 27 Jul 2019 07:12:20 GMT):
`ERROR: docker-compose 1.23.2 has requirement requests!=2.11.0,!=2.12.2,!=2.18.0,<2.21,>=2.6.1, but you'll have requests 2.22.0 which is incompatible.`

wangdong (Sat, 27 Jul 2019 07:13:18 GMT):
the test requirement for requrest is requests >= 2.12.4

wangdong (Sat, 27 Jul 2019 07:13:50 GMT):
2.22.0 is the latest. But which component requires the latest version?

hengfun (Sun, 28 Jul 2019 10:21:51 GMT):
Hi all does anyone know how to change to fabric orderer to the BFT orderer?

GuillaumeCisco (Mon, 29 Jul 2019 08:37:33 GMT):
Shouldn't we use the last version of docker-compose which is : `docker-compose 1.24.1` ?

GuillaumeCisco (Mon, 29 Jul 2019 08:59:25 GMT):
Thanks to @tijohnson the new timeout on the reverify is now 30min, this build is now successful: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32533/

GuillaumeCisco (Mon, 29 Jul 2019 12:37:38 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32534/ is now successful too

GuillaumeCisco (Mon, 29 Jul 2019 12:38:18 GMT):
this one too: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32543/

GuillaumeCisco (Mon, 29 Jul 2019 12:38:32 GMT):
READY for merge and for creating new version on gerrit and on pypi

wangdong (Mon, 29 Jul 2019 14:59:00 GMT):
@GuillaumeCisco I have merged the release patch.

wangdong (Mon, 29 Jul 2019 14:59:44 GMT):
I think I do not have the access to upload the new pipy for I am not listed as the maintainer there.

wangdong (Mon, 29 Jul 2019 15:00:02 GMT):
Would you please help up load the pipy package?

GuillaumeCisco (Mon, 29 Jul 2019 15:31:43 GMT):
yes, but before that

GuillaumeCisco (Mon, 29 Jul 2019 15:31:55 GMT):
can you tag the gerrit branch ? So it is repercuted on github ?

GuillaumeCisco (Mon, 29 Jul 2019 15:31:55 GMT):
can you tag the gerrit branch ? So it is reverberated on github ?

GuillaumeCisco (Mon, 29 Jul 2019 15:32:15 GMT):
https://github.com/hyperledger/fabric-sdk-py/releases

GuillaumeCisco (Mon, 29 Jul 2019 15:33:00 GMT):
Curiously I don't have the permission to do it laike before....

GuillaumeCisco (Mon, 29 Jul 2019 15:33:00 GMT):
Curiously I don't have the permission to do it like before....

madhukar_sh (Mon, 29 Jul 2019 15:33:32 GMT):
do you people mind if I ask a Fabric related issue on this channel?

GuillaumeCisco (Mon, 29 Jul 2019 15:33:43 GMT):
if it is about fabric-sdk-py, no

madhukar_sh (Mon, 29 Jul 2019 15:33:58 GMT):
Unfortunately its not :(

GuillaumeCisco (Mon, 29 Jul 2019 15:34:12 GMT):
you can ask you question on fabric-questions

GuillaumeCisco (Mon, 29 Jul 2019 15:34:12 GMT):
you can ask your question on fabric-questions

madhukar_sh (Mon, 29 Jul 2019 15:34:35 GMT):
not able to find help... nvm

wangdong (Mon, 29 Jul 2019 15:36:18 GMT):
OK. I will tag it soon.

wangdong (Mon, 29 Jul 2019 15:36:57 GMT):
I have reviewed your patches too. Thanks for your splitting which made the patch sets more clear and easy to read.

wangdong (Mon, 29 Jul 2019 15:37:02 GMT):
Thank you.

wangdong (Mon, 29 Jul 2019 15:37:09 GMT):
@GuillaumeCisco

GuillaumeCisco (Mon, 29 Jul 2019 15:37:37 GMT):
I will rebase the last one after we release 0.8.1 and we merge the little ones

GuillaumeCisco (Mon, 29 Jul 2019 15:37:51 GMT):
the modification will be available for a 0.8.2

wangdong (Mon, 29 Jul 2019 15:44:35 GMT):
OK. it seems I can not create new tag too.

wangdong (Mon, 29 Jul 2019 15:45:39 GMT):
@baohua

GuillaumeCisco (Mon, 29 Jul 2019 15:53:45 GMT):
do you want me to merge the revert commit @wangdong ?

wangdong (Mon, 29 Jul 2019 15:54:31 GMT):
I have revert it and I want to push again.

GuillaumeCisco (Mon, 29 Jul 2019 15:55:26 GMT):
do you want to submit https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32564/ ?

wangdong (Mon, 29 Jul 2019 15:56:26 GMT):
this is the release patch.

wangdong (Mon, 29 Jul 2019 15:57:16 GMT):
I got the tag as 0.8.1 before. Is that cause?

wangdong (Mon, 29 Jul 2019 15:57:28 GMT):
it should be v0.8.1

GuillaumeCisco (Mon, 29 Jul 2019 15:57:57 GMT):
I don't understand what you are trying to achieve

GuillaumeCisco (Mon, 29 Jul 2019 15:58:05 GMT):
this PR is about reverting to 0.8.0

wangdong (Mon, 29 Jul 2019 15:58:46 GMT):
It is supposed to be a new release after I pushed the new patch.

wangdong (Mon, 29 Jul 2019 15:59:02 GMT):
we should also see it in github.

GuillaumeCisco (Mon, 29 Jul 2019 16:01:32 GMT):
Ok I'm lost

GuillaumeCisco (Mon, 29 Jul 2019 16:01:48 GMT):
I have to go, see you tomorrow

wangdong (Mon, 29 Jul 2019 23:34:45 GMT):
I have pushed the new tag. New release v0.8.1 done.

wangdong (Mon, 29 Jul 2019 23:34:51 GMT):
:grimacing:

wangdong (Tue, 30 Jul 2019 01:03:12 GMT):
I have to checkout to a new branch to push the tag? I can not push the tags to master last night.

madhukar_sh (Tue, 30 Jul 2019 06:04:28 GMT):
Im getting endorsement failure.. I ve generated all materials using Cryptogen, and have used py SDK to join channels, install and deploy chaincode... This is my policy -> ``` policy = { 'identities': [ {'role': {'name': 'member', 'mspId': 'Org1MSP'}}, {'role': {'name': 'member', 'mspId': 'Org2MSP'}}, ], 'policy': { '2-of': [ {'signed-by': 0}, {'signed-by': 1}, ] } } ``` I have 2 orgs running with 2 peers each in them (all 4 of them have chaincode installed... I get the following error: ```principal evaluation succeeds for identity 0 skipping identity 0 because it has already been used```

madhukar_sh (Tue, 30 Jul 2019 06:04:28 GMT):
Im getting endorsement failure.. I ve generated all materials using Cryptogen, and have used py SDK to join channels, install and deploy chaincode... This is my policy -> ``` policy = { 'identities': [ {'role': {'name': 'member', 'mspId': 'Org1MSP'}}, {'role': {'name': 'member', 'mspId': 'Org2MSP'}}, ], 'policy': { '2-of': [ {'signed-by': 0}, {'signed-by': 1}, ] } } ``` I have 2 orgs running with 2 peers each in them (all 4 of them have chaincode installed... I get the following error: ```principal evaluation succeeds for identity 0 skipping identity 0 because it has already been used principal evaluation fails ```

madhukar_sh (Tue, 30 Jul 2019 06:04:48 GMT):
Not sure if it has anything to do with sdk issue

madhukar_sh (Tue, 30 Jul 2019 06:04:48 GMT):
Not sure if it has anything to do with sdk

GuillaumeCisco (Tue, 30 Jul 2019 07:23:59 GMT):
great @wangdong

GuillaumeCisco (Tue, 30 Jul 2019 07:24:12 GMT):
But I think we will have to untag the version: https://github.com/hyperledger/fabric-sdk-py/commits/v0.8.1

GuillaumeCisco (Tue, 30 Jul 2019 07:24:30 GMT):
As you can see, the merge from @baohua has been included

GuillaumeCisco (Tue, 30 Jul 2019 07:24:52 GMT):
It should not be present in this version...

GuillaumeCisco (Tue, 30 Jul 2019 07:27:01 GMT):
@madhukar_sh https://jira.hyperledger.org/browse/FAB-14145?workflowName=FAB%3A+Bug+Workflow&stepId=2

madhukar_sh (Tue, 30 Jul 2019 07:28:31 GMT):
Yes, I did see that

madhukar_sh (Tue, 30 Jul 2019 07:29:39 GMT):
Since this is the fist Put query, the read set should be empty...

madhukar_sh (Tue, 30 Jul 2019 07:29:54 GMT):
Or say, Empty couchDB database

wangdong (Tue, 30 Jul 2019 09:08:05 GMT):
@GuillaumeCisco Yes, there are two merges. This guy worked so late.

wangdong (Tue, 30 Jul 2019 09:08:50 GMT):
But I wonder does it matter greatly. These two patches are all about the bug fixes.

wangdong (Tue, 30 Jul 2019 09:09:50 GMT):
anyway let me try to tag before them.

GuillaumeCisco (Tue, 30 Jul 2019 09:12:03 GMT):
yes it matters a lot !

GuillaumeCisco (Tue, 30 Jul 2019 09:12:14 GMT):
you should untag et retag it

GuillaumeCisco (Tue, 30 Jul 2019 09:12:27 GMT):
how did you get the rights for tagging? Did you do something special?

GuillaumeCisco (Tue, 30 Jul 2019 09:12:33 GMT):
I could do it too

wangdong (Tue, 30 Jul 2019 09:20:05 GMT):
fix it.

wangdong (Tue, 30 Jul 2019 09:20:19 GMT):
and done.

GuillaumeCisco (Tue, 30 Jul 2019 14:17:31 GMT):
well done

GuillaumeCisco (Tue, 30 Jul 2019 14:17:40 GMT):
we need to deploy on pypi now

GuillaumeCisco (Tue, 30 Jul 2019 14:21:57 GMT):
https://pypi.org/manage/project/fabric-sdk-py/releases/

GuillaumeCisco (Tue, 30 Jul 2019 14:22:00 GMT):
it's ok ;)

wangdong (Wed, 31 Jul 2019 01:05:20 GMT):
coudl you add me as the maintainer in pypi

baohua (Wed, 31 Jul 2019 16:32:30 GMT):
Maintainers should be able to do tagging on the code, otherwise, feel free to contact helpdesk@hyperledger.org.

dexhunter (Thu, 01 Aug 2019 01:58:39 GMT):
@here We will cancel this week's meeting, please sync offline, thank you!

baohua (Thu, 01 Aug 2019 03:15:27 GMT):
got thank!

GuillaumeCisco (Thu, 01 Aug 2019 07:36:53 GMT):
could you review this one @wangdong @baohua please: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32534/

GuillaumeCisco (Thu, 01 Aug 2019 07:37:29 GMT):
once merge, I will be able to rebase the big one: https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32500/, and close this chapter

wangdong (Fri, 02 Aug 2019 08:48:58 GMT):
OK. I will do it this weekend.

GuillaumeCisco (Fri, 02 Aug 2019 15:48:46 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/32500/ is finally successful

GuillaumeCisco (Mon, 05 Aug 2019 08:13:24 GMT):
thanks @baohua ;)

GuillaumeCisco (Mon, 05 Aug 2019 08:37:40 GMT):
only three issue remaining in https://jira.hyperledger.org/projects/FABP/issues/FABP-33?filter=allopenissues

GuillaumeCisco (Mon, 05 Aug 2019 08:38:13 GMT):
We could create issues for refactoring channel/client files. creating MSPManager, Idemix, And review setMutualTLS

GuillaumeCisco (Mon, 05 Aug 2019 08:38:13 GMT):
We could create issues for refactoring channel/client files. creating MSPManager, Idemix, finish channel event service, refacto code and review setMutualTLS

GuillaumeCisco (Mon, 05 Aug 2019 08:38:13 GMT):
We could create issues for update README, tutorial, refactoring channel/client files. creating MSPManager, Idemix, finish channel event service, refacto code and review setMutualTLS

baohua (Thu, 08 Aug 2019 08:06:34 GMT):
Agree!

baohua (Thu, 08 Aug 2019 08:08:30 GMT):
@dexhunter @wangdong @GuillaumeCisco Should we discuss today? We've 0.8.1 cut last week: https://github.com/hyperledger/fabric-sdk-py/releases/tag/v0.8.1.

dexhunter (Thu, 08 Aug 2019 08:16:03 GMT):
@baohua sure, I am available today

dexhunter (Thu, 08 Aug 2019 08:21:42 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-08-08 welcome to attend, thanks!

GuillaumeCisco (Thu, 08 Aug 2019 08:37:17 GMT):
Yes we should release the 0.8.2 with an updated tutorial

GuillaumeCisco (Thu, 08 Aug 2019 13:45:54 GMT):
Is there a project regarding implementing chaincode with python like the one in node js: https://github.com/hyperledger/fabric-chaincode-node ?

GuillaumeCisco (Thu, 08 Aug 2019 13:46:10 GMT):
Would be great to write chaincode in python for isomorphism solutions

dexhunter (Thu, 08 Aug 2019 15:12:02 GMT):
yes, would be really nice if there are python support for chaincode

dexhunter (Thu, 08 Aug 2019 15:12:02 GMT):
yes, would be really nice if there is python support for chaincode

GuillaumeCisco (Thu, 08 Aug 2019 16:12:47 GMT):
I see there is no idemix support for fabric-sdk-node, only for fabric-sdk-java

GuillaumeCisco (Thu, 08 Aug 2019 16:12:52 GMT):
is it normal?

GuillaumeCisco (Fri, 09 Aug 2019 13:36:56 GMT):
Here is the document for implementing idemix in fabric-sdk-node: https://docs.google.com/document/d/12iJUJ0GsSDCoMKnMalbvchFHJveWj5LxOTGrIYlk04g/edit

GuillaumeCisco (Fri, 09 Aug 2019 13:37:10 GMT):
issue is: https://jira.hyperledger.org/browse/FABN-689

GuillaumeCisco (Fri, 09 Aug 2019 13:37:27 GMT):
seems nothing since april

GuillaumeCisco (Mon, 12 Aug 2019 08:25:59 GMT):
Ok guys, idemix seems far more complicated than I thought (only sending request to the fabric-ca). Here is my message on the topic: https://lists.hyperledger.org/g/fabric/message/6625

wangdong (Wed, 14 Aug 2019 02:50:15 GMT):
yes, that's too complicated. As I know the inital functionality is implemented now.

baohua (Wed, 14 Aug 2019 06:32:07 GMT):
idemix is not that mature now, still have some known shortcoming. I think we can put it as low priority.

GuillaumeCisco (Wed, 14 Aug 2019 07:47:21 GMT):
Ok so we are not waiting for it for releasing the 1.0.0?

dexhunter (Thu, 15 Aug 2019 06:32:22 GMT):
@here We will cancel this week's meeting, please sync offline, thank you!

baohua (Fri, 16 Aug 2019 04:15:11 GMT):
Not see the release plan of this idemix tool, you find any? @GuillaumeCisco

galaxystar (Tue, 20 Aug 2019 01:25:32 GMT):
Has joined the channel.

hengfun (Wed, 21 Aug 2019 22:11:57 GMT):

Clipboard - August 22, 2019 12:11 AM

hengfun (Wed, 21 Aug 2019 22:12:09 GMT):
any ideas why there is an error with grpc after submit a certain amount of transactions?

hengfun (Wed, 21 Aug 2019 23:32:22 GMT):
seems that resource is exhausted

hengfun (Wed, 21 Aug 2019 23:32:25 GMT):

Clipboard - August 22, 2019 1:32 AM

baohua (Thu, 22 Aug 2019 03:50:38 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/33108/

baohua (Thu, 22 Aug 2019 03:51:31 GMT):
@hengfun gRPC by default cannot handle msg larger than 4MB. FYI.

dexhunter (Thu, 22 Aug 2019 07:10:40 GMT):
@here We will cancel this week's meeting, please sync offline, thank you!

hengfun (Thu, 22 Aug 2019 10:44:05 GMT):
@baohua Thank you, i figured it out, just changed the opt in create_channel

hengfun (Thu, 22 Aug 2019 10:44:05 GMT):
@baohua Thank you, i figured it out, just changed the opt in create_grpc_channel

dexhunter (Wed, 28 Aug 2019 02:34:51 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-08-29 welcome to attend, thanks!

GuillaumeCisco (Mon, 02 Sep 2019 14:36:53 GMT):
Hello guys, I'm back from holliday

GuillaumeCisco (Mon, 02 Sep 2019 14:37:36 GMT):
I wonder, is there some rsa support right now in fabric-sdk-py?

GuillaumeCisco (Mon, 02 Sep 2019 14:38:02 GMT):
looks like no, I only see Ecies for ECDSA

GuillaumeCisco (Mon, 02 Sep 2019 14:38:24 GMT):
can someone confirm me that

GuillaumeCisco (Tue, 03 Sep 2019 14:17:10 GMT):
just post an article about RSA support here: https://lists.hyperledger.org/g/fabric/message/6738

GuillaumeCisco (Tue, 03 Sep 2019 14:17:42 GMT):
I also began writing the implementation of RSA in the fabric-sdk-py, but I cannot keep going if the basic go code does not support it

AlbertCL (Wed, 04 Sep 2019 06:24:17 GMT):
contribute

dexhunter (Thu, 05 Sep 2019 02:01:56 GMT):
@GuillaumeCisco glad to see you back =)

dexhunter (Thu, 05 Sep 2019 02:02:15 GMT):
@here We will cancel this week's meeting, please sync offline, thank you!

baohua (Thu, 05 Sep 2019 14:07:51 GMT):
Got and thanks!

baohua (Thu, 05 Sep 2019 14:51:29 GMT):
Right rsa is not supported. Think we can cut a 0.9.0 release now?

GuillaumeCisco (Fri, 06 Sep 2019 07:26:29 GMT):
Yes

GuillaumeCisco (Fri, 06 Sep 2019 08:21:08 GMT):
@baohua with my refactoring of the channel event hub, I think I forgot to update the chaincode_upgrade method. We are testing it right now, and it failed in our process, I'm on it, and think I've just found the issue, we will need to make a quick fix

GuillaumeCisco (Fri, 06 Sep 2019 08:47:23 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/33389

GuillaumeCisco (Fri, 06 Sep 2019 08:47:28 GMT):
Please merge ASAP

Kelvin_Moutet (Fri, 06 Sep 2019 09:12:09 GMT):
@baohua @dexhunter :) !

baohua (Fri, 06 Sep 2019 14:39:56 GMT):
:grinning:

GuillaumeCisco (Fri, 06 Sep 2019 14:42:38 GMT):
thanks a lot

baohua (Fri, 06 Sep 2019 16:17:18 GMT):
Besides, should we consider to make the 0.9.0 release now?

GuillaumeCisco (Mon, 09 Sep 2019 08:10:44 GMT):
I think so

GuillaumeCisco (Mon, 09 Sep 2019 08:11:09 GMT):
maybe we should review the tutorial one more time

GuillaumeCisco (Mon, 09 Sep 2019 08:11:21 GMT):
I think I've seen some inconsistencies with the code

GuillaumeCisco (Tue, 10 Sep 2019 08:41:04 GMT):
I'm looking at https://hyperledger-fabric.readthedocs.io/en/release-1.4/developapps/application.html#gateway and I see we can define some strategies regarding channel event service, it could be a great feature to add

baohua (Tue, 10 Sep 2019 20:36:32 GMT):
I agree, the event part is very important and not easy to handle.

dexhunter (Wed, 11 Sep 2019 11:03:05 GMT):
Anything you guys want to discuss this week? @GuillaumeCisco @Kelvin_Moutet @baohua

dexhunter (Wed, 11 Sep 2019 11:03:05 GMT):
Anything you guys want to discuss this week? @GuillaumeCisco @Kelvin_Moutet

GuillaumeCisco (Wed, 11 Sep 2019 12:06:45 GMT):
Not a lot

GuillaumeCisco (Wed, 11 Sep 2019 12:07:07 GMT):
I need to take time to review the tutorial.md and create an up[date, but I'm running out of time right now, I'm sorry

GuillaumeCisco (Wed, 11 Sep 2019 12:07:07 GMT):
I need to take time to review the tutorial.md and create an update, but I'm running out of time right now, I'm sorry

dexhunter (Wed, 11 Sep 2019 12:07:43 GMT):
ok, then let's cancel this week's meeting

dexhunter (Wed, 11 Sep 2019 12:08:05 GMT):
@here We will cancel this week's meeting, please sync offline, thank you!

baohua (Wed, 11 Sep 2019 17:22:31 GMT):
OK, thanks!

mikeyangyo (Thu, 12 Sep 2019 07:03:51 GMT):
Has joined the channel.

mikeyangyo (Thu, 12 Sep 2019 07:03:52 GMT):
Hi all, I have some problems for couchdb index installation with fabric-sdk-py, could I ask in this channel?

GuillaumeCisco (Thu, 12 Sep 2019 08:08:37 GMT):
Yes, but sorry, I won't be of any help, never used couchdb yet

mikeyangyo (Thu, 12 Sep 2019 10:38:03 GMT):
ok thanks

mikeyangyo (Thu, 12 Sep 2019 10:40:23 GMT):
My problem is that I need to install couchdb index when chaincode installation to perform complex query

mikeyangyo (Thu, 12 Sep 2019 10:40:46 GMT):
But i could not find arguments for chaincode install function to point out the index folder

baohua (Thu, 12 Sep 2019 17:20:28 GMT):
@mikeyangyo what kind of parameter for that in Node SDK?

mikeyangyo (Fri, 13 Sep 2019 04:47:25 GMT):
@baohua is metadataPath in installChaincode request

mikeyangyo (Fri, 13 Sep 2019 04:47:49 GMT):
you could found in this tutorial https://github.com/hyperledger/fabric-sdk-node/blob/release-1.4/docs/tutorials/metadata-chaincode.md

mikeyangyo (Fri, 13 Sep 2019 04:48:54 GMT):
this argument is the path of couchDB index folder

mikeyangyo (Fri, 13 Sep 2019 04:50:58 GMT):
but if you use command to install chaincode it will find the index folder hierarchy such like META-INF/statedb/couchdb/indexes in chaincode folder

mikeyangyo (Wed, 18 Sep 2019 09:32:12 GMT):
Hi all, Is anyone ever use ca-service with fabric-sdk-py?

mikeyangyo (Wed, 18 Sep 2019 09:32:56 GMT):
I register a new user with my ca service, and enroll it to get the enrollment object

mikeyangyo (Wed, 18 Sep 2019 09:33:26 GMT):
I try to save it as a physic file to pass it to network json file

mikeyangyo (Wed, 18 Sep 2019 09:34:14 GMT):
but when i try to query from ledger with this user, I got some error msg

mikeyangyo (Wed, 18 Sep 2019 09:34:52 GMT):
Such like access denied: channel [CHANNEL_NAME] creator org [ORG_MSPID]

mikeyangyo (Wed, 18 Sep 2019 09:35:56 GMT):
And I found error msg in peer container which is the supplied identity is not valid: x509: certificate signed by unknown authority

mikeyangyo (Wed, 18 Sep 2019 09:38:06 GMT):
I used was use following code to convert private key object to a byte string `pem = private_key.private_bytes( encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.TraditionalOpenSSL, encryption_algorithm=serialization.NoEncryption() )`

mikeyangyo (Wed, 18 Sep 2019 09:38:06 GMT):
I used was use following code to convert private key object to a byte string `pem = private_key.private_bytes( encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.TraditionalOpenSSL, encryption_algorithm=serialization.NoEncryption() )

mikeyangyo (Wed, 18 Sep 2019 09:38:06 GMT):
I used was use following code to convert private key object to a byte string ` pem = private_key.private_bytes( encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.TraditionalOpenSSL, encryption_algorithm=serialization.NoEncryption() ) `

mikeyangyo (Wed, 18 Sep 2019 09:38:06 GMT):
I used was use following code to convert private key object to a byte string pem = private_key.private_bytes( encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.TraditionalOpenSSL, encryption_algorithm=serialization.NoEncryption() )

mikeyangyo (Wed, 18 Sep 2019 09:38:06 GMT):
I wrote following code to convert private key object to a byte string pem = private_key.private_bytes( encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.TraditionalOpenSSL, encryption_algorithm=serialization.NoEncryption() )

dexhunter (Thu, 19 Sep 2019 06:57:55 GMT):
@here We will cancel this week's meeting, please sync offline, thank you!

GuillaumeCisco (Thu, 19 Sep 2019 07:32:38 GMT):
we use it @mikeyangyo

GuillaumeCisco (Thu, 19 Sep 2019 07:33:30 GMT):
we simply save the private key returned by fabric-sdk-py ca_service to a file, and then make it available to a Peer or User instance

mikeyangyo (Thu, 19 Sep 2019 10:10:02 GMT):
@GuillaumeCisco Do you use private_bytes function to store private key to a file?

GuillaumeCisco (Thu, 19 Sep 2019 12:23:18 GMT):
no

GuillaumeCisco (Thu, 19 Sep 2019 12:23:38 GMT):
oh sorry yes we do

GuillaumeCisco (Thu, 19 Sep 2019 12:23:43 GMT):
just checkout the code

GuillaumeCisco (Thu, 19 Sep 2019 12:24:02 GMT):
here is a sample: ``` private_key = enrollment._private_key.private_bytes(encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.PKCS8, encryption_algorithm=serialization.NoEncryption()) filename = os.path.join(msp_dir, 'keystore', 'key.pem') writeFile(filename, private_key) ```

GuillaumeCisco (Thu, 19 Sep 2019 12:24:42 GMT):
``` def writeFile(filename, content): os.makedirs(os.path.dirname(filename), exist_ok=True) with open(filename, 'wb') as f: f.write(content) ```\

GuillaumeCisco (Thu, 19 Sep 2019 12:24:42 GMT):
``` def writeFile(filename, content): os.makedirs(os.path.dirname(filename), exist_ok=True) with open(filename, 'wb') as f: f.write(content) ```

GuillaumeCisco (Thu, 19 Sep 2019 12:25:13 GMT):
enrollment is just a ``` enrollment = cacli.enroll(user['name'], user['pass'], csr=csr, profile=profile, attr_reqs=attr_reqs) ```

GuillaumeCisco (Thu, 19 Sep 2019 12:26:09 GMT):
then our user is created thanks to `from hfc.fabric.user import create_user`

GuillaumeCisco (Thu, 19 Sep 2019 12:26:28 GMT):
which signature is : `def create_user(name, org, state_store, msp_id, key_path, cert_path, crypto_suite=ecies()):`

prabal (Thu, 19 Sep 2019 17:41:57 GMT):
Hi. I am using `docker-compose-2orgs-4peers-tls.yaml` to create the network and `test/sample.py` to interact with my chaincode. Everything is working fine. However, without restarting the network, if I try to query chaincode using another python code, it gives error. `cc_name='example_cc' File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/anon/fabric/fabric-sdk-py/hfc/fabric/client.py", line 1791, in chaincode_query channel_name).send_tx_proposal(tx_context, target_peers) AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ` Do I need to use the same `loop=ayncio.get_event_loop()` for all interactions? What if I want to interact with cc using multiple different programs? Without using asyncio, I get this error: `sys:1: RuntimeWarning: coroutine 'Client.chaincode_query' was never awaited`

prabal (Thu, 19 Sep 2019 17:41:57 GMT):
Hi. I am using `docker-compose-2orgs-4peers-tls.yaml` to create the network and `test/sample.py` to interact with my chaincode. Everything is working fine. However, without restarting the network, if I try to query chaincode using another python code, it gives error. ```cc_name='example_cc' File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/anon/fabric/fabric-sdk-py/hfc/fabric/client.py", line 1791, in chaincode_query channel_name).send_tx_proposal(tx_context, target_peers) AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ` Do I need to use the same `loop=ayncio.get_event_loop()` for all interactions? What if I want to interact with cc using multiple different programs? Without using asyncio, I get this error: `sys:1: RuntimeWarning: coroutine 'Client.chaincode_query' was never awaited`

prabal (Thu, 19 Sep 2019 17:41:57 GMT):
Hi. I am using `docker-compose-2orgs-4peers-tls.yaml` to create the network and `test/sample.py` to interact with my chaincode. Everything is working fine. However, without restarting the network, if I try to query chaincode using another python code, it gives error. ```cc_name='example_cc' File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/anon/fabric/fabric-sdk-py/hfc/fabric/client.py", line 1791, in chaincode_query channel_name).send_tx_proposal(tx_context, target_peers) AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ``` Do I need to use the same `loop=ayncio.get_event_loop()` for all interactions? What if I want to interact with cc using multiple different programs? Without using asyncio, I get this error: `sys:1: RuntimeWarning: coroutine 'Client.chaincode_query' was never awaited`

prabal (Thu, 19 Sep 2019 17:41:57 GMT):
Hi. I am using `docker-compose-2orgs-4peers-tls.yaml` to create the network and `test/sample.py` to interact with my chaincode. Everything is working fine. However, without restarting the network, if I try to query chaincode using another python code, it gives error. ```cc_name='example_cc' File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/home/anon/fabric/fabric-sdk-py/hfc/fabric/client.py", line 1791, in chaincode_query channel_name).send_tx_proposal(tx_context, target_peers) AttributeError: 'NoneType' object has no attribute 'send_tx_proposal' ``` Do I need to use the same `loop=asyncio.get_event_loop()` for all interactions? What if I want to interact with cc using multiple different programs? Without using asyncio, I get this error: `sys:1: RuntimeWarning: coroutine 'Client.chaincode_query' was never awaited`

prabal (Fri, 20 Sep 2019 04:35:26 GMT):
In `hfc/fabric/client.py` the `_channels` dict seems to get populated only if new channel is created. Is this the intended behaviour? How will query on existing channels and chaincodes work? The `get_channel` function returns `None` in those cases, resulting in the aforementioned error.

mikeyangyo (Mon, 23 Sep 2019 06:15:24 GMT):
@GuillaumeCisco Thanks for your sample, I will test it.

GuillaumeCisco (Mon, 23 Sep 2019 07:21:05 GMT):
you need to instanciate a channel. Currently the network.json does not deal with channel. A next update will do that.

prabal (Tue, 24 Sep 2019 09:46:53 GMT):
Thanks

prabal (Tue, 24 Sep 2019 09:51:54 GMT):
Is there a tutorial or sample code present which deals with private data using fabric-sdk-py? When I try to use `test/fixtures/chaincode/src/github.com/marbles_cc_private` with `collections_config` set to `https://github.com/hyperledger/fabric-samples/blob/release-1.4/chaincode/marbles02_private/collections_config.json`, I face errors like ```File "/home/student/fabric/fabric-sdk-py/hfc/fabric/channel/channel.py", line 520, in _check_policy raise Exception('Invalid policy, missing' Exception: Invalid policy, missing the "identities" property ```

BlackPantherIX (Tue, 24 Sep 2019 14:26:30 GMT):
Has joined the channel.

BlackPantherIX (Tue, 24 Sep 2019 14:33:52 GMT):
Hi, I want to use Hyperledger Fabric and especially Hyperledger Fabric Python SDK to run a prototype of a little blockchain use-case for my diploma. BUT I'm not able to make at least the sample from the tutorial work. I just run out of ideas, what I can try to do. Is there any better documentation or sample of the usage of the SDK? Thank you for your help.

baohua (Wed, 25 Sep 2019 04:56:29 GMT):
@GuillaumeCisco @dexhunter @wangdong anything to discuss this week? Next week should be the holidays in China.

GuillaumeCisco (Wed, 25 Sep 2019 12:44:11 GMT):
no

GuillaumeCisco (Wed, 25 Sep 2019 12:44:27 GMT):
I will soon update the tutorial

baohua (Wed, 25 Sep 2019 16:21:44 GMT):
OK, then we will cancel.

baohua (Wed, 25 Sep 2019 16:22:23 GMT):
@here the hyperledger community will migrate from the gerrit CI to the github one. Please pay attention to the latest progress at #cicd channel.

Kelvin_Moutet (Wed, 25 Sep 2019 18:01:34 GMT):
@baohua Does the repo will moove also from gerrit to github ?

Kelvin_Moutet (Wed, 25 Sep 2019 18:01:34 GMT):
@baohua Does the repo will move also from gerrit to github ?

Kelvin_Moutet (Wed, 25 Sep 2019 18:01:34 GMT):
@baohua Does the repo will move also from gerrit to github too ?

baohua (Wed, 25 Sep 2019 21:12:27 GMT):
I think so. currently it automatically mirror the code from gerrit to github. After the migration, it will be pushed into github repo directly.

madhukar_sh (Thu, 26 Sep 2019 02:19:30 GMT):
Any documentation on how to create index (couchdb) using fabric-sdk-py

madhukar_sh (Thu, 26 Sep 2019 02:26:05 GMT):
somebody asked a couple of days ago as well.. any response for the same?

baohua (Thu, 26 Sep 2019 02:28:51 GMT):
Do not think there's special support of it. Have you found in other SDK?

madhukar_sh (Thu, 26 Sep 2019 02:31:53 GMT):
Fabric documentation says there is this directory structure follow: https://hyperledger-fabric.readthedocs.io/en/release-1.4/couchdb_tutorial.html#add-the-index-to-your-chaincode-folder

madhukar_sh (Thu, 26 Sep 2019 02:32:25 GMT):
And Fabric NodeSDK has a page where it talks about the same: https://fabric-sdk-node.github.io/tutorial-metadata-chaincode.html

dexhunter (Thu, 26 Sep 2019 03:00:16 GMT):
@here We will cancel this week's meeting, please sync offline, thank you!

baohua (Thu, 26 Sep 2019 04:29:53 GMT):
Thanks!

baohua (Thu, 26 Sep 2019 04:31:15 GMT):
I think you can put the index as indicated, the sdk will treat the path as the chaincode package, no matter there's index or not.

madhukar_sh (Thu, 26 Sep 2019 04:58:39 GMT):
Let me try it out today..

GuillaumeCisco (Thu, 26 Sep 2019 13:35:57 GMT):
https://gerrit.hyperledger.org/r/#/c/fabric-sdk-py/+/33771

GuillaumeCisco (Thu, 26 Sep 2019 13:36:04 GMT):
little fix

BlackPantherIX (Thu, 26 Sep 2019 15:23:01 GMT):
Thanks, I hope it'll come in time.

GuillaumeCisco (Thu, 26 Sep 2019 15:23:41 GMT):
start by telling us where it fail on the tutorial

GuillaumeCisco (Thu, 26 Sep 2019 15:23:41 GMT):
start by telling us where it fails on the tutorial

BlackPantherIX (Fri, 27 Sep 2019 11:30:49 GMT):
First of all I don't know exactly where I need to store / start my python app. Can I start it from anywhere or do I need to store it in the docker image of the sdk?

BlackPantherIX (Fri, 27 Sep 2019 11:39:38 GMT):
And on executing the sample.py from the sdk docs I'm encountering many errors like this: sample.py:43: RuntimeWarning: coroutine 'Client.channel_create' was never awaited

GuillaumeCisco (Fri, 27 Sep 2019 12:12:05 GMT):
ok

GuillaumeCisco (Fri, 27 Sep 2019 12:12:14 GMT):
give me a little context

GuillaumeCisco (Fri, 27 Sep 2019 12:12:44 GMT):
are you a beginner, intermediate or expert in python?

GuillaumeCisco (Fri, 27 Sep 2019 12:12:57 GMT):
you have issues with asynchronous process

GuillaumeCisco (Fri, 27 Sep 2019 12:13:23 GMT):
there is no dockerimage of the sdk, so don't understand what you are trying to achieve

GuillaumeCisco (Fri, 27 Sep 2019 12:13:23 GMT):
there is no docker image of the sdk, so I don't understand what you are trying to achieve

BlackPantherIX (Fri, 27 Sep 2019 12:13:46 GMT):
I'd say intermediate.

BlackPantherIX (Fri, 27 Sep 2019 12:14:33 GMT):
But in the tutorial there's a line what tells me to make an image. https://github.com/hyperledger/fabric-sdk-py#generating-docker-images

BlackPantherIX (Fri, 27 Sep 2019 12:15:16 GMT):
And I have it running and tried to start the sample.py from this container. But there had been no difference.

BlackPantherIX (Fri, 27 Sep 2019 12:16:32 GMT):
I'm pretty sure I've missed a thing between starting a fabric network and using it via a python script (and the sdk in between)

GuillaumeCisco (Fri, 27 Sep 2019 12:17:52 GMT):
this is not the tutorial

GuillaumeCisco (Fri, 27 Sep 2019 12:18:05 GMT):
tutorial is here : https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md

GuillaumeCisco (Fri, 27 Sep 2019 12:18:19 GMT):
why are you trying to build images?

BlackPantherIX (Fri, 27 Sep 2019 12:19:17 GMT):
I thought I need a running container of the sdk which handles the function calls of my python script.

BlackPantherIX (Fri, 27 Sep 2019 12:20:21 GMT):
And yes, I'd been going through all the steps from the tutorial you've mentioned.

GuillaumeCisco (Fri, 27 Sep 2019 12:20:23 GMT):
sdk is like all others sdk, simply import it

baohua (Fri, 27 Sep 2019 18:36:12 GMT):
+2!

madhukar_sh (Sat, 28 Sep 2019 02:26:46 GMT):
Our tutorial is fine, When I started - It was good enough to strat and get going.. Where we lack is a documentation / a reference index of what all functions are available in the SDK. For example createUser function of the CAService -> I never knew it existed until someone here mentioned when i asked over chat.. It would be great to have some SDK/APi reference where possible functionalities are listed

madhukar_sh (Sat, 28 Sep 2019 02:26:46 GMT):
Our tutorial is fine, When I started - It was good enough to start and get going. Where we lack is a documentation / a reference index of what all functions are available in the SDK. For example ```createUser function of the CAService ```-> I never knew it existed until someone here mentioned when i asked over chat. It would be great to have some SDK/APi reference where possible functionalities are listed

madhukar_sh (Sat, 28 Sep 2019 02:27:02 GMT):
I can help in developing that...

madhukar_sh (Sat, 28 Sep 2019 02:27:24 GMT):
Any idea what may be causing this error? ```txEvents = self.evts[self.evt_tx_id]['txEvents'] KeyError: 'txEvents' Task exception was never retrieved```

madhukar_sh (Sat, 28 Sep 2019 02:34:57 GMT):
Error is from here: ``` Line 1726, hfc/fabric/client.py # check if all tx are valids txEvents = self.evts[self.evt_tx_id]['txEvents'] statuses = [x['tx_status'] for x in txEvents] if not all([x == 'VALID' for x in statuses]): raise Exception(statuses)``` Is it because there are no transaction events? Wondering how can transaction_id exist if there were no tx events

GuillaumeCisco (Mon, 30 Sep 2019 08:48:25 GMT):
would be great

GuillaumeCisco (Mon, 30 Sep 2019 08:49:06 GMT):
Interesting @madhukar_sh I wonder how you succeeded triggering this error. Do you know how to reproduce that?

GuillaumeCisco (Mon, 30 Sep 2019 08:51:08 GMT):
`txEvents` is populated here: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L1246

GuillaumeCisco (Mon, 30 Sep 2019 08:51:24 GMT):
it looks like the chaincode tx event never received it

GuillaumeCisco (Mon, 30 Sep 2019 09:16:05 GMT):
it can be done here too: https://github.com/hyperledger/fabric-sdk-py/blob/master/hfc/fabric/client.py#L1194

mikeyangyo (Tue, 01 Oct 2019 05:28:24 GMT):
Hi all, I have some problems during I use ca service of fabric-sdk-py

mikeyangyo (Tue, 01 Oct 2019 05:29:18 GMT):
1. is any possible the length of content of credential generated by ca-service and crypto-gen command are different?

mikeyangyo (Tue, 01 Oct 2019 05:29:18 GMT):
1. is any possible the length of content of certificate generated by ca-service and crypto-gen command are different?

mikeyangyo (Tue, 01 Oct 2019 05:32:41 GMT):
and i use following program to generate the certificate files

mikeyangyo (Tue, 01 Oct 2019 05:32:42 GMT):
cli = ca_service(target="http://127.0.0.1:7054") adminEnrollment = cli.enroll("admin", "adminpw") # now local will have the admin enrollment user_name = "User3" secret = adminEnrollment.register(user_name) # register a user to ca user1Enrollment = cli.enroll(user_name, secret) # now local will have the user enrollment user_ca_cert = user1Enrollment.caCert user_cert = user1Enrollment.cert private_key = user1Enrollment.private_key ca_cert_filename = os.path.join(os.path.abspath('./keystore'), 'ca-cert.pem') cert_filename = os.path.join(os.path.abspath('./keystore'), 'cert.pem') pk_filename = os.path.join(os.path.abspath('./keystore'), 'key.pem') private_key = private_key.private_bytes( encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.PKCS8, encryption_algorithm=serialization.NoEncryption()) writeFile(ca_cert_filename, user_ca_cert) writeFile(cert_filename, user_cert) writeFile(pk_filename, private_key)

mikeyangyo (Tue, 01 Oct 2019 05:32:42 GMT):
``` cli = ca_service(target="http://127.0.0.1:7054") adminEnrollment = cli.enroll("admin", "adminpw") # now local will have the admin enrollment user_name = "User3" secret = adminEnrollment.register(user_name) # register a user to ca user1Enrollment = cli.enroll(user_name, secret) # now local will have the user enrollment user_ca_cert = user1Enrollment.caCert user_cert = user1Enrollment.cert private_key = user1Enrollment.private_key ca_cert_filename = os.path.join(os.path.abspath('./keystore'), 'ca-cert.pem') cert_filename = os.path.join(os.path.abspath('./keystore'), 'cert.pem') pk_filename = os.path.join(os.path.abspath('./keystore'), 'key.pem') private_key = private_key.private_bytes( encoding=serialization.Encoding.PEM, format=serialization.PrivateFormat.PKCS8, encryption_algorithm=serialization.NoEncryption()) writeFile(ca_cert_filename, user_ca_cert) writeFile(cert_filename, user_cert) writeFile(pk_filename, private_key) ```

mikeyangyo (Tue, 01 Oct 2019 05:37:45 GMT):
and then use following program to query

mikeyangyo (Tue, 01 Oct 2019 05:37:50 GMT):
``` from hfc.fabric.user import create_user from hfc.util.keyvaluestore import FileKeyValueStore import os import asyncio cli = Client(net_profile=CONNECTION_PROFILE_PATH) loop = asyncio.get_event_loop() cli.new_channel('businesschannel') kv_store_path = '/tmp/hfc-kvs' state_store = FileKeyValueStore(kv_store_path) user = create_user('User3', 'gdpworld.gdp.world', state_store, 'GDPWorldMSP', os.path.abspath('./keystore/key.pem'), os.path.abspath('./keystore/ca-cert.pem')) print(user) fcn = 'list' args = ['transaction', query_string, bookmark, str(limit)] # The response should be true if succeed response = loop.run_until_complete( cli.chaincode_query( requestor=user, channel_name=CHANNEL_NAME, peers=[PEER_HOST], fcn=fcn, args=args, cc_name=CC_NAME, )) print("Query to list chaincode done.") response = loads(response) ```

mikeyangyo (Tue, 01 Oct 2019 05:38:28 GMT):
but i got the error such like `access denied: channel [CHANNEL_NAME] creator org [GDPWorldMSP]`

mikeyangyo (Tue, 01 Oct 2019 05:39:05 GMT):
and log in peer container is `channel [CHANNEL_NAME]: MSP error: the supplied identity is not valid: x509: certificate signed by unknown authority`

mikeyangyo (Tue, 01 Oct 2019 05:39:44 GMT):
Does someone know how to fix this problem?

mikeyangyo (Tue, 01 Oct 2019 05:39:44 GMT):
Does someone has any idea to fix it?

mikeyangyo (Tue, 01 Oct 2019 05:40:15 GMT):
It look like I give sdk a wrong certificate

dexhunter (Thu, 03 Oct 2019 02:19:38 GMT):
@mikeyangyo it seems to me that `GDPWorldMSP` is not a valid msp id, maybe you can double check your connection profile?

dexhunter (Thu, 03 Oct 2019 02:20:33 GMT):
@here We will cancel this week's meeting and happy Chinese national day! =) If there are any problems, let sync offline. Thank you!

GuillaumeCisco (Fri, 04 Oct 2019 07:58:31 GMT):
Hum first of all @mikeyangyo you are not placing your cert files in the right directories. Private key should be in keystore, cert should be in signcerts, ca-cert should be in cacerts as described here https://hyperledger-fabric.readthedocs.io/en/release-1.4/msp.html#msp-setup-on-the-peer-orderer-side

GuillaumeCisco (Fri, 04 Oct 2019 07:59:53 GMT):
did you displayed the certificate you get from ca enrolling ? `openssl -x509 --noout --text --in path_to_cert`

GuillaumeCisco (Fri, 04 Oct 2019 07:59:53 GMT):
did you displaye the certificate you get from ca enrolling ? `openssl -x509 --noout --text --in path_to_cert`

GuillaumeCisco (Fri, 04 Oct 2019 07:59:53 GMT):
did you display the certificate you get from ca enrolling ? `openssl -x509 --noout --text --in path_to_cert`

GuillaumeCisco (Fri, 04 Oct 2019 08:00:18 GMT):
You will have a lot of helpful data in there

GuillaumeCisco (Fri, 04 Oct 2019 08:01:09 GMT):
does your peer has correct certificates too?

GuillaumeCisco (Fri, 04 Oct 2019 08:01:09 GMT):
does your peer have correct certificates too?

mikeyangyo (Sun, 06 Oct 2019 05:54:01 GMT):
@dexhunter thanks for your response, I'm sure the msp is right

mikeyangyo (Sun, 06 Oct 2019 06:02:21 GMT):
@GuillaumeCisco sorry, i'm new for fabric. so, i could not get the point you provided

mikeyangyo (Sun, 06 Oct 2019 06:03:43 GMT):
how could i know my peers have the correct certificates too

mikeyangyo (Sun, 06 Oct 2019 06:03:43 GMT):
how could i know my peers have the correct certificates?

mikeyangyo (Sun, 06 Oct 2019 06:04:38 GMT):
the cert files for my peer is generate by using cryptogen command

mikeyangyo (Sun, 06 Oct 2019 06:05:33 GMT):
and i need to generate the command for my app, so i think i need to use ca the generate them

mikeyangyo (Sun, 06 Oct 2019 06:08:17 GMT):
and if i use `openssl -x509 --noout --text --in path_to_cert`, how to know my cert files are correct

dexhunter (Thu, 10 Oct 2019 04:39:00 GMT):
@here we will cancel this week's meeting due to low profile, let's sync offline, thank you!

baohua (Thu, 10 Oct 2019 17:35:10 GMT):
++

baohua (Thu, 10 Oct 2019 17:35:10 GMT):
:)

dexhunter (Thu, 24 Oct 2019 05:41:25 GMT):
@GuillaumeCisco Anything to discuss on your side this week? @baohua reminds us that we might migrate to Githubt in near future and we can follow Project Cello's new guideline when that change happens https://github.com/hyperledger/cello/wiki/Contribution-Process

dexhunter (Thu, 24 Oct 2019 08:16:11 GMT):
Ok, we will cancel this week's meeting due to low profile, let us sync offline, thank you! @here

baohua (Thu, 24 Oct 2019 21:20:34 GMT):
OK

GuillaumeCisco (Fri, 25 Oct 2019 07:28:47 GMT):
no @dexhunter I'm sorry, but currently I am extremely busy at work and I don't have time to work on fabric-sdk-py. I hope I will be able to come back soon, I have a lot of ideas for improving it :)

hengfun (Fri, 25 Oct 2019 17:36:51 GMT):
Hi all, I've built a end to end verifiable voting application based on https://heliosvoting.org/ on fabric-sdk-py. If this is of interest, I will create a github repo.

baohua (Fri, 25 Oct 2019 18:58:15 GMT):
@hengfun interesting to know more!

baohua (Fri, 25 Oct 2019 18:58:15 GMT):
@hengfun interesting! want to know more!

hengfun (Fri, 25 Oct 2019 19:12:12 GMT):
@baohua It was for my master's thesis, https://drive.google.com/open?id=1uG-1p0X3pbk_8ApbRxEV_LTZ9lS9ufxT

hengfun (Fri, 25 Oct 2019 19:12:45 GMT):
I have working code but it needs to be cleaned up, the election smart contract is in go, the app uses the python sdk

hengfun (Fri, 25 Oct 2019 19:13:00 GMT):
only CLI, not web app or anything

hengfun (Fri, 25 Oct 2019 19:13:25 GMT):
my supervisor was Professor Christian Cachin

baohua (Fri, 25 Oct 2019 19:16:20 GMT):
Sure, we can add a link to your work from the sdk-py repo. It seems a nice usage.

hengfun (Fri, 25 Oct 2019 19:17:41 GMT):
Great, I will have to clean up the code a bit. And document installation ect.

dexhunter (Wed, 30 Oct 2019 02:48:20 GMT):
@hengfun looks cool! glad to see an application using fabric python sdk =)

dexhunter (Wed, 30 Oct 2019 02:48:53 GMT):
@here just wonder if anyone has anything to discuss this week? Thank you!

GuillaumeCisco (Wed, 30 Oct 2019 08:14:06 GMT):
cannot make it this week, sorry. Will soon be able to work fully on fabric-sdk-py ;)

GuillaumeCisco (Wed, 30 Oct 2019 08:15:39 GMT):
@hengfun Great you worked with Christian Cachin, is he in Switzerland right now? Do you think you can make a contact between him and I? Thanks

dexhunter (Wed, 30 Oct 2019 12:36:43 GMT):
@hengfun Hi, we'd like to invite you to talk about your project at our weekly meeting if you are available. Thanks.

dexhunter (Wed, 30 Oct 2019 12:38:41 GMT):
As a fellow researcher, I am very interested to learn more about the project =)

hengfun (Wed, 30 Oct 2019 14:41:08 GMT):
@dexhunter Sounds good, when is the meeting?

hengfun (Wed, 30 Oct 2019 14:44:03 GMT):
@GuillaumeCisco Yes, he's has a lab in University of Bern, https://crypto.unibe.ch/. Christian is very responsive, I emailed him for projects and he responded. here is his contact cachin@inf.unibe.ch

GuillaumeCisco (Wed, 30 Oct 2019 14:46:12 GMT):
Thanks a lot

dexhunter (Wed, 30 Oct 2019 14:51:07 GMT):
@hengfun you can check previous wiki about the time https://wiki.hyperledger.org/display/fabric/2019-08-29, in China it's 9pm(UTC+8) Thursday night, for Switzerland should be 2pm(UTC+1)

dexhunter (Wed, 30 Oct 2019 14:53:55 GMT):
@hengfun So are you available during this time? I'll send notification accordingly, thanks!

hengfun (Wed, 30 Oct 2019 14:57:01 GMT):
@dexhunter I'm currently based in Seattle, this seems to be at 6am, It's a little early but I can make it. When is the next meeting?

dexhunter (Wed, 30 Oct 2019 14:58:37 GMT):
oh, I see. That's very early for you then XD. We can do it tomorrow or we can wait for @GuillaumeCisco and have meeting in next week.

GuillaumeCisco (Wed, 30 Oct 2019 14:59:48 GMT):
I'm on UTC+!, living in France :)

GuillaumeCisco (Wed, 30 Oct 2019 14:59:48 GMT):
I'm on UTC+1, living in France :)

GuillaumeCisco (Wed, 30 Oct 2019 15:00:59 GMT):
I can be available tomorrow, but I have nothing new to talk except a little thing :)

dexhunter (Wed, 30 Oct 2019 15:01:49 GMT):
ok, then. So I think tomorrow is good, I also don't have much to talk about but I am very happy to hear from @hengfun about his project =)

dexhunter (Wed, 30 Oct 2019 15:06:57 GMT):
@here Dear all, we will have meeting 9PM this Thursday evening, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2019-10-31 welcome to attend, thanks!

hengfun (Wed, 30 Oct 2019 15:22:27 GMT):
Hi do you mind if we push it back 1 hour? It will give me some time to prepare, also worried I might not wake up in time :sweat_smile:

dexhunter (Wed, 30 Oct 2019 15:23:48 GMT):
need to consult with @baohua since I am not sure whether there will be another meeting going around that time

hengfun (Wed, 30 Oct 2019 15:24:14 GMT):
If not I can make it

dexhunter (Wed, 30 Oct 2019 16:06:10 GMT):
@here ok, after consulting with @baohua we decided to make a change for the meeting time of this week which works better for @hengfun. So for this week, the meeting time will be 9am(UTC+8) 6pm(UTC-7) 2am(UTC+1) https://wiki.hyperledger.org/display/fabric/2019-11-01

dexhunter (Wed, 30 Oct 2019 16:06:10 GMT):
@here ok, after consulting with @baohua we decided to make a change for the meeting time of this week which works better for @hengfun. So for this week, the meeting time will be 9am(UTC+8) 6pm(UTC-7) 2am(UTC+1) please find updated information here https://wiki.hyperledger.org/display/fabric/2019-11-01

dexhunter (Wed, 30 Oct 2019 16:06:10 GMT):
@here ok, after consulting with @baohua we decided to make a change for the meeting time of this week which works better for @hengfun. So for this week, the meeting time will be 9am(UTC+8) 6pm(UTC-7) 2am(UTC+1) please find updated information here: https://wiki.hyperledger.org/display/fabric/2019-11-01

dexhunter (Wed, 30 Oct 2019 16:06:30 GMT):
@GuillaumeCisco sorry about the change, it might be inconvenient for you

dexhunter (Wed, 30 Oct 2019 16:07:18 GMT):
cc @rjones

rjones (Wed, 30 Oct 2019 16:07:18 GMT):
Has joined the channel.

GuillaumeCisco (Thu, 31 Oct 2019 13:08:41 GMT):
sorry guys, after upgrading to ubuntu 19.10, my computer was not booting anymore, had to repair it this morning

GuillaumeCisco (Thu, 31 Oct 2019 13:09:46 GMT):
oh yeah 2am is a little be lately :upside_down:

baohua (Thu, 31 Oct 2019 18:17:34 GMT):
timezone is always a big challenge... winter is coming!

hengfun (Fri, 01 Nov 2019 00:57:31 GMT):
Hi everyone i'm ready when you guys are I'm already in the zoom

dexhunter (Fri, 01 Nov 2019 01:46:07 GMT):
@hengfun hi, could you send the link to slides here? I will update the link on fabric-sdk-py doc later. Thanks

hengfun (Fri, 01 Nov 2019 01:46:39 GMT):
sounds good

hengfun (Fri, 01 Nov 2019 01:55:57 GMT):
https://docs.google.com/presentation/d/1S8JCE3X1jb7sRA5rPzOX6FAnVEkGukknHhodyoBmbG8/edit?usp=sharing

dexhunter (Fri, 01 Nov 2019 01:56:11 GMT):
great, thank you! @hengfun

rjones (Fri, 01 Nov 2019 04:06:23 GMT):
Has left the channel.

SimonSchuler (Thu, 07 Nov 2019 10:20:16 GMT):
Has joined the channel.

dexhunter (Thu, 14 Nov 2019 13:18:56 GMT):
@here Sorry I forgot to put notification but this week's meeting is cancelled due to low profile. Let's sync offline. Thanks. By the way, we are going to migrate to github soon, @baohua has set up wiki and project feature.

GuillaumeCisco (Thu, 14 Nov 2019 14:31:43 GMT):
I'm happy to say our code is now open source: https://github.com/SubstraFoundation ;)

GuillaumeCisco (Thu, 14 Nov 2019 14:31:55 GMT):
feel free to browse it ;)

baohua (Thu, 14 Nov 2019 20:14:39 GMT):
Coool!

baohua (Thu, 14 Nov 2019 20:15:19 GMT):
:beer:

BrettLogan (Fri, 15 Nov 2019 03:12:28 GMT):
Has joined the channel.

BrettLogan (Fri, 15 Nov 2019 03:12:29 GMT):
Fabric-SDK-Py has migrated to GitHub for Pull Requests now. Please open new change requests in GitHub using the Pull Requests tab

BrettLogan (Fri, 15 Nov 2019 03:12:42 GMT):
Has left the channel.

dexhunter (Thu, 21 Nov 2019 10:57:58 GMT):
@BrettLogan great, thank you!

BrettLogan (Thu, 21 Nov 2019 10:57:58 GMT):
Has joined the channel.

dexhunter (Thu, 21 Nov 2019 10:58:34 GMT):
@GuillaumeCisco congratulations on the milestone, looks very cool!

dexhunter (Thu, 21 Nov 2019 10:59:03 GMT):
@here We will cancenl this week's meeting due to low profile, let us sync offline, thank you!

giuzero (Fri, 22 Nov 2019 19:11:00 GMT):
Has joined the channel.

giuzero (Fri, 22 Nov 2019 19:11:01 GMT):
Hi like to decentralize cli on a different machine from the one of the node. Since the cli machine can’t run nodejs we are trying to create a custom cli with python sdk to enroll and use the cli. We managed to install the hfc.fabric module running with Python3.6.8 but we have issues we try to instantiate the Client object passing the network configuration json: maybe the network json we are using is not suitable for this sdk but for node js sdk and java sdk it does work. This is the snippet of the error from hfc.fabric import Client cli = Client(net_profile="network.json") File "test.py", line 3, in cli = Client(net_profile=" network.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys' our network.json is like https://github.com/skcript/hyperledger-fabric-composer-multiorg-sample/blob/master/connection-org1.json Thanks

giuzero (Fri, 22 Nov 2019 19:11:01 GMT):
Hi like to decentralize cli on a different machine from the one of the node. Since the cli machine can’t run nodejs we are trying to create a custom cli with python sdk to enroll and use the cli. We managed to install the hfc.fabric module running with Python3.6.8 but we have issues we try to instantiate the Client object passing the network configuration json: maybe the network json we are using is not suitable for this sdk but for node js sdk and java sdk it does work. This is the snippet of the error from hfc.fabric import Client cli = Client(net_profile="network.json") File "test.py", line 3, in cli = Client(net_profile=" network.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys' Thanks

giuzero (Fri, 22 Nov 2019 19:11:01 GMT):
Hi, I'd like to decentralize cli on a different machine from the one of the node. Since the cli machine can’t run nodejs we are trying to create a custom cli with python sdk to enroll and use the cli. We managed to install the hfc.fabric module running with Python3.6.8 but we have issues we try to instantiate the Client object passing the network configuration json: maybe the network json we are using is not suitable for this sdk but for node js sdk and java sdk it does work. This is the snippet of the error from hfc.fabric import Client cli = Client(net_profile="network.json") File "test.py", line 3, in cli = Client(net_profile=" network.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys' Thanks

giuzero (Fri, 22 Nov 2019 19:11:01 GMT):
Hi, I'd like to decentralize cli on a different machine from the one of the node. Since the cli machine can’t run nodejs we are trying to create a custom cli with python sdk to enroll and use the cli. We managed to install the hfc.fabric module running with Python3.6.8 but we have issues we try to instantiate the Client object passing the network configuration json: maybe the network json we are using is not suitable for this sdk but for node js sdk and java sdk it does work. This is the snippet of the error from hfc.fabric import Client cli = Client(net_profile="network.json") File "test.py", line 3, in cli = Client(net_profile=" network.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys' Debian Stretch 32bit Thanks

giuzero (Fri, 22 Nov 2019 19:11:01 GMT):
Hi, I'd like to decentralize cli on a different machine from the one of the node. Since the cli machine can’t run nodejs we are trying to create a custom cli with python sdk to enroll and use the cli. We managed to install the hfc.fabric module running with Python3.6.8 but we have issues we try to instantiate the Client object passing the network configuration json: maybe the network json we are using is not suitable for this sdk but for node js sdk and java sdk it does work. This is the snippet of the error from hfc.fabric import Client cli = Client(net_profile="network.json") File "test.py", line 3, in cli = Client(net_profile=" network.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys' Debian Stretch 32bit Thanks EDIT1: Trying with a fresh installation on debian x86 32bit with python3.5.3 I can't even do the import: >> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/client.py", line 341 _logger.warning(f"Cannot find orderer with name {name}") ^ SyntaxError: invalid syntax

giuzero (Fri, 22 Nov 2019 19:11:01 GMT):
Hi, I'd like to decentralize cli on a different machine from the one of the node. Since the cli machine can’t run nodejs we are trying to create a custom cli with python sdk to enroll and use the cli. We managed to install the hfc.fabric module running with Python3.6.8 but we have issues we try to instantiate the Client object passing the network configuration json: maybe the network json we are using is not suitable for this sdk but for node js sdk and java sdk it does work. This is the snippet of the error from hfc.fabric import Client cli = Client(net_profile="network.json") File "test.py", line 3, in cli = Client(net_profile=" network.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys' Debian Stretch 32bit Thanks EDIT1: Trying with a fresh installation on debian x86 32bit with python3.5.3 I can't even do the import: >> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/client.py", line 341 _logger.warning(f"Cannot find orderer with name {name}") ^ SyntaxError: invalid syntax EDIT2 f-strings formating was introduced in py3.6 so it won't start on older py versions. Tried with py3.8 I got new errors... Python 3.8.0 (default, Nov 22 2019, 23:10:53) [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/home/test/fabric-sdk-py/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/home/test/fabric-sdk-py/hfc/fabric/client.py", line 27, in from hfc.fabric.orderer import Orderer File "/home/test/fabric-sdk-py/hfc/fabric/orderer.py", line 22, in from hfc.util.channel import create_grpc_channel File "/home/test/fabric-sdk-py/hfc/util/channel.py", line 15, in import aiogrpc File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/__init__.py", line 9, in from .channel import Channel, insecure_channel, secure_channel, channel_ready_future File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/channel.py", line 7, in import aiogrpc.utils as _utils File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/utils.py", line 10, in from asyncio.futures import CancelledError ImportError: cannot import name 'CancelledError' from 'asyncio.futures' (/usr/local/lib/python3.8/asyncio/futures.py)

giuzero (Fri, 22 Nov 2019 19:11:01 GMT):
TL;DR I've just reinstalled from source py3.6.8, beung on x86_32bit I had to solve some problems: https://askubuntu.com/questions/965043/no-module-named-lsb-release-after-install-python-3-6-3-from-source https://stackoverflow.com/questions/49836676/error-after-upgrading-pip-cannot-import-name-main Hi, I'd like to decentralize cli on a different machine from the one of the node. Since the cli machine can’t run nodejs we are trying to create a custom cli with python sdk to enroll and use the cli. We managed to install the hfc.fabric module running with Python3.6.8 but we have issues we try to instantiate the Client object passing the network configuration json: maybe the network json we are using is not suitable for this sdk but for node js sdk and java sdk it does work. This is the snippet of the error from hfc.fabric import Client cli = Client(net_profile="network.json") File "test.py", line 3, in cli = Client(net_profile=" network.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys' Debian Stretch 32bit Thanks EDIT1: Trying with a fresh installation on debian x86 32bit with python3.5.3 I can't even do the import: >> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/client.py", line 341 _logger.warning(f"Cannot find orderer with name {name}") ^ SyntaxError: invalid syntax EDIT2 f-strings formating was introduced in py3.6 so it won't start on older py versions. Tried with py3.8 I got new errors... Python 3.8.0 (default, Nov 22 2019, 23:10:53) [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/home/test/fabric-sdk-py/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/home/test/fabric-sdk-py/hfc/fabric/client.py", line 27, in from hfc.fabric.orderer import Orderer File "/home/test/fabric-sdk-py/hfc/fabric/orderer.py", line 22, in from hfc.util.channel import create_grpc_channel File "/home/test/fabric-sdk-py/hfc/util/channel.py", line 15, in import aiogrpc File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/__init__.py", line 9, in from .channel import Channel, insecure_channel, secure_channel, channel_ready_future File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/channel.py", line 7, in import aiogrpc.utils as _utils File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/utils.py", line 10, in from asyncio.futures import CancelledError ImportError: cannot import name 'CancelledError' from 'asyncio.futures' (/usr/local/lib/python3.8/asyncio/futures.py)

giuzero (Fri, 22 Nov 2019 19:11:01 GMT):
TL;DR I've just reinstalled from source py3.6.8, beung on x86_32bit I had to solve some problems: https://askubuntu.com/questions/965043/no-module-named-lsb-release-after-install-python-3-6-3-from-source https://stackoverflow.com/questions/49836676/error-after-upgrading-pip-cannot-import-name-main I used an old version of the connection profile with orderers, I managed to make the first two commands... I'm expcecting other troubles... Hi, I'd like to decentralize cli on a different machine from the one of the node. Since the cli machine can’t run nodejs we are trying to create a custom cli with python sdk to enroll and use the cli. We managed to install the hfc.fabric module running with Python3.6.8 but we have issues we try to instantiate the Client object passing the network configuration json: maybe the network json we are using is not suitable for this sdk but for node js sdk and java sdk it does work. This is the snippet of the error from hfc.fabric import Client cli = Client(net_profile="network.json") File "test.py", line 3, in cli = Client(net_profile=" network.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys' Debian Stretch 32bit Thanks EDIT1: Trying with a fresh installation on debian x86 32bit with python3.5.3 I can't even do the import: >> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/client.py", line 341 _logger.warning(f"Cannot find orderer with name {name}") ^ SyntaxError: invalid syntax EDIT2 f-strings formating was introduced in py3.6 so it won't start on older py versions. Tried with py3.8 I got new errors... Python 3.8.0 (default, Nov 22 2019, 23:10:53) [GCC 6.3.0 20170516] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/home/test/fabric-sdk-py/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/home/test/fabric-sdk-py/hfc/fabric/client.py", line 27, in from hfc.fabric.orderer import Orderer File "/home/test/fabric-sdk-py/hfc/fabric/orderer.py", line 22, in from hfc.util.channel import create_grpc_channel File "/home/test/fabric-sdk-py/hfc/util/channel.py", line 15, in import aiogrpc File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/__init__.py", line 9, in from .channel import Channel, insecure_channel, secure_channel, channel_ready_future File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/channel.py", line 7, in import aiogrpc.utils as _utils File "/usr/local/lib/python3.8/site-packages/aiogrpc-1.6-py3.8.egg/aiogrpc/utils.py", line 10, in from asyncio.futures import CancelledError ImportError: cannot import name 'CancelledError' from 'asyncio.futures' (/usr/local/lib/python3.8/asyncio/futures.py) EDIT3 Tried on 3.7 also can't import hfc fabric. Rebuilted 3.6.8, modified the connecion profile like a fabric 1.3, done some tweaking (links on top), managed to perform first commands

giuzero (Fri, 22 Nov 2019 22:03:05 GMT):
Trying with a fresh installation on debian x86 32bit with python3.5.3 I can't even do the import: >>> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/usr/local/lib/python3.5/dist-packages/fabric_sdk_py-0.8.1-py3.5.egg/hfc/fabric/client.py", line 341 _logger.warning(f"Cannot find orderer with name {name}") ^ SyntaxError: invalid syntax

giuzero (Sat, 23 Nov 2019 13:44:20 GMT):
So starting from the previous question: 1) what python version should i use? Is 3.6.8 the correct one? The ONLY correct one? 2) Is adding orderer enough to use the connection profile? ccp-template (byfn) seems to not have just peers, and ca.

giuzero (Sat, 23 Nov 2019 13:44:20 GMT):
So starting from the previous question: 1) what python version should i use? Is 3.6.8 the correct one? The ONLY correct one? 2) Is adding orderer enough to use the connection profile? ccp-template (byfn) seems to not have just peers, and ca. 3) how to pass the ca .pem to solve SSL problem? "ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)"

giuzero (Sat, 23 Nov 2019 18:49:17 GMT):
With this... import os from hfc.fabric import Client from hfc.fabric_ca.caservice import ca_service with open(os.path.join(os.path.dirname(__file__), "resources/ca.org1.example.com-cert.pem")) as f: test_pem = f.read() CONNECTION_PROFILE_PATH = 'resources/ccp.json' CHANNEL = 'my-channel' CA_SOLO = '192.168.133.144:7054' if __name__ == "__main__": cli = Client(net_profile=CONNECTION_PROFILE_PATH) ca_cli = ca_service(target="https://" + CA_SOLO) admin = ca_cli.enroll("admin", "adminpw", test_pem) I got this error: Traceback (most recent call last): File "2test.py", line 17, in admin = ca_cli.enroll("admin", "adminpw", test_pem) # now local will have the admin enrollment File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 505, in enroll csr.public_bytes(Encoding.PEM).decode('utf-8'), AttributeError: 'str' object has no attribute 'public_bytes' What am I doing wrong?

giuzero (Sat, 23 Nov 2019 18:49:17 GMT):
With this... import os from hfc.fabric import Client from hfc.fabric_ca.caservice import ca_service with open(os.path.join(os.path.dirname(__file__), "resources/ca.org1.example.com-cert.pem")) as f: test_pem = f.read() CONNECTION_PROFILE_PATH = 'resources/ccp.json' CHANNEL = 'my-channel' CA_SOLO = '192.168.133.144:7054' if __name__ == "__main__": cli = Client(net_profile=CONNECTION_PROFILE_PATH) ca_cli = ca_service(target="https://" + CA_SOLO) admin = ca_cli.enroll("admin", "adminpw", test_pem) I got this error: Traceback (most recent call last): File "2test.py", line 17, in admin = ca_cli.enroll("admin", "adminpw", test_pem) # now local will have the admin enrollment File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 505, in enroll csr.public_bytes(Encoding.PEM).decode('utf-8'), AttributeError: 'str' object has no attribute 'public_bytes' Not passing test_pem: admin = ca_cli.enroll("admin", "adminpw")#, test_pem) # now local will have the admin enrollment File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 507, in enroll attr_reqs) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 349, in enroll verify=self._ca_certs_path) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 260, in _send_ca_post r = requests.post(url=self._base_url + path, **param) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='192.168.133.144', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)) What am I doing wrong?

giuzero (Sun, 24 Nov 2019 10:27:04 GMT):
I just used the same certificate to enroll from a nodejs cli and it does work. Py client still don't. Any help?

giuzero (Sun, 24 Nov 2019 11:11:01 GMT):
Tried to reinstall library from pip: test@debBIG:~/pycli$ pip3 install fabric-sdk-py Collecting fabric-sdk-py Downloading https://files.pythonhosted.org/packages/5a/09/c913ecb702cae87cdaa7a899f3bdae357aca9eabaef52488d2041b491896/fabric_sdk_py-0.8.1-py3-none-any.whl (247kB) 100% |████████████████████████████████| 256kB 1.2MB/s Collecting grpcio>=1.0.1 (from fabric-sdk-py) Downloading https://files.pythonhosted.org/packages/5a/42/3d2c09986034dee657df28f24d3ef12908f5025117bca678577f36000d0a/grpcio-1.25.0-cp35-cp35m-manylinux1_i686.whl (2.4MB) 100% |████████████████████████████████| 2.4MB 157kB/s Collecting requests>=2.12.4 (from fabric-sdk-py) Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB) 100% |████████████████████████████████| 61kB 1.7MB/s Collecting protobuf>=3.6.0 (from fabric-sdk-py) Downloading https://files.pythonhosted.org/packages/ad/c2/86c65136e280607ddb2e5dda19e2953c1174f9919b557d1d154574481de4/protobuf-3.10.0-py2.py3-none-any.whl (434kB) 100% |████████████████████████████████| 440kB 231kB/s Collecting lark-parser==0.7.1 (from fabric-sdk-py) Downloading https://files.pythonhosted.org/packages/8a/ed/711314ebe868a2d0a2f57fcd3d51fda4be03ed8de1069d54ef2e5f4298c3/lark-parser-0.7.1.tar.gz (276kB) 100% |████████████████████████████████| 286kB 904kB/s Collecting cryptography>=1.9 (from fabric-sdk-py) Downloading https://files.pythonhosted.org/packages/be/60/da377e1bed002716fb2d5d1d1cab720f298cb33ecff7bf7adea72788e4e4/cryptography-2.8.tar.gz (504kB) 100% |████████████████████████████████| 512kB 993kB/s Collecting aiogrpc>=1.6 (from fabric-sdk-py) Could not find a version that satisfies the requirement aiogrpc>=1.6 (from fabric-sdk-py) (from versions: ) No matching distribution found for aiogrpc>=1.6 (from fabric-sdk-py) test@debBIG:~/pycli$ python3.6 2test.py Traceback (most recent call last): File "2test.py", line 18, in ca_chain = ca_client.get_cainfo() File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 315, in get_cainfo verify=self._ca_certs_path) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 261, in _send_ca_post return r.json(), r.status_code File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/models.py", line 889, in json self.content.decode(encoding), **kwargs File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) test@debBIG:~/pycli$ cd .. test@debBIG:~$ pip3 install aiogrpc Collecting aiogrpc Could not find a version that satisfies the requirement aiogrpc (from versions: ) No matching distribution found for aiogrpc test@debBIG:~$ how can I provide aiogrpc? Is it because I'm using a 32bit architecture?

giuzero (Mon, 25 Nov 2019 09:01:25 GMT):
with enrollmentcert, myadmin = ca_client.enroll("admin","adminpw", test_pem) Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/response.py", line 425, in _error_catcher yield File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/response.py", line 507, in read data = self._fp.read(amt) if not fp_closed else b"" File "/usr/local/lib/python3.6/http/client.py", line 449, in read n = self.readinto(b) File "/usr/local/lib/python3.6/http/client.py", line 493, in readinto n = self.fp.readinto(b) File "/usr/local/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/models.py", line 750, in generate for chunk in self.raw.stream(chunk_size, decode_content=True): File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/response.py", line 564, in stream data = self.read(amt=amt, decode_content=decode_content) File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/response.py", line 529, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "/usr/local/lib/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/response.py", line 443, in _error_catcher raise ProtocolError("Connection broken: %r" % e, e) urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "2test.py", line 22, in enrollmentCert, caCertChain = ca_client.enroll("admin","adminpw",test_pem) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 349, in enroll verify=self._ca_certs_path) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 260, in _send_ca_post r = requests.post(url=self._base_url + path, **param) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/sessions.py", line 686, in send r.content File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/models.py", line 828, in content self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b'' File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/models.py", line 753, in generate raise ChunkedEncodingError(e) requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer'))

giuzero (Mon, 25 Nov 2019 11:40:35 GMT):
Hi guys my use case is just: enroll register invoke a chaincode (like fabcar) I do not understand what I am doing wrong could you help me please?

giuzero (Mon, 25 Nov 2019 14:32:36 GMT):
following this https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md I got the same error, on 127.0.0.1 obviously

dexhunter (Wed, 27 Nov 2019 15:50:02 GMT):
[ ](https://chat.hyperledger.org/channel/fabric-sdk-py?msg=WtSnB7nJQJoausxCB) 1) 3.6.8 should work, we haven't tested on 3.7 2) could you share which connection profile are you using? 3) you need to push to ca client

dexhunter (Wed, 27 Nov 2019 15:50:02 GMT):
1) 3.6.8 should work, we haven't tested on 3.7 2) could you share which connection profile are you using? 3) you need to push to ca client

dexhunter (Wed, 27 Nov 2019 15:52:43 GMT):
@here We will cancel this week's meeting due to low profile. If there are any problems, let us sync offline and happy thanksgiving!

dexhunter (Wed, 27 Nov 2019 15:55:31 GMT):
BTW, current build could not pass travis ci because binaries are not found but azure pipelines are fine you can see [here](https://github.com/hyperledger/fabric-sdk-py/runs/304105291)

iampukar (Thu, 28 Nov 2019 06:30:21 GMT):
Has joined the channel.

giuzero (Thu, 28 Nov 2019 08:13:46 GMT):
@dexhunter @dexhunter Thanks! What to you mean "push the client"? { "name": "net", "version": "1.0.0", "client": { "organization": "org1", "connection": { "timeout": { "peer": { "endorser": "300" } } } }, "organizations": { "org1": { "mspid": "org1", "peers": [ "peer0.org1.example.com", "peer1.org1.example.com" ], "certificateAuthorities": [ "ca_org1" ] } }, "orderers": { "orderer.example.com": { "url": "grpc://192.168.133.144:7050" } }, "peers": { "peer0.org1.example.com": { "url": "grpcs://192.168.133.144:7051", "tlsCACerts": { "pem": "-----BEGIN CERTIFICATE-----\nM here was the cert" }, "grpcOptions": { "ssl-target-name-override": "peer0.org1.example.com", "hostnameOverride": "peer0.org1.example.com" } }, "peer1.org1.example.com": { "url": "grpcs://192.168.133.144:8051", "tlsCACerts": { "pem": "-----BEGIN CERTIFICATE-----\nM here was the cert" }, "grpcOptions": { "ssl-target-name-override": "peer1.org1.example.com", "hostnameOverride": "peer1.org1.example.com" } } }, "certificateAuthorities": { "ca_org1": { "url": "https://192.168.133.144:7054", "caName": "ca_org1", "tlsCACerts":{ "pem": "-----BEGIN CERTIFICATE-----\nM here was the cert" }, "httpOptions": { "verify": false } } } }

dexhunter (Thu, 28 Nov 2019 09:21:19 GMT):
Hi @giuzero sorry but I am unable to look at your case right now because I am busy on catching the deadline for my paper and assignments. Maybe you can have a look at [our tutorial](https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md#122-get-credentail-from-fabric-ca)? I hope this helps. Or maybe others will come and help later. Thanks

giuzero (Thu, 28 Nov 2019 09:34:45 GMT):
@dexhunter yes, I already tried with the tutorial, no luck. With HLF 1.4.0 1.4.3 and 1.4.4. Cli is on a x86 32bit system.

giuzero (Thu, 28 Nov 2019 09:36:07 GMT):
Ok thanks @dexhunter Yes, I already tried with the tutorial, no luck. With HLF 1.4.0 1.4.3 and 1.4.4. Cli is on a x86 32bit system.

dexhunter (Thu, 05 Dec 2019 08:40:55 GMT):
@here We will cancel this week's meeting due to low profile. Let us sync offline, thanks! If I understand correctly, @wangdong will make a release for Fabric 1.4 soon.

tongli (Thu, 05 Dec 2019 16:32:42 GMT):
Has joined the channel.

tongli (Thu, 05 Dec 2019 16:34:06 GMT):
it seems to me that the event listener is not getting the payload for chaincode event.

tongli (Thu, 05 Dec 2019 16:34:29 GMT):
can anyone confirm that is the case or not?

tongli (Fri, 06 Dec 2019 02:48:10 GMT):
@dexhunter thanks for reviewing the pr. can you please merge it? or this has to be done by Ry?

wangdong (Fri, 06 Dec 2019 07:54:31 GMT):
@tongli thanks for the PR.

wangdong (Fri, 06 Dec 2019 08:07:06 GMT):
I think so. @tongli . This is missing feature now.

dexhunter (Fri, 06 Dec 2019 08:46:46 GMT):
hi, normally we need 2 reviewers reviewed the change before merging. So now it has been merged by @baohua. Thank you for your contribution!

GuillaumeCisco (Sat, 07 Dec 2019 12:53:10 GMT):
Hello Guys, just wanted to push a new commit in my branch for the github fabric-sdk-py but I got a : ``` $> git push --force-with-lease origin channel_event_hub_test Enumerating objects: 23, done. Counting objects: 100% (23/23), done. Delta compression using up to 4 threads Compressing objects: 100% (12/12), done. Writing objects: 100% (12/12), 1.89 KiB | 484.00 KiB/s, done. Total 12 (delta 11), reused 0 (delta 0) remote: Resolving deltas: 100% (11/11), completed with 10 local objects. remote: error: GH006: Protected branch update failed for refs/heads/channel_event_hub_test. remote: error: Cannot force-push to this protected branch To github.com:hyperledger/fabric-sdk-py.git ! [remote rejected] channel_event_hub_test -> channel_event_hub_test (protected branch hook declined) error: failed to push some refs to 'git@github.com:hyperledger/fabric-sdk-py.git' ``` How could we fix that?

dexhunter (Sat, 07 Dec 2019 13:08:54 GMT):
I think you need to first fork the project then submit PR to the main one

GuillaumeCisco (Sat, 07 Dec 2019 13:38:41 GMT):
hum, you're right, it seems like I cannot directly push to the main project

GuillaumeCisco (Sat, 07 Dec 2019 13:41:38 GMT):
just submitted a new one ;) https://github.com/hyperledger/fabric-sdk-py/pull/10

giuzero (Tue, 10 Dec 2019 09:21:00 GMT):
Hi guys, how can i enroll, register and invoke chaincode? I'm still blocked here https://chat.hyperledger.org/channel/fabric-sdk-py?msg=yGsLJLt5m67Wt5pyi

GuillaumeCisco (Wed, 11 Dec 2019 07:08:19 GMT):
We need more information about your setup and your code @giuzero If you are looking for something working, please look at https://github.com/SubstraFoundation/hlf-k8s and https://github.com/SubstraFoundation/substra-backend you will see working examples

giuzero (Wed, 11 Dec 2019 10:09:18 GMT):
Hi @GuillaumeCisco here is a snippet https://chat.hyperledger.org/channel/fabric-sdk-py?msg=rvbppCDxYPjmngHkF I'll have a look on substra. Thanks for you reply.

GuillaumeCisco (Wed, 11 Dec 2019 10:14:40 GMT):
this is clear

GuillaumeCisco (Wed, 11 Dec 2019 10:14:44 GMT):
csr.public_bytes(Encoding.PEM).decode('utf-8'), AttributeError: 'str' object has no attribute 'public_bytes'

GuillaumeCisco (Wed, 11 Dec 2019 10:15:02 GMT):
csr is a str here, but should be a csr object

GuillaumeCisco (Wed, 11 Dec 2019 10:16:45 GMT):
You are passing certificate authority to the csr parameter

GuillaumeCisco (Wed, 11 Dec 2019 10:17:27 GMT):
csr stands for Certificate Signing Request

GuillaumeCisco (Wed, 11 Dec 2019 10:17:35 GMT):
https://cryptography.io/en/latest/x509/reference/#x-509-csr-certificate-signing-request-object

GuillaumeCisco (Wed, 11 Dec 2019 10:17:43 GMT):
This is not the same thing

GuillaumeCisco (Wed, 11 Dec 2019 10:19:33 GMT):
see this example: https://github.com/SubstraFoundation/hlf-k8s/blob/11cd70b744348e33778b3ee99157bc4137ad8df0/python-scripts/utils/setup_utils.py#L211

GuillaumeCisco (Wed, 11 Dec 2019 10:20:04 GMT):
you need to put your test.pem to this call: ca_cli = ca_service(target="https://" + CA_SOLO)

GuillaumeCisco (Wed, 11 Dec 2019 10:20:31 GMT):
like this: cacli = ca_service(target=target, ca_certs_path=org['ca']['certfile']['internal'], ca_name=org['ca']['name'])

GuillaumeCisco (Wed, 11 Dec 2019 10:21:14 GMT):
furthermore, you need to pass a path, not directly the cert, in your case, this will be: os.path.join(os.path.dirname(__file__), "resources/ca.org1.example.com-cert.pem"

giuzero (Wed, 11 Dec 2019 10:21:47 GMT):
Ok I followed 1.2.2 Get Credentail from Fabric CA on https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md , I'll try your solution as soon as possible, many thanks.

giuzero (Wed, 11 Dec 2019 10:21:47 GMT):
Ok I followed 1.2.2 Get Credentail from Fabric CA on https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md , s it not the official tutorial? I'll try your solution as soon as possible, many thanks.

giuzero (Wed, 11 Dec 2019 10:21:47 GMT):
Ok I followed 1.2.2 Get Credentail from Fabric CA on https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/tutorial.md , is it the official tutorial? I'll try your solution as soon as possible, many thanks.

GuillaumeCisco (Wed, 11 Dec 2019 10:29:17 GMT):
Yes this is the official tutorial

GuillaumeCisco (Wed, 11 Dec 2019 10:30:03 GMT):
you can also check the node js documentation: https://fabric-sdk-node.github.io/release-1.4/FabricCAServices.html#enroll

giuzero (Wed, 11 Dec 2019 10:40:44 GMT):
Yes, Nodejs SDK works without any problem, in fact I'm using it on other projects. I need to work with py sdk because my cli target is a x86.

giuzero (Wed, 11 Dec 2019 10:45:42 GMT):
tried already os.path.join(os.path.dirname(__file__), "resources/ca.org1.example.com-cert.pem". I'll rerun the code to post the error

giuzero (Wed, 11 Dec 2019 10:46:42 GMT):
could it be date not synchronized between the two machine?

GuillaumeCisco (Wed, 11 Dec 2019 10:49:16 GMT):
what?

GuillaumeCisco (Wed, 11 Dec 2019 10:49:33 GMT):
just do it as you'd do it with fabric-sdk-node

giuzero (Wed, 11 Dec 2019 11:05:26 GMT):
import os import time import unittest import random import string from hfc.fabric_ca.caservice import CAClient, CAService with open(os.path.join(os.path.dirname(__file__), "resources/ca.org1.example.com-cert.pem")) as f: test_pem = f.read() ENROLLMENT_ID = "admin" ENROLLMENT_SECRET = "adminpw" class CA: """Test for ca module. """ def setUp(self): self._enrollment_id = ENROLLMENT_ID self._enrollment_secret = ENROLLMENT_SECRET if os.getenv("CA_ADDR"): self._ca_server_address = os.getenv("CA_ADDR") else: self._ca_server_address = "192.168.133.144:7054" self._ca_cert_file = test_pem def test_get_ca_info(self): ca_client = CAClient("http://" + self._ca_server_address) ca_chain = ca_client.get_cainfo() self.assertTrue(ca_chain.startswith(b"-----BEGIN CERTIFICATE-----")) x = CA() x.setUp() x.test_get_ca_info()

giuzero (Wed, 11 Dec 2019 11:05:41 GMT):
test@debBIG:~/pycli$ python3.6 ca_test.py Traceback (most recent call last): File "ca_test.py", line 37, in x.test_get_ca_info() File "ca_test.py", line 31, in test_get_ca_info ca_chain = ca_client.get_cainfo() File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 315, in get_cainfo verify=self._ca_certs_path) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 261, in _send_ca_post return r.json(), r.status_code File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/models.py", line 889, in json self.content.decode(encoding), **kwargs File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

giuzero (Wed, 11 Dec 2019 11:25:24 GMT):
I'm trying to keep it simple but I can't understand what I'm doing wrong

giuzero (Wed, 11 Dec 2019 11:25:55 GMT):
I'm trying to keep it simple but I can't understand what I0m doing wrong

giuzero (Wed, 11 Dec 2019 11:26:23 GMT):
from hfc.fabric import Client from hfc.fabric_ca.caservice import ca_service cli = Client(net_profile="resources/connection-org1.json") print(cli.organizations) # orgs in the network print(cli.peers) # peers in the network print(cli.orderers) # orderers in the network ca_cli = ca_service(target="https://192.168.133.144:7054") adminEnrollment = ca_cli.enroll("admin", "adminpw")

giuzero (Wed, 11 Dec 2019 11:26:42 GMT):
Traceback (most recent call last): File "simple.py", line 4, in cli = Client(net_profile="resources/connection-org1.json") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 85, in __init__ self.init_with_net_profile(net_profile) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric/client.py", line 125, in init_with_net_profile _logger.debug("Import orderers = {}".format(orderers.keys())) AttributeError: 'NoneType' object has no attribute 'keys'

giuzero (Wed, 11 Dec 2019 11:26:50 GMT):
I'm following the tutorial...

giuzero (Wed, 11 Dec 2019 11:33:48 GMT):
Adding orderers to connection profile I got SSL error File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/adapters.py", line 449, in send timeout=timeout File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/util/retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192.168.133.144', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "simple.py", line 12, in adminEnrollment = ca_cli.enroll("admin", "adminpw") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 507, in enroll attr_reqs) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 349, in enroll verify=self._ca_certs_path) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 260, in _send_ca_post r = requests.post(url=self._base_url + path, **param) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='192.168.133.144', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)) test@debBIG:~/pycli$

giuzero (Wed, 11 Dec 2019 11:48:41 GMT):
This is the full error stack Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/connectionpool.py", line 672, in urlopen chunked=chunked, File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/connectionpool.py", line 376, in _make_request self._validate_conn(conn) File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/connectionpool.py", line 994, in _validate_conn conn.connect() File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/connection.py", line 394, in connect ssl_context=context, File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/util/ssl_.py", line 383, in ssl_wrap_socket return context.wrap_socket(sock) File "/usr/local/lib/python3.6/ssl.py", line 407, in wrap_socket _context=self, _session=session) File "/usr/local/lib/python3.6/ssl.py", line 817, in __init__ self.do_handshake() File "/usr/local/lib/python3.6/ssl.py", line 1077, in do_handshake self._sslobj.do_handshake() File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/adapters.py", line 449, in send timeout=timeout File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/usr/local/lib/python3.6/site-packages/urllib3-1.25.7-py3.6.egg/urllib3/util/retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192.168.133.144', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "simple.py", line 12, in adminEnrollment = ca_cli.enroll("admin", "adminpw") File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 507, in enroll attr_reqs) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 349, in enroll verify=self._ca_certs_path) File "/usr/local/lib/python3.6/site-packages/fabric_sdk_py-0.8.1-py3.6.egg/hfc/fabric_ca/caservice.py", line 260, in _send_ca_post r = requests.post(url=self._base_url + path, **param) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/api.py", line 116, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.6/site-packages/requests-2.22.0-py3.6.egg/requests/adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='192.168.133.144', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))

giuzero (Wed, 11 Dec 2019 13:53:13 GMT):
tryed substra way, same error. ca_cli = ca_service(target="https://192.168.133.144:7054", ca_certs_path="/home/test/pycli/resources/ca.org1.example.com-cert.pem", ca_name="ca_peerOrg1")

GuillaumeCisco (Wed, 11 Dec 2019 14:09:03 GMT):
Did you read me? You need to pass your cert to your ca_cli = ca_service(target="https://192.168.133.144:7054")

GuillaumeCisco (Wed, 11 Dec 2019 14:14:20 GMT):
Look at the tests files in fabric-sdk-py

GuillaumeCisco (Wed, 11 Dec 2019 14:14:26 GMT):
You will be able to debug yourself

GuillaumeCisco (Wed, 11 Dec 2019 14:16:12 GMT):
https://github.com/hyperledger/fabric-sdk-py/blob/master/test/unit/ca_test.py

giuzero (Wed, 11 Dec 2019 14:27:02 GMT):
ca_cli = ca_service(target="https://192.168.133.144:7054", ca_certs_path="/home/test/pycli/resources/ca.org1.example.com-cert.pem", ca_name="ca_peerOrg1") is it not like that?

GuillaumeCisco (Wed, 11 Dec 2019 14:27:32 GMT):
yes should be right

GuillaumeCisco (Wed, 11 Dec 2019 14:27:40 GMT):
I don't know your setup for your ca

giuzero (Wed, 11 Dec 2019 14:27:41 GMT):
same error

GuillaumeCisco (Wed, 11 Dec 2019 14:27:46 GMT):
so I cannot help you more

GuillaumeCisco (Wed, 11 Dec 2019 14:28:03 GMT):
maybe it is not the right ca

GuillaumeCisco (Wed, 11 Dec 2019 14:28:18 GMT):
do you have some code examples I can check?

giuzero (Wed, 11 Dec 2019 14:29:55 GMT):
the code is the one I posted earlier and I used ./byfn.sh up -n -a -s couchdb -o etcdraft

giuzero (Wed, 11 Dec 2019 14:30:25 GMT):
With node sdk it does work I just cannot understand why does not with py

giuzero (Wed, 11 Dec 2019 14:30:42 GMT):
this is the code from hfc.fabric import Client from hfc.fabric_ca.caservice import ca_service cli = Client(net_profile="resources/connection-org1.json") print(cli.organizations) # orgs in the network print(cli.peers) # peers in the network print(cli.orderers) # orderers in the network ca_cli = ca_service(target="https://192.168.133.144:7054", ca_certs_path="/home/test/pycli/resources/ca.org1.example.com-cert.pem", ca_name="ca_peerOrg1") adminEnrollment = ca_cli.enroll("admin", "adminpw")

GuillaumeCisco (Wed, 11 Dec 2019 14:31:22 GMT):
and the error is `SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed` ?

giuzero (Wed, 11 Dec 2019 14:31:28 GMT):
yes

GuillaumeCisco (Wed, 11 Dec 2019 14:31:37 GMT):
Ok so simple, you're not using the right certificate

GuillaumeCisco (Wed, 11 Dec 2019 14:31:37 GMT):
Ok, so, simple, you're not using the right certificate

giuzero (Wed, 11 Dec 2019 14:32:08 GMT):
ok, where do I get the right certificate as in first-network?

GuillaumeCisco (Wed, 11 Dec 2019 14:32:36 GMT):
Look how it is done in the fabric-sdk-py tests

giuzero (Wed, 11 Dec 2019 14:32:39 GMT):
ok

metadata (Wed, 11 Dec 2019 14:37:30 GMT):
Has joined the channel.

GuillaumeCisco (Wed, 11 Dec 2019 14:53:32 GMT):
if you are using: https://github.com/hyperledger/fabric-samples/blob/master/first-network/docker-compose-ca.yaml Your ca cert is `/etc/hyperledger/fabric-ca-server-config/ca.org1.example.com-cert.pem`

GuillaumeCisco (Wed, 11 Dec 2019 14:54:51 GMT):
https://github.com/hyperledger/fabric-samples/blob/master/basic-network/crypto-config/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem

GuillaumeCisco (Wed, 11 Dec 2019 15:04:38 GMT):
and the name should be: `ca-org1`

giuzero (Wed, 11 Dec 2019 15:31:16 GMT):
yes I tried it... still verify failed...

giuzero (Wed, 11 Dec 2019 15:32:30 GMT):
I used the pem on the CA volume ./crypto-config/peerOrganizations/org1.example.com/ca/:/etc/hyperledger/fabric-ca-server-config

giuzero (Wed, 11 Dec 2019 15:32:43 GMT):
with ca-org1

giuzero (Wed, 11 Dec 2019 15:33:12 GMT):
still can't verify requests.exceptions.SSLError: HTTPSConnectionPool(host='192.168.133.144', port=7054): Max retries exceeded with url: /api/v1/enroll (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))

giuzero (Wed, 11 Dec 2019 15:36:12 GMT):
could it be an OS problem? Py client is running on debina 9 x86_32bit

giuzero (Wed, 11 Dec 2019 15:36:12 GMT):
could it be an OS problem? Py client is running on debian 9 x86_32bit

giuzero (Wed, 11 Dec 2019 15:36:57 GMT):
on python 3.6.8

dexhunter (Thu, 12 Dec 2019 08:37:26 GMT):
@here We will cancel this week's meeting due to low profile. Let us sync offline, thanks!

GuillaumeCisco (Thu, 12 Dec 2019 08:38:20 GMT):
@giuzero Please send a reproductible project

giuzero (Thu, 12 Dec 2019 14:52:57 GMT):
Hi @GuillaumeCisco , first af all, thank you for your support! I'll prepare a github , maybe is more comfortable

giuzero (Thu, 12 Dec 2019 14:52:57 GMT):
Hi @GuillaumeCisco , first of all, thank you for your support! I'll prepare a github , maybe is more comfortable

giuzero (Thu, 12 Dec 2019 16:00:18 GMT):
https://github.com/giuzero/FabricPython-Client/blob/master/to_reproduce_the_error here is where I describe exactly what happens, the certificate and the connection-org1.json are used by another cli (nodejs on another VM) without any problem

giuzero (Thu, 12 Dec 2019 16:00:18 GMT):
https://github.com/giuzero/FabricPython-Client/blob/master/to_reproduce_the_error here is where I describe exactly what happens, the certificate and the connection-org1.json are used by another cli (nodejs on another VM) without any problem @GuillaumeCisco

giuzero (Thu, 12 Dec 2019 16:00:18 GMT):
https://github.com/giuzero/FabricPython-Client/blob/master/to_reproduce_the_error here is where I describe exactly what happens, the certificate and the connection-org1.json are used also by another cli (nodejs on another VM) without any problem @GuillaumeCisco

baohua (Thu, 12 Dec 2019 17:56:27 GMT):
@GuillaumeCisco @dexhunter @wangdong Do you think we can make a new release as the sdk is going to stable to support the HLF v1.4 LTS now.

baohua (Thu, 12 Dec 2019 18:19:38 GMT):
https://github.com/hyperledger/fabric-sdk-py/pull/11

wangdong (Fri, 13 Dec 2019 01:27:48 GMT):
From last discussion, we can make this release afte the tow PR done.

wangdong (Fri, 13 Dec 2019 01:27:57 GMT):
Am I right?

baohua (Fri, 13 Dec 2019 17:51:40 GMT):
+1!

tongli (Fri, 13 Dec 2019 23:44:39 GMT):
@baohua @GuillaumeCisco @dexhunter send_transaction only returns the status but not the actual response content.

tongli (Fri, 13 Dec 2019 23:44:49 GMT):
can you tell why that is?

tongli (Fri, 13 Dec 2019 23:45:05 GMT):
here is the code

tongli (Fri, 13 Dec 2019 23:45:09 GMT):
``` responses = loop.run_until_complete(base.get_stream_result( send_transaction(self.client.orderers, tran_req, tx_context_tx))) logger.info('Tx response: {0}'.format(responses)) ```

tongli (Fri, 13 Dec 2019 23:45:16 GMT):
it only returns this.

tongli (Fri, 13 Dec 2019 23:45:27 GMT):
```[status: SUCCESS ]```

tongli (Fri, 13 Dec 2019 23:45:40 GMT):
but I expect the actual content from the chaincode execution.

GuillaumeCisco (Mon, 16 Dec 2019 08:00:22 GMT):
I will test it when I will be some free time

GuillaumeCisco (Mon, 16 Dec 2019 08:01:56 GMT):
@tongli can you send a link to the github code please

easeev (Mon, 16 Dec 2019 12:16:30 GMT):
Has joined the channel.

tongli (Mon, 16 Dec 2019 23:13:46 GMT):
@GuillaumeCisco I figured out a different way of doing it.

GuillaumeCisco (Tue, 17 Dec 2019 08:02:21 GMT):
oh? Does it work?

tongli (Tue, 17 Dec 2019 11:46:50 GMT):
Yes. It does. Thx. @GuillaumeCisco

GuillaumeCisco (Tue, 17 Dec 2019 12:46:34 GMT):
nice

tongli (Tue, 17 Dec 2019 14:46:50 GMT):
@GuillaumeCisco gosdk can deal with the dynamic service discovery, pysdk lacks in that regard. Will you add that function?

GuillaumeCisco (Tue, 17 Dec 2019 15:11:21 GMT):
there is a discovery method in fabric sdk py

GuillaumeCisco (Tue, 17 Dec 2019 15:11:26 GMT):
we use it in production

GuillaumeCisco (Tue, 17 Dec 2019 15:21:12 GMT):
you can see an implementation here: https://github.com/SubstraFoundation/substra-backend/blob/39f4eb0e8d6ac9d5f0bfaef8f7685e6166963e8e/backend/backend/settings/deps/ledger.py#L93

tongli (Tue, 17 Dec 2019 16:50:00 GMT):
@GuillaumeCisco so channel._discovery will return a set of peers? what I am looking for is a set of peers available based on the channel endosement policy.

tongli (Tue, 17 Dec 2019 16:50:56 GMT):
for example, if there are 5 peers belong to 3 orgs, the endorsement policy say requires marjority, then the function should return 2 peers to send proposals to.

tongli (Tue, 17 Dec 2019 16:51:12 GMT):
not all 5 peers. that is really something I am looking for.

tongli (Tue, 17 Dec 2019 16:51:47 GMT):
seems to me that the _discovery function will just return available peers, not necessarily has anything to do with endorsement policy.

GuillaumeCisco (Tue, 17 Dec 2019 17:02:17 GMT):
the _discovery method is part of the discovery api, this is just a PORT

GuillaumeCisco (Tue, 17 Dec 2019 17:02:17 GMT):
the _discovery method is part of the discovery api, this is just a portable way to access this API

GuillaumeCisco (Tue, 17 Dec 2019 17:02:39 GMT):
You have to handle the rest

dexhunter (Wed, 18 Dec 2019 05:39:55 GMT):
@here We will cancel this week's meeting due to low profile. Let us sync offline, thanks!

tongli (Thu, 19 Dec 2019 15:21:34 GMT):
@GuillaumeCisco can you add the event payload to the sdk? Currently when event is caught, there is no payload returned on the event object. This is rather critical. Can any of the maintainer add that function?

GuillaumeCisco (Thu, 19 Dec 2019 15:24:01 GMT):
it is added

GuillaumeCisco (Thu, 19 Dec 2019 15:24:16 GMT):
you have to pass filtered=False to your channel event hub configuration

GuillaumeCisco (Thu, 19 Dec 2019 15:24:26 GMT):
Please read carefully the documentation about that

GuillaumeCisco (Thu, 19 Dec 2019 15:25:38 GMT):
`The payload of chaincode events will not be included in filtered blocks.`

GuillaumeCisco (Thu, 19 Dec 2019 15:25:43 GMT):
https://hyperledger-fabric.readthedocs.io/en/release-1.4/peer_event_services.html

baohua (Fri, 20 Dec 2019 02:02:03 GMT):
Yes, that's to save bandwidth

dexhunter (Wed, 25 Dec 2019 11:53:13 GMT):
@here Dear all, we will cancel this week's meeting for holiday season. If there are any problems, let's sync offline. Thank you and Merry Christmas!

realaravinth (Tue, 31 Dec 2019 21:26:21 GMT):
Has joined the channel.

GuillaumeCisco (Fri, 03 Jan 2020 15:59:18 GMT):
Hello giuzero

GuillaumeCisco (Fri, 03 Jan 2020 15:59:28 GMT):
just tested your code, with some modification it works well

GuillaumeCisco (Fri, 03 Jan 2020 15:59:49 GMT):
I'll comment on your github project

giuzero (Tue, 07 Jan 2020 10:24:36 GMT):
thank you @GuillaumeCisco , I will try it as soon as possible! From my understanding the difference is adding grpc_options into the connections profile, right? (I had /etc/hosts ready)

GuillaumeCisco (Tue, 07 Jan 2020 10:25:24 GMT):
no this has nothing to do, just specify the right files

giuzero (Tue, 07 Jan 2020 10:30:15 GMT):
ok, i was quite sure I was using the right ones, evidently I was wrong...

dexhunter (Wed, 08 Jan 2020 06:00:23 GMT):
@here Dear all, we will have meeting 1PM(UTC+8) this Friday afternoon, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-01-10 welcome to attend, thanks!

baohua (Wed, 08 Jan 2020 06:10:31 GMT):
OK!

Kelvin_Moutet (Wed, 08 Jan 2020 06:43:47 GMT):
Hello ! For the meeting can we make it later ? 1 PM (UTC+8) is 6 AM (UTC +1) for Guillaume and I ^^

dexhunter (Fri, 10 Jan 2020 04:51:05 GMT):
@Kelvin_Moutet sorry about it this time, we will discuss about it since @baohua is in another timezone right now.

Kelvin_Moutet (Fri, 10 Jan 2020 07:03:32 GMT):
Yes, it's a little bit early for us :laughing:

dexhunter (Wed, 22 Jan 2020 12:41:19 GMT):
@here We will cancel this week's meeting due to Spring Festival. Let us sync offline and Happy Spring Festival!

tongli (Sun, 26 Jan 2020 12:49:51 GMT):
Does pysdk support fabric 2.0 lifecycle?

baohua (Tue, 28 Jan 2020 06:12:12 GMT):
Not yet, still 1.4 now.

BrettLogan (Tue, 28 Jan 2020 14:06:03 GMT):
Has left the channel.

GuillaumeCisco (Thu, 30 Jan 2020 16:51:24 GMT):
congrats @baohua for releasing the 2.0 ;)

baohua (Thu, 30 Jan 2020 18:33:19 GMT):
Yeap, and I'm thinking should the sdk-py have a new release? We're good enough for 1.4 LTS now.

mrflame (Thu, 30 Jan 2020 18:39:36 GMT):
Has joined the channel.

tongli (Thu, 30 Jan 2020 21:12:48 GMT):
Really need to catch up with the lifecycle thing

GuillaumeCisco (Fri, 31 Jan 2020 08:36:25 GMT):
I'm reviewing it and think we should rebuild it from scratch

GuillaumeCisco (Fri, 31 Jan 2020 08:36:43 GMT):
We have no gateway/network process

GuillaumeCisco (Fri, 31 Jan 2020 08:36:50 GMT):
hence, connections can never be closed

GuillaumeCisco (Fri, 31 Jan 2020 08:36:59 GMT):
some functions are missing too

wangdong (Sat, 01 Feb 2020 04:02:18 GMT):
@baohua new release needs your approve.

wangdong (Sat, 01 Feb 2020 04:05:33 GMT):
I missed the permission.

dexhunter (Wed, 05 Feb 2020 06:42:24 GMT):
@GuillaumeCisco I think we can do it at a different branch, what do you think?

GuillaumeCisco (Wed, 05 Feb 2020 07:51:42 GMT):
what? A rewrite or the 2.0 support ?

GuillaumeCisco (Wed, 05 Feb 2020 07:51:42 GMT):
what? A rewrite or the 2.0 support?

dexhunter (Thu, 06 Feb 2020 08:34:26 GMT):
I think we can do both in separate branches, while from my perspective 2.0 support seems easier to do at the moment. Besides, the new round of internship/mentorship is starteing, would you like to participate as a mentor? @GuillaumeCisco

dexhunter (Thu, 06 Feb 2020 08:35:12 GMT):
https://wiki.hyperledger.org/display/INTERN/Mentorship+Projects

dexhunter (Thu, 06 Feb 2020 08:35:12 GMT):
https://wiki.hyperledger.org/display/INTERN/Mentorship+Projects https://wiki.hyperledger.org/display/INTERN/Hyperledger+Mentorship+Program

GuillaumeCisco (Thu, 06 Feb 2020 08:37:58 GMT):
I'd love to, but I'm extremely busy at the moment, I'm not sure I will be able to give enough time to an intern

GuillaumeCisco (Thu, 06 Feb 2020 08:39:02 GMT):
I've already begun rewriting fabric-sdk-py the way fabric-sdk-node is done, this is a draft and at very early stage but it gives the idea: https://github.com/GuillaumeCisco/fabric-sdk-py/tree/refacto

dexhunter (Thu, 06 Feb 2020 08:39:47 GMT):
Cool

dexhunter (Tue, 11 Feb 2020 20:25:26 GMT):
@baohua @GuillaumeCisco Anything to discuss this week?

GuillaumeCisco (Wed, 12 Feb 2020 09:53:09 GMT):
no, ok for me

baohua (Wed, 19 Feb 2020 00:58:43 GMT):
@dexhunter i think some companies are requiring work-at-home till Mar. Let's have a meeting sometime next month.

dexhunter (Wed, 19 Feb 2020 19:47:30 GMT):
The university is closed as well, I am waiting for further notifications. It seems I am unable to present the fabric-sdk-py, anyone else attends Hyperledger Global Forum and willing to do it? Please add your name on this page ( https://wiki.hyperledger.org/display/HGF/Projects+Kiosk ) Thanks!

dexhunter (Wed, 19 Feb 2020 19:47:30 GMT):
The university is closed as well, I am waiting for further notifications. It seems I am unable to present the fabric-sdk-py, anyone else who will attend Hyperledger Global Forum and be willing to do the presentation? Please add your name on this page ( https://wiki.hyperledger.org/display/HGF/Projects+Kiosk ) Thanks!

dexhunter (Sat, 22 Feb 2020 10:20:36 GMT):
@GuillaumeCisco I think refactor to gateway/remote is do-able but after reviewing your code, I am wondering if we can make it more pythonic. (Currently it seems to plain translation from nodejs) Besides, I am proposing this year's mentor project to see if we can recruit new contributors.

dexhunter (Sat, 22 Feb 2020 11:50:12 GMT):
I wrote a draft for this year's mentor project. https://wiki.hyperledger.org/pages/viewpage.action?pageId=29035315 Free feel to update/edit. Thanks!

dexhunter (Sat, 22 Feb 2020 11:50:12 GMT):
I wrote a draft for this year's mentor project. https://wiki.hyperledger.org/pages/viewpage.action?pageId=29035315 Free feel to update/edit. Thanks! @baohua @GuillaumeCisco @wangdong

tongli (Sat, 22 Feb 2020 12:29:08 GMT):
@dexhunter is there plan to add cc lifecycle?

tongli (Sat, 22 Feb 2020 12:31:38 GMT):
BTW, I tried to install sdk using alpine python image, it blows up big time. Do not have the error msg now. But do any of you ever tried to install this sdk onto alpine python env? Like 3.8 alpine docker image.

tongli (Sat, 22 Feb 2020 12:32:44 GMT):
The reason why I am asking is because other flavored python docker image all so big. Alpine based is a lot smaller. But this sdk won’t install though. Dependency issues

dexhunter (Sat, 22 Feb 2020 19:38:43 GMT):
Hi, what do you mean by cc lifecycle? @tongli we do support install/instantiate/invoke/query cc, etc.

dexhunter (Sat, 22 Feb 2020 19:40:44 GMT):
Regarding Alpine python image, can you open an issue on GitHub/jira, we will have a look later. Thanks

tongli (Sat, 22 Feb 2020 23:38:42 GMT):
@dexhunter yeah, fabric 2.0 introduced new way of installing, chaincode.

tongli (Sat, 22 Feb 2020 23:39:04 GMT):
Now chaincode will also need to be approved and then committed

tongli (Sat, 22 Feb 2020 23:39:30 GMT):
This new process is called chaincode lifecycle. Used to be just install and instantiate

tongli (Sat, 22 Feb 2020 23:40:14 GMT):
Now it involves more steps. One has to package, install, approve (according to the policy), then commit

tongli (Sat, 22 Feb 2020 23:40:34 GMT):
This new process has not been supported by most of the sdk

tongli (Sat, 22 Feb 2020 23:41:35 GMT):
You can see them from new command line tool

tongli (Sat, 22 Feb 2020 23:41:54 GMT):
Used to be peer chaincode install, instantiate. Now

tongli (Sat, 22 Feb 2020 23:42:30 GMT):
Peer lifecycle install, approvebymyorg , commit etc

tongli (Sat, 22 Feb 2020 23:43:02 GMT):
Do not remember the exact syntax. You can boot up a new fabric-tools container and take a look

dexhunter (Sat, 22 Feb 2020 23:43:34 GMT):
I see. We haven't supported fabric 2.0 yet. But feel free to contribute. =)

tongli (Sat, 22 Feb 2020 23:45:06 GMT):
Yeah. I would love too but I just do not have much of time on my hands.

dexhunter (Sat, 22 Feb 2020 23:47:02 GMT):
I am thinking to refactor part of codes as well. Currently sdk does not handle well with re-connecting to the network. For example, if I close the python sdk and reopen I couldn't find previously connected peers (I guess discovery service api can do but sdk should have better implementation like channels etc.)

tongli (Sun, 23 Feb 2020 17:21:56 GMT):
@dexhunter I saw your forked repo the other day. U only considering refactor connection part or rewrite pretty much every thing?

dexhunter (Sun, 23 Feb 2020 21:10:17 GMT):
@tongli based on @GuillaumeCisco 's refactor code: https://github.com/GuillaumeCisco/fabric-sdk-py/tree/refacto

dexhunter (Sun, 23 Feb 2020 21:10:17 GMT):
@tongli The new code will be based on @GuillaumeCisco 's refactor branch: https://github.com/GuillaumeCisco/fabric-sdk-py/tree/refacto

baohua (Fri, 28 Feb 2020 00:51:44 GMT):
HLF 2.0 changed the chaincode to a new lifecycle https://hlf.readthedocs.io/en/latest/commands/peerlifecycle.html @dexhunter

dexhunter (Fri, 28 Feb 2020 01:26:11 GMT):
Roger that, thanks.

madhukar_sh (Wed, 04 Mar 2020 00:31:12 GMT):
Um, this is new.. Lately I've been seeing a lot of these errors `<_GatheringFuture finished exception=CancelledError()> concurrent.futures._base.CancelledError`

madhukar_sh (Wed, 04 Mar 2020 00:31:38 GMT):
When invoking chaincode, and also today while installing a chaincode

madhukar_sh (Wed, 04 Mar 2020 00:32:11 GMT):
I had to set `wait_for_event = False` (for chaincode installation) to get the results back without above error

madhukar_sh (Wed, 04 Mar 2020 00:33:02 GMT):
Fabric v1.4.6 and latest sdk-py

garunkumar450 (Wed, 04 Mar 2020 04:53:20 GMT):
Has joined the channel.

ROHAN_SHROTHRIUM (Thu, 05 Mar 2020 11:33:43 GMT):
Has joined the channel.

GuillaumeCisco (Thu, 05 Mar 2020 15:16:20 GMT):
You should handle the chaincode invocation yourself, it can be different for every app. The one is fabric-sdk-py is just for showing a way to do it

ROHAN_SHROTHRIUM (Thu, 05 Mar 2020 17:10:52 GMT):
I was looking forward to contributing to fabric-sdk-py! Are there any features or issues I can work one??\

garunkumar450 (Fri, 06 Mar 2020 06:03:06 GMT):
any one help to get events

nkalichynskyi (Fri, 06 Mar 2020 08:58:52 GMT):
Has joined the channel.

baohua (Fri, 13 Mar 2020 22:07:34 GMT):
Welcome and feel free to open issue in github!

dexhunter (Sun, 15 Mar 2020 14:36:33 GMT):
Hi, anyone knows what is the problem of Azure? The CIs are dangling https://github.com/hyperledger/fabric-sdk-py/pulls

dexhunter (Sun, 15 Mar 2020 15:31:58 GMT):

Clipboard - March 15, 2020 11:31 PM

dexhunter (Mon, 16 Mar 2020 02:27:26 GMT):
@rjones Hi Ry! Could you help look at the ci issues? It has been dangling over a day.

rjones (Mon, 16 Mar 2020 02:27:26 GMT):
Has joined the channel.

rjones (Mon, 16 Mar 2020 02:31:30 GMT):
@dexhunter yes there is a bug: please join #cicd for more information

dexhunter (Mon, 16 Mar 2020 03:07:09 GMT):
great, thanks!

dexhunter (Mon, 16 Mar 2020 05:16:35 GMT):
https://github.com/hyperledger/fabric-sdk-py/pull/34 @baohua could you help to pass this one? Then I will rebase the rest of PRs

BrettLogan (Mon, 16 Mar 2020 18:20:41 GMT):
Has joined the channel.

BrettLogan (Mon, 16 Mar 2020 18:20:42 GMT):
FYI: @dexhunter https://status.dev.azure.com/_event/179641421

dexhunter (Thu, 19 Mar 2020 00:16:49 GMT):
great news, our project has been selected as one of the mentor programs 2020. https://wiki.hyperledger.org/pages/viewpage.action?pageId=29035315

dexhunter (Thu, 19 Mar 2020 02:47:03 GMT):
For potential interns, we would like you to first checkout node/golang sdk (support for fabric 1.4 version) and help to add missing parts at python sdk or fix existing bugs as reported. Then we can add notebook example and release python sdk v1.0. Thanks!

baohua (Fri, 20 Mar 2020 00:23:38 GMT):
:thumbsup:

dexhunter (Sat, 21 Mar 2020 05:12:42 GMT):
@baohua Many thanks! We not get issues on Github. @here https://github.com/hyperledger/fabric-sdk-py/issues

ZainabM (Mon, 23 Mar 2020 04:48:13 GMT):
Has joined the channel.

ROHAN_SHROTHRIUM (Wed, 25 Mar 2020 06:42:37 GMT):
Hello guys! I've been trying to install `couchdb` on the azure pipeline instance however when I try hosting it on `localhost:5984` it always exits with ConnectionRefused error. I suspect this is because the port isn't open... Is there an easy fix for this?

dexhunter (Wed, 25 Mar 2020 07:07:36 GMT):
@ROHAN_SHROTHRIUM I've asked at #fabric-ci but havn't got any replies. Maybe you can try adding `sudo ufw allow 53` to `azure-pipeline.yml` to see if it works.

dexhunter (Wed, 25 Mar 2020 07:07:36 GMT):
@ROHAN_SHROTHRIUM I've asked at #fabric-ci but havn't got any replies. Maybe you can try adding `sudo ufw allow 5984` to `azure-pipeline.yml` to see if it works.

ROHAN_SHROTHRIUM (Wed, 25 Mar 2020 07:35:30 GMT):
Tried this but still fails!

championshuttler (Wed, 25 Mar 2020 08:01:59 GMT):
Has joined the channel.

BrettLogan (Thu, 26 Mar 2020 02:36:09 GMT):
You don't have to modify the host system, you can use service containers and launch a CouchDB container and map the local 5984 to the container

BrettLogan (Thu, 26 Mar 2020 02:36:12 GMT):
```resources: containers: - container: couchdb image: couchdb ports: - 5984:5984 services: couchdb: couchdb```

BrettLogan (Thu, 26 Mar 2020 02:36:22 GMT):
https://docs.microsoft.com/en-us/azure/devops/pipelines/process/service-containers?view=azure-devops&tabs=yaml#single-job

BrettLogan (Thu, 26 Mar 2020 03:18:18 GMT):
Following this doc though: https://github.com/apache/couchdb-pkg/blob/master/README-SNAP.md

BrettLogan (Thu, 26 Mar 2020 03:18:20 GMT):
Works

BrettLogan (Thu, 26 Mar 2020 03:18:37 GMT):
``` steps: - script: | sudo snap install couchdb sudo snap set couchdb admin=admin sudo snap start couchdb sudo snap connect couchdb:mount-observe sudo snap connect couchdb:process-control - script: sleep 5 - script: curl localhost:5984```

BrettLogan (Thu, 26 Mar 2020 03:18:55 GMT):
You do have to sleep for 5 seconds before curling to give couch some time to start

BrettLogan (Thu, 26 Mar 2020 03:19:33 GMT):
I confirmed I could recreate you problem by just doing a snap install and then trying to curl. But following the doc to the letter works

BrettLogan (Thu, 26 Mar 2020 03:19:33 GMT):
I confirmed I could recreate you problem by just doing a snap install and the then trying to curl. But following the doc to the letter works

ROHAN_SHROTHRIUM (Thu, 26 Mar 2020 09:22:39 GMT):
Thanks @BrettLogan this worked!!

ROHAN_SHROTHRIUM (Thu, 26 Mar 2020 12:36:20 GMT):
For some reason the checks are passing locally but not on azure ci

ROHAN_SHROTHRIUM (Thu, 26 Mar 2020 21:17:28 GMT):
https://dev.azure.com/Hyperledger/Fabric/_build/results?buildId=10670&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=59a85588-b0ba-5043-24c4-d9e29d89c6f6&l=1183 The discovery test is failing for some reason

rjones (Thu, 26 Mar 2020 21:20:56 GMT):
Has left the channel.

Lucas-Wye (Fri, 27 Mar 2020 01:45:53 GMT):
Has joined the channel.

Lucas-Wye (Fri, 27 Mar 2020 05:09:10 GMT):
hello, I have created two PR here: https://github.com/hyperledger/fabric-sdk-py/pull/45 https://github.com/hyperledger/fabric-sdk-py/pull/46

ROHAN_SHROTHRIUM (Fri, 27 Mar 2020 06:55:27 GMT):
The Discovery test fails randomly on the pipelines! I think an issue should be opened regarding the same!

dexhunter (Fri, 27 Mar 2020 08:29:55 GMT):
@ROHAN_SHROTHRIUM feel free to report the issue

Lucas-Wye (Fri, 27 Mar 2020 08:36:57 GMT):
Does anyone tell me how to apply full-time intern?

dexhunter (Fri, 27 Mar 2020 08:41:15 GMT):
@Lucas-Wye Please check the wiki. https://wiki.hyperledger.org/display/INTERN/How+to+Apply

Lucas-Wye (Fri, 27 Mar 2020 08:41:25 GMT):
thanks!

xhens (Fri, 27 Mar 2020 12:41:17 GMT):
Has joined the channel.

Lucas-Wye (Sat, 28 Mar 2020 11:58:08 GMT):
It seems this link(https://lf-docs-linux-foundation.gitbook.io/linux-foundation-documentation/communitybridge-mentorship/mentees/become-a-mentee/create-a-mentee-profile) is fail.

Lucas-Wye (Sat, 28 Mar 2020 11:58:18 GMT):

Clipboard - March 28, 2020 7:58 PM

dexhunter (Sat, 28 Mar 2020 12:13:31 GMT):
@Lucas-Wye you can ask at #fabric-sdk-py

dexhunter (Sat, 28 Mar 2020 12:13:31 GMT):
@Lucas-Wye you can ask at #mentorship-program

Lucas-Wye (Sun, 29 Mar 2020 01:17:12 GMT):

Clipboard - March 29, 2020 9:17 AM

Lucas-Wye (Sun, 29 Mar 2020 01:17:18 GMT):
Is anyone meet this error when run `make check` ?

Lucas-Wye (Sun, 29 Mar 2020 01:17:18 GMT):
Does anyone meet this error when run `make check` ?

Lucas-Wye (Sun, 29 Mar 2020 01:17:59 GMT):

Clipboard - March 29, 2020 9:17 AM

Lucas-Wye (Sun, 29 Mar 2020 03:55:43 GMT):
I have created a new PR here: https://github.com/hyperledger/fabric-sdk-py/pull/52

dexhunter (Sun, 29 Mar 2020 05:52:22 GMT):
@Lucas-Wye thanks! I've merged the pr

levanto (Sun, 29 Mar 2020 12:14:21 GMT):
Has joined the channel.

madhukar_sh (Thu, 02 Apr 2020 19:08:42 GMT):
What do you think causes below error `File "/usr/local/lib/python3.7/dist-packages/fabric_sdk_py-0.9.0-py3.7.egg/hfc/fabric/client.py", line 1786, in chaincode_invoke txEvents = self.evts[self.evt_tx_id]['txEvents'] KeyError: 'txEvents' Task exception was never retrieved`

madhukar_sh (Thu, 02 Apr 2020 19:11:41 GMT):
What do you think causes below error ```File "/usr/local/lib/python3.7/dist-packages/fabric_sdk_py-0.9.0-py3.7.egg/hfc/fabric/client.py", line 1786, in chaincode_invoke txEvents = self.evts[self.evt_tx_id]['txEvents'] KeyError: 'txEvents' Task exception was never retrieved```

shaotian (Sat, 04 Apr 2020 03:25:55 GMT):
Has joined the channel.

nkalichynskyi (Tue, 07 Apr 2020 07:28:47 GMT):
Hi everyone, I'm having an issue with fetch of the config block for system channel, for some reason when fetching config block using python sdk config part `/channel_group/groups/Orderer/values/ConsensusType/value` doesn't have `metadata/consenters` field. Can anyone comment on this if this is known issue or maybe I'm doing something wrong?

nkalichynskyi (Tue, 07 Apr 2020 07:28:47 GMT):
Hi everyone, I'm having an issue with fetch of the config block for system channel, for some reason when fetching config block using python sdk config part `/channel_group/groups/Orderer/values/ConsensusType/value` doesn't have `metadata/consenters` field. It seems to be an issue with protobuf decoding because if I fetch application channel config without decoding everything is in place, but `get_channel_config_with_orderer ` doesn't allow fetch of the system channel config without decoding. Can anyone comment on this if this is known issue or maybe I'm doing something wrong?

apurvmishra99 (Fri, 10 Apr 2020 03:52:28 GMT):
Has joined the channel.

HritikGupta (Wed, 15 Apr 2020 12:55:19 GMT):
Has joined the channel.

scmanjarrez (Mon, 20 Apr 2020 12:44:21 GMT):
Has joined the channel.

akigugale (Sat, 25 Apr 2020 14:11:52 GMT):
Has joined the channel.

zZz (Wed, 29 Apr 2020 09:20:29 GMT):
Has joined the channel.

SergeyBatishchev (Thu, 30 Apr 2020 15:03:08 GMT):
Has joined the channel.

deeprajpandey (Thu, 07 May 2020 19:13:49 GMT):
Has joined the channel.

garunkumar450 (Fri, 08 May 2020 05:31:24 GMT):
is any one tried block event listener in python fabric-sdk-py

garunkumar450 (Fri, 08 May 2020 05:31:45 GMT):
if tried please share me the resource

dexhunter (Fri, 08 May 2020 08:25:48 GMT):
@garunkumar450 you can check our example codes.

garunkumar450 (Fri, 08 May 2020 13:05:46 GMT):
please share the urls

dexhunter (Sat, 09 May 2020 01:58:31 GMT):
https://github.com/hyperledger/fabric-sdk-py/blob/master/test/integration/e2e_test.py#L620-L654 @garunkumar450

garunkumar450 (Sat, 09 May 2020 04:34:13 GMT):
thanks i will look onto this

garunkumar450 (Sat, 09 May 2020 08:31:53 GMT):
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ while installing fabric-sdk-py 0.8.1 with python3.6 setup.py insta;;

garunkumar450 (Sat, 09 May 2020 08:31:53 GMT):
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++ while installing fabric-sdk-py 0.8.1 with python3.6 setup.py install

garunkumar450 (Sat, 09 May 2020 08:32:11 GMT):
Best match: grpcio 1.28.1 Processing grpcio-1.28.1.tar.gz Writing /tmp/easy_install-lfgwhexd/grpcio-1.28.1/setup.cfg Running grpcio-1.28.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lfgwhexd/grpcio-1.28.1/egg-dist-tmp-j1l_t8wm Found cython-generated files... warning: no files found matching '*.c' under directory 'src/python/grpcio/grpc' warning: no files found matching '*.h' under directory 'src/python/grpcio/grpc' warning: no files found matching '*.inc' under directory 'src/python/grpcio/grpc' warning: no files found matching '*.python' under directory 'src/python/grpcio/grpc' warning: no previously-included files matching '*.so' found under directory 'src/python/grpcio/grpc/_cython' warning: no previously-included files matching '*.pyd' found under directory 'src/python/grpcio/grpc/_cython' warning: no files found matching 'src/python/grpcio/precompiled.py' Found cython-generated files... cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++

garunkumar450 (Sat, 09 May 2020 08:32:22 GMT):
in ubuntu16.04

dexhunter (Sun, 10 May 2020 14:34:49 GMT):
hmm... I think the problem is not related to fabric-sdk-py but I can try to help. Which command did you execute? @garunkumar450

codyjgilbert (Tue, 12 May 2020 18:49:05 GMT):
Has joined the channel.

codyjgilbert (Tue, 12 May 2020 18:49:06 GMT):
Hey everyone! I'm new to the Fabric Python SDK community and I've recently had the experience of implementing a mock network using the SDK. One of the more frustrating experiences I've had is trying to interpret the Python functions and understand their input requirements and output objects. I would like to go ahead and add a task to myself to expand the function docstrings and add type hinting per PEP 484. Would this be a worthwhile or appreciated task for me to do? I wanted to get some feedback from you all before I rushed in to it.

dexhunter (Wed, 13 May 2020 08:52:11 GMT):
@codyjgilbert that would be great!

dexhunter (Wed, 13 May 2020 08:53:06 GMT):
We do have an issue for that: https://github.com/hyperledger/fabric-sdk-py/issues/40

dexhunter (Wed, 13 May 2020 08:57:46 GMT):
I'll also help along the way. So if there are problems, feel free to contact me or through the issue (which I will respond fast when I receive the notification)

dexhunter (Wed, 13 May 2020 08:57:46 GMT):
I'll also help along the way. So if there are problems, feel free to contact me or through the issue (which I will respond faster when I receive the notification)

baohua (Wed, 13 May 2020 21:29:58 GMT):
there's a github client, though not perfect.

nkalichynskyi (Thu, 14 May 2020 09:18:59 GMT):
Hi everyone, I've been looking into python sdk and noticed that it has hardcoded `CC_TYPE_GOLANG` in `chaincode_install` function. Is there a jira ticket or something about that?

dexhunter (Thu, 14 May 2020 09:45:19 GMT):
@nkalichynskyi you can report on github issue, but for now most people just use golang to write chaincodes, but if you want to use other languages such as nodejs you can make the modification

nkalichynskyi (Thu, 14 May 2020 11:04:20 GMT):
ok, thanks

KerwinSun (Sun, 17 May 2020 12:41:23 GMT):
Has joined the channel.

KerwinSun (Sun, 17 May 2020 12:41:23 GMT):
Hi everyone, if I want to contribute to this python-sdk, where can I start? I don't find a task list in jira. thanks~

dexhunter (Mon, 18 May 2020 19:12:25 GMT):
@KerwinSun can try to go over our github issues

dexhunter (Thu, 21 May 2020 03:49:58 GMT):
@here I just created this issue for tracking missing features, please let us know if there are any features you would like to see in our lts version of sdk. Thanks! https://github.com/hyperledger/fabric-sdk-py/issues/88

laouiadel (Sun, 24 May 2020 16:18:47 GMT):
Has joined the channel.

laouiadel (Sun, 24 May 2020 16:36:56 GMT):
Hello guys, I've been trying to install sdk-py in order to connect to my fabric network and be able to interact with it. I'm following this https://oak-tree.tech/blog/hyperledger-tools-deployment but i'm getting problems in the section "Setting up the Fabric Python SDK"

laouiadel (Sun, 24 May 2020 16:36:56 GMT):
Hello guys, I've been trying to install sdk-py in order to connect to my fabric network and be able to interact with it. I'm following this https://oak-tree.tech/blog/hyperledger-tools-deployment but i'm getting problems in the section "Setting up the Fabric Python SDK". here is the command that i get error in : $ make check

laouiadel (Sun, 24 May 2020 16:36:56 GMT):
error: pip 20.1.1 from /home/ubuntu/Enviro/fabric-sdk-py/venv/lib/python3.5/site-packages/pip (python 3.5) 3.15.1 imported from /home/ubuntu/Enviro/fabric-sdk-py/venv/lib/python3.5/site-packages/tox/__init__.py ERROR: Could not find a version that satisfies the requirement aiogrpc>=1.6 (from -r requirements.txt (line 1)) (from versions: none) ERROR: No matching distribution found for aiogrpc>=1.6 (from -r requirements.txt (line 1)) ERROR: Could not find a version that satisfies the requirement aiogrpc>=1.6 (from -r requirements-test.txt (line 1)) (from versions: none) ERROR: No matching distribution found for aiogrpc>=1.6 (from -r requirements-test.txt (line 1)) Makefile:72: recipe for target 'venv' failed make[1]: *** [venv] Error 1 make[1]: Leaving directory '/home/ubuntu/Enviro/fabric-sdk-py' Makefile:10: recipe for target 'check' failed make: *** [check] Error 2

laouiadel (Sun, 24 May 2020 16:45:21 GMT):
Hello guys, i've be trying to install sdk-py in orther to connect to my fabric network (already running) and be able to interact with it. I followed this https://oak-tree.tech/blog/hyperledger-tools-deployment and i'm getting error in the section "Setting up the Fabric Python SDK". This is the command that gives error: $ make check pip 20.1.1 from /home/ubuntu/Enviro/fabric-sdk-py/venv/lib/python3.5/site-packages/pip (python 3.5) 3.15.1 imported from /home/ubuntu/Enviro/fabric-sdk-py/venv/lib/python3.5/site-packages/tox/__init__.py ERROR: Could not find a version that satisfies the requirement aiogrpc>=1.6 (from -r requirements.txt (line 1)) (from versions: none) ERROR: No matching distribution found for aiogrpc>=1.6 (from -r requirements.txt (line 1)) ERROR: Could not find a version that satisfies the requirement aiogrpc>=1.6 (from -r requirements-test.txt (line 1)) (from versions: none) ERROR: No matching distribution found for aiogrpc>=1.6 (from -r requirements-test.txt (line 1)) Makefile:72: recipe for target 'venv' failed make[1]: *** [venv] Error 1 make[1]: Leaving directory '/home/ubuntu/Enviro/fabric-sdk-py' Makefile:10: recipe for target 'check' failed make: *** [check] Error 2 Makefile:10: recipe for target 'check' failed make: *** [check] Error 2

laouiadel (Sun, 24 May 2020 16:51:55 GMT):
Hello guys, i've be trying to install sdk-py in orther to connect to my fabric network (already running) and be able to interact with it. I followed this https://oak-tree.tech/blog/hyperledger-tools-deployment and i'm getting error in the section "Setting up the Fabric Python SDK". This is the command that gives error: $ make check pip 20.1.1 from /home/ubuntu/Enviro/fabric-sdk-py/venv/lib/python3.5/site-packages/pip (python 3.5) 3.15.1 imported from /home/ubuntu/Enviro/fabric-sdk-py/venv/lib/python3.5/site-packages/tox/__init__.py ERROR: Could not find a version that satisfies the requirement aiogrpc>=1.6 (from -r requirements.txt (line 1)) (from versions: none) ERROR: No matching distribution found for aiogrpc>=1.6 (from -r requirements.txt (line 1)) ERROR: Could not find a version that satisfies the requirement aiogrpc>=1.6 (from -r requirements-test.txt (line 1)) (from versions: none) ERROR: No matching distribution found for aiogrpc>=1.6 (from -r requirements-test.txt (line 1)) Makefile:72: recipe for target 'venv' failed make[1]: *** [venv] Error 1 make[1]: Leaving directory '/home/ubuntu/Enviro/fabric-sdk-py' Makefile:10: recipe for target 'check' failed make: *** [check] Error 2 Makefile:10: recipe for target 'check' failed make: *** [check] Error 2 Also i ignore it and said its not a big deal, its just for ensure the environment is sane, so i moved forward to the testing and get another error by running the following: (myenv) ubuntu@ip-172-31-87-24:~/Enviro/fabric-sdk-py$ python3 Python 3.5.2 (default, Apr 16 2020, 17:47:17) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/home/ubuntu/Enviro/fabric-sdk-py/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/home/ubuntu/Enviro/fabric-sdk-py/hfc/fabric/client.py", line 344 _logger.warning(f"Cannot find orderer with name {name}") ^ SyntaxError: invalid syntax Please help, what should i do! Thanks in advance.

laouiadel (Sun, 24 May 2020 16:51:55 GMT):
Hello guys, i've been trying to install sdk-py in orther to connect to my fabric network (already running) and be able to interact with it. I followed https://oak-tree.tech/blog/hyperledger-tools-deployment and i'm getting problems in the section "Setting up the Fabric Python SDK". This is the command that gives error: $ make check pip 20.1.1 from /home/ubuntu/Enviro/fabric-sdk-py/venv/lib/python3.5/site-packages/pip (python 3.5) 3.15.1 imported from /home/ubuntu/Enviro/fabric-sdk-py/venv/lib/python3.5/site-packages/tox/__init__.py ERROR: Could not find a version that satisfies the requirement aiogrpc>=1.6 (from -r requirements.txt (line 1)) (from versions: none) ERROR: No matching distribution found for aiogrpc>=1.6 (from -r requirements.txt (line 1)) ERROR: Could not find a version that satisfies the requirement aiogrpc>=1.6 (from -r requirements-test.txt (line 1)) (from versions: none) ERROR: No matching distribution found for aiogrpc>=1.6 (from -r requirements-test.txt (line 1)) Makefile:72: recipe for target 'venv' failed make[1]: *** [venv] Error 1 make[1]: Leaving directory '/home/ubuntu/Enviro/fabric-sdk-py' Makefile:10: recipe for target 'check' failed make: *** [check] Error 2 Makefile:10: recipe for target 'check' failed make: *** [check] Error 2 I ignore it and said its not a big deal, its just for ensure that the environment is sane, so i moved forward to the testing and get another error by running the following: (myenv) ubuntu:~/Enviro/fabric-sdk-py$ python3 Python 3.5.2 (default, Apr 16 2020, 17:47:17) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from hfc.fabric import Client Traceback (most recent call last): File "", line 1, in File "/home/ubuntu/Enviro/fabric-sdk-py/hfc/fabric/__init__.py", line 6, in from .client import Client # noqa File "/home/ubuntu/Enviro/fabric-sdk-py/hfc/fabric/client.py", line 344 _logger.warning(f"Cannot find orderer with name {name}") ^ SyntaxError: invalid syntax Please help, what should i do! Thanks in advance.

AaronWilmoth (Mon, 25 May 2020 20:25:52 GMT):
Has joined the channel.

scmanjarrez (Wed, 27 May 2020 13:00:16 GMT):
hi, does sdk support basic functionality of hyperledger 2.0?

scmanjarrez (Wed, 27 May 2020 13:00:16 GMT):
hi, does sdk support basic functionality of hyperledger 2.0? chaincode invoke/query

scmanjarrez (Wed, 27 May 2020 13:00:16 GMT):
hi, does sdk support basic functionality of hyperledger 2.0? chaincode invoke/query, read the tutorial but show example for 1.4

scmanjarrez (Wed, 27 May 2020 13:00:16 GMT):
hi, does sdk support basic functionality of hyperledger 2.0? chaincode invoke/query. Tutorial but show example for 1.4

scmanjarrez (Wed, 27 May 2020 13:00:16 GMT):
hi, does sdk support basic functionality of hyperledger 2.0? chaincode invoke/query. Tutorial shows example for 1.4

baohua (Thu, 28 May 2020 23:35:26 GMT):
not yet for v2.0.

scmanjarrez (Fri, 29 May 2020 14:35:43 GMT):
ok thank you!

scmanjarrez (Mon, 01 Jun 2020 13:39:43 GMT):
quick quest, what is ``` "client": { "organization": "Org1", "credentialStore": { "path": "/tmp/hfc-kvs", "cryptoStore": { "path": "/tmp/hfc-cvs" }, "wallet": "wallet-name" } },``` in network.json? The client that will be used in requets?

scmanjarrez (Mon, 01 Jun 2020 13:39:43 GMT):
Hi, can somebody tell me what is ``` "client": { "organization": "Org1", "credentialStore": { "path": "/tmp/hfc-kvs", "cryptoStore": { "path": "/tmp/hfc-cvs" }, "wallet": "wallet-name" } },``` in network.json? The client that will be used in requets? Thanks

scmanjarrez (Mon, 01 Jun 2020 13:39:43 GMT):
Hi, can somebody tell me what is ``` "client": { "organization": "Org1", "credentialStore": { "path": "/tmp/hfc-kvs", "cryptoStore": { "path": "/tmp/hfc-cvs" }, "wallet": "wallet-name" } },``` in network.json? The client that will be used in requests? Thanks

ROHAN_SHROTHRIUM (Mon, 01 Jun 2020 14:44:39 GMT):
@baohua, as @dexhunter suggested we can plan a bi-weekly progress meeting according to your convenience!

dexhunter (Mon, 01 Jun 2020 14:47:35 GMT):
@scmanjarrez hi, you can check this (https://hyperledger-fabric.readthedocs.io/en/release-2.0/glossary.html#organization) for more information

dexhunter (Mon, 01 Jun 2020 14:50:34 GMT):
@ROHAN_SHROTHRIUM here is the timetable (https://wiki.hyperledger.org/display/HYP/Calendar+of+Public+Meetings) and currently it's scheduled Friday 12pm for me, does the time work for you or should we re-schedule a better time slot?

dexhunter (Mon, 01 Jun 2020 14:52:00 GMT):
I think the time is too late for @baohua right? Or is it okay?

ROHAN_SHROTHRIUM (Mon, 01 Jun 2020 14:55:22 GMT):
Friday June 12th? This works for me

dexhunter (Mon, 01 Jun 2020 14:56:02 GMT):
I think it should be 10 am in India

dexhunter (Mon, 01 Jun 2020 14:56:02 GMT):
I think it should be 10 am in India, right?

scmanjarrez (Mon, 01 Jun 2020 16:16:30 GMT):
thank you!

scmanjarrez (Tue, 02 Jun 2020 16:50:44 GMT):
I have installed chaincode in peer, however, cli.query_installed_chaincodes() returns empty list, I have checked the logs of the peer and it's receiving requests from sdk, what could be wrong? where should I look to debug my problem? Sorry.. new to the sdk.

scmanjarrez (Tue, 02 Jun 2020 16:50:44 GMT):
I have installed chaincode in peer, however, cli.query_installed_chaincodes() returns empty list, I have checked the logs of the peer and it's receiving requests from sdk, what could be wrong? where should I look to debug my problem? Sorry.. new to the sdk. PS: I have added checked and responses are status 200, but empty.. peer lifecycle chaincode queryinstalled returns the installed chaincode

scmanjarrez (Tue, 02 Jun 2020 16:50:44 GMT):
I have installed chaincode in peer, however, cli.query_installed_chaincodes() returns empty list, I have checked the logs of the peer and it's receiving requests from sdk, what could be wrong? where should I look to debug my problem? Sorry.. new to the sdk. PS: I have added checked client.py and responses are status 200, but empty.. peer lifecycle chaincode queryinstalled returns the installed chaincode

ROHAN_SHROTHRIUM (Thu, 04 Jun 2020 04:35:27 GMT):
Yeah it's 9:30am!

nbasker (Sat, 06 Jun 2020 04:03:34 GMT):
Has joined the channel.

dexhunter (Mon, 08 Jun 2020 13:10:48 GMT):
@here Dear all, we will have meeting 12PM(UTC+8) this Friday afternoon, pls help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-06-12 welcome to attend, thanks!

dexhunter (Mon, 08 Jun 2020 13:59:13 GMT):
@baohua Hi, @Kelvin_Moutet mentioned our current meetup time is too early for people in France (5:00 AM UTC+1), I am just wondering if there are other available time slots we can take.

scmanjarrez (Thu, 11 Jun 2020 15:49:30 GMT):
hi, is it possible to disable debug prints? I have checked the code and there are some _logger.debug, I want to disable without modifying source code.

scmanjarrez (Thu, 11 Jun 2020 15:49:30 GMT):
hi, is it possible to disable debug prints? I have checked the code and there are some _logger.debug, I want to disable them without modifying source code.

scmanjarrez (Thu, 11 Jun 2020 15:49:30 GMT):
hi, is it possible to disable debug prints? I have checked the code and there are some _logger.debug, I want to disable them without modifying source code. Edit: Ok, I have solved it changing logger level with: logging.getLogger('hfc.fabric.client')

scmanjarrez (Thu, 11 Jun 2020 15:49:30 GMT):
hi, is it possible to disable debug prints? I have checked the code and there are some _logger.debug, I want to disable them without modifying source code. Edit: Ok, I have solved it changing logger level with: logging.getLogger('hfc.fabric.client'); _logger.setLevel(logging.NOTSET)

dexhunter (Fri, 12 Jun 2020 04:23:37 GMT):
yep `logger.setLevel()` will do

scmanjarrez (Fri, 12 Jun 2020 14:35:39 GMT):
what is state_store in ```def create_user(self, enrollment_id, org, msp_id, state_store=None)``` from inmemorywalletstore? I checked keyvaluestore.py but I don't understand it. Is it a backup file?

scmanjarrez (Fri, 12 Jun 2020 14:35:39 GMT):
what is state_store in ```def create_user(self, enrollment_id, org, msp_id, state_store=None)``` from inmemorywalletstore? I checked *keyvaluestore.py* but I don't understand it. Is it a backup file?

scmanjarrez (Fri, 12 Jun 2020 14:35:39 GMT):
what is state_store in ```def create_user(self, enrollment_id, org, msp_id, state_store=None)``` from *inmemorywalletstore.py*? I checked keyvaluestore.py but I don't understand it. Is it a backup file?

scmanjarrez (Wed, 17 Jun 2020 16:55:49 GMT):
does anybody know why I cannot query chaincode using a peer from client_discovery? If I use peer from create_peer it works. This is the output: ```[Peer:_name=peer0.org1.example.com,_lock=,_channels=[],_endpoint=peer0.org1.example.com:7051,_grpc_options={ 'grpc.ssl_target_name_override': 'peer0.org1.example.com'},_ssl_target_name=peer0.org1.example.com,_tls_ca_certs_path=b'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNXRENDQWY2Z 0F3SUJBZ0lSQUxENmZ3RkdxRVo0VmFWL3RpM3hGend3Q2dZSUtvWkl6ajBFQXdJd2RqRUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOH hHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIekFkQmdOVkJBTVRGblJzCmMyTmhMbTl5WnpFdVpYaGhiWEJzWlM1amIyMHdIaGNOTWpBd05qRTNNVE0wTWpBd1doY05NekF3TmpFMU1UTTAKTWpBd1dqQjJNUXN 3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRQpCeE1OVTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTVM1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4 elkyRXViM0puTVM1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCS29CanpTb1RNbnNHQmVvVGNKYVFKSnFiWHJ0K0NEQ2xlaFpibnp2Nm5rcTM4MDU1VnRTaG1PUQp5TTIzRFpvWlp6NXJ4NDJYbUJISThsZm5QVVhjZlhxamJUQnJNQTRHQTFVZER3RUIvd1FFQXdJQnBqQWRCZ05WCkhTVUVGakFVQmdnckJnRUZCUWNEQWdZSUt3WUJCUVVIQXdFd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBcEJnTlYKSFE0RUlnUWdsekVQR1Q5bGlwRHlWZ0RQMDdEc3QvbDBjVS9hVUxEdWlRS0QyWTliaFpZd0NnWUlLb1pJemowRQpBd0lEU0FBd1JRSWdSSlR0QkN6ZzVFYUZSdkVJM0FJYmI4V0Zvb1hPMmRHdk1tVW5SalFNaGN3Q0lRQ2JkaEloCjhyb0RDcmtxQU9iREVhek1kVzAwL0MxUDJ2bUltMGY0TzJJa2xRPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=',_client_key_path=None,_client_cert_path=None,_channel=,_endorser_client=,_discovery_client=,_event_client=] E0617 18:40:45.351257549 12516 ssl_transport_security.cc:738] Could not load any root certificate. E0617 18:40:45.351279249 12516 ssl_transport_security.cc:1837] Cannot load server root certificates. E0617 18:40:45.351293548 12516 ssl_security_connector.cc:113] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0617 18:40:45.351303306 12516 secure_channel_create.cc:132] Failed to create secure subchannel for secure name 'peer0.org1.example.com:7051' E0617 18:40:45.351313176 12516 secure_channel_create.cc:50] Failed to create channel args during subchannel creation. ```

scmanjarrez (Wed, 17 Jun 2020 16:55:49 GMT):
does anybody know why I cannot query chaincode using a peer from client_discovery? If I use peer from create_peer it works. This is the output: ```[Peer:_name=peer0.org1.example.com,_lock=,_channels=[],_endpoint=peer0.org1.example.com:7051,_grpc_options={ 'grpc.ssl_target_name_override': 'peer0.org1.example.com'},_ssl_target_name=peer0.org1.example.com,_tls_ca_certs_path=b'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNXRENDQWY2Z 0F3SUJBZ0lSQUxENmZ3RkdxRVo0VmFWL3RpM3hGend3Q2dZSUtvWkl6ajBFQXdJd2RqRUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOH hHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIekFkQmdOVkJBTVRGblJzCmMyTmhMbTl5WnpFdVpYaGhiWEJzWlM1amIyMHdIaGNOTWpBd05qRTNNVE0wTWpBd1doY05NekF3TmpFMU1UTTAKTWpBd1dqQjJNUXN 3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRQpCeE1OVTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTVM1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4 elkyRXViM0puTVM1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCS29CanpTb1RNbnNHQmVvVGNKYVFKSnFiWHJ0K0NEQ2xlaFpibnp2Nm5rcTM4MDU1VnRTaG1PUQp5TTIzRFpvWlp6NXJ4NDJYbUJISThsZm5QVVhjZlhxamJUQnJNQTRHQTFVZER3RUIvd1FFQXdJQnBqQWRCZ05WCkhTVUVGakFVQmdnckJnRUZCUWNEQWdZSUt3WUJCUVVIQXdFd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBcEJnTlYKSFE0RUlnUWdsekVQR1Q5bGlwRHlWZ0RQMDdEc3QvbDBjVS9hVUxEdWlRS0QyWTliaFpZd0NnWUlLb1pJemowRQpBd0lEU0FBd1JRSWdSSlR0QkN6ZzVFYUZSdkVJM0FJYmI4V0Zvb1hPMmRHdk1tVW5SalFNaGN3Q0lRQ2JkaEloCjhyb0RDcmtxQU9iREVhek1kVzAwL0MxUDJ2bUltMGY0TzJJa2xRPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=',_client_key_path=None,_client_cert_path=None,_channel=,_endorser_client=,_discovery_client=,_event_client=] E0617 18:40:45.351257549 12516 ssl_transport_security.cc:738] Could not load any root certificate. E0617 18:40:45.351279249 12516 ssl_transport_security.cc:1837] Cannot load server root certificates. E0617 18:40:45.351293548 12516 ssl_security_connector.cc:113] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0617 18:40:45.351303306 12516 secure_channel_create.cc:132] Failed to create secure subchannel for secure name 'peer0.org1.example.com:7051' E0617 18:40:45.351313176 12516 secure_channel_create.cc:50] Failed to create channel args during subchannel creation. ```

scmanjarrez (Wed, 17 Jun 2020 16:55:49 GMT):
does anybody know why I cannot query chaincode using a peer from client_discovery? If I use peer from create_peer it works. This is the output:

```[Peer:_name=peer0.org1.example.com,_lock=,_channels=[],_endpoint=peer0.org1.example.com:7051,_grpc_options={ 'grpc.ssl_target_name_override': 'peer0.org1.example.com'},_ssl_target_name=peer0.org1.example.com,_tls_ca_certs_path=b'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNXRENDQWY2Z 0F3SUJBZ0lSQUxENmZ3RkdxRVo0VmFWL3RpM3hGend3Q2dZSUtvWkl6ajBFQXdJd2RqRUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOH hHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIekFkQmdOVkJBTVRGblJzCmMyTmhMbTl5WnpFdVpYaGhiWEJzWlM1amIyMHdIaGNOTWpBd05qRTNNVE0wTWpBd1doY05NekF3TmpFMU1UTTAKTWpBd1dqQjJNUXN 3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRQpCeE1OVTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTVM1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4 elkyRXViM0puTVM1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCS29CanpTb1RNbnNHQmVvVGNKYVFKSnFiWHJ0K0NEQ2xlaFpibnp2Nm5rcTM4MDU1VnRTaG1PUQp5TTIzRFpvWlp6NXJ4NDJYbUJISThsZm5QVVhjZlhxamJUQnJNQTRHQTFVZER3RUIvd1FFQXdJQnBqQWRCZ05WCkhTVUVGakFVQmdnckJnRUZCUWNEQWdZSUt3WUJCUVVIQXdFd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBcEJnTlYKSFE0RUlnUWdsekVQR1Q5bGlwRHlWZ0RQMDdEc3QvbDBjVS9hVUxEdWlRS0QyWTliaFpZd0NnWUlLb1pJemowRQpBd0lEU0FBd1JRSWdSSlR0QkN6ZzVFYUZSdkVJM0FJYmI4V0Zvb1hPMmRHdk1tVW5SalFNaGN3Q0lRQ2JkaEloCjhyb0RDcmtxQU9iREVhek1kVzAwL0MxUDJ2bUltMGY0TzJJa2xRPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=',_client_key_path=None,_client_cert_path=None,_channel=,_endorser_client=,_discovery_client=,_event_client=] E0617 18:40:45.351257549 12516 ssl_transport_security.cc:738] Could not load any root certificate. E0617 18:40:45.351279249 12516 ssl_transport_security.cc:1837] Cannot load server root certificates. E0617 18:40:45.351293548 12516 ssl_security_connector.cc:113] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0617 18:40:45.351303306 12516 secure_channel_create.cc:132] Failed to create secure subchannel for secure name 'peer0.org1.example.com:7051' E0617 18:40:45.351313176 12516 secure_channel_create.cc:50] Failed to create channel args during subchannel creation. ```

scmanjarrez (Wed, 17 Jun 2020 16:55:49 GMT):
does anybody know why I cannot query chaincode using a peer from client_discovery? If I use peer from create_peer it works. This is the output: ```[Peer:_name=peer0.org1.example.com,_lock=,_channels=[],_endpoint=peer0.org1.example.com:7051,_grpc_options={ 'grpc.ssl_target_name_override': 'peer0.org1.example.com'},_ssl_target_name=peer0.org1.example.com,_tls_ca_certs_path=b'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNXRENDQWY2Z 0F3SUJBZ0lSQUxENmZ3RkdxRVo0VmFWL3RpM3hGend3Q2dZSUtvWkl6ajBFQXdJd2RqRUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOH hHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIekFkQmdOVkJBTVRGblJzCmMyTmhMbTl5WnpFdVpYaGhiWEJzWlM1amIyMHdIaGNOTWpBd05qRTNNVE0wTWpBd1doY05NekF3TmpFMU1UTTAKTWpBd1dqQjJNUXN 3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRQpCeE1OVTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTVM1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4 elkyRXViM0puTVM1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCS29CanpTb1RNbnNHQmVvVGNKYVFKSnFiWHJ0K0NEQ2xlaFpibnp2Nm5rcTM4MDU1VnRTaG1PUQp5TTIzRFpvWlp6NXJ4NDJYbUJISThsZm5QVVhjZlhxamJUQnJNQTRHQTFVZER3RUIvd1FFQXdJQnBqQWRCZ05WCkhTVUVGakFVQmdnckJnRUZCUWNEQWdZSUt3WUJCUVVIQXdFd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBcEJnTlYKSFE0RUlnUWdsekVQR1Q5bGlwRHlWZ0RQMDdEc3QvbDBjVS9hVUxEdWlRS0QyWTliaFpZd0NnWUlLb1pJemowRQpBd0lEU0FBd1JRSWdSSlR0QkN6ZzVFYUZSdkVJM0FJYmI4V0Zvb1hPMmRHdk1tVW5SalFNaGN3Q0lRQ2JkaEloCjhyb0RDcmtxQU9iREVhek1kVzAwL0MxUDJ2bUltMGY0TzJJa2xRPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=',_client_key_path=None,_client_cert_path=None,_channel=,_endorser_client=,_discovery_client=,_event_client=] E0617 18:40:45.351257549 12516 ssl_transport_security.cc:738] Could not load any root certificate. E0617 18:40:45.351279249 12516 ssl_transport_security.cc:1837] Cannot load server root certificates. E0617 18:40:45.351293548 12516 ssl_security_connector.cc:113] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0617 18:40:45.351303306 12516 secure_channel_create.cc:132] Failed to create secure subchannel for secure name 'peer0.org1.example.com:7051' E0617 18:40:45.351313176 12516 secure_channel_create.cc:50] Failed to create channel args during subchannel creation. ```

scmanjarrez (Wed, 17 Jun 2020 16:55:49 GMT):
does anybody know why I cannot query chaincode using a peer from client_discovery? If I use peer from create_peer it works., but I get the following output if I use a peer from client_discovery.peers: ```[Peer:_name=peer0.org1.example.com,_lock=,_channels=[],_endpoint=peer0.org1.example.com:7051,_grpc_options={ 'grpc.ssl_target_name_override': 'peer0.org1.example.com'},_ssl_target_name=peer0.org1.example.com,_tls_ca_certs_path=b'LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNXRENDQWY2Z 0F3SUJBZ0lSQUxENmZ3RkdxRVo0VmFWL3RpM3hGend3Q2dZSUtvWkl6ajBFQXdJd2RqRUwKTUFrR0ExVUVCaE1DVlZNeEV6QVJCZ05WQkFnVENrTmhiR2xtYjNKdWFXRXhGakFVQmdOVkJBY1REVk5oYmlCRwpjbUZ1WTJselkyOH hHVEFYQmdOVkJBb1RFRzl5WnpFdVpYaGhiWEJzWlM1amIyMHhIekFkQmdOVkJBTVRGblJzCmMyTmhMbTl5WnpFdVpYaGhiWEJzWlM1amIyMHdIaGNOTWpBd05qRTNNVE0wTWpBd1doY05NekF3TmpFMU1UTTAKTWpBd1dqQjJNUXN 3Q1FZRFZRUUdFd0pWVXpFVE1CRUdBMVVFQ0JNS1EyRnNhV1p2Y201cFlURVdNQlFHQTFVRQpCeE1OVTJGdUlFWnlZVzVqYVhOamJ6RVpNQmNHQTFVRUNoTVFiM0puTVM1bGVHRnRjR3hsTG1OdmJURWZNQjBHCkExVUVBeE1XZEd4 elkyRXViM0puTVM1bGVHRnRjR3hsTG1OdmJUQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDkKQXdFSEEwSUFCS29CanpTb1RNbnNHQmVvVGNKYVFKSnFiWHJ0K0NEQ2xlaFpibnp2Nm5rcTM4MDU1VnRTaG1PUQp5TTIzRFpvWlp6NXJ4NDJYbUJISThsZm5QVVhjZlhxamJUQnJNQTRHQTFVZER3RUIvd1FFQXdJQnBqQWRCZ05WCkhTVUVGakFVQmdnckJnRUZCUWNEQWdZSUt3WUJCUVVIQXdFd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBcEJnTlYKSFE0RUlnUWdsekVQR1Q5bGlwRHlWZ0RQMDdEc3QvbDBjVS9hVUxEdWlRS0QyWTliaFpZd0NnWUlLb1pJemowRQpBd0lEU0FBd1JRSWdSSlR0QkN6ZzVFYUZSdkVJM0FJYmI4V0Zvb1hPMmRHdk1tVW5SalFNaGN3Q0lRQ2JkaEloCjhyb0RDcmtxQU9iREVhek1kVzAwL0MxUDJ2bUltMGY0TzJJa2xRPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=',_client_key_path=None,_client_cert_path=None,_channel=,_endorser_client=,_discovery_client=,_event_client=] E0617 18:40:45.351257549 12516 ssl_transport_security.cc:738] Could not load any root certificate. E0617 18:40:45.351279249 12516 ssl_transport_security.cc:1837] Cannot load server root certificates. E0617 18:40:45.351293548 12516 ssl_security_connector.cc:113] Handshaker factory creation failed with TSI_INVALID_ARGUMENT. E0617 18:40:45.351303306 12516 secure_channel_create.cc:132] Failed to create secure subchannel for secure name 'peer0.org1.example.com:7051' E0617 18:40:45.351313176 12516 secure_channel_create.cc:50] Failed to create channel args during subchannel creation. ```

scmanjarrez (Wed, 17 Jun 2020 16:55:49 GMT):
does anybody know why I cannot query chaincode using a peer from client_discovery? If I use peer from create_peer it works., but I get the following output if I use a peer from client_discovery.peers -> Seems like the channel with peers are created using wrong tls_cert, created an Issue in the github repo explaining the problem. https://github.com/hyperledger/fabric-sdk-py/issues/90

scmanjarrez (Wed, 17 Jun 2020 16:55:49 GMT):
does anybody know why I cannot query chaincode using a peer from client_discovery? If I use peer from create_peer it works., but I get the following output if I use a peer from client_discovery.peers -> Seems like the channel with peers are created using wrong tls_cert.

scmanjarrez (Fri, 19 Jun 2020 15:30:16 GMT):
I have opened an issue in the github repo explaining the problem. https://github.com/hyperledger/fabric-sdk-py/issues/90

scmanjarrez (Fri, 19 Jun 2020 15:30:30 GMT):
I have opened an issue in the github repo explaining the problem. https://github.com/hyperledger/fabric-sdk-py/issues/90

dexhunter (Mon, 22 Jun 2020 09:44:11 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-06-26 welcome to attend, thanks!

dexhunter (Mon, 22 Jun 2020 09:44:11 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-06-26 and welcome to attend, thanks!

ViokingTung (Mon, 29 Jun 2020 08:39:08 GMT):
Has joined the channel.

sujitedu (Mon, 06 Jul 2020 18:16:18 GMT):
Has joined the channel.

sujitedu (Mon, 06 Jul 2020 18:17:26 GMT):
Could anybody recommend tutorial for Beginner?

ROHAN_SHROTHRIUM (Mon, 06 Jul 2020 21:19:06 GMT):
You can see the tutorial on the repo https://github.com/hyperledger/fabric-sdk-py/blob/master/docs/source/tutorial.md which covers the installation and usage of each API

dexhunter (Thu, 09 Jul 2020 11:46:00 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-07-10 and welcome to attend, thanks!

Kelvin_Moutet (Thu, 09 Jul 2020 11:56:00 GMT):
I won't be there as it is too early for France timezone :D

Kelvin_Moutet (Thu, 09 Jul 2020 11:58:52 GMT):
But I have questions : - When a new release of fabric-sdk-py will be released (last version was last year https://github.com/hyperledger/fabric-sdk-py/releases/tag/v0.8.1 )? - Does someone test it on hyperledger 2.x ?

baohua (Thu, 09 Jul 2020 17:47:06 GMT):
2.x support is planed after we enhance the docs and sample code. And there's plan a new release as the latest support version of v1.4.x.

baohua (Thu, 09 Jul 2020 17:48:14 GMT):
@Kelvin_Moutet and feel free to share your thoughts. @dexhunter maybe we can adjust the time every two week to sync with kelvin team? I'm fine to read the minutes and share my feedback without attending it.

Kelvin_Moutet (Fri, 10 Jul 2020 06:50:22 GMT):
@baohua We didn't start to work on 2.x. We are still in hlf 1.4.6 but we will have to migrate to hlf 2.x one day :D

ks.cho (Mon, 13 Jul 2020 14:04:56 GMT):
Has joined the channel.

ks.cho (Mon, 13 Jul 2020 14:04:57 GMT):
fabric-sdk-py can run on Ubuntu 16.04? I am running a tutorial on Ubuntu 16.04, Fabric 1.4.4, but makefile error occurs during make install

ks.cho (Mon, 13 Jul 2020 14:04:57 GMT):
fabric-sdk-py can run on Ubuntu 16.04? I am running a tutorial on Ubuntu 16.04, Fabric 1.4.4, but makefile error occurs during 'make install'

dexhunter (Mon, 13 Jul 2020 14:08:06 GMT):
@ks.cho what's the error?

dexhunter (Mon, 13 Jul 2020 14:09:24 GMT):
you can raise the problem at https://github.com/hyperledger/fabric-sdk-py/issues if it's more convenient for you to paste code snippets

ks.cho (Tue, 14 Jul 2020 10:57:48 GMT):
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 Makefile:87: 'install' 타겟에 대한 명령이 실패했습니다 make: *** [install] 오류 1

dexhunter (Tue, 14 Jul 2020 11:06:46 GMT):
Ok, then the problem is out of scope for fabric-sdk-py, you can check [some answers](https://stackoverflow.com/questions/26053982/setup-script-exited-with-error-command-x86-64-linux-gnu-gcc-failed-with-exit) on stackoverflow

dexhunter (Tue, 21 Jul 2020 05:45:30 GMT):
here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-07-24 and welcome to attend, thanks!

dexhunter (Tue, 21 Jul 2020 05:45:30 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-07-24 and welcome to attend, thanks!

pouya (Sun, 02 Aug 2020 07:45:28 GMT):
Has joined the channel.

ks.cho (Tue, 04 Aug 2020 09:36:34 GMT):
I'd like to see the fabric consensus process. After builds a fabric network of seven peers, I'd like to check if blocks are created by blocking 2 peers and agreeing only 5 peers. Tell me how to do it.

ks.cho (Tue, 04 Aug 2020 09:36:34 GMT):
I'd like to see the fabric consensus process. After builds a fabric network of seven peers, I'd like to check if blocks are created by blocking 2 peers and agreeing only 5 peers. Tell me how to do it. How can I check it?

dexhunter (Wed, 05 Aug 2020 11:26:02 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-08-07 and welcome to attend, thanks!

nkalichynskyi (Fri, 07 Aug 2020 07:46:42 GMT):
Hi everyone, I'm having an issue with fetch of the config block for system channel, for some reason when fetching config block using python sdk config part /channel_group/groups/Orderer/values/ConsensusType/value doesn't have metadata/consenters field. It seems to be an issue with protobuf decoding because if I fetch application channel config without decoding everything is in place, but get_channel_config_with_orderer doesn't allow fetch of the system channel config without decoding. Can anyone comment on this if this is known issue or maybe I'm doing something wrong?

dexhunter (Thu, 20 Aug 2020 09:27:28 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-08-21 and welcome to attend, thanks!

garunkumar450 (Tue, 25 Aug 2020 05:01:07 GMT):
How to return the transaction validation code after chaincode invoke

garunkumar450 (Tue, 25 Aug 2020 05:01:17 GMT):
whether the transaction is valid or not

garunkumar450 (Tue, 25 Aug 2020 05:02:56 GMT):
@baohua is there any method is to return the transaction validation code after chaincode invoke whether the transaction is valid or not

weishancc (Mon, 31 Aug 2020 06:43:45 GMT):
Has joined the channel.

weishancc (Mon, 31 Aug 2020 06:43:46 GMT):
Hi, does everyone run into this error when enrolling the ca admin (dminEnrollment = casvc.enroll("admin", "adminpw")) ? ` http: TLS handshake error from 172.18.0.1:53064: tls: oversized record received with length 21536 `

weishancc (Mon, 31 Aug 2020 06:43:46 GMT):
Hi, does everyone run into this error when enrolling the ca admin (dminEnrollment = casvc.enroll("admin", "adminpw")) ? ` http: TLS handshake error from 172.18.0.1:53064: tls: oversized record received with length 21536` `

weishancc (Mon, 31 Aug 2020 06:43:46 GMT):
Hi, does everyone run into this error when enrolling the ca admin (dminEnrollment = casvc.enroll("admin", "adminpw")) ? ` http: TLS handshake error from 172.18.0.1:53064: tls: oversized record received with length 21536` `

weishancc (Mon, 31 Aug 2020 06:43:46 GMT):
Hi, does everyone run into this error when enrolling the ca admin (dminEnrollment = casvc.enroll("admin", "adminpw")) ? ` http: TLS handshake error from 172.18.0.1:53064: tls: oversized record received with length 21536` `

weishancc (Mon, 31 Aug 2020 06:43:46 GMT):
Hi, does everyone run into this error when enrolling the ca admin by python sdk (dminEnrollment = casvc.enroll("admin", "adminpw")) ? ` http: TLS handshake error from 172.18.0.1:53064: tls: oversized record received with length 21536` `

weishancc (Mon, 31 Aug 2020 06:43:46 GMT):
Hi, does everyone run into this error when enrolling the ca admin by python sdk (adminEnrollment = casvc.enroll("admin", "adminpw")) ? ` http: TLS handshake error from 172.18.0.1:53064: tls: oversized record received with length 21536` `

dexhunter (Mon, 31 Aug 2020 15:01:15 GMT):
@garunkumar450 you can check the response payload

dexhunter (Mon, 31 Aug 2020 15:02:25 GMT):
@weishancc could you raise the issue on Github so we can better track the problem. Besides, please also provide which version of fabric and sdk you are using and some information about your system. Thanks

dexhunter (Mon, 31 Aug 2020 15:37:32 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-09-04 and welcome to attend, thanks!

david_dornseifer (Thu, 03 Sep 2020 11:03:08 GMT):
event

rjones (Thu, 17 Sep 2020 15:56:30 GMT):
Has joined the channel.

rjones (Thu, 17 Sep 2020 15:56:30 GMT):
Hi, I had to update the invite for the meeting to include a passcode. There was an email that was sent to the group; please check it.

baohua (Thu, 17 Sep 2020 16:12:52 GMT):
Got it, and better update the zoom link in the `where` section.

rjones (Thu, 17 Sep 2020 16:13:16 GMT):
ah I missed that

rjones (Thu, 17 Sep 2020 16:14:38 GMT):
done

baohua (Thu, 17 Sep 2020 16:15:28 GMT):
:thumbsup:

baohua (Thu, 17 Sep 2020 16:17:55 GMT):
Does that mean all other meetings need to set a passcode, too?

rjones (Thu, 17 Sep 2020 16:18:18 GMT):
yes, unfortunately. Zoom is making a change to require passcodes for all meetings

baohua (Thu, 17 Sep 2020 16:22:36 GMT):
OK, then we can set the same passcode for all community meetings, to avoid joining issues.

baohua (Thu, 17 Sep 2020 16:31:03 GMT):
TSC 选举正在进行中,请大家关注 https://wiki.hyperledger.org/display/TSC/TSC+Election+2020-2021。

baohua (Thu, 17 Sep 2020 16:31:03 GMT):
TSC election is ongoing, more details can be found at https://wiki.hyperledger.org/display/TSC/TSC+Election+2020-2021

rjones (Thu, 17 Sep 2020 16:49:34 GMT):
each series of meetings will have the same passcode

rjones (Thu, 17 Sep 2020 16:49:58 GMT):
but for instance the TSC call and the Aries call will have different passwords

dexhunter (Fri, 18 Sep 2020 03:15:36 GMT):
Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-09-18 and welcome to attend, thanks! (Please note the zoom link has been updated.)

dexhunter (Fri, 18 Sep 2020 03:15:36 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-09-18 and welcome to attend, thanks! (Please note the zoom link has been updated.)

dexhunter (Mon, 28 Sep 2020 14:16:31 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-10-02 and welcome to attend, thanks! (Please note the zoom link has been updated.)

colismit (Mon, 12 Oct 2020 08:12:24 GMT):
Has joined the channel.

colismit (Mon, 12 Oct 2020 08:12:25 GMT):
Hi, I created a pull request https://github.com/hyperledger/fabric-sdk-py/pull/119 for some changes , but the 'Run Checks' job failed in the Fabric-SDK-Py pipeline. Is this the same as the 'make checks' tests? I've run this locally and it works when I do it here.

dexhunter (Wed, 14 Oct 2020 18:48:09 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-10-16 and welcome to attend, thanks! (Please note the zoom link has been updated.)

dexhunter (Wed, 14 Oct 2020 18:49:33 GMT):
The CI results should be the same as running `make check` locally. However, there might be errors on the cloud sometimes. I will help to check the problem. Thank you for the PR.

Kelvin_Moutet (Thu, 15 Oct 2020 13:08:40 GMT):
Hello everyone :hand_splayed: We started to work with hyperledger 2.x, so I will start working on a PR for fabric-sdk-py compatibility (mainly new chaincode lifecycle) I see that unit tests fails on CI. I've just launch it locally to see if I can reproduce some errors :) Is there someone working on it ?

Kelvin_Moutet (Fri, 16 Oct 2020 09:28:38 GMT):
Have you seen that https://hyperledger.github.io/fabric-sdk-node/release-2.2/tutorial-migration.html "Note that the SDK no longer aims to provide administrative and management capability. The command-line interface should be used for these operations."

Kelvin_Moutet (Fri, 16 Oct 2020 09:29:34 GMT):
Do we have to go in the same direction and keep only the query/invoke/endorse/event parts ?

BrettLogan (Tue, 20 Oct 2020 04:14:11 GMT):
You do not, the Go-SDK chose to implement the functionality

BrettLogan (Tue, 20 Oct 2020 04:14:20 GMT):
You do not, the Go-SDK chose to implement the functionality

haniavis (Wed, 21 Oct 2020 17:30:44 GMT):
Has left the channel.

dexhunter (Tue, 27 Oct 2020 09:17:37 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) this Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-10-30 and welcome to attend, thanks!

dexhunter (Fri, 30 Oct 2020 14:14:37 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) next Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-11-06 and welcome to attend, thanks!

heena066 (Mon, 02 Nov 2020 09:36:41 GMT):
Has joined the channel.

nimmerjahn (Thu, 05 Nov 2020 13:07:46 GMT):
Has joined the channel.

nimmerjahn (Thu, 05 Nov 2020 13:17:46 GMT):
Hey, I'm trying to use the python sdk with tls. But I always get the error message `TLS handshake failed with error tls: first record does not look like a TLS` in the peer log. How I can configure the sdk to use tls? Thanks in advance.

dexhunter (Fri, 13 Nov 2020 04:06:05 GMT):
Hi, the bi-weekly meeting starts now, welcome to attend https://wiki.hyperledger.org/display/fabric/2020-11-13

cynicalsnail (Wed, 18 Nov 2020 07:03:23 GMT):
Has joined the channel.

rranjan3 (Mon, 23 Nov 2020 11:48:22 GMT):
Has joined the channel.

rranjan3 (Mon, 23 Nov 2020 11:52:11 GMT):
Is the Admin user required necessarily in the network profile? Or any other user with admin role would do? I do not need to do any admin task like adding a new user or so.

rranjan3 (Mon, 23 Nov 2020 11:54:41 GMT):
Also, is a full fledged network.json required to create a Cleint? I do not have full visibility of the network I want to connect to. I can access only one peer.

lethaldrizzle (Mon, 23 Nov 2020 14:53:13 GMT):
Has joined the channel.

lethaldrizzle (Mon, 23 Nov 2020 14:54:45 GMT):
Hi, im interested in using the python fabric sdk for a project. I'm wondering is it possible to set up a dev environment on windows or should I always run the project on a linux box like ubuntu or centos. Is there any other documentation other than what is provided on the github repo? Thanks!

sidoussou (Mon, 23 Nov 2020 23:26:01 GMT):
Has joined the channel.

rranjan3 (Tue, 24 Nov 2020 09:42:08 GMT):
Any help with this will be much appreciated.

rranjan3 (Thu, 26 Nov 2020 03:30:45 GMT):
Is there a sample code for connecting via a Gateway? https://github.com/hyperledger/fabric-sdk-py/hfc/fabric_network/gateway.py

dexhunter (Fri, 27 Nov 2020 03:31:38 GMT):
cc @ROHAN_SHROTHRIUM

dexhunter (Fri, 27 Nov 2020 03:36:40 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) next Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-11-27 and welcome to attend, thanks!

ROHAN_SHROTHRIUM (Fri, 27 Nov 2020 09:25:31 GMT):
You can find it in the sample code!

rranjan3 (Mon, 30 Nov 2020 06:36:08 GMT):
Thanks @ROHAN_SHROTHRIUM .. Found it here - https://fabric-sdk-py.readthedocs.io/_/downloads/en/latest/pdf/

rranjan3 (Mon, 30 Nov 2020 08:38:07 GMT):
Can I not invoke a different function, or is it supposed to be part of qrgs somehow? I see `invoke` hardcoded in the codebase - https://github.com/hyperledger/fabric-sdk-py/blame/master/hfc/fabric/client.py#L1560

rranjan3 (Mon, 30 Nov 2020 08:38:07 GMT):
Can I not invoke a different function, or is it supposed to be part of args somehow? I see `invoke` hardcoded in the codebase - https://github.com/hyperledger/fabric-sdk-py/blame/master/hfc/fabric/client.py#L1560

rranjan3 (Mon, 30 Nov 2020 08:44:00 GMT):
I am trying to make use of Contract.submit_transaction() which does not accept an explicit funcion name.

ROHAN_SHROTHRIUM (Wed, 02 Dec 2020 04:29:37 GMT):
You can invoke the function of your choice by just doing fcn='custom_function' in the args

dexhunter (Fri, 11 Dec 2020 02:21:34 GMT):
@here Dear all, we will have a meeting at 12PM(UTC+8) next Friday afternoon, please help update the agenda at https://wiki.hyperledger.org/display/fabric/2020-12-11 and welcome to attend, thanks!

rranjan3 (Fri, 11 Dec 2020 02:27:01 GMT):
Do we have a way to detect disconnect from eventhub while listening for events ? I do not get events after my network is is up for a while and do not receive any exception either.

rjones (Wed, 13 Jan 2021 21:53:32 GMT):
Howdy! I notice that this project uses both [JIRA](https://jira.hyperledger.org/projects/FABP/issues/FABP-272?filter=allopenissues&orderby=created+DESC%2C+priority+DESC%2C+updated+DESC) and [GitHub issues](https://github.com/hyperledger/fabric-sdk-py/issues). Could I mark JIRA read only?

rjones (Wed, 13 Jan 2021 21:53:47 GMT):
@here ^^^

nkalichynskyi (Thu, 01 Apr 2021 09:40:07 GMT):
Hi everyone, is this project still alive? There is not much activity in the github in past few months

Anant1419 (Thu, 01 Apr 2021 10:19:40 GMT):
Has joined the channel.

gautam05 (Sun, 18 Apr 2021 12:31:07 GMT):
Has joined the channel.

nkalichynskyi (Mon, 19 Apr 2021 06:42:48 GMT):
Hi all, what is a status of this project? Our team uses this SDK, contributed to it and willing to contribute further, but looking at recent github activity we are not sure if this would be a wise investment of our time. Can somebody answer if there are plans to develop this SDK further? It has already been more than a year since release of fabric v2 and introduction of new chaincode lifecycle although still no support for it in this SDK.

rjones (Mon, 19 Apr 2021 15:12:28 GMT):
https://wiki.hyperledger.org/display/fabric/Hyperledger+Fabric+SDK+Py

abrinckm (Tue, 04 May 2021 19:15:12 GMT):
Has joined the channel.

abrinckm (Tue, 04 May 2021 19:15:13 GMT):
I noticed that lifecycle protobufs are defined under hfc/fabric/protos/peer/lifecycle. Can these be use to install chaincode to Fabric v2.2? I realize the functionality hasn't been wrapped, but I want to know if it is possible with those lifecycle protobufs and how a developer might go about making that work?

abrinckm (Tue, 04 May 2021 19:15:13 GMT):
I noticed that lifecycle protobufs are defined under hfc/protos/peer/lifecycle. Can these be use to install chaincode to Fabric v2.2? I realize the functionality hasn't been wrapped, but I want to know if it is possible with those lifecycle protobufs and how a developer might go about making that work?

shubhank19 (Sat, 15 May 2021 07:18:04 GMT):
Has joined the channel.

shubhank19 (Sat, 15 May 2021 07:18:04 GMT):
@dexhunter does the tag 'starter' refer to beginner friendly issues, or something else?

Cong (Mon, 17 May 2021 15:36:47 GMT):
Has joined the channel.

dexhunter (Tue, 18 May 2021 08:29:47 GMT):
yep, that's right

dexhunter (Tue, 18 May 2021 08:33:46 GMT):
yep, after wrapping proto and add corresponding functions, it should work

nachikettapas (Wed, 19 May 2021 06:18:13 GMT):
Has joined the channel.

nachikettapas (Wed, 19 May 2021 06:18:14 GMT):
Hi All. I had a question related to Fabric chaincode. Is it possible to write a chaincode in Python?

Sneha (Wed, 19 May 2021 11:43:45 GMT):
Has joined the channel.

rjones (Wed, 19 May 2021 13:08:13 GMT):
Has left the channel.

dexhunter (Thu, 20 May 2021 14:32:26 GMT):
Hi, it is "possible" but needs implementation, currently this feature is missing in the sdk

davidkhala (Wed, 26 May 2021 04:07:52 GMT):
I believe using external chaincode mechanism for any preferred language is good for this moment

baxihemant (Mon, 31 May 2021 01:55:21 GMT):
Has joined the channel.

baohua (Thu, 29 Jul 2021 18:31:44 GMT):
it's python chaincode, not sdk scope.

Jianglh (Tue, 24 Aug 2021 08:55:42 GMT):
Has joined the channel.

roviso (Wed, 01 Sep 2021 07:10:33 GMT):
Has joined the channel.

roviso (Thu, 02 Sep 2021 07:47:06 GMT):
hello all

roviso (Thu, 02 Sep 2021 07:47:13 GMT):
im new hyperledger

roviso (Thu, 02 Sep 2021 07:48:27 GMT):
i'm following the tutorial from the official site but while installing the chaincode im getting the error

roviso (Thu, 02 Sep 2021 07:48:50 GMT):
error: response { status: 500 message: "error installing chaincode code example_cc:v1.0(chaincode /var/hyperledger/production/chaincodes/example_cc.v1.0 exists)" }

roviso (Thu, 02 Sep 2021 07:49:04 GMT):
can anyone help me with this

nkalichynskyi (Thu, 02 Sep 2021 09:18:15 GMT):
Hi, error seems to be pretty clear in stating that chaincode with the same name and version already exists. You might have installed it in some previous run of the script without realizing it. You now can proceed to the next steps in tutorial or change version and try to install it again with different version value if you still want to install it.

roviso (Thu, 02 Sep 2021 10:46:00 GMT):
okey.. will give it a go.. thanks

AnandK.Vly (Sat, 18 Sep 2021 20:50:03 GMT):
Has joined the channel.

vsadriano (Wed, 29 Sep 2021 10:29:33 GMT):
Has left the channel.

baxihemant (Mon, 11 Oct 2021 01:07:23 GMT):
I am interested in trying and contributing to fabric-sdk-py. I am trying to understand the status of this project. It seems last update was done few months back. Is this still in active status ?

baohua (Mon, 29 Nov 2021 18:38:12 GMT):
Welcome to contribute code, just follow github workflow and make pr at https://github.com/hyperledger/fabric-sdk-py. Thanks!

jandaman (Tue, 07 Dec 2021 09:00:17 GMT):
Has joined the channel.

jandaman (Tue, 07 Dec 2021 09:00:17 GMT):
Hi all I am a data engineer and am fascinated with Blockchain tech if anyone is working on a hyperledger project I dont mind helping out for free just to get some exposure on the tech and workflow. If anyone needs a hand on any processes please feel free to reach out. I would love to learn more about the tech and help current projects.

nkalichynskyi (Fri, 24 Dec 2021 08:12:22 GMT):
Hi everyone, are there any plans for implementing Fabric gateway SDK(the one introduced in 2.4)? Our team is considering investing quite some time into python SDK to implement some of the missing features and improve current, but given the activity of the community, we aren't that sure that this time would be well spent. So here is a question to the community, is anyone willing to put in some time to further develop this project?

nickromandini (Fri, 21 Jan 2022 11:27:06 GMT):
Has joined the channel.

nickromandini (Fri, 21 Jan 2022 11:27:06 GMT):
Hi there! I'm trying to integrate the Flower framework (for Federated Learning) with Hyperledger Fabric, and I'm using the Python SDK. However, I am unable to publish the Machine Learning models on the Blockchain. They are simply lists of numerical values. I don't understand if it's a payload size issue (models are composed of many values, the size I think is around 40MiB) or something else. However using the JavaScript SDK everything works. Does anyone have any ideas? Thanks in advance

rjones (Wed, 23 Mar 2022 17:35:30 GMT):

rjones (Wed, 23 Mar 2022 17:35:30 GMT):

rjones (Wed, 23 Mar 2022 17:35:30 GMT):