I am trying to install Hyperledger Sawtooth on ubuntu 16.04. While executing this instruction:
$ sudo add-apt-repository 'deb http://repo.sawtooth.me/ubuntu/1.0/stable xenial universe'
I found this error:
** (mintSources.py:19571): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-143bDHVFZH: Connexion refused
I have tested all possible solutions for such problem such as
https://bbs.archlinux.org/viewtopic.php?id=228894
https://bugs.launchpad.net/ubuntu/+source/at-spi2-core/+bug/1193236
, but I can't resolve the problem.
I would be very grateful if you could help me please.
It is just a warning and you can ignore it.Looks like it wanted to start a graphic display (probably over SSH) when it was not available. A workaround to remove the warning is to add export NO_AT_BRIDGE=1
to ~/.bashrc
For details, see https://bugs.launchpad.net/ubuntu/+source/sound-juicer/+bug/1526042
The installation instructions in an answer above are for the pre-release 0.7 version. Here are the instructions for the 1.x release of Sawtooth: https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/installing_sawtooth.html
Edit: Here's a brief summary of the package installation steps and initial setup:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8AA7AF1F1091A5FD
$ sudo add-apt-repository 'deb http://repo.sawtooth.me/ubuntu/1.0/stable xenial universe'
$ sudo apt-get update
$ sudo apt-get install -y sawtooth
$ sawtooth keygen
$ sawset genesis
$ sudo -u sawtooth sawadm genesis config-genesis.batch
$ sudo sawadm keygen