Hyperledger Composer CreatePeerCardAdmin is throwing error for unzip
up vote
0
down vote
favorite
I am trying to enable JWT for hyperledger composer to my blockchain project.
However whilst following the tutorial I came accross the below error. I am not sure what it means:
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
when running ./createPeerAdminCard.sh
below is the exact output:
Development only script for Hyperledger Fabric control
Running 'createPeerAdminCard.sh'
FABRIC_VERSION is set to 'hlfv11'
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
Using composer-cli at v0.19.5
Successfully created business network card file to
Output file: /tmp/PeerAdmin@hlfv1.card
Command succeeded
Successfully imported business network card
Card file: /tmp/PeerAdmin@hlfv1.card
Card name: PeerAdmin@hlfv1
Command succeeded
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
Command failed
Hyperledger Composer PeerAdmin card has been imported, host of fabric specified as 'localhost'
hyperledger-fabric hyperledger hyperledger-composer
add a comment |
up vote
0
down vote
favorite
I am trying to enable JWT for hyperledger composer to my blockchain project.
However whilst following the tutorial I came accross the below error. I am not sure what it means:
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
when running ./createPeerAdminCard.sh
below is the exact output:
Development only script for Hyperledger Fabric control
Running 'createPeerAdminCard.sh'
FABRIC_VERSION is set to 'hlfv11'
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
Using composer-cli at v0.19.5
Successfully created business network card file to
Output file: /tmp/PeerAdmin@hlfv1.card
Command succeeded
Successfully imported business network card
Card file: /tmp/PeerAdmin@hlfv1.card
Card name: PeerAdmin@hlfv1
Command succeeded
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
Command failed
Hyperledger Composer PeerAdmin card has been imported, host of fabric specified as 'localhost'
hyperledger-fabric hyperledger hyperledger-composer
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to enable JWT for hyperledger composer to my blockchain project.
However whilst following the tutorial I came accross the below error. I am not sure what it means:
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
when running ./createPeerAdminCard.sh
below is the exact output:
Development only script for Hyperledger Fabric control
Running 'createPeerAdminCard.sh'
FABRIC_VERSION is set to 'hlfv11'
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
Using composer-cli at v0.19.5
Successfully created business network card file to
Output file: /tmp/PeerAdmin@hlfv1.card
Command succeeded
Successfully imported business network card
Card file: /tmp/PeerAdmin@hlfv1.card
Card name: PeerAdmin@hlfv1
Command succeeded
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
Command failed
Hyperledger Composer PeerAdmin card has been imported, host of fabric specified as 'localhost'
hyperledger-fabric hyperledger hyperledger-composer
I am trying to enable JWT for hyperledger composer to my blockchain project.
However whilst following the tutorial I came accross the below error. I am not sure what it means:
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
when running ./createPeerAdminCard.sh
below is the exact output:
Development only script for Hyperledger Fabric control
Running 'createPeerAdminCard.sh'
FABRIC_VERSION is set to 'hlfv11'
FABRIC_START_TIMEOUT is unset, assuming 15 (seconds)
Using composer-cli at v0.19.5
Successfully created business network card file to
Output file: /tmp/PeerAdmin@hlfv1.card
Command succeeded
Successfully imported business network card
Card file: /tmp/PeerAdmin@hlfv1.card
Card name: PeerAdmin@hlfv1
Command succeeded
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
Command failed
Hyperledger Composer PeerAdmin card has been imported, host of fabric specified as 'localhost'
hyperledger-fabric hyperledger hyperledger-composer
hyperledger-fabric hyperledger hyperledger-composer
edited Nov 20 at 8:04
asked Nov 18 at 8:45
Smit
1,4511724
1,4511724
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
Are you running on a Mac ?
This problem has been seen when there is a hidden file present somewhere in the ~/.comoposer
folder.
If you have cards you need to keep then try a composer card export
to try and export them, then delete the folder ~/.composer
and re-run the script to create the Peer Admin card.
There are a few details of the problem in this issue on github.
Thanks. Yes I am running it on Mac. I will try to attempt your try.
– Smit
Nov 20 at 2:48
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Are you running on a Mac ?
This problem has been seen when there is a hidden file present somewhere in the ~/.comoposer
folder.
If you have cards you need to keep then try a composer card export
to try and export them, then delete the folder ~/.composer
and re-run the script to create the Peer Admin card.
There are a few details of the problem in this issue on github.
Thanks. Yes I am running it on Mac. I will try to attempt your try.
– Smit
Nov 20 at 2:48
add a comment |
up vote
2
down vote
accepted
Are you running on a Mac ?
This problem has been seen when there is a hidden file present somewhere in the ~/.comoposer
folder.
If you have cards you need to keep then try a composer card export
to try and export them, then delete the folder ~/.composer
and re-run the script to create the Peer Admin card.
There are a few details of the problem in this issue on github.
Thanks. Yes I am running it on Mac. I will try to attempt your try.
– Smit
Nov 20 at 2:48
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Are you running on a Mac ?
This problem has been seen when there is a hidden file present somewhere in the ~/.comoposer
folder.
If you have cards you need to keep then try a composer card export
to try and export them, then delete the folder ~/.composer
and re-run the script to create the Peer Admin card.
There are a few details of the problem in this issue on github.
Are you running on a Mac ?
This problem has been seen when there is a hidden file present somewhere in the ~/.comoposer
folder.
If you have cards you need to keep then try a composer card export
to try and export them, then delete the folder ~/.composer
and re-run the script to create the Peer Admin card.
There are a few details of the problem in this issue on github.
answered Nov 19 at 11:31
R Thatcher
3,9641213
3,9641213
Thanks. Yes I am running it on Mac. I will try to attempt your try.
– Smit
Nov 20 at 2:48
add a comment |
Thanks. Yes I am running it on Mac. I will try to attempt your try.
– Smit
Nov 20 at 2:48
Thanks. Yes I am running it on Mac. I will try to attempt your try.
– Smit
Nov 20 at 2:48
Thanks. Yes I am running it on Mac. I will try to attempt your try.
– Smit
Nov 20 at 2:48
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53359194%2fhyperledger-composer-createpeercardadmin-is-throwing-error-for-unzip%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown