# Counterpartyd Build system: Technical support thread

**URL:** <https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40>\
**Category:** Counterwallet\
**Created:** [February 2, 2014, 8:08pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40 "2014-02-02T20:08:24Z")\
**Posts on this page:** 20\
**Page:** 1

<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 2, 2014, 8:08pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/1 "2014-02-02T20:08:24Z")

</div>

Hey guys, please post any problems you’re running into with building or installing counterpartyd from source in this thread, and I or another forum member will attempt to help out. Thanks!  
  
  
[font=Verdana]For problems USING counterpartyd, please go here: [/font][font=verdana, arial, helvetica, sans-serif][https://forums.counterparty.co/index.php/topic,22.0.html[/font]](https://forums.counterparty.co/index.php/topic,22.0.html%5B/font%5D)

---

<div class="post-metadata">

**Author:** ![Patel](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/patel/32/5_2.png) [@Patel](https://forums.counterparty.io/u/Patel)\
**Post date:** [February 3, 2014, 12:31am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/2 "2014-02-03T00:31:39Z")

</div>

Hi I had an order for 2248 xcp for 3 btc. I cancelled the offer but the coins were never returned to the wallet  
  
  
I used the command&nbsp; ‘[tt]counterpartyd.py cancel --offer-hash=aff5a8d550dec70b6b1497758187d65a2a43733921870bbf5bd25feb311b7e46’[/tt][font=verdana][/font]

---

<div class="post-metadata">

**Author:** ![ginko\_B](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@ginko\_B](https://forums.counterparty.io/u/ginko_B)\
**Post date:** [February 3, 2014, 1:06am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/3 "2014-02-03T01:06:58Z")

</div>

[size=1em]I am not a coder, and not surprisingly, my experience installing the Counterparty client Windows 7 machine involved several speed bumps.&nbsp; [/size]  
  
[size=1em]Anyways, I finally got it to work, and for the benefit of other XCP holders, h[/size][size=1em]ere are a few pointers from my experience:[/size]  
  
size=1em&nbsp; Challenge in Importing Private Keys.&nbsp; I did my burning on my blockchain.info account.&nbsp; So I had to import my private keys from blockchain.info into my BitcoinQt client.&nbsp; This went pretty smoothly, except when you select Export Unencrypted from within your Blockchain.info wallet, it is crucial that you select the “Bitcoin-Qt Format” option from the “SELECT PRIVATE KEY FORMAT” dialogue box at the top of this page before you copy the private key from below.&nbsp; If you don’t do this, the default Base 58 option will result in an “Invalid Private Key (Code -5)” error in the Bitcoin-Qt client when you try and perform the \>importprivkey “copyandpastetheprivatekeyhere” “name”.[/size]  
  
[size=1em] (2) Setting-up Bitcoin-d.&nbsp; The initial steps of the set-up, [http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html](http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html), which involved setting-up the Bitcoin.conf file and then, in my case, re-indexing the blockchain, seemed to go OK. No problems.[/size]  
  
(3) Building and Running from Source on Windows - Installing.&nbsp; These steps were no problem.&nbsp; I downloaded the 64 bit version of all of the files. Then in the command window I typed the following commands:  
[font=incosolata][size=12px]cd C:\ [/size][/font]  
[font=incosolata][size=12px]git clone [https://github.com/xnova/counterpartyd\_build](https://github.com/xnova/counterpartyd_build) [/size][/font]  
[font=incosolata][size=12px]cd counterpartyd\_build [/size][/font]  
[font=incosolata][size=12px]C:\Python32\python.exe setup.py[/size][/font]  
[size=1em]The installation proceeded without any hickups or problems.&nbsp; It took about 1-2 minutes.&nbsp; At the end I had to answer one question, ie. "Do you want counterpartyd to open automatically on startup.&nbsp; I answered “y” and hit enter.&nbsp; And the process was complete.  
  
 (4) Building and Running from Source on Windows - Running.&nbsp; When I tried to run the C:\Python32\python.exe setup.py command I ended up getting an error related to line 397 and line 400 saying that my rpc-port was missing.&nbsp; After consulting with xnova he instructed me to go to the AppData / Counterparty folder and open my counterparty.conf file and insert the number “400” beside the rpc-port.&nbsp; First of all, it was problematic on my Windows 7 machine to find the AppData folder. I went to C:\Users\MyName\ where my AppData folder was supposed to be and couldn’t find it in the list of folders.&nbsp; Then after Googl’ing a bit for a solution I physically typed in C:\Users\MyName\AppData in my Windows Explorer bar and low-and-behold the AppData folder was there and opened. Once inside the Counterparty folder I was able to open counterparty.conf in WordPad.&nbsp; There are two instances of the term rpc-port within this counterparty.conf file, and it was the bottom one that needed to be changed to 4000.&nbsp; Once I made this change and I re-ran the[font=verdana]C:\Python32\python.exe setup.py command it worked without any problems.[/font][/size]  
  
[size=1em][font=verdana]And then … The Moment of Truth!&nbsp; Once I actually got the [/font][/size][size=small][font=verdana]C:\Python32\python.exe setup.py[/font] [/size][size=1em][font=verdana]command to work it was a continual flow of text on the cmd.exe box, like this:[/font][/size]  
  
[size=1em][font=verdana]Block: 279902[/font][/size]  
[font=verdana][size=1em]Block: 279903[/size][/font]  
[font=verdana][size=1em]Block: 279904[/size][/font]  
[font=verdana][size=small]Block: 279905[/size][/font]  
[font=verdana][size=small]Burn: xxxxxxxxxxxx(public address)xxxxxxx burned 0.99 BTC for 1348.7778888 XCP[/size][/font]  
[font=verdana][size=small]Block: 279906[/size][/font][font=verdana][size=small]etc.[/size][/font]  
  
[font=verdana][size=small]It took quite a while, at least an hour or more, for this step to complete … in fact, it is actually still running so I don’t quite know how long it will go on for…!&nbsp; But it is satisfying to see it chugging away while I type up these notes.[/size][/font]  
  
[font=verdana][size=1em]Good luck to all of you other XCP holders who are trying to set-up Counterpartyd!&nbsp; [/size][/font]  
  
[font=verdana][size=1em]And … Thank you xnova!&nbsp; Thank you phantom phreak!&nbsp; Counterpartyd is such an amazing contribution to the Bitcoin ecosystem - I love you guys![/size][/font]

---

<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 3, 2014, 2:06am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/4 "2014-02-03T02:06:19Z")

</div>

The Windows installer link is broken   
[http://counterpartyd-build.readthedocs.org/en/latest/UsingTheInstaller.html](http://counterpartyd-build.readthedocs.org/en/latest/UsingTheInstaller.html)  
  
  
[https://github.com/xnova/counterpartyd\_binaries/blob/master/counterpartyd-v0.1-amd64\_install.exe?raw=true](https://github.com/xnova/counterpartyd_binaries/blob/master/counterpartyd-v0.1-amd64_install.exe?raw=true)  
  
  
Could you please, fix it. With the launch of the product and new buyers coming in, we really need this working.&nbsp; 🙂

---

<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 3, 2014, 5:31am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/5 "2014-02-03T05:31:12Z")

</div>

[quote author=Patel link=topic=13.msg28#msg28 date=1391405499]  
Hi I had an order for 2248 xcp for 3 btc. I cancelled the offer but the coins were never returned to the wallet  
  
  
I used the command&nbsp; ‘[tt]counterpartyd.py cancel --offer-hash=aff5a8d550dec70b6b1497758187d65a2a43733921870bbf5bd25feb311b7e46’[/tt]  
[/quote]  
  
  
I know Phantom is working through any order related issues.  
  
  
If this is still a problem, please post it over at [https://forums.counterparty.co/index.php/topic,22.0.html](https://forums.counterparty.co/index.php/topic,22.0.html) and he can advise.

---

<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 3, 2014, 5:33am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/6 "2014-02-03T05:33:54Z")

</div>

[quote author=ginko-B link=topic=13.msg29#msg29 date=1391407618]  
[size=1em]I am not a coder, and not surprisingly, my experience installing the Counterparty client Windows 7 machine involved several speed bumps.&nbsp; [/size]  
  
[size=1em]Anyways, I finally got it to work, and for the benefit of other XCP holders, h[/size][size=1em]ere are a few pointers from my experience:[/size]  
  
size=1em&nbsp; Challenge in Importing Private Keys.&nbsp; I did my burning on my blockchain.info account.&nbsp; So I had to import my private keys from blockchain.info into my BitcoinQt client.&nbsp; This went pretty smoothly, except when you select Export Unencrypted from within your Blockchain.info wallet, it is crucial that you select the “Bitcoin-Qt Format” option from the “SELECT PRIVATE KEY FORMAT” dialogue box at the top of this page before you copy the private key from below.&nbsp; If you don’t do this, the default Base 58 option will result in an “Invalid Private Key (Code -5)” error in the Bitcoin-Qt client when you try and perform the \>importprivkey “copyandpastetheprivatekeyhere” “name”.[/size]  
  
[size=1em] (2) Setting-up Bitcoin-d.&nbsp; The initial steps of the set-up, [http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html](http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html), which involved setting-up the Bitcoin.conf file and then, in my case, re-indexing the blockchain, seemed to go OK. No problems.[/size]  
  
(3) Building and Running from Source on Windows - Installing.&nbsp; These steps were no problem.&nbsp; I downloaded the 64 bit version of all of the files. Then in the command window I typed the following commands:  
[font=incosolata][size=12px]cd C:\ [/size][/font]  
[font=incosolata][size=12px]git clone [https://github.com/xnova/counterpartyd\_build](https://github.com/xnova/counterpartyd_build) [/size][/font]  
[font=incosolata][size=12px]cd counterpartyd\_build [/size][/font]  
[font=incosolata][size=12px]C:\Python32\python.exe setup.py[/size][/font]  
[size=1em]The installation proceeded without any hickups or problems.&nbsp; It took about 1-2 minutes.&nbsp; At the end I had to answer one question, ie. "Do you want counterpartyd to open automatically on startup.&nbsp; I answered “y” and hit enter.&nbsp; And the process was complete.  
  
 (4) Building and Running from Source on Windows - Running.&nbsp; When I tried to run the C:\Python32\python.exe setup.py command I ended up getting an error related to line 397 and line 400 saying that my rpc-port was missing.&nbsp; After consulting with xnova he instructed me to go to the AppData / Counterparty folder and open my counterparty.conf file and insert the number “400” beside the rpc-port.&nbsp; First of all, it was problematic on my Windows 7 machine to find the AppData folder. I went to C:\Users\MyName\ where my AppData folder was supposed to be and couldn’t find it in the list of folders.&nbsp; Then after Googl’ing a bit for a solution I physically typed in C:\Users\MyName\AppData in my Windows Explorer bar and low-and-behold the AppData folder was there and opened. Once inside the Counterparty folder I was able to open counterparty.conf in WordPad.&nbsp; There are two instances of the term rpc-port within this counterparty.conf file, and it was the bottom one that needed to be changed to 4000.&nbsp; Once I made this change and I re-ran the[font=verdana]C:\Python32\python.exe setup.py command it worked without any problems.[/font][/size]  
  
[size=1em][font=verdana]And then … The Moment of Truth!&nbsp; Once I actually got the [/font][/size][size=small][font=verdana]C:\Python32\python.exe setup.py[/font] [/size][size=1em][font=verdana]command to work it was a continual flow of text on the cmd.exe box, like this:[/font][/size]  
  
[size=1em][font=verdana]Block: 279902[/font][/size]  
[font=verdana][size=1em]Block: 279903[/size][/font]  
[font=verdana][size=1em]Block: 279904[/size][/font]  
[font=verdana][size=small]Block: 279905[/size][/font]  
[font=verdana][size=small]Burn: xxxxxxxxxxxx(public address)xxxxxxx burned 0.99 BTC for 1348.7778888 XCP[/size][/font]  
[font=verdana][size=small]Block: 279906[/size][/font][font=verdana][size=small]etc.[/size][/font]  
  
[font=verdana][size=small]It took quite a while, at least an hour or more, for this step to complete … in fact, it is actually still running so I don’t quite know how long it will go on for…!&nbsp; But it is satisfying to see it chugging away while I type up these notes.[/size][/font]  
  
[font=verdana][size=1em]Good luck to all of you other XCP holders who are trying to set-up Counterpartyd!&nbsp; [/size][/font]  
  
[font=verdana][size=1em]And … Thank you xnova!&nbsp; Thank you phantom phreak!&nbsp; Counterpartyd is such an amazing contribution to the Bitcoin ecosystem - I love you guys![/size][/font]  
[/quote]  
  
  
Thank you for your feedback here! Regarding point number 1, any tutorial you could help write with respect to importing keys from blockchain would be more than helpful. If interested, I’d contact cityglut around that first (just to make sure no one else has wrote one). We could put it up on our FAQ or wiki.  
  
  
Regarding point number 4, I think I have made changes to avoid this being an issue in the future. 🙂

---

<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 3, 2014, 5:40am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/7 "2014-02-03T05:40:13Z")

</div>

[quote author=kdrop20 link=topic=13.msg32#msg32 date=1391411179]  
The Windows installer link is broken   
[http://counterpartyd-build.readthedocs.org/en/latest/UsingTheInstaller.html](http://counterpartyd-build.readthedocs.org/en/latest/UsingTheInstaller.html)  
  
  
[https://github.com/xnova/counterpartyd\_binaries/blob/master/counterpartyd-v0.1-amd64\_install.exe?raw=true](https://github.com/xnova/counterpartyd_binaries/blob/master/counterpartyd-v0.1-amd64_install.exe?raw=true)  
  
  
Could you please, fix it. With the launch of the product and new buyers coming in, we really need this working.&nbsp; 🙂   
[/quote]  
  
  
This should be fixed. Please recheck and let me know if it’s still an issue for you. I did generate a new installer yesterday.

---

<div class="post-metadata">

**Author:** ![cityglut](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@cityglut](https://forums.counterparty.io/u/cityglut)\
**Post date:** [February 3, 2014, 5:57am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/8 "2014-02-03T05:57:26Z")

</div>

[quote author=xnova link=topic=13.msg46#msg46 date=1391423634]  
[quote author=ginko-B link=topic=13.msg29#msg29 date=1391407618]  
[size=1em]I am not a coder, and not surprisingly, my experience installing the Counterparty client Windows 7 machine involved several speed bumps.&nbsp; [/size]  
  
[size=1em]Anyways, I finally got it to work, and for the benefit of other XCP holders, h[/size][size=1em]ere are a few pointers from my experience:[/size]  
  
size=1em&nbsp; Challenge in Importing Private Keys.&nbsp; I did my burning on my blockchain.info account.&nbsp; So I had to import my private keys from blockchain.info into my BitcoinQt client.&nbsp; This went pretty smoothly, except when you select Export Unencrypted from within your Blockchain.info wallet, it is crucial that you select the “Bitcoin-Qt Format” option from the “SELECT PRIVATE KEY FORMAT” dialogue box at the top of this page before you copy the private key from below.&nbsp; If you don’t do this, the default Base 58 option will result in an “Invalid Private Key (Code -5)” error in the Bitcoin-Qt client when you try and perform the \>importprivkey “copyandpastetheprivatekeyhere” “name”.[/size]  
  
[size=1em] (2) Setting-up Bitcoin-d.&nbsp; The initial steps of the set-up, [http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html](http://counterpartyd-build.readthedocs.org/en/latest/SettingUpBitcoind.html), which involved setting-up the Bitcoin.conf file and then, in my case, re-indexing the blockchain, seemed to go OK. No problems.[/size]  
  
(3) Building and Running from Source on Windows - Installing.&nbsp; These steps were no problem.&nbsp; I downloaded the 64 bit version of all of the files. Then in the command window I typed the following commands:  
[font=incosolata][size=12px]cd C:\ [/size][/font]  
[font=incosolata][size=12px]git clone [https://github.com/xnova/counterpartyd\_build](https://github.com/xnova/counterpartyd_build) [/size][/font]  
[font=incosolata][size=12px]cd counterpartyd\_build [/size][/font]  
[font=incosolata][size=12px]C:\Python32\python.exe setup.py[/size][/font]  
[size=1em]The installation proceeded without any hickups or problems.&nbsp; It took about 1-2 minutes.&nbsp; At the end I had to answer one question, ie. "Do you want counterpartyd to open automatically on startup.&nbsp; I answered “y” and hit enter.&nbsp; And the process was complete.  
  
 (4) Building and Running from Source on Windows - Running.&nbsp; When I tried to run the C:\Python32\python.exe setup.py command I ended up getting an error related to line 397 and line 400 saying that my rpc-port was missing.&nbsp; After consulting with xnova he instructed me to go to the AppData / Counterparty folder and open my counterparty.conf file and insert the number “400” beside the rpc-port.&nbsp; First of all, it was problematic on my Windows 7 machine to find the AppData folder. I went to C:\Users\MyName\ where my AppData folder was supposed to be and couldn’t find it in the list of folders.&nbsp; Then after Googl’ing a bit for a solution I physically typed in C:\Users\MyName\AppData in my Windows Explorer bar and low-and-behold the AppData folder was there and opened. Once inside the Counterparty folder I was able to open counterparty.conf in WordPad.&nbsp; There are two instances of the term rpc-port within this counterparty.conf file, and it was the bottom one that needed to be changed to 4000.&nbsp; Once I made this change and I re-ran the[font=verdana]C:\Python32\python.exe setup.py command it worked without any problems.[/font][/size]  
  
[size=1em][font=verdana]And then … The Moment of Truth!&nbsp; Once I actually got the [/font][/size][size=small][font=verdana]C:\Python32\python.exe setup.py[/font] [/size][size=1em][font=verdana]command to work it was a continual flow of text on the cmd.exe box, like this:[/font][/size]  
  
[size=1em][font=verdana]Block: 279902[/font][/size]  
[font=verdana][size=1em]Block: 279903[/size][/font]  
[font=verdana][size=1em]Block: 279904[/size][/font]  
[font=verdana][size=small]Block: 279905[/size][/font]  
[font=verdana][size=small]Burn: xxxxxxxxxxxx(public address)xxxxxxx burned 0.99 BTC for 1348.7778888 XCP[/size][/font]  
[font=verdana][size=small]Block: 279906[/size][/font][font=verdana][size=small]etc.[/size][/font]  
  
[font=verdana][size=small]It took quite a while, at least an hour or more, for this step to complete … in fact, it is actually still running so I don’t quite know how long it will go on for…!&nbsp; But it is satisfying to see it chugging away while I type up these notes.[/size][/font]  
  
[font=verdana][size=1em]Good luck to all of you other XCP holders who are trying to set-up Counterpartyd!&nbsp; [/size][/font]  
  
[font=verdana][size=1em]And … Thank you xnova!&nbsp; Thank you phantom phreak!&nbsp; Counterpartyd is such an amazing contribution to the Bitcoin ecosystem - I love you guys![/size][/font]  
[/quote]  
  
  
Thank you for your feedback here! Regarding point number 1, any tutorial you could help write with respect to importing keys from blockchain would be more than helpful. If interested, I’d contact cityglut around that first (just to make sure no one else has wrote one). We could put it up on our FAQ or wiki.  
  
  
Regarding point number 4, I think I have made changes to avoid this being an issue in the future. 🙂   
[/quote]  
  
I have made an FAQ: ["I burned through blockchain.info, how do I access my XCP?](https://counterparty.co/faqs/i-burned-btc-through-blockchain-info-how-do-i-access-my-xcp/). If anyone has any suggestions for how to improve this FAQ, I would greatly appreciate it!

---

<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 3, 2014, 3:28pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/9 "2014-02-03T15:28:15Z")

</div>

> [@](#):
>
> I have made an FAQ: ["I burned through blockchain.info, how do I access my XCP?](https://counterparty.co/faqs/i-burned-btc-through-blockchain-info-how-do-i-access-my-xcp/). If anyone has any suggestions for how to improve this FAQ, I would greatly appreciate it!

---

<div class="post-metadata">

**Author:** ![cityglut](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@cityglut](https://forums.counterparty.io/u/cityglut)\
**Post date:** [February 4, 2014, 3:10am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/10 "2014-02-04T03:10:32Z")

</div>

[quote author=peled1986 link=topic=13.msg72#msg72 date=1391459295]  
[quote author=cityglut link=topic=13.msg51#msg51 date=1391425046]  
I have made an FAQ: ["I burned through blockchain.info, how do I access my XCP?](https://counterparty.co/faqs/i-burned-btc-through-blockchain-info-how-do-i-access-my-xcp/). If anyone has any suggestions for how to improve this FAQ, I would greatly appreciate it!  
[/quote]  
  
  
[size=9pt][font=verdana]great tutorial! worked for me.[/font][/size]  
[size=9pt][font=verdana]one suggestion i think most people have the latest bitcoin-QT version [/font][/size]  
[size=9pt][font=verdana]it will help people i think if you add a direct link to here: [/font][/size][size=7pt][color=blue][https://en.bitcoin.it/wiki/How\_to\_import\_private\_keys\_v7%2B](https://en.bitcoin.it/wiki/How_to_import_private_keys_v7%2B)[/color][/size]  
[size=9pt][font=verdana]it’s better than a link to here:[/font][/size][size=7pt][color=blue][https://en.bitcoin.it/wiki/How\_to\_import\_private\_keys](https://en.bitcoin.it/wiki/How_to_import_private_keys)[/color][/size][size=9pt] or have both.[/size]  
[/quote]  
  
Yeah, I thought about that, as well. I am glad you agree, I will change it accordingly!

---

<div class="post-metadata">

**Author:** ![NotSure](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@NotSure](https://forums.counterparty.io/u/NotSure)\
**Post date:** [February 4, 2014, 5:24am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/11 "2014-02-04T05:24:59Z")

</div>

> [@](#):
>
> size=1em&nbsp; Challenge in Importing Private Keys.&nbsp; I did my burning on my blockchain.info account.&nbsp; So I had to import my private keys from blockchain.info into my BitcoinQt client.&nbsp; This went pretty smoothly, except when you select Export Unencrypted from within your Blockchain.info wallet, it is crucial that you select the "Bitcoin-Qt Format" option from the "SELECT PRIVATE KEY FORMAT" dialogue box at the top of this page before you copy the private key from below.&nbsp; If you don’t do this, the default Base 58 option will result in an "Invalid Private Key (Code -5)" error in the Bitcoin-Qt client when you try and perform the \>importprivkey "copyandpastetheprivatekeyhere" "name".[/size]  
>   
> [/quote]  
>   
>   
> About this point, if you don’t want to import all your keys but only the one with you did the burn, the simplest way I’ve found is to open a "paper wallet" PDF in blockchain info, and copy paste the corresponding keys into QT console with the importprivkey command.  
>   
>   
>   
> If you do a clean install, to speed up the process, you can download a bootstrap.dat file via torrent. Il should speed up the first 13Go on blockchain download/indexing [https://bitcointalk.org/index.php?topic=145386.0](https://bitcointalk.org/index.php?topic=145386.0)  
>   
>   
>   
> [font=verdana]When I start counterpartyd for the first time after a clean install (with the correct conf), with bictoind running, I’ve got this message   
>   
> [/font][quote][font=verdana]  
> Status: RESTART  
> Status: NEW DATABASE  
> Block: 278270  
> Block: 278271[/font]  
> [font=verdana]Block: 278272[/font]  
> [font=verdana]…[/font]  
> [/quote][font=verdana]  
>   
> Is it normal ? I’m using counterparty.exe under windows. Block 278270 is just before the beginning of the burn perdio if I’m right.[/font]  
>   
> [font=verdana]EDIT : ok I guess this FAQ entry answers my question : [/font]  
> [quote][font=verdana][font=Verdana]Once it has scanned up to the most recent block, you can use counterpartyd’s full functionality.[/font][/font]

---

<div class="post-metadata">

**Author:** ![aQuant](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@aQuant](https://forums.counterparty.io/u/aQuant)\
**Post date:** [February 4, 2014, 7:57pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/12 "2014-02-04T19:57:20Z")

</div>

I’ve successfully sent an order, but I can’t run all the commands because something is wrong with the parser.  
  
When I issue: counterpartyd -h  
  
I get:  
  
`<br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 301, in <module><br />&nbsp; &nbsp; args = parser.parse_args()<br />&nbsp; File &quot;c:\\Python32\\Lib\\argparse.py&quot;, line 1697, in parse_args<br />&nbsp; &nbsp; args, argv = self.parse_known_args(args, namespace)<br />&nbsp; File &quot;c:\\Python32\\Lib\\argparse.py&quot;, line 1729, in parse_known_args<br />&nbsp; &nbsp; namespace, args = self._parse_known_args(args, namespace)<br />&nbsp; File &quot;c:\\Python32\\Lib\\argparse.py&quot;, line 1935, in _parse_known_args<br />&nbsp; &nbsp; start_index = consume_optional(start_index)<br />&nbsp; File &quot;c:\\Python32\\Lib\\argparse.py&quot;, line 1875, in consume_optional<br />&nbsp; &nbsp; take_action(action, args, option_string)<br />&nbsp; File &quot;c:\\Python32\\Lib\\argparse.py&quot;, line 1803, in take_action<br />&nbsp; &nbsp; action(self, namespace, argument_values, option_string)<br />&nbsp; File &quot;c:\\Python32\\Lib\\argparse.py&quot;, line 990, in __call__ <br />&nbsp; &nbsp; parser.print_help()<br />&nbsp; File &quot;c:\\Python32\\Lib\\argparse.py&quot;, line 2341, in print_help<br />&nbsp; &nbsp; self._print_message(self.format_help(), file)<br />&nbsp; File &quot;c:\\Python32\\Lib\\argparse.py&quot;, line 2355, in _print_message<br />&nbsp; &nbsp; file.write(message)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 34, in write<br />&nbsp; &nbsp; self.__convertor.write(text)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 115, in write<br />&nbsp; &nbsp; self.write_and_convert(text)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 142, in write_and_convert<br />&nbsp; &nbsp; self.write_plain_text(text, cursor, len(text))<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 147, in write_plain_text<br />&nbsp; &nbsp; self.wrapped.write(text[start:end])<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\encodings\\cp437.py&quot;, line 19, in encode<br />&nbsp; &nbsp; return codecs.charmap_encode(input,self.errors,encoding_map)[0]<br />UnicodeEncodeError: 'charmap' codec can't encode character '\\u2010' in position 2613: character maps to <undefined><br />`  
  
When I issue: order -h and market -h it works fine.  
  
When I issue: market --get-asset BTC&nbsp;   
  
I get:  
  
`<br /><br />Open Orders<br />+---------------+------------+--------------+-----------+---------+--------------+--------+-----------+------------<br />----+<br />| Give Quantity | Give Asset | Get Quantity | Get Asset |&nbsp; Price&nbsp; | Price Assets |&nbsp; Fee&nbsp; | Time Left |&nbsp; &nbsp; &nbsp; Tx Ha<br />&nbsp; &nbsp; |<br />+---------------+------------+--------------+-----------+---------+--------------+--------+-----------+------------<br />----+<br />|&nbsp; &nbsp; &nbsp; 10.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 0.075&nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0075 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 52&nbsp; &nbsp; | 227085bb...<br />6a7 |<br />|&nbsp; &nbsp; &nbsp; 20.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 0.15&nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0075 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 254&nbsp; &nbsp; | 77d275c9...<br />be9 |<br />|&nbsp; &nbsp; &nbsp; 80.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 0.6&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0075 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 455&nbsp; &nbsp; | a74fef11...<br />b48 |<br />|&nbsp; 776.6745212&nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 5.824&nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0075 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 841&nbsp; &nbsp; | 8fcc8a5b...<br />216 |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 7.6&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0076 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 843&nbsp; &nbsp; | 2e1687c9...<br />2bf |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 7.7&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0077 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 843&nbsp; &nbsp; | 3eb696a7...<br />3a0 |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 7.8&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0078 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 843&nbsp; &nbsp; | 639224d3...<br />fad |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 7.9&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0079 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 843&nbsp; &nbsp; | 5b94b078...<br />1bf |<br />|&nbsp; &nbsp; &nbsp; 15.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 0.12&nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0080 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 971&nbsp; &nbsp; | abdd6e73...<br />2bf |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 8.0&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0080 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 843&nbsp; &nbsp; | 16482b25...<br />d3b |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 8.1&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0081 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 843&nbsp; &nbsp; | eea65671...<br />80b |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 8.2&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0082 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 843&nbsp; &nbsp; | 07b85894...<br />3fb |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 8.3&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0083 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 844&nbsp; &nbsp; | e06b2c33...<br />c27 |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 8.4&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0084 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 844&nbsp; &nbsp; | 94b8b182...<br />735 |<br />| 1000.18181818 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 8.5&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0085 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 844&nbsp; &nbsp; | da22e9db...<br />4bf |<br />|&nbsp; 100.01818182 |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 0.86&nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0086 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 953&nbsp; &nbsp; | 4b8d3c3c...<br />425 |<br />|&nbsp; &nbsp; &nbsp; 50.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 0.485&nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0097 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 836&nbsp; &nbsp; | 7633b081...<br />e5b |<br />|&nbsp; 59.8139372&nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; 0.5922172&nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0099 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 671&nbsp; &nbsp; | d031317c...<br />203 |<br />|&nbsp; &nbsp; 100.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 1.0&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0100 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 843&nbsp; &nbsp; | a733147e...<br />8e1 |<br />|&nbsp; &nbsp; 100.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 1.0&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0100 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 6885&nbsp; | a868b9ba...<br />902 |<br />|&nbsp; &nbsp; 250.0&nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 5.0&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.0200 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 1278&nbsp; | 4eb6e520...<br />7e9 |<br />|&nbsp; &nbsp; &nbsp; 1.0&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 0.1&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; |&nbsp; 0.1000 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; 61660&nbsp; | fa8b7e8f...<br />cf9 |<br />|&nbsp; &nbsp; &nbsp; 0.1&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; XCP&nbsp; &nbsp; |&nbsp; &nbsp; 1.0&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; BTC&nbsp; &nbsp; | 10.0000 |&nbsp; BTC/XCP&nbsp; &nbsp; | 0.0001 |&nbsp; &nbsp; 6294&nbsp; | c8449620...<br />2a5 |<br />+---------------+------------+--------------+-----------+---------+--------------+--------+-----------+------------<br />----+<br /><br /><br />Open Bets<br />+----------+------------------------------------+---------------------------+--------------+----------+-------+----<br />-----+--------+-----------+---------------------+<br />| Bet Type |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Feed Address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Deadline&nbsp; &nbsp; &nbsp; &nbsp; | Target Value | Leverage | Wager | Cou<br />ager |&nbsp; Odds&nbsp; | Time Left |&nbsp; &nbsp; &nbsp; Tx Hash&nbsp; &nbsp; &nbsp; |<br />+----------+------------------------------------+---------------------------+--------------+----------+-------+----<br />-----+--------+-----------+---------------------+<br />|&nbsp; Equal&nbsp; | 1QBPsB2ea61vWTNA9nGUhaHqPQB4SXF4fN | 2014-02-03T05:00:00-05:00 |&nbsp; &nbsp; 2.0&nbsp; &nbsp; &nbsp; |&nbsp; 1.0000&nbsp; | 0 XCP |&nbsp; 0<br />P&nbsp; &nbsp; | 1.0000 |&nbsp; &nbsp; 486&nbsp; &nbsp; | c1cfe031...e7875038 |<br />+----------+------------------------------------+---------------------------+--------------+----------+-------+----<br />-----+--------+-----------+---------------------+<br /><br /><br />Order Matches Awaiting BTC Payment<br />+------------------+-----------+<br />| Matched Order ID | Time Left |<br />+------------------+-----------+<br />+------------------+-----------+<br /><br /><br />Feeds<br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 661, in <module><br />&nbsp; &nbsp; market(args.give_asset, args.get_asset)<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 79, in market<br />&nbsp; &nbsp; print(str(table))<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 34, in write<br />&nbsp; &nbsp; self.__convertor.write(text)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 115, in write<br />&nbsp; &nbsp; self.write_and_convert(text)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 142, in write_and_convert<br />&nbsp; &nbsp; self.write_plain_text(text, cursor, len(text))<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 147, in write_plain_text<br />&nbsp; &nbsp; self.wrapped.write(text[start:end])<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\encodings\\cp437.py&quot;, line 19, in encode<br />&nbsp; &nbsp; return codecs.charmap_encode(input,self.errors,encoding_map)[0]<br />UnicodeEncodeError: 'charmap' codec can't encode character '\\u2026' in position 536: character maps to <undefined><br />`  
  
Windows 7 machine, 64-bit.  
  
I’m looking into this myself, but I’ll bet the devs are quicker than I.

---

<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 4, 2014, 9:03pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/13 "2014-02-04T21:03:45Z")

</div>

When I start [tt]counterpartyd server[/tt] command, below error happened:  
  
  
How to fix the ‘[font=dejavu sans mono][size=x-small]AssertionError’ error?[/size][/font]  
  
  
`c:\\counterpartyd_build>counterpartyd server<br /><br /><br />c:\\counterpartyd_build>echo off<br />Status: RESTART<br />Block: 284193<br />Send: 100.0 of asset XCP from 1FueYJfpS7Q92qHGGrbr5d4r5qn4Lz56To to 1KKPcuXvYkEq<br />wjFRUWuDUFcLk3YQgXfVbQ (b5f95848...8fd4d9f3)<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 682, i<br />n <module><br />&nbsp; &nbsp; blocks.follow(db)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\blocks.py&quot;, line 534, in f<br />ollow<br />&nbsp; &nbsp; parse_block(db, block_index)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\blocks.py&quot;, line 64, in pa<br />rse_block<br />&nbsp; &nbsp; cancel.parse(db, tx, message)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\cancel.py&quot;, line 61, in pa<br />rse<br />&nbsp; &nbsp; util.credit(db, tx['source'], order['give_asset'], order['give_remaining'])<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 257, in cre<br />dit<br />&nbsp; &nbsp; assert asset != 'BTC' # Never BTC.<br />AssertionError<br /><br /><br />c:\\counterpartyd_build>`

---

<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 4, 2014, 9:08pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/14 "2014-02-04T21:08:01Z")

</div>

[quote author=aQuant link=topic=13.msg161#msg161 date=1391561840]  
I’ve successfully sent an order, but I can’t run all the commands because something is wrong with the parser.  
`<br />Feeds<br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 661, in <module><br />&nbsp; &nbsp; market(args.give_asset, args.get_asset)<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 79, in market<br />&nbsp; &nbsp; print(str(table))<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 34, in write<br />&nbsp; &nbsp; self.__convertor.write(text)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 115, in write<br />&nbsp; &nbsp; self.write_and_convert(text)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 142, in write_and_convert<br />&nbsp; &nbsp; self.write_plain_text(text, cursor, len(text))<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 147, in write_plain_text<br />&nbsp; &nbsp; self.wrapped.write(text[start:end])<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\encodings\\cp437.py&quot;, line 19, in encode<br />&nbsp; &nbsp; return codecs.charmap_encode(input,self.errors,encoding_map)[0]<br />UnicodeEncodeError: 'charmap' codec can't encode character '\\u2026' in position 536: character maps to <undefined><br />`  
  
Windows 7 machine, 64-bit.  
  
I’m looking into this myself, but I’ll bet the devs are quicker than I.  
[/quote]  
  
  
This is because feed text can contain unicode characters, and Windows command terminal (cmd.exe) chokes on that.   
  
  
This issue is fixed in the develop branch. In the meantime, try running “powershell” command before you run counterparty and see if that helps.

---

<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 4, 2014, 9:09pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/15 "2014-02-04T21:09:08Z")

</div>

[quote author=520Bit link=topic=13.msg176#msg176 date=1391565825]  
When I start [tt]counterpartyd server[/tt] command, below error happened:  
  
  
How to fix the ‘[font=dejavu sans mono][size=x-small]AssertionError’ error?[/size][/font]  
  
  
`c:\\counterpartyd_build>counterpartyd server<br /><br /><br />c:\\counterpartyd_build>echo off<br />Status: RESTART<br />Block: 284193<br />Send: 100.0 of asset XCP from 1FueYJfpS7Q92qHGGrbr5d4r5qn4Lz56To to 1KKPcuXvYkEq<br />wjFRUWuDUFcLk3YQgXfVbQ (b5f95848...8fd4d9f3)<br />Traceback (most recent call last):<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 682, i<br />n <module><br />&nbsp; &nbsp; blocks.follow(db)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\blocks.py&quot;, line 534, in f<br />ollow<br />&nbsp; &nbsp; parse_block(db, block_index)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\blocks.py&quot;, line 64, in pa<br />rse_block<br />&nbsp; &nbsp; cancel.parse(db, tx, message)<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\cancel.py&quot;, line 61, in pa<br />rse<br />&nbsp; &nbsp; util.credit(db, tx['source'], order['give_asset'], order['give_remaining'])<br />&nbsp; File &quot;c:\\counterpartyd_build\\dist\\counterpartyd\\lib\\util.py&quot;, line 257, in cre<br />dit<br />&nbsp; &nbsp; assert asset != 'BTC' # Never BTC.<br />AssertionError<br /><br /><br />c:\\counterpartyd_build>`  
[/quote]  
  
  
This is a fixed bug. Please refresh from git: [http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#id4](http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#id4)

---

<div class="post-metadata">

**Author:** ![aQuant](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@aQuant](https://forums.counterparty.io/u/aQuant)\
**Post date:** [February 4, 2014, 10:59pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/16 "2014-02-04T22:59:07Z")

</div>

Post deleted.&nbsp; These devs are fast.

---

<div class="post-metadata">

**Author:** ![aQuant](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@aQuant](https://forums.counterparty.io/u/aQuant)\
**Post date:** [February 4, 2014, 11:05pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/17 "2014-02-04T23:05:34Z")

</div>

[quote author=xnova link=topic=13.msg177#msg177 date=1391566081]  
[quote author=aQuant link=topic=13.msg161#msg161 date=1391561840]  
I’ve successfully sent an order, but I can’t run all the commands because something is wrong with the parser.  
`<br />Feeds<br />Traceback (most recent call last):<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 661, in <module><br />&nbsp; &nbsp; market(args.give_asset, args.get_asset)<br />&nbsp; File &quot;C:\\counterpartyd_build\\dist\\counterpartyd\\counterpartyd.py&quot;, line 79, in market<br />&nbsp; &nbsp; print(str(table))<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 34, in write<br />&nbsp; &nbsp; self.__convertor.write(text)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 115, in write<br />&nbsp; &nbsp; self.write_and_convert(text)<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 142, in write_and_convert<br />&nbsp; &nbsp; self.write_plain_text(text, cursor, len(text))<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\site-packages\\colorama\\ansitowin32.py&quot;, line 147, in write_plain_text<br />&nbsp; &nbsp; self.wrapped.write(text[start:end])<br />&nbsp; File &quot;C:\\counterpartyd_build\\env\\lib\\encodings\\cp437.py&quot;, line 19, in encode<br />&nbsp; &nbsp; return codecs.charmap_encode(input,self.errors,encoding_map)[0]<br />UnicodeEncodeError: 'charmap' codec can't encode character '\\u2026' in position 536: character maps to <undefined><br />`  
  
Windows 7 machine, 64-bit.  
  
I’m looking into this myself, but I’ll bet the devs are quicker than I.  
[/quote]  
  
  
This is because feed text can contain unicode characters, and Windows command terminal (cmd.exe) chokes on that.   
  
  
This issue is fixed in the develop branch. In the meantime, try running “powershell” command before you run counterparty and see if that helps.  
[/quote]  
  
  
UPDATE/EDIT: I’ve just stumbled into a place where I probably don’t belong.&nbsp; While the note below “worked”, there is some definite things that I don’t know about w.r.t. encoding.  
  
Thanks.&nbsp; I’ve been running powershell all along.&nbsp; I figured out that I could fix it by setting PYTHONIOENCODING=UTF-8.&nbsp; For other people who could have similar issues,&nbsp; search “Edit System Environment Variables” in the start menu.&nbsp; Add PYTHONIOENCODING.&nbsp; Set it to UTF-8.  
  
Warning: I’m new.&nbsp; This fix could unknowingly cause other problems, depending on how certain non-alphanumeric characters are used in the code.&nbsp; For instance, I already see an issue in the help string for the --force command.

---

<div class="post-metadata">

**Author:** ![l8orre](https://avatars.discourse-cdn.com/v4/letter/l/45deac/32.png) [@l8orre](https://forums.counterparty.io/u/l8orre)\
**Post date:** [February 5, 2014, 5:57am UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/18 "2014-02-05T05:57:14Z")

</div>

Hey Guys,   
  
I seem to have an issue with the proper jsonrpc lib …  
&nbsp; &nbsp;   
I am using Ubuntu - are there any other linuc users here?  
  
  
 I still have to find out which jsonrpc counterpartyd is using, because my python3 has apparently a wrong one … …  
  
  
  
azure@boxfish:~/workbench/counterparty/counterpartyd$ python3 counterpartyd.py   
Traceback (most recent call last):  
&nbsp; File "counterpartyd.py", line 22, in   
&nbsp; &nbsp; from lib import (config, api, zeromq, util, exceptions, bitcoin, blocks)  
&nbsp; File "/home/azure/workbench/counterparty/counterpartyd/lib/api.py", line 16, in   
&nbsp; &nbsp; from jsonrpc import JSONRPCResponseManager, dispatcher  
ImportError: cannot import name JSONRPCResponseManager  
azure@boxfish:~/workbench/counterparty/counterpartyd$   
  
  
any hints would be appreciated&nbsp; ![](https://forums.counterparty.co/Smileys/default/huh.gif)

---

<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 5, 2014, 2:34pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/19 "2014-02-05T14:34:50Z")

</div>

I have followed steps to build from source.&nbsp; I typed in the commands but I got this error   
  
Requirement already satisfied (use --upgrade to upgrade): appdirs==1.2.0 in c:\p  
ython32\lib\site-packages  
Cleaning up…  
2014-02-05 19:33:55,174|WARNING: Deleting existing virtualenv…  
Traceback (most recent call last):  
&nbsp; File “setup.py”, line 488, in   
&nbsp; &nbsp; main()  
&nbsp; File “setup.py”, line 479, in main  
&nbsp; &nbsp; create\_virtualenv(paths, with\_counterwalletd)  
&nbsp; File “setup.py”, line 277, in create\_virtualenv  
&nbsp; &nbsp; create\_venv(paths[‘env\_path’], paths[‘pip\_path’], paths[‘python\_path’], path  
s[‘virtualenv\_args’], ‘reqs.txt’)  
&nbsp; File “setup.py”, line 264, in create\_venv  
&nbsp; &nbsp; \_rmtree(env\_path)  
&nbsp; File “setup.py”, line 67, in \_rmtree  
&nbsp; &nbsp; \_rmtree(fullpath)  
&nbsp; File “setup.py”, line 65, in \_rmtree  
&nbsp; &nbsp; rmgeneric(fullpath, f)  
&nbsp; File “setup.py”, line 49, in rmgeneric  
&nbsp; &nbsp; import win32api, win32con  
ImportError: No module named win32api  
  
Any suggestions?

---

<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 5, 2014, 2:55pm UTC](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40/20 "2014-02-05T14:55:03Z")

</div>

Forget my last message - I think I got passed that stage  
  
Thanks

[Next page](https://forums.counterparty.io/t/counterpartyd-build-system-technical-support-thread/40.md?page=2)
