hyperledger-iroha / iroha-dco

Iroha - A simple, decentralized ledger
http://iroha.tech
Apache License 2.0
988 stars 297 forks source link

iroha-cli boost lib exception #1362

Closed 5HARK closed 6 years ago

5HARK commented 6 years ago

After install ansible inside iroha docker container, iroha-cli can't generate genesis_block from peers.list.

on pure docker image(hyperledger/iroha:develop) it works well without any problems.

custom Dockerfile

FROM hyperledger/iroha:develop

# install ansible
RUN apt-get update && apt-get install -y software-properties-common
RUN apt-add-repository -y ppa:ansible/ansible
RUN apt-get update && apt-get install -y ansible
WORKDIR /usr/src/app

peers.list

abcdabcd7438.cafe24.com:10001
abcdabcd7438.cafe24.com:10002
abcdabcd7438.cafe24.com:10003
abcdabcd7438.cafe24.com:10004
abcdabcd7438.cafe24.com:10005
abcdabcd7438.cafe24.com:10006
abcdabcd7438.cafe24.com:10007
abcdabcd7438.cafe24.com:10008
abcdabcd8915.cafe24.com:10001
abcdabcd8915.cafe24.com:10002
abcdabcd8915.cafe24.com:10003
abcdabcd8915.cafe24.com:10004

screenshot_20180521_182949

5HARK commented 6 years ago

it same in my host system. ubuntu 16.04 LTS ansible version 2.5.3 python version 2.7.12

screenshot_20180521_203733

efemai commented 6 years ago

I am experiencing the same error detailed here above. I tried on both Ubuntu 16.04 and Ubuntu 18.04.

$ ./iroha-cli -genesis_block -peers_address peer.list 
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::out_of_range> >'
  what():  bimap<>: invalid key
Aborted (core dumped)
lebdron commented 6 years ago

Fixed in https://github.com/hyperledger/iroha/pull/1351 , please report if any new issues appear.