Closed georgepadayatti closed 1 year ago
I also encountered the same problem. I downloaded the version number of the website and found that none of them could be used? Why?
@darkchylde, You resolved the issue? If so please provide details.
@darkchylde, You resolved the issue? If so please provide details.
Reopening again. Temporarily fixed the issue by using specific indy node (1.12.1~dev1172) and plenum (1.12.1~dev989) versions,
Updated the core.ubuntu.dockerfile
present in the following path, environment > docker > pool
FROM indybase
ARG uid=1000
# Install environment
RUN apt-get update -y && apt-get install -y \
git \
wget \
python3.5 \
python3-pip \
python-setuptools \
python3-nacl \
apt-transport-https \
ca-certificates
RUN pip3 install -U \
'pip<10.0.0' \
setuptools
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BD33704C
RUN echo "deb https://repo.sovrin.org/deb xenial master" >> /etc/apt/sources.list
RUN echo "deb https://repo.sovrin.org/sdk/deb xenial master" >> /etc/apt/sources.list
RUN useradd -ms /bin/bash -l -u $uid indy
RUN apt-get update -y && apt-get install -y indy-plenum=1.12.1~dev989 indy-node=1.12.1~dev1172 libindy
RUN pip3 install python3-indy
USER indy
WORKDIR /home/indy
@WadeBarnes This issue is related to #1621
Good day to all!
This issue still exist today (master branch),even after update suggested here https://github.com/hyperledger/indy-node/issues/1624#issuecomment-710126373
The following information may help to resolve the situation:
The following packages have unmet dependencies:
indy-plenum : Depends: python3-orderedset (= 2.0) but 2.0.3 is to be installed
Depends: python3-psutil (= 5.4.3) but 5.6.6 is to be installed
Depends: python3-psutil (= 5.4.3) but 5.6.6 is to be installed
Depends: python3-pympler (= 0.5) but 0.8 is to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get update -y && apt-get install -y indy-plenum=1.12.1~dev989 indy-node=1.12.1~dev1172 libindy' returned a non-zero code: 100
There was a temporary problem with one of the artifact repos providing the dependencies. They should be fixed now.
Could you please try again and if all good, please close this issue.
Thanks! Sorry for the inconvenience.
Trying to start the testpool with the pool_start.sh fails.
From the build of environment/docker/pool/node.init.ubuntu.dockerfile:
Step 18/20 : RUN if [ ! -z "$ips" ] && [ ! -z "$nodenum" ] && [ ! -z "$nodecnt" ]; then generate_indy_pool_transactions --nodes $nodecnt --clients $clicnt --nodeNum $nodenum --ips "$ips"; fi ---> Running in f616600846be ERROR:ursa.lib:_load_cdll: Can't load libursa: libursa.so: cannot open shared object file: No such file or directory Generating keys for provided seed b'000000000000000000000000000Node1' Init local keys for client-stack Public key is HXrfcFWDjWusENBoXhV8mARzq51f1npWYWaA1GzfeMDG Verification key is Gw6pDLhcBcoQesN72qfotTgFa7cbuqZpkX3Xo6pLhPhv Init local keys for node-stack Public key is HXrfcFWDjWusENBoXhV8mARzq51f1npWYWaA1GzfeMDG Verification key is Gw6pDLhcBcoQesN72qfotTgFa7cbuqZpkX3Xo6pLhPhv Traceback (most recent call last): File "/usr/local/bin/generate_indy_pool_transactions", line 19, in
getTxnOrderedFields(), ConfigHelper, NodeConfigHelper) File "/usr/local/lib/python3.5/dist-packages/plenum/common/test_network_setup.py", line 246, in bootstrapTestNodes config_helper_class, node_config_helper_class) File "/usr/local/lib/python3.5/dist-packages/plenum/common/test_networksetup.py", line 129, in bootstrapTestNodesCore , verkey, blskey, key_proof = initNodeKeysForBothStacks(nd.name, keys_dir, nd.sigseed, override=True) File "/usr/local/lib/python3.5/dist-packages/plenum/common/keygen_utils.py", line 51, in initNodeKeysForBothStacks keys = initLocalKeys(node_stack_name, keys_dir, sigseed, use_bls=use_bls, override=override) File "/usr/local/lib/python3.5/dist-packages/plenum/common/keygen_utils.py", line 16, in initLocalKeys blspk, key_proof = init_bls_keys(keys_dir, name, sigseed) if use_bls \ File "/usr/local/lib/python3.5/dist-packages/plenum/common/keygen_utils.py", line 30, in init_bls_keys stored_pk, key_proof = bls_factory.generate_and_store_bls_keys(seed) File "/usr/local/lib/python3.5/dist-packages/crypto/bls/bls_factory.py", line 23, in generate_and_store_bls_keys sk, pk, key_proof = self.generate_bls_keys(seed) File "/usr/local/lib/python3.5/dist-packages/plenum/bls/bls_crypto_factory.py", line 18, in generate_bls_keys sk, pk, key_proof = self._generate_raw_bls_keys(seed) File "/usr/local/lib/python3.5/dist-packages/crypto/bls/bls_factory.py", line 41, in _generate_raw_bls_keys seed) File "/usr/local/lib/python3.5/dist-packages/crypto/bls/indy_crypto/bls_crypto_indy_crypto.py", line 122, in generate_keys gen = IndyCryptoBlsUtils.bls_from_str(params.g, Generator) File "/usr/local/lib/python3.5/dist-packages/crypto/bls/indy_crypto/bls_crypto_indy_crypto.py", line 42, in bls_from_str return cls.from_bytes(bts) File "/usr/local/lib/python3.5/dist-packages/ursa/bls.py", line 32, in from_bytes do_call(cls.from_bytes_handler, xbytes, len(xbytes), byref(c_instance)) File "/usr/local/lib/python3.5/dist-packages/ursa/lib.py", line 17, in do_call err = getattr(_cdll(), name)(*args) File "/usr/local/lib/python3.5/dist-packages/ursa/lib.py", line 27, in _cdll _cdll.cdll = _load_cdll() File "/usr/local/lib/python3.5/dist-packages/ursa/lib.py", line 62, in _load_cdll raise e File "/usr/local/lib/python3.5/dist-packages/ursa/lib.py", line 54, in _load_cdll res = CDLL(lib_name) File "/usr/lib/python3.5/ctypes/init.py", line 347, in init self._handle = _dlopen(self._name, mode) OSError: libursa.so: cannot open shared object file: No such file or directory The command '/bin/sh -c if [ ! -z "$ips" ] && [ ! -z "$nodenum" ] && [ ! -z "$nodecnt" ]; then generate_indy_pool_transactions --nodes $nodecnt --clients $clicnt --nodeNum $nodenum --ips "$ips"; fi' returned a non-zero code: 1
It seems that ursa is not installed in the environment/docker/pool/core.ubuntu.dockerfile.
Pool started with the pool_start.sh script after adding ursa. But it seems that the documentation is outdated. Opened #1686 for that.
Good day to all!
This issue still exist today (master branch),even after update suggested here #1624 (comment)
The following information may help to resolve the situation: The following packages have unmet dependencies: indy-plenum : Depends: python3-orderedset (= 2.0) but 2.0.3 is to be installed Depends: python3-psutil (= 5.4.3) but 5.6.6 is to be installed Depends: python3-psutil (= 5.4.3) but 5.6.6 is to be installed Depends: python3-pympler (= 0.5) but 0.8 is to be installed E: Unable to correct problems, you have held broken packages. The command '/bin/sh -c apt-get update -y && apt-get install -y indy-plenum=1.12.1~dev989 indy-node=1.12.1~dev1172 libindy' returned a non-zero code: 100
Enabling all Ubuntu Repositories in version 16.04 worked for me.
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
sudo apt-get update
Closing this for now. Please re-open is this continues to be any issue.
nice
Followed the instructions provided in the README.md file to start a test network,
Following command failed to execute
./pool_start.sh 4 10.0.0.2,10.0.0.3,10.0.0.4,10.0.0.5 10 9701
, below is the console output,