# 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:** 3

<div class="post-metadata">

**Author:** ![jimhsu](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@jimhsu](https://forums.counterparty.io/u/jimhsu)\
**Post date:** [February 5, 2014, 6:33pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/41 "2014-02-05T18:33:33Z")

</div>

[quote author=TreeLeaves link=topic=22.msg221#msg221 date=1391640526]  
[pre]Thanks for taking a look Jimshu.  
  
I dont have a batch file. The only file I edited was the Counterpartyd conf to change the rpc password.  
  
The actual send command I used was  
  
counterpartyd send --from=[XXXXxx] --to=[XXXXX] --asset=XCP --quantity=100  
  
What would you suggest?  
[/pre]  
[/quote]  
  
counterpartyd send --source [XXXXxx] --destination [XXXXX] --asset XCP --quantity 100  
  
Try that.

---

<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 5, 2014, 9:30pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/42 "2014-02-05T21:30:10Z")

</div>

[quote author=jimhsu link=topic=22.msg219#msg219 date=1391639393]  
[quote author=TreeLeaves link=topic=22.msg218#msg218 date=1391638455]  
I require some help please  
  
I am trying to use the send command and I get the following result  
  
C:\\>echo off  
usage: counterpartyd send [-h] --source SOURCE --destination DESTINATION  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --quantity QUANTITY --asset ASSET  
counterpartyd send: error: argument --source is required  
  
Is this implying the blockchain is not updated?  
[/quote]  
  
I think you’re using some sort of batch file. Can you post the contents of it? It seems like your command syntax is incorrect.  
[/quote]  
  
  
FYI, on windows, using the build system, “counterpartyd” actually runs a batch file called counterpartyd.bat in C:\windows, which will proxy the command to run.py in the C:\counterpartyd\_build\ directory. I added this so that we wouldn’t have to manually run run.py on Windows, with different semantics than on Linux.

---

<div class="post-metadata">

**Author:** ![TreeLeaves](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@TreeLeaves](https://forums.counterparty.io/u/TreeLeaves)\
**Post date:** [February 6, 2014, 6:26am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/43 "2014-02-06T06:26:45Z")

</div>

[quote author=jimhsu link=topic=22.msg222#msg222 date=1391643213]  
[quote author=TreeLeaves link=topic=22.msg221#msg221 date=1391640526]  
[pre]Thanks for taking a look Jimshu.  
  
I dont have a batch file. The only file I edited was the Counterpartyd conf to change the rpc password.  
  
The actual send command I used was  
  
counterpartyd send --from=[XXXXxx] --to=[XXXXX] --asset=XCP --quantity=100  
  
What would you suggest?  
[/pre]  
[/quote]  
  
counterpartyd send --source [XXXXxx] --destination [XXXXX] --asset XCP --quantity 100  
  
Try that.  
[/quote]  
  
Cheers - it works now - much appreciated

---

<div class="post-metadata">

**Author:** ![520Bit](https://avatars.discourse-cdn.com/v4/letter/5/2acd7d/32.png) [@520Bit](https://forums.counterparty.io/u/520Bit)\
**Post date:** [February 7, 2014, 5:27am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/44 "2014-02-07T05:27:52Z")

</div>

I have another error when I make an order:  
  
  
`c:\\counterpartyd_build>counterpartyd order --source 1XXX --get-quantity 20 --get-asset BTC --give-quantity 200 --give-asset XCP --expiration 5000 --fee_required 0.01<br /><br /><br />c:\\counterpartyd_build>echo off<br />Transaction (unsigned): 010000000191bc9ad6c118669cb9ef0425310793357f2d42d7e27ad6c040908b1210ce22520200000000ffffffff036c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d0aa80172c45580762f3d417b<br />6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2120434e5452505254590000000a000000000000000100000004a817c8000000000052ae6c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d<br />0aa80172c45580762f3d417b6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2116000000000000000077359400138800000000000f42400000000000000000000052ae95847402000000001976a914779835a784<br />adb00b7cc20357da16ad282c6ff88588ac00000000<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 522, in <module><br />&nbsp; &nbsp; print(unsigned_tx_hex) if args.unsigned else json_print(bitcoin.transmit(unsigned_tx_hex))<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py&quot;, line 382, in transmit<br />&nbsp; &nbsp; if input('Confirm? (y/N) ') != 'y':<br />AttributeError: 'UnicodeOutput' object has no attribute 'errors'`  
  
  
How to fix the ‘no attribute ‘errors’’?  
My counterpartyd is up-to-date by the way.  
  
  
Also posted on bitcointalk: [font=Verdana][size=78%][https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509](https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509)[/size][/font]

---

<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 7, 2014, 11:32am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/45 "2014-02-07T11:32:21Z")

</div>

[quote author=520Bit link=topic=22.msg283#msg283 date=1391768872]  
  
I have another error when I make an order:  
  
  
`c:\\counterpartyd_build>counterpartyd order --source 1XXX --get-quantity 20 --get-asset BTC --give-quantity 200 --give-asset XCP --expiration 5000 --fee_required 0.01<br /><br /><br />c:\\counterpartyd_build>echo off<br />Transaction (unsigned): 010000000191bc9ad6c118669cb9ef0425310793357f2d42d7e27ad6c040908b1210ce22520200000000ffffffff036c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d0aa80172c45580762f3d417b<br />6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2120434e5452505254590000000a000000000000000100000004a817c8000000000052ae6c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d<br />0aa80172c45580762f3d417b6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2116000000000000000077359400138800000000000f42400000000000000000000052ae95847402000000001976a914779835a784<br />adb00b7cc20357da16ad282c6ff88588ac00000000<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 522, in <module><br />&nbsp; &nbsp; print(unsigned_tx_hex) if args.unsigned else json_print(bitcoin.transmit(unsigned_tx_hex))<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py&quot;, line 382, in transmit<br />&nbsp; &nbsp; if input('Confirm? (y/N) ') != 'y':<br />AttributeError: 'UnicodeOutput' object has no attribute 'errors'`  
  
  
How to fix the ‘no attribute ‘errors’’?  
My counterpartyd is up-to-date by the way.  
  
  
Also posted on bitcointalk: [font=verdana][size=78%][https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509](https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509)[/size][/font]  
[/quote]  
  
  
This has been fixed. Please pull newest code from github master.

---

<div class="post-metadata">

**Author:** ![520Bit](https://avatars.discourse-cdn.com/v4/letter/5/2acd7d/32.png) [@520Bit](https://forums.counterparty.io/u/520Bit)\
**Post date:** [February 7, 2014, 12:08pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/46 "2014-02-07T12:08:03Z")

</div>

[quote author=xnova link=topic=22.msg288#msg288 date=1391790741]  
[quote author=520Bit link=topic=22.msg283#msg283 date=1391768872]  
  
I have another error when I make an order:  
  
  
`c:\\counterpartyd_build>counterpartyd order --source 1XXX --get-quantity 20 --get-asset BTC --give-quantity 200 --give-asset XCP --expiration 5000 --fee_required 0.01<br /><br /><br />c:\\counterpartyd_build>echo off<br />Transaction (unsigned): 010000000191bc9ad6c118669cb9ef0425310793357f2d42d7e27ad6c040908b1210ce22520200000000ffffffff036c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d0aa80172c45580762f3d417b<br />6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2120434e5452505254590000000a000000000000000100000004a817c8000000000052ae6c2a0000000000006751410424e0d192e25d4eea9ef8ba4f32d45a025d<br />0aa80172c45580762f3d417b6eb804d8d7f3e1ee43863a165ae507bbf67b15bf137ed0d5072f1334e489cb6368c14d2116000000000000000077359400138800000000000f42400000000000000000000052ae95847402000000001976a914779835a784<br />adb00b7cc20357da16ad282c6ff88588ac00000000<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 522, in <module><br />&nbsp; &nbsp; print(unsigned_tx_hex) if args.unsigned else json_print(bitcoin.transmit(unsigned_tx_hex))<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py&quot;, line 382, in transmit<br />&nbsp; &nbsp; if input('Confirm? (y/N) ') != 'y':<br />AttributeError: 'UnicodeOutput' object has no attribute 'errors'`  
  
  
How to fix the ‘no attribute ‘errors’’?  
My counterpartyd is up-to-date by the way.  
  
  
Also posted on bitcointalk: [font=verdana][size=78%][https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509](https://bitcointalk.org/index.php?topic=395761.msg4993509#msg4993509)[/size][/font]  
[/quote]  
  
  
This has been fixed. Please pull newest code from github master.  
[/quote]  
  
  
Thanks, it works now after update to the latest git.

---

<div class="post-metadata">

**Author:** ![kdrop20](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kdrop20](https://forums.counterparty.io/u/kdrop20)\
**Post date:** [February 16, 2014, 3:40am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/47 "2014-02-16T03:40:15Z")

</div>

Issue Description  
  
_**Sent 100 XCP in Block 286081.  
100 XCP was deducted from my account, however only 51.80585696 XCP shows up in the transaction.**_  
  
  
_ **Detailed Description** _  
  
**Sent from: 1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN  
Sent to: 1846VNWpm2kYRWugCJsShWfe4epsuv4hct (my poloniex deposit address)**  
  
  
**Block number: 286081  
Sent Amount: 100 XCP**  
  
  
  
**CounterParty Logs/Console Window Output for Block 286081**  
  
  
  
_**You can confirm using the below logs that 100 XCP was indeed sent on Block 286081. (by [font=verdana][size=78%]1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN)[/size][/font]**_  
  
  
  
  
_**Block: 286081  
Order: buy 7.0 BTC at 0.0100 BTC/XCP in 120 blocks, with a provided fee of 0.0504 BTC and a required fee of 0.0 BTC (6aa2c548dd341c03750fe1d258e3f85e857cea0c3e77d5a0bcede74b6d15edbb)  
Order Match: 0.0 BTC for 2E-8 XCP at 0.0000 BTC/XCP (ca8ab2696ba2e0e4fd402cda120700e122e7935c96847371e0d3830941f9a1506aa2c548dd341c03750fe1d258e3f85e857cea0c3e77d5a0bcede74b6d15edbb)  
Order Match: 7.0 BTC for 700.0 XCP at 0.0100 BTC/XCP (498754ba54bf5306a66f0e5524d62832c41d9e53b21a88e564eef4e3b206cefb6aa2c548dd341c03750fe1d258e3f85e857cea0c3e77d5a0bcede74b6d15edbb)  
Order: buy 0.79 BTC at 0.0100 BTC/XCP in 800 blocks, with a provided fee of 0.00563507 BTC and a required fee of 0.0 BTC (f6582eba619b54611816ec3618b0371ca8d94944bab72dd2b7605227a038d6c8)  
Send: 100.0 of asset XCP from 1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN to 1846VNWpm2kYRWugCJsShWfe4epsuv4hct (3820dd66c89c9c215a7b5d1ff08a35bdbe03cb28f700bd7cd01d884138d1f36c)  
Send: 210.0 of asset XCP from 1MZmG3CbtW7WF8YACMaexypNPXUJtJHxQ to 14skYEfj2SfLkMYQEM7FcRWsAmXBjaSzCk (cafddf6741ae9154c713637b16277982bbe9e514cc76dcb4390a6889dc2b2171)  
Block: 286082**_  
  
  
\*\*\*\*\*\*\*\*  
  
  
However, now look at the [Blockscan.com](http://Blockscan.com)  
[http://www.blockscan.com/address.aspx?q=1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN](http://www.blockscan.com/address.aspx?q=1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN)  
  
  
You will find that only 51.8 XCP is registered in the transaction.   
  
  
4129&nbsp; 286081&nbsp; 2014-02-16 00:53:33&nbsp; 1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN&nbsp; 1846VNWpm2kYRWugCJsShWfe4epsuv4hct  
Received 51.80585696 XCP&nbsp; 0.0001086&nbsp; 0.0001  
  
  
Even though 100XCP was deducted from my address.   
  
  
NOTE: I have made multiple transactions from this address for 100 and one for 50 XCP(later in the day), in other blocks. However, this block 286081, was clearly 100 XCP (however 51.8 shows up).  
  
  
Also, block scan is showing the balance of zero on 1HEhGXgv8zNk7uno6vdMabA4rrmhVNhQcN. While my counterpartyd client shows 990.  
  
NOTE: I used a short wallet unlock time for bitcoind, could this be triggering this.

---

<div class="post-metadata">

**Author:** ![Jimmy](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@Jimmy](https://forums.counterparty.io/u/Jimmy)\
**Post date:** [February 16, 2014, 9:12am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/48 "2014-02-16T09:12:08Z")

</div>

After a try to install counterpartyd from source, I got the following error to start it. [font=verdana]It seems some auth problem between counterpartyd and bitcoind. [/font][font=verdana]BTW, my system is Win7. [/font]  
  
  
`<br /><br />C:\\counterpartyd_build>counterpartyd server<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 494, i<br />n <module><br />&nbsp; &nbsp; util.bitcoind_check(db)<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 303, in bit<br />coind_check<br />&nbsp; &nbsp; block_count = bitcoin.rpc('getblockcount', [])<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py&quot;, line 75, in r<br />pc<br />&nbsp; &nbsp; raise exceptions.BitcoindRPCError(str(response.status_code) + ' ' + response<br />.reason)<br />lib.exceptions.BitcoindRPCError: 401 Authorization Required<br /><br /><br />C:\\counterpartyd_build><br />`

---

<div class="post-metadata">

**Author:** ![supervine](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@supervine](https://forums.counterparty.io/u/supervine)\
**Post date:** [February 18, 2014, 4:04pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/49 "2014-02-18T16:04:22Z")

</div>

Worked fine until now. Updated to 5.0. Later error occured. No connection. Later updated to 5.3 - same problem.  
Of course internet connection is OK, bitcoin-qt running and synced fine.  
But server command give me that:  
C:\counterpartyd\_build\>counterpartyd server  
  
C:\counterpartyd\_build\>echo off  
Traceback (most recent call last):  
&nbsp; File “C:\Python32\Lib\json\decoder.py”, line 369, in raw\_decode  
&nbsp; &nbsp; obj, end = self.scan\_once(s, idx)  
StopIteration  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
&nbsp; File “C:\counterpartyd\_build\dist\counterpartyd\lib\util.py”, line 278, in ver  
sions\_check  
&nbsp; &nbsp; versions = json.loads(response.text)  
&nbsp; File “C:\Python32\Lib\json\ **init**.py”, line 319, in loads  
&nbsp; &nbsp; return \_default\_decoder.decode(s)  
&nbsp; File “C:\Python32\Lib\json\decoder.py”, line 353, in decode  
&nbsp; &nbsp; obj, end = self.raw\_decode(s, idx=\_w(s, 0).end())  
&nbsp; File “C:\Python32\Lib\json\decoder.py”, line 371, in raw\_decode  
&nbsp; &nbsp; raise ValueError(“No JSON object could be decoded”)  
ValueError: No JSON object could be decoded  
  
During handling of the above exception, another exception occurred:  
  
Traceback (most recent call last):  
&nbsp; File “C:\counterpartyd\_build\dist\counterpartyd\counterpartyd.py”, line 489, i  
n   
&nbsp; &nbsp; util.versions\_check(db)  
&nbsp; File “C:\counterpartyd\_build\dist\counterpartyd\lib\util.py”, line 280, in ver  
sions\_check  
&nbsp; &nbsp; raise exceptions.DatabaseVersionError(‘Unable to check client, database vers  
ions. How’s your Internet access?’)  
lib.exceptions.DatabaseVersionError: Unable to check client, database versions.  
How’s your Internet access?  
  
Any ideas?  
  
Update: Just fixed itself. Probably something was down in client version check…

---

<div class="post-metadata">

**Author:** ![jimhsu](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@jimhsu](https://forums.counterparty.io/u/jimhsu)\
**Post date:** [February 18, 2014, 4:46pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/50 "2014-02-18T16:46:57Z")

</div>

[quote author=Jimmy link=topic=22.msg580#msg580 date=1392559928]  
  
  
  
After a try to install counterpartyd from source, I got the following error to start it. [font=verdana]It seems some auth problem between counterpartyd and bitcoind. [/font][font=verdana]BTW, my system is Win7. [/font]  
  
  
`<br /><br />C:\\counterpartyd_build>counterpartyd server<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 494, i<br />n <module><br />&nbsp; &nbsp; util.bitcoind_check(db)<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 303, in bit<br />coind_check<br />&nbsp; &nbsp; block_count = bitcoin.rpc('getblockcount', [])<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\bitcoin.py&quot;, line 75, in r<br />pc<br />&nbsp; &nbsp; raise exceptions.BitcoindRPCError(str(response.status_code) + ' ' + response<br />.reason)<br />lib.exceptions.BitcoindRPCError: 401 Authorization Required<br /><br /><br />C:\\counterpartyd_build><br />`  
[/quote]  
  
Can you check your bitcoin rpc password vs the config file to make sure it’s the same? Watch out for things like upper/lower case, spaces, etc.

---

<div class="post-metadata">

**Author:** ![bindy](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bindy](https://forums.counterparty.io/u/bindy)\
**Post date:** [February 22, 2014, 12:51am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/51 "2014-02-22T00:51:20Z")

</div>

I updated the client from the git repository  
  
now it says that “market” is invalid  
  
C:\Windows\System32\>C:\Python32\python.exe c:\counterpartyd\_build\run.py market  
usage: counterpartyd [-h] [-V] [-v] [–force] [–testnet] [–testcoin]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–unsigned] [–data-dir DATA\_DIR]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–database-file DATABASE\_FILE]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–config-file CONFIG\_FILE] [–log-file LOG\_FILE]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–bitcoind-rpc-connect BITCOIND\_RPC\_CONNECT]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–bitcoind-rpc-port BITCOIND\_RPC\_PORT]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–bitcoind-rpc-user BITCOIND\_RPC\_USER]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–bitcoind-rpc-password BITCOIND\_RPC\_PASSWORD]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–rpc-host RPC\_HOST] [–rpc-port RPC\_PORT]  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [–rpc-user RPC\_USER] [–rpc-password RPC\_PASSWORD]  
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {server,potentials,send,order,btcpay,issuance,broadcast,bet,dividend,burn,cancel,callback,balances,asset,wallet,pending,reparse,rollback}  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; …  
counterpartyd: error: argument action: invalid choice: ‘market’ (choose from ‘server’, ‘potentials’, ‘send’, ‘order’, ‘btcpay’, ‘issuance’, ‘broadcast’, ‘bet’, ‘dividend’, ‘burn’, ‘cancel’, ‘callback’, ‘balances’, ‘asset’, ‘wallet’, ‘pending’, ‘reparse’, ‘rollback’)

---

<div class="post-metadata">

**Author:** ![RobBase](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@RobBase](https://forums.counterparty.io/u/RobBase)\
**Post date:** [February 22, 2014, 1:04am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/52 "2014-02-22T01:04:49Z")

</div>

I finally got through the counterpartyd build instructions and ran “counterpartyd server” at the command line. It proceeded to count through blocks from 278xxx all the way to the current 287xxx block, which took several hours. During that time, I tried using the send command to test things out and see if I could send any XCP. I kept getting an error that the database was not up to date. So I let the entire block count finish and then tried again. It then bitched at me that I wasn’t running the latest version. OK.  
  
So I ran C:\Python32\python.exe setup.py update and then ran counterpartyd server again. And once again, it started counting blocks, all the way back from 278xxx… I then killed the process because I’m simply not going to watch this damn thing count all the blocks all over again for another twelve hours.  
  
What the heck am I doing wrong here? I’ve been trying to set this system up for days so I can send XCP. That’s all I want to do–just use the counterpartyd send command.

---

<div class="post-metadata">

**Author:** ![sulate](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@sulate](https://forums.counterparty.io/u/sulate)\
**Post date:** [February 22, 2014, 5:52pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/53 "2014-02-22T17:52:37Z")

</div>

[quote author=RobBase link=topic=22.msg783#msg783 date=1393049089]  
I finally got through the counterpartyd build instructions and ran “counterpartyd server” at the command line. It proceeded to count through blocks from 278xxx all the way to the current 287xxx block, which took several hours. During that time, I tried using the send command to test things out and see if I could send any XCP. I kept getting an error that the database was not up to date. So I let the entire block count finish and then tried again. It then bitched at me that I wasn’t running the latest version. OK.  
  
So I ran C:\Python32\python.exe setup.py update and then ran counterpartyd server again. And once again, it started counting blocks, all the way back from 278xxx… I then killed the process because I’m simply not going to watch this damn thing count all the blocks all over again for another twelve hours.  
  
What the heck am I doing wrong here? I’ve been trying to set this system up for days so I can send XCP. That’s all I want to do–just use the counterpartyd send command.   
  
[/quote]  
  
  
The database format has indeed changed a couple of times in the past few versions, so rebuilding it again is a must. (I remember seeing a comment that there was coming an improvement that would lessen the need for rebuilds in the future, but don’t know if that’s implemented yet?)  
  
  
I am a bit curious though why it does take that long. I get that it’s going through the whole blockchain and that it’s a lot of data, but I’m just not seeing the bottleneck on any system stats (CPU under 30%, disk I/O under 2 MB/s, memory under 50%, load average about 1.5; Intel Atom N2800, 3 GB memory and blockchain on external usb (2.0) hard drive).

---

<div class="post-metadata">

**Author:** ![peled1986](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@peled1986](https://forums.counterparty.io/u/peled1986)\
**Post date:** [February 22, 2014, 5:53pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/54 "2014-02-22T17:53:58Z")

</div>

`<br />Microsoft Windows [Version 6.1.7600]<br />Copyright (c) 2009 Microsoft Corporation.&nbsp; All rights reserved.<br /><br /><br />C:\\Users\\Peled>counterpartyd.exe -V<br />counterpartyd v6.0<br /><br /><br />C:\\Users\\Peled>counterpartyd.exe send --source=&quot;1EU6VM7zkA9qDw8ReFKHRpSSHJvbuXYN<br />hq&quot; --destination=&quot;1L2RvHFHoviCzk2CVJWhyKKYh8kzo3sbnq&quot; --quantity=1 --asset=&quot;XCP<br />&quot;<br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\u<br />til.py&quot;, line 625, in ssl_wrap_socket<br />IOError: [Errno 2] No such file or directory<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\adapters.py&quot;, line<br /> 324, in send<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnectionpool.py&quot;, line 478, in urlopen<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnectionpool.py&quot;, line 285, in _make_request<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 983, in request<br />&nbsp; &nbsp; self._send_request(method, url, body, headers)<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 1021, in _send_request<br />&nbsp; &nbsp; self.endheaders(body)<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 979, in endheaders<br />&nbsp; &nbsp; self._send_output(message_body)<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 824, in _send_output<br />&nbsp; &nbsp; self.send(msg)<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 762, in send<br />&nbsp; &nbsp; self.connect()<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnection.py&quot;, line 95, in connect<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\u<br />til.py&quot;, line 629, in ssl_wrap_socket<br />requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directo<br />ry<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 277, in ver<br />sions_check<br /><br /><br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\api.py&quot;, line 55,<br />in get<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\api.py&quot;, line 44,<br />in request<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\sessions.py&quot;, line<br /> 382, in request<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\sessions.py&quot;, line<br /> 485, in send<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\adapters.py&quot;, line<br /> 379, in send<br />requests.exceptions.SSLError: [Errno 2] No such file or directory<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\Python32\\lib\\site-packages\\cx_Freeze\\initscripts\\Console3.py&quot;, line 2<br />7, in <module><br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 489, i<br />n <module><br />&nbsp; &nbsp; args.unsigned)<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 280, in ver<br />sions_check<br />&nbsp; &nbsp; host = 'https://raw2.github.com/PhantomPhreak/counterpartyd/master/versions.<br />json'<br />lib.exceptions.DatabaseVersionError: Unable to check client, database versions.<br />How's your Internet access?<br /><br /><br />C:\\Users\\Peled>`  
  
  
I upgraded to V6.0 and i have this issue also.  
can anyone help?

---

<div class="post-metadata">

**Author:** ![supervine](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@supervine](https://forums.counterparty.io/u/supervine)\
**Post date:** [February 23, 2014, 7:22am UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/55 "2014-02-23T07:22:31Z")

</div>

How can I get current orders, since market disappeared?  
And don’t tell me to look on blockscan. It’s not updated and it’s not supposed to rely on centralized website to get the orders. (blockscan somehow do get the orders from counterpartyd)

---

<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 23, 2014, 6:02pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/56 "2014-02-23T18:02:55Z")

</div>

[quote author=sulate link=topic=22.msg793#msg793 date=1393109557]  
[quote author=RobBase link=topic=22.msg783#msg783 date=1393049089]  
I finally got through the counterpartyd build instructions and ran “counterpartyd server” at the command line. It proceeded to count through blocks from 278xxx all the way to the current 287xxx block, which took several hours. During that time, I tried using the send command to test things out and see if I could send any XCP. I kept getting an error that the database was not up to date. So I let the entire block count finish and then tried again. It then bitched at me that I wasn’t running the latest version. OK.  
  
So I ran C:\Python32\python.exe setup.py update and then ran counterpartyd server again. And once again, it started counting blocks, all the way back from 278xxx… I then killed the process because I’m simply not going to watch this damn thing count all the blocks all over again for another twelve hours.  
  
What the heck am I doing wrong here? I’ve been trying to set this system up for days so I can send XCP. That’s all I want to do–just use the counterpartyd send command.   
  
[/quote]  
  
  
The database format has indeed changed a couple of times in the past few versions, so rebuilding it again is a must. (I remember seeing a comment that there was coming an improvement that would lessen the need for rebuilds in the future, but don’t know if that’s implemented yet?)  
  
  
I am a bit curious though why it does take that long. I get that it’s going through the whole blockchain and that it’s a lot of data, but I’m just not seeing the bottleneck on any system stats (CPU under 30%, disk I/O under 2 MB/s, memory under 50%, load average about 1.5; Intel Atom N2800, 3 GB memory and blockchain on external usb (2.0) hard drive).  
[/quote]  
  
  
Due to the security fixes, there have been a number of complete rebuilds required. This is not “normal” and it should be settling down shortly, with just a reparse necessary on some of the updates.  
  
  
The reason a rebuild takes so long is largely due to the fact that when rebuilding, counterpartyd essentially has to make an API call for every single transaction on the blockchain, as it rebuilds its database. Phantom looked into an intermediate database option, where we would store all multisig/OP\_RETURN txns (there aren’t many and most are counterparty txns actually) in the counterpartyd DB, and then do all but the full, full rebuilds off of that). We sided against that for now as it would add complexity. It may happen in the future…depends on a number of factors.

---

<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 23, 2014, 6:04pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/57 "2014-02-23T18:04:02Z")

</div>

[quote author=supervine link=topic=22.msg808#msg808 date=1393158151]  
How can I get current orders, since market disappeared?  
And don’t tell me to look on blockscan. It’s not updated and it’s not supposed to rely on centralized website to get the orders. (blockscan somehow do get the orders from counterpartyd)  
[/quote]  
  
  
We’re exploring options on listing the market (either returning the market command, or making it an external utility, as was originally planned when it was taken out).  
  
  
Jah’s GUI may list this (or he will be adding it). Counterwallet will also provide this list for any arbitrary asset pair.

---

<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 23, 2014, 6:04pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/58 "2014-02-23T18:04:38Z")

</div>

[quote author=peled1986 link=topic=22.msg794#msg794 date=1393109638]  
`<br />Microsoft Windows [Version 6.1.7600]<br />Copyright (c) 2009 Microsoft Corporation.&nbsp; All rights reserved.<br /><br /><br />C:\\Users\\Peled>counterpartyd.exe -V<br />counterpartyd v6.0<br /><br /><br />C:\\Users\\Peled>counterpartyd.exe send --source=&quot;1EU6VM7zkA9qDw8ReFKHRpSSHJvbuXYN<br />hq&quot; --destination=&quot;1L2RvHFHoviCzk2CVJWhyKKYh8kzo3sbnq&quot; --quantity=1 --asset=&quot;XCP<br />&quot;<br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\u<br />til.py&quot;, line 625, in ssl_wrap_socket<br />IOError: [Errno 2] No such file or directory<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\adapters.py&quot;, line<br /> 324, in send<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnectionpool.py&quot;, line 478, in urlopen<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnectionpool.py&quot;, line 285, in _make_request<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 983, in request<br />&nbsp; &nbsp; self._send_request(method, url, body, headers)<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 1021, in _send_request<br />&nbsp; &nbsp; self.endheaders(body)<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 979, in endheaders<br />&nbsp; &nbsp; self._send_output(message_body)<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 824, in _send_output<br />&nbsp; &nbsp; self.send(msg)<br />&nbsp; File &quot;C:\\Python32\\Lib\\http\\client.py&quot;, line 762, in send<br />&nbsp; &nbsp; self.connect()<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\c<br />onnection.py&quot;, line 95, in connect<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\packages\\urllib3\\u<br />til.py&quot;, line 629, in ssl_wrap_socket<br />requests.packages.urllib3.exceptions.SSLError: [Errno 2] No such file or directo<br />ry<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 277, in ver<br />sions_check<br /><br /><br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\api.py&quot;, line 55,<br />in get<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\api.py&quot;, line 44,<br />in request<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\sessions.py&quot;, line<br /> 382, in request<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\sessions.py&quot;, line<br /> 485, in send<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\requests\\adapters.py&quot;, line<br /> 379, in send<br />requests.exceptions.SSLError: [Errno 2] No such file or directory<br /><br /><br />During handling of the above exception, another exception occurred:<br /><br /><br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\Python32\\lib\\site-packages\\cx_Freeze\\initscripts\\Console3.py&quot;, line 2<br />7, in <module><br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 489, i<br />n <module><br />&nbsp; &nbsp; args.unsigned)<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 280, in ver<br />sions_check<br />&nbsp; &nbsp; host = 'https://raw2.github.com/PhantomPhreak/counterpartyd/master/versions.<br />json'<br />lib.exceptions.DatabaseVersionError: Unable to check client, database versions.<br />How's your Internet access?<br /><br /><br />C:\\Users\\Peled>`  
  
  
I upgraded to V6.0 and i have this issue also.  
can anyone help?  
[/quote]  
  
  
Try the newest version. Is this still an issue?

---

<div class="post-metadata">

**Author:** ![peled1986](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@peled1986](https://forums.counterparty.io/u/peled1986)\
**Post date:** [February 23, 2014, 7:17pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/59 "2014-02-23T19:17:39Z")

</div>

[quote author=xnova link=topic=22.msg821#msg821 date=1393196678]  
Try the newest version. Is this still an issue?  
[/quote]  
  
  
No - its working good.  
Thanks for the help.

---

<div class="post-metadata">

**Author:** ![Omnio](https://avatars.discourse-cdn.com/v4/letter/o/76d3ee/32.png) [@Omnio](https://forums.counterparty.io/u/Omnio)\
**Post date:** [February 23, 2014, 10:45pm UTC](https://forums.counterparty.io/t/counterpartyd-technical-support-thread/47/60 "2014-02-23T22:45:50Z")

</div>

Whenever I try to place an order, I get this message:  
  
Traceback (most recent call last):  
&nbsp; File “C:\Git\cmd\dist\counterpartyd\counterpartyd.py”, line 419, in   
&nbsp; &nbsp; bitcoin.bitcoind\_check(db)  
&nbsp; File “C:\Git\cmd\dist\counterpartyd\lib\bitcoin.py”, line 40, in bitcoind\_ch  
k  
&nbsp; &nbsp; block\_count = rpc(‘getblockcount’, [])  
&nbsp; File “C:\Git\cmd\dist\counterpartyd\lib\bitcoin.py”, line 120, in rpc  
&nbsp; &nbsp; raise exceptions.BitcoindError(’{}’.format(response\_json[‘error’]))  
lib.exceptions.BitcoindError: {‘code’: -32601, ‘message’: ‘Method not found’}  
  
Does this mean that I need to download more blocks through Bitcoind? I noticed that Bitcoind stopped downloading blocks after block 287246, but Counterparty synced up to this same block number and stopped. Do both Bitcoind and Counteryparty need to be synced up to the latest block in realtime?  
  
Also, is it possible to speed up the sync process by renaming the database file from the Counterparty app directory to the latest one? PhantomPhreak keeps churning out new releases and while that’s awesome, my computer is too slow (I’m too embarrassed to even state the specs) to sync up that by the time I finally catch up and try to place an order… there’s a new version of Counteryparty. So that leads me to my last question: Is the Counterparty sync process a CPU or RAM intensive activity or does it not matter?

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

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