# Counterpartyd: Technical support thread

**URL:** <https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47>\
**Category:** Counterwallet\
**Created:** [February 3, 2014, 5:29am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47 "2014-02-03T05:29:56Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![farmountain](https://avatars.discourse-cdn.com/v4/letter/f/ce73a5/32.png) [@farmountain](https://forums.counterparty.io/u/farmountain)\
**Post date:** [February 26, 2014, 1:00pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/61 "2014-02-26T13:00:22Z")

</div>

Hi   
  
  
I have tried to install and run counterpartyd, but I encounter the following when I try to run:  
  
  
  
C:\counterpartyd\_build\>counterpartyd  
  
  
C:\counterpartyd\_build\>echo off  
&nbsp; File "C:\counterpartyd\_build\dist\counterpartyd\counterpartyd.py", line 32  
&nbsp; &nbsp; json\_print = lambda x: print(json.dumps(x, sort\_keys=True, indent=4))  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^  
SyntaxError: invalid syntax  
  
  
I am using window 7 32bit  
  
  
thank  
  
  
regards,  
  
  
farmountain

---

<div class="post-metadata">

**Author:** ![robby\_dermody](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/robby_dermody/32/226_2.png) [@robby\_dermody](https://forums.counterparty.io/u/robby_dermody)\
**Post date:** [February 26, 2014, 3:40pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/62 "2014-02-26T15:40:04Z")

</div>

[quote author=farmountain link=topic=22.msg918#msg918 date=1393437622]  
Hi   
  
  
I have tried to install and run counterpartyd, but I encounter the following when I try to run:  
  
  
  
C:\counterpartyd\_build\>counterpartyd  
  
  
C:\counterpartyd\_build\>echo off  
&nbsp; File "C:\counterpartyd\_build\dist\counterpartyd\counterpartyd.py", line 32  
&nbsp; &nbsp; json\_print = lambda x: print(json.dumps(x, sort\_keys=True, indent=4))  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^  
SyntaxError: invalid syntax  
  
  
I am using window 7 32bit  
  
  
thank  
  
  
regards,  
  
  
farmountain  
[/quote]  
  
  
This is very odd. The syntax is valid, and no one else has reported a problem like this.  
  
  
Did you follow the instructions exactly from [http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#on-windows](http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#on-windows) (pg right python version, etc)?  
  
  
Can you rerun the setup.py process for that, and post of the entire log of that onto [pastebin.com](http://pastebin.com) and link to it here?

---

<div class="post-metadata">

**Author:** ![porqupine](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@porqupine](https://forums.counterparty.io/u/porqupine)\
**Post date:** [February 27, 2014, 10:39am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/63 "2014-02-27T10:39:59Z")

</div>

The new pending function is broke - I’ll say how in a moment. IMHO should have left Market in until the new one was working.  
  
Edit: It seems the Format\_order\_match function was missing from the new push of counterpartyd.py, just added it back in from the old one.   
  
` elif args.action == 'pending':&nbsp; &nbsp; &nbsp; &nbsp; awaiting_btcs = util.get_order_matches(db, status='pending', is_mine=True)&nbsp; &nbsp; &nbsp; &nbsp; table = PrettyTable(['Matched Order ID', 'Time Left'])&nbsp; &nbsp; &nbsp; &nbsp; for order_match in awaiting_btcs:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; order_match = format_order_match(db, order_match)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; table.add_row(order_match)&nbsp; &nbsp; &nbsp; &nbsp; print(table)`  
  
What’s the plan for a replacement command for the Open Orders List section of the Market command?

---

<div class="post-metadata">

**Author:** ![porqupine](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@porqupine](https://forums.counterparty.io/u/porqupine)\
**Post date:** [March 12, 2014, 4:56pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/64 "2014-03-12T16:56:25Z")

</div>

Got a new one:   
`Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 478, in urlopen<br />&nbsp; &nbsp; body=body, headers=headers)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 285, in _make_request<br />&nbsp; &nbsp; conn.request(method, url, **httplib_request_kw)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 967, in request<br />&nbsp; &nbsp; self._send_request(method, url, body, headers)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 1005, in _send_request<br />&nbsp; &nbsp; self.endheaders(body)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 963, in endheaders<br />&nbsp; &nbsp; self._send_output(message_body)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 808, in _send_output<br />&nbsp; &nbsp; self.send(msg)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 746, in send<br />&nbsp; &nbsp; self.connect()<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 724, in connect<br />&nbsp; &nbsp; self.timeout, self.source_address)<br />&nbsp; File &quot;/usr/lib/python3.2/socket.py&quot;, line 404, in create_connection<br />&nbsp; &nbsp; raise err<br />&nbsp; File &quot;/usr/lib/python3.2/socket.py&quot;, line 395, in create_connection<br />&nbsp; &nbsp; sock.connect(sa)<br />socket.error: [Errno 111] Connection refused<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/adapters.py&quot;, line 324, in send<br />&nbsp; &nbsp; timeout=timeout<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 528, in urlopen<br />&nbsp; &nbsp; raise MaxRetryError(self, url, e)<br />requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=3001): Max retries exceeded with url: /api/addr/mvCounterpartyXXXXXXXXXXXXXXW24Hef (Caused by <class 'socket.error'>: [Errno 111] Connection refused)<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 802, in <module><br />&nbsp; &nbsp; bitcoin.get_btc_balance(config.UNSPENDABLE, normalize=False)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py&quot;, line 446, in get_btc_balance<br />&nbsp; &nbsp; r = requests.get(config.INSIGHT + '/api/addr/' + address)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/api.py&quot;, line 55, in get<br />&nbsp; &nbsp; return request('get', url,**kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/api.py&quot;, line 44, in request<br />&nbsp; &nbsp; return session.request(method=method, url=url, **kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/sessions.py&quot;, line 382, in request<br />&nbsp; &nbsp; resp = self.send(prep,**send_kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/sessions.py&quot;, line 485, in send<br />&nbsp; &nbsp; r = adapter.send(request, **kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/adapters.py&quot;, line 372, in send<br />&nbsp; &nbsp; raise ConnectionError(e)<br />requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=3001): Max retries exceeded with url: /api/addr/mvCounterpartyXXXXXXXXXXXXXXW24Hef (Caused by <class 'socket.error'>: [Errno 111] Connection refused)<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 804, in <module><br />&nbsp; &nbsp; raise exceptions.InsightError('Could not connect to Insight server.')<br />lib.exceptions.InsightError: Could not connect to Insight server.<br />porq@h-pc:~$ counterpartyd server<br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 599, in <module><br />&nbsp; &nbsp; bitcoin.bitcoind_check(db)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py&quot;, line 73, in bitcoind_check<br />&nbsp; &nbsp; block_count = rpc('getblockcount', [])<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py&quot;, line 129, in rpc<br />&nbsp; &nbsp; raise exceptions.BitcoindRPCError(str(response.status_code) + ' ' + response.reason)<br />lib.exceptions.BitcoindRPCError: 401 Authorization Required<br />porq@h-pc:~$ counterpartyd server<br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 599, in <module><br />&nbsp; &nbsp; bitcoin.bitcoind_check(db)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py&quot;, line 73, in bitcoind_check<br />&nbsp; &nbsp; block_count = rpc('getblockcount', [])<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py&quot;, line 129, in rpc<br />&nbsp; &nbsp; raise exceptions.BitcoindRPCError(str(response.status_code) + ' ' + response.reason)<br />lib.exceptions.BitcoindRPCError: 401 Authorization Required<br />porq@h-pc:~$ counterpartyd server<br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 478, in urlopen<br />&nbsp; &nbsp; body=body, headers=headers)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 285, in _make_request<br />&nbsp; &nbsp; conn.request(method, url,**httplib_request_kw)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 967, in request<br />&nbsp; &nbsp; self._send_request(method, url, body, headers)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 1005, in _send_request<br />&nbsp; &nbsp; self.endheaders(body)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 963, in endheaders<br />&nbsp; &nbsp; self._send_output(message_body)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 808, in _send_output<br />&nbsp; &nbsp; self.send(msg)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 746, in send<br />&nbsp; &nbsp; self.connect()<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 724, in connect<br />&nbsp; &nbsp; self.timeout, self.source_address)<br />&nbsp; File &quot;/usr/lib/python3.2/socket.py&quot;, line 404, in create_connection<br />&nbsp; &nbsp; raise err<br />&nbsp; File &quot;/usr/lib/python3.2/socket.py&quot;, line 395, in create_connection<br />&nbsp; &nbsp; sock.connect(sa)<br />socket.error: [Errno 111] Connection refused<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/adapters.py&quot;, line 324, in send<br />&nbsp; &nbsp; timeout=timeout<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 528, in urlopen<br />&nbsp; &nbsp; raise MaxRetryError(self, url, e)<br />requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=3001): Max retries exceeded with url: /api/addr/mvCounterpartyXXXXXXXXXXXXXXW24Hef (Caused by <class 'socket.error'>: [Errno 111] Connection refused)<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 802, in <module><br />&nbsp; &nbsp; bitcoin.get_btc_balance(config.UNSPENDABLE, normalize=False)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py&quot;, line 446, in get_btc_balance<br />&nbsp; &nbsp; r = requests.get(config.INSIGHT + '/api/addr/' + address)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/api.py&quot;, line 55, in get<br />&nbsp; &nbsp; return request('get', url, **kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/api.py&quot;, line 44, in request<br />&nbsp; &nbsp; return session.request(method=method, url=url,**kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/sessions.py&quot;, line 382, in request<br />&nbsp; &nbsp; resp = self.send(prep, **send_kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/sessions.py&quot;, line 485, in send<br />&nbsp; &nbsp; r = adapter.send(request,**kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/adapters.py&quot;, line 372, in send<br />&nbsp; &nbsp; raise ConnectionError(e)<br />requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=3001): Max retries exceeded with url: /api/addr/mvCounterpartyXXXXXXXXXXXXXXW24Hef (Caused by <class 'socket.error'>: [Errno 111] Connection refused)<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 804, in <module><br />&nbsp; &nbsp; raise exceptions.InsightError('Could not connect to Insight server.')<br />lib.exceptions.InsightError: Could not connect to Insight server.<br />porq@h-pc:~$ cd counterpartyd_build<br />porq@h-pc:~/counterpartyd_build$ ls<br />dist&nbsp; docs&nbsp; env&nbsp; LICENSE&nbsp; README.md&nbsp; run.py&nbsp; setup.py<br />porq@h-pc:~/counterpartyd_build$ python3 run.py server<br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 478, in urlopen<br />&nbsp; &nbsp; body=body, headers=headers)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 285, in _make_request<br />&nbsp; &nbsp; conn.request(method, url, **httplib_request_kw)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 967, in request<br />&nbsp; &nbsp; self._send_request(method, url, body, headers)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 1005, in _send_request<br />&nbsp; &nbsp; self.endheaders(body)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 963, in endheaders<br />&nbsp; &nbsp; self._send_output(message_body)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 808, in _send_output<br />&nbsp; &nbsp; self.send(msg)<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 746, in send<br />&nbsp; &nbsp; self.connect()<br />&nbsp; File &quot;/usr/lib/python3.2/http/client.py&quot;, line 724, in connect<br />&nbsp; &nbsp; self.timeout, self.source_address)<br />&nbsp; File &quot;/usr/lib/python3.2/socket.py&quot;, line 404, in create_connection<br />&nbsp; &nbsp; raise err<br />&nbsp; File &quot;/usr/lib/python3.2/socket.py&quot;, line 395, in create_connection<br />&nbsp; &nbsp; sock.connect(sa)<br />socket.error: [Errno 111] Connection refused<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/adapters.py&quot;, line 324, in send<br />&nbsp; &nbsp; timeout=timeout<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/packages/urllib3/connectionpool.py&quot;, line 528, in urlopen<br />&nbsp; &nbsp; raise MaxRetryError(self, url, e)<br />requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=3001): Max retries exceeded with url: /api/addr/mvCounterpartyXXXXXXXXXXXXXXW24Hef (Caused by <class 'socket.error'>: [Errno 111] Connection refused)<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 802, in <module><br />&nbsp; &nbsp; bitcoin.get_btc_balance(config.UNSPENDABLE, normalize=False)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/lib/bitcoin.py&quot;, line 446, in get_btc_balance<br />&nbsp; &nbsp; r = requests.get(config.INSIGHT + '/api/addr/' + address)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/api.py&quot;, line 55, in get<br />&nbsp; &nbsp; return request('get', url,**kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/api.py&quot;, line 44, in request<br />&nbsp; &nbsp; return session.request(method=method, url=url, **kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/sessions.py&quot;, line 382, in request<br />&nbsp; &nbsp; resp = self.send(prep,**send_kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/sessions.py&quot;, line 485, in send<br />&nbsp; &nbsp; r = adapter.send(request, **kwargs)<br />&nbsp; File &quot;/home/porq/counterpartyd_build/env/lib/python3.2/site-packages/requests/adapters.py&quot;, line 372, in send<br />&nbsp; &nbsp; raise ConnectionError(e)<br />requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=3001): Max retries exceeded with url: /api/addr/mvCounterpartyXXXXXXXXXXXXXXW24Hef (Caused by <class 'socket.error'>: [Errno 111] Connection refused)<br /><br />During handling of the above exception, another exception occurred:<br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/porq/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 804, in <module><br />&nbsp; &nbsp; raise exceptions.InsightError('Could not connect to Insight server.')<br />lib.exceptions.InsightError: Could not connect to Insight server.<br />`

---

<div class="post-metadata">

**Author:** ![porqupine](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@porqupine](https://forums.counterparty.io/u/porqupine)\
**Post date:** [March 15, 2014, 5:18am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/65 "2014-03-15T05:18:39Z")

</div>

Can we fix this:   
`<br />&nbsp; if insight_enable:&nbsp; &nbsp; &nbsp; &nbsp; config.INSIGHT_ENABLE = insight_enable&nbsp; &nbsp; elif has_config and 'insight-enable' in configfile['Default']:&nbsp; &nbsp; &nbsp; &nbsp; config.INSIGHT_ENABLE = configfile['Default'].getboolean('insight-enable')&nbsp; &nbsp; else:&nbsp; &nbsp; &nbsp; &nbsp; config.INSIGHT_ENABLE = False&nbsp; &nbsp; &nbsp; &nbsp; if unittest:&nbsp; &nbsp; &nbsp; &nbsp; config.INSIGHT_ENABLE = True #override when running test suite&nbsp; &nbsp; if config.TESTNET:&nbsp; &nbsp; &nbsp; &nbsp; config.INSIGHT_ENABLE = True`  
Okay this is what I missed -   
It’s forcing config.INSIGHT to True for the testnet, despite counterpartyd.conf or command arguments - is there a reason for this?

---

<div class="post-metadata">

**Author:** ![porqupine](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@porqupine](https://forums.counterparty.io/u/porqupine)\
**Post date:** [March 16, 2014, 10:42pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/66 "2014-03-16T22:42:57Z")

</div>

Been doing this for every api.py update since release - dunno why.   
  
[quote]  
from jsonrpc.manager import JSONRPCResponseManager  
from jsonrpc import dispatcher  
[/quote]

---

<div class="post-metadata">

**Author:** ![romerun](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@romerun](https://forums.counterparty.io/u/romerun)\
**Post date:** [March 28, 2014, 11:16pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/67 "2014-03-28T23:16:46Z")

</div>

I’m on v6.9 using counterpartyd\_build develop branch to install it on ubuntu  
  
  
and I got this  
  
  
`<br /> tatus: RESTART<br />Block: 293000<br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/kem/counterpartyd_build/dist/counterpartyd/counterpartyd.py&quot;, line 795, in <module><br />&nbsp; &nbsp; blocks.follow(db)<br />&nbsp; File &quot;/home/kem/counterpartyd_build/dist/counterpartyd/lib/blocks.py&quot;, line 768, in follow<br />&nbsp; &nbsp; source, destination, btc_amount, fee, data = get_tx_info(tx, block_index)<br />&nbsp; File &quot;/home/kem/counterpartyd_build/dist/counterpartyd/lib/blocks.py&quot;, line 570, in get_tx_info<br />&nbsp; &nbsp; obj1 = ARC4.new(binascii.unhexlify(tx['vin'][0]['txid']))<br />TypeError: 'str' does not support the buffer interface<br />`  
  
  
on the other hands, my counterpartyd on osx version 6.8 keeps running with no problem

---

<div class="post-metadata">

**Author:** ![bogu](https://avatars.discourse-cdn.com/v4/letter/b/d2c977/32.png) [@bogu](https://forums.counterparty.io/u/bogu)\
**Post date:** [April 2, 2014, 3:12am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/68 "2014-04-02T03:12:06Z")

</div>

Hi,  
  
I’m trying to build & run from source with 64-bit win7, when I run setup.py I get:  
  
[quote]running build\_ext  
  
building ‘Crypto.Random.OSRNG.winrandom’ extension  
  
warning: GMP or MPIR library not found; Not building Crypto.PublicKey.\_fastmath.  
  
error: Unable to find vcvarsall.bat[/quote]  
  
EDIT:  
For anyone having the same problem, apparently the error is related to this:  
  
[quote author=romerun link=topic=166.msg1690#msg1690 date=1396234558]  
looks like counterpartyd 6.10 requires pycrypto , i did pip3 install pycrypto on osx and ubuntu and it went through just fine, no clue on windows  
[/quote]  
  
I downloaded the prebuilt python binaries from [http://www.voidspace.org.uk/python/modules.shtml#pycrypto](http://www.voidspace.org.uk/python/modules.shtml#pycrypto) and it worked.

---

<div class="post-metadata">

**Author:** ![porqupine](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@porqupine](https://forums.counterparty.io/u/porqupine)\
**Post date:** [April 14, 2014, 2:22pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/69 "2014-04-14T14:22:47Z")

</div>

```auto
Enter your Bitcoind[‐Qt] wallet passhrase: <br />Unlocking wallet for 60 (more) seconds.<br />Traceback (most recent call last):<br />&nbsp; File &quot;/home/hurin/counterpartyd/counterpartyd.py&quot;, line 680, in <module><br />&nbsp; &nbsp; args.unsigned)<br />&nbsp; File &quot;/home/hurin/counterpartyd/counterpartyd.py&quot;, line 129, in cli<br />&nbsp; &nbsp; unsigned_tx_hex = util.api(method, params)<br />&nbsp; File &quot;/home/hurin/counterpartyd/lib/util.py&quot;, line 47, in api<br />&nbsp; &nbsp; raise exceptions.RPCError('{}'.format(response_json['error']))<br />lib.exceptions.RPCError: {'code': -32000, 'message': 'Server error', 'data': {'message': &quot;'NoneType' object has no attribute 'compose'&quot;, 'args': [&quot;'NoneType' object has no attribute 'compose'&quot;], 'type': 'AttributeError'}}<br />
```

---

<div class="post-metadata">

**Author:** ![porqupine](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@porqupine](https://forums.counterparty.io/u/porqupine)\
**Post date:** [April 23, 2014, 2:54am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/70 "2014-04-23T02:54:12Z")

</div>

```auto
Traceback (most recent call last):<br />&nbsp; File &quot;/home/hurin/counterpartyd/counterpartyd.py&quot;, line 835, in <module><br />&nbsp; &nbsp; get_address = get_address(db, address=address)<br />TypeError: 'dict' object is not callable<br /><br />
```

---

<div class="post-metadata">

**Author:** ![porqupine](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@porqupine](https://forums.counterparty.io/u/porqupine)\
**Post date:** [April 23, 2014, 4:02am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/71 "2014-04-23T04:02:13Z")

</div>

`address_data = get_address(db=util.db, address=address)`  
  
fixed, pull please.

---

<div class="post-metadata">

**Author:** ![diaobanxian](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@diaobanxian](https://forums.counterparty.io/u/diaobanxian)\
**Post date:** [June 14, 2014, 3:34am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/72 "2014-06-14T03:34:31Z")

</div>

I upgrade to the newest version, and “balances” command cause a issue.  
===================================================  
the version is :  
  
commit 243d267843846016718bc288e5e7e49a7a94585a  
Author: PhantomPhreak [phantomphreak@counterparty.co](mailto:phantomphreak@counterparty.co)  
Date:&nbsp; Fri Jun 13 12:25:09 2014 -0400  
  
&nbsp; &nbsp; update unittest books  
===================================================  
and the issue is   
  
===================================================  
PS C:\Users\OBIU00\> counterpartyd balances 112KpVxAb6ysjDqetRM7gx5USPKiwNbmpL  
  
C:\Users\OBIU00\>echo off  
Traceback (most recent call last):  
&nbsp; File “D:\github\counterpartyd\_build\dist\counterpartyd\counterpartyd.py”, line 791, in   
&nbsp; &nbsp; balances(args.address)  
&nbsp; File “D:\github\counterpartyd\_build\dist\counterpartyd\counterpartyd.py”, line 473, in balances  
&nbsp; &nbsp; address\_data = get\_address(db, address=address)  
&nbsp; File “D:\github\counterpartyd\_build\dist\counterpartyd\counterpartyd.py”, line 29, in get\_address  
&nbsp; &nbsp; address\_dict[‘balances’] = util.api(‘get\_balances’, {‘filters’: [(‘address’, ‘==’, address),]})  
&nbsp; File “D:\github\counterpartyd\_build\dist\counterpartyd\lib\util.py”, line 50, in api  
&nbsp; &nbsp; raise exceptions.RPCError(’{}’.format(response\_json[‘error’]))  
lib.exceptions.RPCError: {‘message’: ‘Server error’, ‘code’: -32000, ‘data’: {‘message’: “global name ‘a’ is not defined  
”, ‘args’: [“global name ‘a’ is not defined”], ‘type’: ‘NameError’}}  
PS C:\Users\OBIU00\>  
=========================================================

---

<div class="post-metadata">

**Author:** ![PhantomPhreak](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@PhantomPhreak](https://forums.counterparty.io/u/PhantomPhreak)\
**Post date:** [June 14, 2014, 5:18am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/73 "2014-06-14T05:18:03Z")

</div>

[quote author=diaobanxian link=topic=22.msg2662#msg2662 date=1402731271]  
I upgrade to the newest version, and “balances” command cause a issue.  
===================================================  
the version is :  
  
commit 243d267843846016718bc288e5e7e49a7a94585a  
Author: PhantomPhreak \<[phantomphreak@counterparty.co](mailto:phantomphreak@counterparty.co)\>  
Date:&nbsp; Fri Jun 13 12:25:09 2014 -0400  
  
&nbsp; &nbsp; update unittest books  
===================================================  
and the issue is   
  
===================================================  
PS C:\Users\OBIU00\> counterpartyd balances 112KpVxAb6ysjDqetRM7gx5USPKiwNbmpL  
  
C:\Users\OBIU00\>echo off  
Traceback (most recent call last):  
&nbsp; File “D:\github\counterpartyd\_build\dist\counterpartyd\counterpartyd.py”, line 791, in   
&nbsp; &nbsp; balances(args.address)  
&nbsp; File “D:\github\counterpartyd\_build\dist\counterpartyd\counterpartyd.py”, line 473, in balances  
&nbsp; &nbsp; address\_data = get\_address(db, address=address)  
&nbsp; File “D:\github\counterpartyd\_build\dist\counterpartyd\counterpartyd.py”, line 29, in get\_address  
&nbsp; &nbsp; address\_dict[‘balances’] = util.api(‘get\_balances’, {‘filters’: [(‘address’, ‘==’, address),]})  
&nbsp; File “D:\github\counterpartyd\_build\dist\counterpartyd\lib\util.py”, line 50, in api  
&nbsp; &nbsp; raise exceptions.RPCError(’{}’.format(response\_json[‘error’]))  
lib.exceptions.RPCError: {‘message’: ‘Server error’, ‘code’: -32000, ‘data’: {‘message’: “global name ‘a’ is not defined  
”, ‘args’: [“global name ‘a’ is not defined”], ‘type’: ‘NameError’}}  
PS C:\Users\OBIU00\>  
=========================================================  
[/quote]  
  
Discussion is here: [https://github.com/CounterpartyXCP/counterpartyd/issues/123](https://github.com/CounterpartyXCP/counterpartyd/issues/123)

---

<div class="post-metadata">

**Author:** ![asked](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@asked](https://forums.counterparty.io/u/asked)\
**Post date:** [July 3, 2014, 6:41pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/74 "2014-07-03T18:41:49Z")

</div>

hi,  
I’ve had counterpartyd installed since january and I’ve always managed to update and get it running till now.  
I’m not an IT expert so I think I’ll need some help.  
  
  
counterpartyd is installed on Windows 7 (64-bit).  
when I type “counterpartyd server” everything seems fine with counterparty showing latest transaction info.  
then when I type “counterpartyd wallet” I get this  
`c:\\counterpartyd_build>counterpartyd wallet<br /><br /><br />c:\\counterpartyd_build>echo off<br /><br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 1036,<br />in <module><br />&nbsp; &nbsp; address_data = get_address(db, address=address)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 30, in<br /> get_address<br />&nbsp; &nbsp; address_dict['balances'] = util.api('get_balances', {'filters': [('address',<br /> '==', address),]})<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 41, in api<br />&nbsp; &nbsp; raise exceptions.RPCError(str(response.status_code) + ' ' + response.reason)<br /><br /><br />lib.exceptions.RPCError: 401 Authorization Required<br /><br /><br />c:\\counterpartyd_build`  
  
  
same if I type “counterpartyd balances” with my address  
`<br /><br /><br />c:\\counterpartyd_build>echo off<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 990, i<br />n <module><br />&nbsp; &nbsp; balances(args.address)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 507, i<br />n balances<br />&nbsp; &nbsp; address_data = get_address(db, address=address)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 30, in<br /> get_address<br />&nbsp; &nbsp; address_dict['balances'] = util.api('get_balances', {'filters': [('address',<br /> '==', address),]})<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 41, in api<br />&nbsp; &nbsp; raise exceptions.RPCError(str(response.status_code) + ' ' + response.reason)<br /><br /><br />lib.exceptions.RPCError: 401 Authorization Required`  
  
  
I guess it has something to do with RPC, but I have never touched the .conf file since its creation and counterparty has always worked [size=2]without s[/size]howing this 401 error, so it can’t be some rpc user/password mismatch.  
  
  
I don’t know if it’s related but after these errors, I tried to install insight for the first time following [these instructions](http://counterpartyd-build.readthedocs.org/en/latest/SettingUpInsight.html), and when I typed “npm install” I got a very long error log:  
  
  
  
`> base58-native@0.1.2 install c:\\insight-api\
ode_modules\\base58-native<br />> node-gyp rebuild<br /><br /><br /><br /><br />c:\\insight-api\
ode_modules\\base58-native>node &quot;C:\\Program Files\
odejs\
ode_mod<br />ules\
pm\\bin\
ode-gyp-bin\\\\..\\..\
ode_modules\
ode-gyp\\bin\
ode-gyp.js&quot; rebuild<br /><br /><br />Compilazione dei progetti nella soluzione uno alla volta. Per abilitare la compi<br />lazione parallela, aggiungere l'opzione &quot;/m&quot;.<br />&nbsp; base58.cc<br />..\\src\\base58.cc(40): warning C4267: 'initializing' : conversion from 'size_t'<br />to 'int', possible loss of data [c:\\insight-api\
ode_modules\\base58-native\\buil<br />d\\base58.vcxproj]<br />..\\src\\base58.cc(80): warning C4244: '=' : conversion from 'unsigned __int64' t<br />o 'unsigned int', possible loss of data [c:\\insight-api\
ode_modules\\base58-nat<br />ive\\build\\base58.vcxproj]<br />C:\\Users\\Federico\\.node-gyp\\0.10.29\\deps\\v8\\include\\v8.h(184): warning C4506: n<br />o definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::<br />Handle<T>)' [c:\\insight-api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; with<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;]&nbsp; &nbsp; T=v8::Object<br />&nbsp; &nbsp; Creating library c:\\insight-api\
ode_modules\\base58-native\\build\\Release\\b<br />&nbsp; ase58.lib and object c:\\insight-api\
ode_modules\\base58-native\\build\\Release\\<br />&nbsp; base58.exp<br />base58.obj : error LNK2001: unresolved external symbol BN_free [c:\\insight-api\\<br />node_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_num_bits [c:\\insight-<br />api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_mul [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_add [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_cmp [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_get_word [c:\\insight-<br />api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_set_word [c:\\insight-<br />api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_div [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_new [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_bn2bin [c:\\insight-ap<br />i\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_CTX_new [c:\\insight-a<br />pi\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_CTX_free [c:\\insight-<br />api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_bin2bn [c:\\insight-ap<br />i\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />c:\\insight-api\
ode_modules\\base58-native\\build\\Release\\base58.node : fatal err<br />or LNK1120: 13 unresolved externals [c:\\insight-api\
ode_modules\\base58-native\\<br />build\\base58.vcxproj]<br />gyp ERR! build error<br />gyp ERR! stack Error: `msbuild` failed with exit code: 1<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.onExit (C:\\Program Files\
odejs\
ode_modules\\<br />npm\
ode_modules\
ode-gyp\\lib\\build.js:267:23)<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.emit (events.js:98:17)<br />gyp ERR! stack&nbsp; &nbsp; at Process.ChildProcess._handle.onexit (child_process.js:809:<br />12)<br />gyp ERR! System Windows_NT 6.1.7601<br />gyp ERR! command &quot;node&quot; &quot;C:\\\\Program Files\\\
odejs\\\
ode_modules\\\
pm\\\
ode_modu<br />les\\\
ode-gyp\\\\bin\\\
ode-gyp.js&quot; &quot;rebuild&quot;<br />gyp ERR! cwd c:\\insight-api\
ode_modules\\base58-native<br />gyp ERR! node -v v0.10.29<br />gyp ERR! node-gyp -v v0.13.1<br />gyp ERR! not ok<br /><br /><br /><br /><br /><br /><br />> bignum@0.9.0 install c:\\insight-api\
ode_modules\\bignum<br />> node-gyp configure build<br /><br /><br />|<br />c:\\insight-api\
ode_modules\\bignum>node &quot;C:\\Program Files\
odejs\
ode_modules\
p<br />m\\bin\
ode-gyp-bin\\\\..\\..\
ode_modules\
ode-gyp\\bin\
ode-gyp.js&quot; configure build<br /><br /><br />/<br />Compilazione dei progetti nella soluzione uno alla volta. Per abilitare la compi<br />lazione parallela, aggiungere l'opzione &quot;/m&quot;.<br />&nbsp; bignum.cc<br />C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include\\xlocale(323): wa<br />rning C4530: C++ exception handler used, but unwind semantics are not enabled.<br />Specify /EHsc [c:\\insight-api\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1185): warning C4267:<br /> '=' : conversion from 'size_t' to 'int', possible loss of data [c:\\insight-api<br />\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1202): warning C4267:<br /> '=' : conversion from 'size_t' to 'int', possible loss of data [c:\\insight-api<br />\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1215): warning C4267:<br /> 'initializing' : conversion from 'size_t' to 'int', possible loss of data [c:\\<br />insight-api\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1229): warning C4267:<br /> 'initializing' : conversion from 'size_t' to 'int', possible loss of data [c:\\<br />insight-api\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1318): warning C4244:<br /> 'return' : conversion from 'intptr_t' to 'int', possible loss of data [c:\\insi<br />ght-api\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />..\\bignum.cc(9): fatal error C1083: Cannot open include file: 'openssl/bn.h': N<br />o such file or directory [c:\\insight-api\
ode_modules\\bignum\\build\\bignum.vcxpr<br />oj]<br />gyp ERR! build error<br />gyp ERR! stack Error: `msbuild` failed with exit code: 1<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.onExit (C:\\Program Files\
odejs\
ode_modules\\<br />npm\
ode_modules\
ode-gyp\\lib\\build.js:267:23)<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.emit (events.js:98:17)<br />gyp ERR! stack&nbsp; &nbsp; at Process.ChildProcess._handle.onexit (child_process.js:809:<br />12)<br />gyp ERR! System Windows_NT 6.1.7601<br />gyp ERR! command &quot;node&quot; &quot;C:\\\\Program Files\\\
odejs\\\
ode_modules\\\
pm\\\
ode_modu<br />les\\\
ode-gyp\\\\bin\\\
ode-gyp.js&quot; &quot;configure&quot; &quot;build&quot;<br />gyp ERR! cwd c:\\insight-api\
ode_modules\\bignum<br />gyp ERR! node -v v0.10.29<br />gyp ERR! node-gyp -v v0.13.1<br />gyp ERR! not ok<br />npm ERR! base58-native@0.1.2 install: `node-gyp rebuild`<br />npm ERR! Exit status 1<br />npm ERR!<br />npm ERR! Failed at the base58-native@0.1.2 install script.<br />npm ERR! This is most likely a problem with the base58-native package,<br />npm ERR! not with npm itself.<br />npm ERR! Tell the author that this fails on your system:<br />npm ERR!&nbsp; &nbsp; node-gyp rebuild<br />npm ERR! You can get their info via:<br />npm ERR!&nbsp; &nbsp; npm owner ls base58-native<br />npm ERR! There is likely additional logging output above.<br />npm ERR! System Windows_NT 6.1.7601<br />npm ERR! command &quot;C:\\\\Program Files\\\
odejs\\\\\\\
ode.exe&quot; &quot;C:\\\\Program Files\\\
od<br />ejs\\\
ode_modules\\\
pm\\\\bin\\\
pm-cli.js&quot; &quot;install&quot;<br />npm ERR! cwd c:\\insight-api<br />npm ERR! node -v v0.10.29<br />npm ERR! npm -v 1.4.14<br />npm ERR! code ELIFECYCLE<br /><br /><br /><br /><br />> bignum@0.6.2 install c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\bignum<br />> node-gyp configure build<br /><br /><br />\\<br />c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\bignum>node &quot;C:\\Program Files\
<br />odejs\
ode_modules\
pm\\bin\
ode-gyp-bin\\\\..\\..\
ode_modules\
ode-gyp\\bin\
ode-gy<br />p.js&quot; configure build<br />Compilazione dei progetti nella soluzione uno alla volta. Per abilitare la compi<br />lazione parallela, aggiungere l'opzione &quot;/m&quot;.<br />&nbsp; bignum.cc<br />C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include\\xlocale(323): wa<br />rning C4530: C++ exception handler used, but unwind semantics are not enabled.<br />Specify /EHsc [c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\bignum\\build\\bi<br />gnum.vcxproj]<br />..\\bignum.cc(10): fatal error C1083: Cannot open include file: 'openssl/bn.h':<br />No such file or directory [c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\big<br />num\\build\\bignum.vcxproj]<br />gyp ERR! build error<br />gyp ERR! stack Error: `msbuild` failed with exit code: 1<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.onExit (C:\\Program Files\
odejs\
ode_modules\\<br />npm\
ode_modules\
ode-gyp\\lib\\build.js:267:23)<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.emit (events.js:98:17)<br />gyp ERR! stack&nbsp; &nbsp; at Process.ChildProcess._handle.onexit (child_process.js:809:<br />12)<br />gyp ERR! System Windows_NT 6.1.7601<br />gyp ERR! command &quot;node&quot; &quot;C:\\\\Program Files\\\
odejs\\\
ode_modules\\\
pm\\\
ode_modu<br />les\\\
ode-gyp\\\\bin\\\
ode-gyp.js&quot; &quot;configure&quot; &quot;build&quot;<br />gyp ERR! cwd c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\bignum<br />gyp ERR! node -v v0.10.29<br />gyp ERR! node-gyp -v v0.13.1<br />gyp ERR! not ok<br />npm ERR!<br />npm ERR! Additional logging details can be found in:<br />npm ERR!&nbsp; &nbsp; c:\\insight-api\
pm-debug.log<br />npm ERR! not ok code 0<br />`  
  
  
so when I tried “node C:\insight-api\insight.js” I got this:  
`<br />module.js:340<br />&nbsp; &nbsp; throw err;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />Error: Cannot find module 'bitcore'<br />&nbsp; &nbsp; at Function.Module._resolveFilename (module.js:338:15)<br />&nbsp; &nbsp; at Function.Module._load (module.js:280:25)<br />&nbsp; &nbsp; at Module.require (module.js:364:17)<br />&nbsp; &nbsp; at require (module.js:380:17)<br />&nbsp; &nbsp; at Object.<anonymous> (C:\\insight-api\\lib\\PeerSync.js:3:19)<br />&nbsp; &nbsp; at Module._compile (module.js:456:26)<br />&nbsp; &nbsp; at Object.Module._extensions..js (module.js:474:10)<br />&nbsp; &nbsp; at Module.load (module.js:356:32)<br />&nbsp; &nbsp; at Function.Module._load (module.js:312:12)<br />&nbsp; &nbsp; at Module.require (module.js:364:17)<br />`

---

<div class="post-metadata">

**Author:** ![PhantomPhreak](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@PhantomPhreak](https://forums.counterparty.io/u/PhantomPhreak)\
**Post date:** [July 12, 2014, 10:45am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/75 "2014-07-12T10:45:18Z")

</div>

[quote author=asked link=topic=22.msg2787#msg2787 date=1404427309]  
  
hi,  
I’ve had counterpartyd installed since january and I’ve always managed to update and get it running till now.  
I’m not an IT expert so I think I’ll need some help.  
  
  
counterpartyd is installed on Windows 7 (64-bit).  
when I type “counterpartyd server” everything seems fine with counterparty showing latest transaction info.  
then when I type “counterpartyd wallet” I get this  
`c:\\counterpartyd_build>counterpartyd wallet<br /><br /><br />c:\\counterpartyd_build>echo off<br /><br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 1036,<br />in <module><br />&nbsp; &nbsp; address_data = get_address(db, address=address)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 30, in<br /> get_address<br />&nbsp; &nbsp; address_dict['balances'] = util.api('get_balances', {'filters': [('address',<br /> '==', address),]})<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 41, in api<br />&nbsp; &nbsp; raise exceptions.RPCError(str(response.status_code) + ' ' + response.reason)<br /><br /><br />lib.exceptions.RPCError: 401 Authorization Required<br /><br /><br />c:\\counterpartyd_build`  
  
  
same if I type “counterpartyd balances” with my address  
`<br /><br /><br />c:\\counterpartyd_build>echo off<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 990, i<br />n <module><br />&nbsp; &nbsp; balances(args.address)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 507, i<br />n balances<br />&nbsp; &nbsp; address_data = get_address(db, address=address)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 30, in<br /> get_address<br />&nbsp; &nbsp; address_dict['balances'] = util.api('get_balances', {'filters': [('address',<br /> '==', address),]})<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 41, in api<br />&nbsp; &nbsp; raise exceptions.RPCError(str(response.status_code) + ' ' + response.reason)<br /><br /><br />lib.exceptions.RPCError: 401 Authorization Required`  
  
  
I guess it has something to do with RPC, but I have never touched the .conf file since its creation and counterparty has always worked [size=1em]without s[/size]howing this 401 error, so it can’t be some rpc user/password mismatch.  
  
  
I don’t know if it’s related but after these errors, I tried to install insight for the first time following [these instructions](http://counterpartyd-build.readthedocs.org/en/latest/SettingUpInsight.html), and when I typed “npm install” I got a very long error log:  
  
  
  
`> base58-native@0.1.2 install c:\\insight-api\
ode_modules\\base58-native<br />> node-gyp rebuild<br /><br /><br /><br /><br />c:\\insight-api\
ode_modules\\base58-native>node &quot;C:\\Program Files\
odejs\
ode_mod<br />ules\
pm\\bin\
ode-gyp-bin\\\\..\\..\
ode_modules\
ode-gyp\\bin\
ode-gyp.js&quot; rebuild<br /><br /><br />Compilazione dei progetti nella soluzione uno alla volta. Per abilitare la compi<br />lazione parallela, aggiungere l'opzione &quot;/m&quot;.<br />&nbsp; base58.cc<br />..\\src\\base58.cc(40): warning C4267: 'initializing' : conversion from 'size_t'<br />to 'int', possible loss of data [c:\\insight-api\
ode_modules\\base58-native\\buil<br />d\\base58.vcxproj]<br />..\\src\\base58.cc(80): warning C4244: '=' : conversion from 'unsigned __int64' t<br />o 'unsigned int', possible loss of data [c:\\insight-api\
ode_modules\\base58-nat<br />ive\\build\\base58.vcxproj]<br />C:\\Users\\Federico\\.node-gyp\\0.10.29\\deps\\v8\\include\\v8.h(184): warning C4506: n<br />o definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::<br />Handle<T>)' [c:\\insight-api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; with<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;]&nbsp; &nbsp; T=v8::Object<br />&nbsp; &nbsp; Creating library c:\\insight-api\
ode_modules\\base58-native\\build\\Release\\b<br />&nbsp; ase58.lib and object c:\\insight-api\
ode_modules\\base58-native\\build\\Release\\<br />&nbsp; base58.exp<br />base58.obj : error LNK2001: unresolved external symbol BN_free [c:\\insight-api\\<br />node_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_num_bits [c:\\insight-<br />api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_mul [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_add [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_cmp [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_get_word [c:\\insight-<br />api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_set_word [c:\\insight-<br />api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_div [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_new [c:\\insight-api\
<br />ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_bn2bin [c:\\insight-ap<br />i\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_CTX_new [c:\\insight-a<br />pi\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_CTX_free [c:\\insight-<br />api\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />base58.obj : error LNK2001: unresolved external symbol BN_bin2bn [c:\\insight-ap<br />i\
ode_modules\\base58-native\\build\\base58.vcxproj]<br />c:\\insight-api\
ode_modules\\base58-native\\build\\Release\\base58.node : fatal err<br />or LNK1120: 13 unresolved externals [c:\\insight-api\
ode_modules\\base58-native\\<br />build\\base58.vcxproj]<br />gyp ERR! build error<br />gyp ERR! stack Error: `msbuild` failed with exit code: 1<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.onExit (C:\\Program Files\
odejs\
ode_modules\\<br />npm\
ode_modules\
ode-gyp\\lib\\build.js:267:23)<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.emit (events.js:98:17)<br />gyp ERR! stack&nbsp; &nbsp; at Process.ChildProcess._handle.onexit (child_process.js:809:<br />12)<br />gyp ERR! System Windows_NT 6.1.7601<br />gyp ERR! command &quot;node&quot; &quot;C:\\\\Program Files\\\
odejs\\\
ode_modules\\\
pm\\\
ode_modu<br />les\\\
ode-gyp\\\\bin\\\
ode-gyp.js&quot; &quot;rebuild&quot;<br />gyp ERR! cwd c:\\insight-api\
ode_modules\\base58-native<br />gyp ERR! node -v v0.10.29<br />gyp ERR! node-gyp -v v0.13.1<br />gyp ERR! not ok<br /><br /><br /><br /><br /><br /><br />> bignum@0.9.0 install c:\\insight-api\
ode_modules\\bignum<br />> node-gyp configure build<br /><br /><br />|<br />c:\\insight-api\
ode_modules\\bignum>node &quot;C:\\Program Files\
odejs\
ode_modules\
p<br />m\\bin\
ode-gyp-bin\\\\..\\..\
ode_modules\
ode-gyp\\bin\
ode-gyp.js&quot; configure build<br /><br /><br />/<br />Compilazione dei progetti nella soluzione uno alla volta. Per abilitare la compi<br />lazione parallela, aggiungere l'opzione &quot;/m&quot;.<br />&nbsp; bignum.cc<br />C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include\\xlocale(323): wa<br />rning C4530: C++ exception handler used, but unwind semantics are not enabled.<br />Specify /EHsc [c:\\insight-api\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1185): warning C4267:<br /> '=' : conversion from 'size_t' to 'int', possible loss of data [c:\\insight-api<br />\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1202): warning C4267:<br /> '=' : conversion from 'size_t' to 'int', possible loss of data [c:\\insight-api<br />\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1215): warning C4267:<br /> 'initializing' : conversion from 'size_t' to 'int', possible loss of data [c:\\<br />insight-api\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1229): warning C4267:<br /> 'initializing' : conversion from 'size_t' to 'int', possible loss of data [c:\\<br />insight-api\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />c:\\insight-api\
ode_modules\\bignum\
ode_modules\
an\
an.h(1318): warning C4244:<br /> 'return' : conversion from 'intptr_t' to 'int', possible loss of data [c:\\insi<br />ght-api\
ode_modules\\bignum\\build\\bignum.vcxproj]<br />..\\bignum.cc(9): fatal error C1083: Cannot open include file: 'openssl/bn.h': N<br />o such file or directory [c:\\insight-api\
ode_modules\\bignum\\build\\bignum.vcxpr<br />oj]<br />gyp ERR! build error<br />gyp ERR! stack Error: `msbuild` failed with exit code: 1<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.onExit (C:\\Program Files\
odejs\
ode_modules\\<br />npm\
ode_modules\
ode-gyp\\lib\\build.js:267:23)<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.emit (events.js:98:17)<br />gyp ERR! stack&nbsp; &nbsp; at Process.ChildProcess._handle.onexit (child_process.js:809:<br />12)<br />gyp ERR! System Windows_NT 6.1.7601<br />gyp ERR! command &quot;node&quot; &quot;C:\\\\Program Files\\\
odejs\\\
ode_modules\\\
pm\\\
ode_modu<br />les\\\
ode-gyp\\\\bin\\\
ode-gyp.js&quot; &quot;configure&quot; &quot;build&quot;<br />gyp ERR! cwd c:\\insight-api\
ode_modules\\bignum<br />gyp ERR! node -v v0.10.29<br />gyp ERR! node-gyp -v v0.13.1<br />gyp ERR! not ok<br />npm ERR! base58-native@0.1.2 install: `node-gyp rebuild`<br />npm ERR! Exit status 1<br />npm ERR!<br />npm ERR! Failed at the base58-native@0.1.2 install script.<br />npm ERR! This is most likely a problem with the base58-native package,<br />npm ERR! not with npm itself.<br />npm ERR! Tell the author that this fails on your system:<br />npm ERR!&nbsp; &nbsp; node-gyp rebuild<br />npm ERR! You can get their info via:<br />npm ERR!&nbsp; &nbsp; npm owner ls base58-native<br />npm ERR! There is likely additional logging output above.<br />npm ERR! System Windows_NT 6.1.7601<br />npm ERR! command &quot;C:\\\\Program Files\\\
odejs\\\\\\\
ode.exe&quot; &quot;C:\\\\Program Files\\\
od<br />ejs\\\
ode_modules\\\
pm\\\\bin\\\
pm-cli.js&quot; &quot;install&quot;<br />npm ERR! cwd c:\\insight-api<br />npm ERR! node -v v0.10.29<br />npm ERR! npm -v 1.4.14<br />npm ERR! code ELIFECYCLE<br /><br /><br /><br /><br />> bignum@0.6.2 install c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\bignum<br />> node-gyp configure build<br /><br /><br />\\<br />c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\bignum>node &quot;C:\\Program Files\
<br />odejs\
ode_modules\
pm\\bin\
ode-gyp-bin\\\\..\\..\
ode_modules\
ode-gyp\\bin\
ode-gy<br />p.js&quot; configure build<br />Compilazione dei progetti nella soluzione uno alla volta. Per abilitare la compi<br />lazione parallela, aggiungere l'opzione &quot;/m&quot;.<br />&nbsp; bignum.cc<br />C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include\\xlocale(323): wa<br />rning C4530: C++ exception handler used, but unwind semantics are not enabled.<br />Specify /EHsc [c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\bignum\\build\\bi<br />gnum.vcxproj]<br />..\\bignum.cc(10): fatal error C1083: Cannot open include file: 'openssl/bn.h':<br />No such file or directory [c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\big<br />num\\build\\bignum.vcxproj]<br />gyp ERR! build error<br />gyp ERR! stack Error: `msbuild` failed with exit code: 1<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.onExit (C:\\Program Files\
odejs\
ode_modules\\<br />npm\
ode_modules\
ode-gyp\\lib\\build.js:267:23)<br />gyp ERR! stack&nbsp; &nbsp; at ChildProcess.emit (events.js:98:17)<br />gyp ERR! stack&nbsp; &nbsp; at Process.ChildProcess._handle.onexit (child_process.js:809:<br />12)<br />gyp ERR! System Windows_NT 6.1.7601<br />gyp ERR! command &quot;node&quot; &quot;C:\\\\Program Files\\\
odejs\\\
ode_modules\\\
pm\\\
ode_modu<br />les\\\
ode-gyp\\\\bin\\\
ode-gyp.js&quot; &quot;configure&quot; &quot;build&quot;<br />gyp ERR! cwd c:\\insight-api\
ode_modules\\bitcore\
ode_modules\\bignum<br />gyp ERR! node -v v0.10.29<br />gyp ERR! node-gyp -v v0.13.1<br />gyp ERR! not ok<br />npm ERR!<br />npm ERR! Additional logging details can be found in:<br />npm ERR!&nbsp; &nbsp; c:\\insight-api\
pm-debug.log<br />npm ERR! not ok code 0<br />`  
  
  
so when I tried “node C:\insight-api\insight.js” I got this:  
`<br />module.js:340<br />&nbsp; &nbsp; throw err;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />Error: Cannot find module 'bitcore'<br />&nbsp; &nbsp; at Function.Module._resolveFilename (module.js:338:15)<br />&nbsp; &nbsp; at Function.Module._load (module.js:280:25)<br />&nbsp; &nbsp; at Module.require (module.js:364:17)<br />&nbsp; &nbsp; at require (module.js:380:17)<br />&nbsp; &nbsp; at Object.<anonymous> (C:\\insight-api\\lib\\PeerSync.js:3:19)<br />&nbsp; &nbsp; at Module._compile (module.js:456:26)<br />&nbsp; &nbsp; at Object.Module._extensions..js (module.js:474:10)<br />&nbsp; &nbsp; at Module.load (module.js:356:32)<br />&nbsp; &nbsp; at Function.Module._load (module.js:312:12)<br />&nbsp; &nbsp; at Module.require (module.js:364:17)<br />`  
[/quote]  
  
I think that this problem might have been fixed very recently. Download the latest version and try again.  
  
If that doesn’t work, try adding this to the config file:  
backend-rpc-password = PASSWORD

---

<div class="post-metadata">

**Author:** ![lm76](https://avatars.discourse-cdn.com/v4/letter/l/34f0e0/32.png) [@lm76](https://forums.counterparty.io/u/lm76)\
**Post date:** [September 18, 2014, 6:16pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/76 "2014-09-18T18:16:53Z")

</div>

Hi, I get the following error when I try to start counterpartyd  
  
Status: Running v9.42.0 of counterpartyd.  
Status: Connecting to database.  
Status: Checking version.  
Status: Connecting to block explorer.  
Status: New database.  
Traceback (most recent call last):  
&nbsp; File "/home/little/counterpartyd\_build/dist/counterpartyd/counterpartyd.py", line 1116, in   
&nbsp; &nbsp; blocks.follow(db)  
&nbsp; File "/home/little/counterpartyd\_build/dist/counterpartyd/lib/blocks.py", line 1044, in follow  
&nbsp; &nbsp; block\_count = bitcoin.get\_block\_count()  
&nbsp; File "/home/little/counterpartyd\_build/dist/counterpartyd/lib/bitcoin.py", line 44, in get\_block\_count  
&nbsp; &nbsp; return int(rpc('getblockcount', []))  
&nbsp; File "/home/little/counterpartyd\_build/dist/counterpartyd/lib/bitcoin.py", line 144, in rpc  
&nbsp; &nbsp; raise exceptions.BitcoindRPCError(str(response.status\_code) + ' ' + response.reason)  
lib.exceptions.BitcoindRPCError: 401 Authorization Required  
  
does anybody have any suggestions?  
  
thanks

---

<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:** [September 18, 2014, 9:43pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/77 "2014-09-18T21:43:26Z")

</div>

[quote author=lm76 link=topic=22.msg3466#msg3466 date=1411078613]  
Hi, I get the following error when I try to start counterpartyd  
  
Status: Running v9.42.0 of counterpartyd.  
Status: Connecting to database.  
Status: Checking version.  
Status: Connecting to block explorer.  
Status: New database.  
Traceback (most recent call last):  
&nbsp; File "/home/little/counterpartyd\_build/dist/counterpartyd/counterpartyd.py", line 1116, in   
&nbsp; &nbsp; blocks.follow(db)  
&nbsp; File "/home/little/counterpartyd\_build/dist/counterpartyd/lib/blocks.py", line 1044, in follow  
&nbsp; &nbsp; block\_count = bitcoin.get\_block\_count()  
&nbsp; File "/home/little/counterpartyd\_build/dist/counterpartyd/lib/bitcoin.py", line 44, in get\_block\_count  
&nbsp; &nbsp; return int(rpc('getblockcount', []))  
&nbsp; File "/home/little/counterpartyd\_build/dist/counterpartyd/lib/bitcoin.py", line 144, in rpc  
&nbsp; &nbsp; raise exceptions.BitcoindRPCError(str(response.status\_code) + ' ' + response.reason)  
lib.exceptions.BitcoindRPCError: 401 Authorization Required  
  
does anybody have any suggestions?  
  
thanks  
[/quote]  
  
  
It tells you your password is incorrect.  
Start with bitcoin.conf and counterpartyd.con settings based on this document ("Editing the Config"), then change them once you understand them.  
[http://counterpartyd-build.readthedocs.org/en/latest/AdditionalTopics.html](http://counterpartyd-build.readthedocs.org/en/latest/AdditionalTopics.html)  
and  
[http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html](http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html)

---

<div class="post-metadata">

**Author:** ![lm76](https://avatars.discourse-cdn.com/v4/letter/l/34f0e0/32.png) [@lm76](https://forums.counterparty.io/u/lm76)\
**Post date:** [September 19, 2014, 5:18pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/78 "2014-09-19T17:18:25Z")

</div>

thanks so much issued solved, the counterpartyd config file was not correct.

---

<div class="post-metadata">

**Author:** ![uccoins](https://avatars.discourse-cdn.com/v4/letter/u/b38774/32.png) [@uccoins](https://forums.counterparty.io/u/uccoins)\
**Post date:** [October 11, 2014, 9:16pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/79 "2014-10-11T21:16:38Z")

</div>

Hi, I installed counterpartyd back in January and managed to burn Bitcoin to get XCP. I’ve just tried to start it again now and it gets stuck at block 280807, which I found to be an error requiring updating to the latest version. I tried updating using the following instructions I had saved on my machine in January:  
Updating to the newest source  
  
As the code is enhanced and improved on Github, you can refresh your local copy of the repositories like so:  
  
cd C:\counterpartyd\_build  
git pull origin master  
cd C:\counterpartyd\_build\dist\counterpartyd  
git pull origin master  
  
The resulted in some errors, so I followed the instructions on this page and installed all of the prerequisites listed [http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#id1](http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#id1)  
  
When I get to running this command

```auto
C:\\Python33\\python.exe setup.py --with-bootstrap-db<br>

```

it bails out with this:

```auto
C:\\counterpartyd_build>C:\\Python33\\python.exe setup.py --with-bootstrap-db<br>2014-10-11 21:44:07,372|DEBUG: base path: 'C:\\counterpartyd_build'<br>2014-10-11 21:44:07,403|DEBUG: dist path: 'C:\\counterpartyd_build\\dist'<br>2014-10-11 21:44:07,403|DEBUG: env path: 'C:\\counterpartyd_build\\env'<br>2014-10-11 21:44:07,418|DEBUG: bin path: 'C:\\counterpartyd_build\\bin'<br>2014-10-11 21:44:07,418|INFO: Installing Counterparty from source...<br>The system cannot find the path specified.<br>Traceback (most recent call last):<br> File "C:\\counterpartyd_build\\setup_util.py", line 99, in git_repo_clone<br> % repo_dest_dir, shell=True).strip().decode('utf-8')<br> File "C:\\Python33\\lib\\subprocess.py", line 589, in check_output<br> raise CalledProcessError(retcode, process.args, output=output)<br>subprocess.CalledProcessError: Command 'cd C:\\counterpartyd_build\\dist\\counterpa<br>rtyd &amp;&amp; git rev-parse --abbrev-ref HEAD' returned non-zero exit status 1<br><br>During handling of the above exception, another exception occurred:<br><br>Traceback (most recent call last):<br> File "setup.py", line 467, in <module><br> main()<br> File "setup.py", line 458, in main<br> checkout(branch, paths, run_as_user, with_counterblockd, command == "update"<br>)<br> File "setup.py", line 123, in checkout<br> os.path.join(paths['dist_path'], "counterpartyd"), branch=branch, for_user=r<br>un_as_user)<br> File "C:\\counterpartyd_build\\setup_util.py", line 101, in git_repo_clone<br> raise Exception("Cannot get current get branch for %s." % repo_name)<br>Exception: Cannot get current get branch for counterpartyd.<br>

```

I don’t really know what I’m doing but just need to get the coins off the machine and into counterwallet. Is there a way to scrap the counterparty code and database etc I have and build it from scratch? I’ve also had error messages about files not managing to merge when I tried the updates. Thanks

---

<div class="post-metadata">

**Author:** ![weex](https://avatars.discourse-cdn.com/v4/letter/w/41988e/32.png) [@weex](https://forums.counterparty.io/u/weex)\
**Post date:** [October 12, 2014, 12:18am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/80 "2014-10-12T00:18:29Z")

</div>

If you know the addresses that hold your XCP, you can use ‘bitcoind dumpprivkey’ on those addresses to get their private keys. Then you can sweep the XCP into a new counterwallet ([https://counterwallet.io](https://counterwallet.io)) to regain access to them.

[Previous page](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47.md?page=3)

[Next page](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47.md?page=5)
