Skip to content
octomatic edited this page Jun 13, 2019 · 47 revisions

Checklist

  • Did you use active private key, not wallet password, when creating Worker
  • Did you use a separate account for each Worker
  • Did you write the whole asset name with prefix (BRIDGE.LTC, OPEN.ETH, BTS, USD, STEALTH, etc)
  • Did you make sure the account holds both the assets to be traded
  • Did you toggle the TURN WORKER ON/OFF button to make the Worker actually work
  • Is your computer clock synchronized
  • Are you running at least python 3.6?

Clock problem

If you get the following message at the end of an error message:

bitsharesapi.exceptions.UnhandledRPCError: Assert Exception: now <= trx.expiration

Sync your computer's clock. It should fix the error.

Signature / key problems

base58CheckDecode

  • Try upgrading the Python cryptography package with: pip3 install --upgrade cryptography and running again
  • If you see errors about several private keys for the same account, you need to empty the wallet from keys. First delete all workers. Then run uptick wipewallet. Now there should be no wallet and no keys. Start from zero.

Upgrading and Installing problems

Graphenelib problem

AttributeError: can't set attribute

Fix by specifying graphenelib version: pip3 install graphenelib==0.6.2

Ubuntu 18.04, 18.10 Linux - AES problem on make install-user

Error on install: 
>scrypt-1.2.1/libcperciva/crypto/crypto_aes.c:6:10: fatal error: openssl/aes.h: No such file or directory
 #include <openssl/aes.h>
          ^~~~~~~~~~~~~~~

This is mainly due to the Ubuntu system was not able to find the scrypt package which can be easily fixed by sudo apt-get install libssl-dev

Also see similar resolutions from steemit install issues

Error on make install-user:

Best match: PyYAML 4.2b4
Processing PyYAML-4.2b4.tar.gz
Writing /tmp/easy_install-fccfyzzf/PyYAML-4.2b4/setup.cfg
Running PyYAML-4.2b4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fccfyzzf/PyYAML-4.2b4/egg-dist-tmp-bunv4mwn
In file included from ext/_yaml.c:565:0:
ext/_yaml.h:2:10: fatal error: yaml.h: No such file or directory
 #include <yaml.h>
          ^~~~~~~~
compilation terminated.
Error compiling module, falling back to pure Python

To fix: pip3 install pyyaml to install pyyaml-3.13

[Errno 2] No such file or directory: 'pyuic5': 'pyuic5'

This means that 'pyuic5' is not in your PATH for some reason. Solution: find where 'pyuic5' is and add it into PATH:

export PATH=~/.local/bin:$PATH

Order placement takes 5 minutes

Uninstall and install scrypt with pip3 uninstall scrypt and pip3 --user install scrypt

Node connection problems

Possible error messages:

socket is already closed

Change the node defined in config.yml. See file location below. See what node gives you the lowest latency in the DEX, and copy it into the config file.

DEXBot GUI freezes and no orders are created

Restart bot

Unknown order type

In BTS:MPA (Market Pegged Assets such as BitUSD and BitCNY) markets, if a force settlement fills your order, the bot doesn't yet recognize it and consequently disables itself because it isn't sure what happened. This will be fixed eventually but for time being just pause->play or restart the whole DEXBot-gui.

python version

Dexbot is currently running on a minimum version of python3.6. If you have trouble upgrading your system to this version, please see this guide for help https://realpython.com/installing-python/