I am trying to install the Counterpartyd client on a Windows machine. I have followed the instructions:
http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#on-windows. I am at the "Running from Source" step (command: C:\counterpartyd_build>C:\Python32\python.exe run.py server), but I get the following error in the cmd.exe box:
++++++++
Traceback (most recent call last):
File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 397, in
int(config.RPC_PORT)
ValueError: invalid literal for int() with base 10: ''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 400, in
raise Exception("Please specific a valid port number rpc-port configuration parameter")
Exception: Please specific a valid port number rpc-port configuration parameter
++++++++
Does anyone know what I am doing wrong?
I am so excited to get Counterparty installed!!!
Can someone please help troubleshoot this error message?
Any ideas? Feeling pretty frustrated.
Add a port to your counterparty.conf in AppData/Counterparty folder. I use port 4000.
Yes, in your counterparty.conf, try adding: rpc-port=4000
I modified the setup code so it doesn't add this rpc-port= line anymore (it shouldn't matter though, since counterparty should use the default if it's blank)
A big thanks to both Patel and Xnova.
However, sadly, I am unable to locate the "counterparty.conf" file on my machine. It is not inside of the "counterparty_build" folder anywhere.
Also, I've tried to delete the "counterpartyd_build" folder from C:\ and re-install, but I'm still getting the same error.
Also, when I try to run "run.py tests" I get a different error, as follows:
======================================ERRORS==========================
ERROR collecting dist/counterpartyd/test/test_.py
dist\counterpartyd\test\test_.py:45: in
> raise exceptions.BitcoinConfError('Put a (valid) copy of your \
E AttributeError: 'module' object has not attribute 'BitcoinConfError'
-------------------------------------------------Captured stderr---------------------------
C:\counterpartyd_build\dist\counterpartyd\test\test_.py:125: SyntaxWarning: name
'tx_index' is used prior to global declaration
global tx_index
============================1 error in 0.47 seconds=========================
Maybe the two problems are related? Your further assistance is genuinely appreciated. Thank you!