# Counterpartyd v9.46.0 contract branch

**URL:** https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575
**Category:** Counterwallet
**Created:** [November 18, 2014, 11:17am UTC](https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575 "2014-11-18T11:17:19Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![lostdroind](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lostdroind](https://forums.counterparty.io/u/lostdroind)
#### Post date: [November 18, 2014, 11:17am UTC](https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575/1 "2014-11-18T11:17:19Z")

</div>

Has anyone tried the counterpartyd v9.46.0 Contracts branch? I’m running against the testnet but get the following every time it reaches block 301300:

```
Block: 301300 (0.34s)
Traceback (most recent call last):
  File "counterpartyd.py", line 1192, in <module>
    blocks.follow(db)
  File "/home/user/Source/counterpartyd_build_contracts/lib/blocks.py", line 1450, in follow
    parse_block(db, block_index, block_time)
  File "/home/user/Source/counterpartyd_build_contracts/lib/blocks.py", line 165, in parse_block
    parse_tx(db, tx)
  File "/home/user/Source/counterpartyd_build_contracts/lib/blocks.py", line 71, in parse_tx
    send.parse(db, tx, message)
  File "/home/user/Source/counterpartyd_build_contracts/lib/send.py", line 85, in parse
    util.credit(db, tx['block_index'], tx['destination'], asset, quantity, action='send', event=tx['tx_hash'])
  File "/home/user/Source/counterpartyd_build_contracts/lib/util.py", line 623, in credit
    if len(address) == 40:
TypeError: object of type 'NoneType' has no len()
```

---

<div class="post-metadata">

### Author: ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)
#### Post date: [November 18, 2014, 11:25am UTC](https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575/2 "2014-11-18T11:25:58Z")

</div>

I haven’t tried, but maybe you can check out develop branch and give it another shot?

What’s your bitcoind version? Is it patched with addrindex patch (see the Support category) and did you rescan your blockchain?

---

<div class="post-metadata">

### Author: ![lostdroind](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lostdroind](https://forums.counterparty.io/u/lostdroind)
#### Post date: [November 18, 2014, 2:27pm UTC](https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575/3 "2014-11-18T14:27:53Z")

</div>

Thanks for replying. My bitcoind is(was) Version 0.9.3. I’ve been using it for experimenting with Vennd (testnet). I wasn’t aware of the addrindex patch. I’ll go and give that a try.

Jason

---

<div class="post-metadata">

### Author: ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)
#### Post date: [November 19, 2014, 10:02am UTC](https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575/4 "2014-11-19T10:02:01Z")

</div>

I installed v9.46 on Windows and have Bitcoin-Qt with addrindex (and I reindexed my entire blockchain).

I have testnet with the same setup, haven’t seen any such issue yet. I don’t have it running right now so I’m not sure if it went past the block you mentioned, but let us know if you have problems after implementing those changes and I can take a look.

---

<div class="post-metadata">

### Author: ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)
#### Post date: [November 19, 2014, 7:08pm UTC](https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575/5 "2014-11-19T19:08:42Z")

</div>

My counterpartyd server has so far parsed the testnet blockchain up to block 309183 without errors.

---

<div class="post-metadata">

### Author: ![lostdroind](https://avatars.discourse-cdn.com/v4/letter/l/8e7dd6/32.png) [@lostdroind](https://forums.counterparty.io/u/lostdroind)
#### Post date: [November 19, 2014, 8:48pm UTC](https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575/6 "2014-11-19T20:48:09Z")

</div>

Thanks for trying that.&nbsp; I’m using Ubuntu but I’ve not managed to build Bitcoin-Qt with addrindex.&nbsp; I’ve had a few attempts but all seem to fail at the make point of Bitcoin-Qt.&nbsp; I did start with Xubuntu 14.04 but I’ve just tried Ubuntu Server 14.04 and hit the same problem.&nbsp; I’ll describe the details on the link below to keep the information together in case it helps someone else in the future:  
  
[https://forums.counterparty.io/discussion/800/how-to-bitcoin-qt-with-an-addrindex-patch-windows-ubuntu-14-04#latest](https://forums.counterparty.io/discussion/800/how-to-bitcoin-qt-with-an-addrindex-patch-windows-ubuntu-14-04#latest)

---

<div class="post-metadata">

### Author: ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)
#### Post date: [November 20, 2014, 7:08am UTC](https://forums.counterparty.io/t/counterpartyd-v9-46-0-contract-branch/575/7 "2014-11-20T07:08:18Z")

</div>

I posted on the other thread, hopefully by following one of those approaches you’ll get it to work!
