How to install and use Counterparty client

520Bit published a guide on how to use and install Counterparty on Windows 7-64 bit, which can be found here: https://bitcointalk.org/index.php?topic=451908.msg4975462#msg4975462.

I am running Ubuntu linux (the recommended OS) and I found this page to be most helpful: http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html

but I am struggling to get the password to work right…

Looks like I needed info from the github:
https://github.com/PhantomPhreak/counterpartyd

I had to put this info into my bitcoin.conf file:
[pre]testnet=1 txindex=1 server=1[/pre]I still can’t get it to work… :frowning:

DatabaseError(‘No blocks found.’)

I get the same problem when I launch ‘counterpartyd server’.

lib.exceptions.DatabaseError: No blocks found.


I’m running bitcoind --reindex again

[quote author=zack-bitcoin link=topic=72.msg587#msg587 date=1392585816]
I am running Ubuntu linux (the recommended OS) and I found this page to be most helpful: http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html

but I am struggling to get the password to work right…

Looks like I needed info from the github:
https://github.com/PhantomPhreak/counterpartyd

I had to put this info into my bitcoin.conf file:
[pre]testnet=1 txindex=1 server=1[/pre]I still can’t get it to work… :frowning:

DatabaseError(‘No blocks found.’)
[/quote]

You are quite sure you want to be running on testnet? Do both your bitcoin.conf and counterpartyd.conf file have [tt]testnet=1[/tt]?

I eventually fixed the testnet thing. it was a mistake.

Maybe it is because I did not wait for reindex to finish?
it is going to take DAYS~~ :frowning:

I had to delete my ~/.config/counterpartyd and rerun setup.py to get rid of the problem.  Here is the full error I was getting:

[quote]
Traceback (most recent call last):
  File “/home/david/counterpartyd_build/dist/counterpartyd/lib/util.py”, line 424, in last_block
    last_block = cursor.fetchall()[0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File “/home/david/counterpartyd_build/dist/counterpartyd/counterpartyd.py”, line 489, in
    util.versions_check(db)
  File “/home/david/counterpartyd_build/dist/counterpartyd/lib/util.py”, line 289, in versions_check
    block_index = last_block(db)[‘block_index’]
  File “/home/david/counterpartyd_build/dist/counterpartyd/lib/util.py”, line 426, in last_block
    raise exceptions.DatabaseError(‘No blocks found.’)
lib.exceptions.DatabaseError: No blocks found.
[/quote]