Asterios
Newbie
Offline
Activity: 58
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 02, 2014, 10:51:48 PM |
|
Ok, i am getting error messages since the last Block. Any idea, guys? Block: 283811 Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 682, i n <module> blocks.follow(db) File "C:\counterpartyd_build\dist\counterpartyd\lib\blocks.py", line 534, in f ollow parse_block(db, block_index) File "C:\counterpartyd_build\dist\counterpartyd\lib\blocks.py", line 39, in pa rse_block burn.parse(db, tx) File "C:\counterpartyd_build\dist\counterpartyd\lib\burn.py", line 76, in pars e 'burned': burned, UnboundLocalError: local variable 'burned' referenced before assignment I'm on it. I pushed a hotfix to the master branch, but develop should have been fine. But Blockscan is stuck, and I thought that it was running on develop... If you're getting the error, what branch are you on? I am on master. It works now after the hotfix. Thank you very much ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
Asterios
Newbie
Offline
Activity: 58
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 02, 2014, 10:57:15 PM |
|
I am getting another error in the "market". What anyone else? Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 661, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 79, in market print(str(table)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u2026' in position 693: character maps to <undefined>
|
|
|
|
PhantomPhreak (OP)
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 02, 2014, 11:20:47 PM |
|
I am getting another error in the "market". What anyone else? Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 661, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 79, in market print(str(table)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u2026' in position 693: character maps to <undefined> The Windows terminal has trouble with Unicode. I'll try to write a workaround.
|
|
|
|
Bitye West
Newbie
Offline
Activity: 56
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 02, 2014, 11:26:24 PM |
|
I'm selling 800 XCP for 8 BTC over in the buy/sell thread. PM me if you're interested. .01 BTC/XCP gives XCP a market cap of 26,487 BTC. This puts XCP as the #10 crypto on http://coinmarketcap.com/Right above ProtoShares and right below Quark. Price could easily double up to 50,000 BTC market cap in the coming weeks.
|
|
|
|
ginko-B
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 82
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 02, 2014, 11:30:02 PM |
|
I am trying to install the Counterpartyd client on a Windows machine. I have followed the instructions: http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#on-windows. I am at the "Running from Source" step (command: C:\counterpartyd_build>C:\Python32\python.exe run.py server), but I get the following error in the cmd.exe box: ++++++++ Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 397, in <module> int(config.RPC_PORT) ValueError: invalid literal for int() with base 10: '' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 400, in <module> raise Exception("Please specific a valid port number rpc-port configuration parameter") Exception: Please specific a valid port number rpc-port configuration parameter ++++++++ Does anyone know what I am doing wrong? I am so excited to get Counterparty installed!!! Can someone please help troubleshoot this error message? Any ideas? Feeling pretty frustrated.
|
|
|
|
Patel
Legendary
Offline
Activity: 1321
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 02, 2014, 11:32:38 PM |
|
I am trying to install the Counterpartyd client on a Windows machine. I have followed the instructions: http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#on-windows. I am at the "Running from Source" step (command: C:\counterpartyd_build>C:\Python32\python.exe run.py server), but I get the following error in the cmd.exe box: ++++++++ Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 397, in <module> int(config.RPC_PORT) ValueError: invalid literal for int() with base 10: '' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 400, in <module> raise Exception("Please specific a valid port number rpc-port configuration parameter") Exception: Please specific a valid port number rpc-port configuration parameter ++++++++ Does anyone know what I am doing wrong? I am so excited to get Counterparty installed!!! Can someone please help troubleshoot this error message? Any ideas? Feeling pretty frustrated. Add a port to your counterparty.conf in AppData/Counterparty folder. I use port 4000.
|
|
|
|
xnova
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 390
Merit: 254
Counterparty Developer
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 02, 2014, 11:49:20 PM |
|
I am trying to install the Counterpartyd client on a Windows machine. I have followed the instructions: http://counterpartyd-build.readthedocs.org/en/latest/BuildingFromSource.html#on-windows. I am at the "Running from Source" step (command: C:\counterpartyd_build>C:\Python32\python.exe run.py server), but I get the following error in the cmd.exe box: ++++++++ Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 397, in <module> int(config.RPC_PORT) ValueError: invalid literal for int() with base 10: '' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 400, in <module> raise Exception("Please specific a valid port number rpc-port configuration parameter") Exception: Please specific a valid port number rpc-port configuration parameter ++++++++ Does anyone know what I am doing wrong? I am so excited to get Counterparty installed!!! Can someone please help troubleshoot this error message? Any ideas? Feeling pretty frustrated. Add a port to your counterparty.conf in AppData/Counterparty folder. I use port 4000. Yes, in your counterparty.conf, try adding: rpc-port=4000 I modified the setup code so it doesn't add this rpc-port= line anymore (it shouldn't matter though, since counterparty should use the default if it's blank)
|
|
|
|
PhantomPhreak (OP)
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:24:00 AM |
|
I am getting another error in the "market". What anyone else? Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 661, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 79, in market print(str(table)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u2026' in position 693: character maps to <undefined> The Windows terminal has trouble with Unicode. I'll try to write a workaround. There's a partial fix in the master branch now. I don't have a Windows computer, however, so it's pretty much untested. Let me know if it works!
|
|
|
|
Bitye West
Newbie
Offline
Activity: 56
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:34:01 AM |
|
Install bitcoin, install the counterparty client, place an order:
C:\counterpartyd>python counterpartyd.py order usage: counterpartyd order [-h] --from SOURCE --get-quantity GET_QUANTITY --get-asset GET_ASSET --give-quantity GIVE_QUANTITY --give-asset GIVE_ASSET --expiration EXPIRATION [--fee_required FEE_REQUIRED] [--fee_provided FEE_PROVIDED]
GET_ASSET would be XCP and GIVE_ASSET would be BTC if buying XCP. Expiration is in blocks.
Submit, and wait for an order match. Then use btcpay to pay for the order.
There, completely trustless and decentralized.
So if I want to sell 800 XCP for 8 BTC I would place the following order: C:\counterpartyd>python counterpartyd.py order usage: counterpartyd order [-h] --from SOURCE --get-quantity GET_QUANTITY --get-asset GET_ASSET --give-quantity GIVE_QUANTITY --give-asset GIVE_ASSET --expiration EXPIRATION [--fee_required FEE_REQUIRED] [--fee_provided FEE_PROVIDED] GET_QUANTITY is 8 GET_ASSET is BTC GIVE_QUANTITY is 800 GIVE_ASSET is XCP EXPIRATION is the actual block number I want it to expire at? example: 283905 What do I input for SOURCE, FEE_REQUIRED, AND FEE_PROVIDED?
|
|
|
|
Asterios
Newbie
Offline
Activity: 58
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:37:51 AM |
|
I am getting another error in the "market". What anyone else? Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 661, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 79, in market print(str(table)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u2026' in position 693: character maps to <undefined> The Windows terminal has trouble with Unicode. I'll try to write a workaround. There's a partial fix in the master branch now. I don't have a Windows computer, however, so it's pretty much untested. Let me know if it works! No, sorry PhantomPhreak. It is not working. Here is the error message: Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 667, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 86, in market print_(str(table)) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 33, in print_ print(foo.encode('utf-8').decode('latin-1')) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\x80' in position 69 4: character maps to <undefined> Even the run.py wallet is not working anymore (was working before). Error: C:\counterpartyd_build>run.py wallet Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 634, i n <module> print_() TypeError: print_() takes exactly 1 argument (0 given)
|
|
|
|
PhantomPhreak (OP)
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:38:47 AM |
|
Install bitcoin, install the counterparty client, place an order:
C:\counterpartyd>python counterpartyd.py order usage: counterpartyd order [-h] --from SOURCE --get-quantity GET_QUANTITY --get-asset GET_ASSET --give-quantity GIVE_QUANTITY --give-asset GIVE_ASSET --expiration EXPIRATION [--fee_required FEE_REQUIRED] [--fee_provided FEE_PROVIDED]
GET_ASSET would be XCP and GIVE_ASSET would be BTC if buying XCP. Expiration is in blocks.
Submit, and wait for an order match. Then use btcpay to pay for the order.
There, completely trustless and decentralized.
So if I want to sell 800 XCP for 8 BTC I would place the following order: C:\counterpartyd>python counterpartyd.py order usage: counterpartyd order [-h] --from SOURCE --get-quantity GET_QUANTITY --get-asset GET_ASSET --give-quantity GIVE_QUANTITY --give-asset GIVE_ASSET --expiration EXPIRATION [--fee_required FEE_REQUIRED] [--fee_provided FEE_PROVIDED] GET_QUANTITY is 8 GET_ASSET is BTC GIVE_QUANTITY is 800 GIVE_ASSET is XCP EXPIRATION is the actual block number I want it to expire at? example: 283905 What do I input for SOURCE, FEE_REQUIRED, AND FEE_PROVIDED? $ counterpartyd.py order --help usage: counterpartyd order [-h] --from SOURCE --get-quantity GET_QUANTITY --get-asset GET_ASSET --give-quantity GIVE_QUANTITY --give-asset GIVE_ASSET --expiration EXPIRATION [--fee_required FEE_REQUIRED] [--fee_provided FEE_PROVIDED]
optional arguments: -h, --help show this help message and exit --from SOURCE the source address --get-quantity GET_QUANTITY the quantity of GET_ASSET that you would like to receive --get-asset GET_ASSET the asset that you would like to sell --give-quantity GIVE_QUANTITY the quantity of GIVE_ASSET that you are willing to give --give-asset GIVE_ASSET the asset that you would like to buy --expiration EXPIRATION the number of blocks for which the order should be valid --fee_required FEE_REQUIRED the miners' fee required to be paid by orders for them to match this one; in BTC; required iff buying BTC (may be zero, though) --fee_provided FEE_PROVIDED the miners' fee provided; in BTC; required iff selling BTC (should not be lower than is required for acceptance in a block) $
|
|
|
|
Bitye West
Newbie
Offline
Activity: 56
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:44:02 AM |
|
Install bitcoin, install the counterparty client, place an order:
C:\counterpartyd>python counterpartyd.py order usage: counterpartyd order [-h] --from SOURCE --get-quantity GET_QUANTITY --get-asset GET_ASSET --give-quantity GIVE_QUANTITY --give-asset GIVE_ASSET --expiration EXPIRATION [--fee_required FEE_REQUIRED] [--fee_provided FEE_PROVIDED]
GET_ASSET would be XCP and GIVE_ASSET would be BTC if buying XCP. Expiration is in blocks.
Submit, and wait for an order match. Then use btcpay to pay for the order.
There, completely trustless and decentralized.
So if I want to sell 800 XCP for 8 BTC I would place the following order: C:\counterpartyd>python counterpartyd.py order usage: counterpartyd order [-h] --from SOURCE --get-quantity GET_QUANTITY --get-asset GET_ASSET --give-quantity GIVE_QUANTITY --give-asset GIVE_ASSET --expiration EXPIRATION [--fee_required FEE_REQUIRED] [--fee_provided FEE_PROVIDED] GET_QUANTITY is 8 GET_ASSET is BTC GIVE_QUANTITY is 800 GIVE_ASSET is XCP EXPIRATION is the actual block number I want it to expire at? example: 283905 What do I input for SOURCE, FEE_REQUIRED, AND FEE_PROVIDED? $ counterpartyd.py order --help usage: counterpartyd order [-h] --from SOURCE --get-quantity GET_QUANTITY --get-asset GET_ASSET --give-quantity GIVE_QUANTITY --give-asset GIVE_ASSET --expiration EXPIRATION [--fee_required FEE_REQUIRED] [--fee_provided FEE_PROVIDED]
optional arguments: -h, --help show this help message and exit --from SOURCE the source address --get-quantity GET_QUANTITY the quantity of GET_ASSET that you would like to receive --get-asset GET_ASSET the asset that you would like to sell --give-quantity GIVE_QUANTITY the quantity of GIVE_ASSET that you are willing to give --give-asset GIVE_ASSET the asset that you would like to buy --expiration EXPIRATION the number of blocks for which the order should be valid --fee_required FEE_REQUIRED the miners' fee required to be paid by orders for them to match this one; in BTC; required iff buying BTC (may be zero, though) --fee_provided FEE_PROVIDED the miners' fee provided; in BTC; required iff selling BTC (should not be lower than is required for acceptance in a block) $
If GET_QUANTITY is the quantity of GET_ASSET you would like to receive Shouldn't GET_ASSET be the asset you would like to receive (buy)? It looks to me like the words "buy" and "sell" are mixed up in the above code.
|
|
|
|
PhantomPhreak (OP)
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:45:46 AM |
|
I am getting another error in the "market". What anyone else? Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 661, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 79, in market print(str(table)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u2026' in position 693: character maps to <undefined> The Windows terminal has trouble with Unicode. I'll try to write a workaround. There's a partial fix in the master branch now. I don't have a Windows computer, however, so it's pretty much untested. Let me know if it works! No, sorry PhantomPhreak. It is not working. Here is the error message: Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 667, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 86, in market print_(str(table)) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 33, in print_ print(foo.encode('utf-8').decode('latin-1')) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\x80' in position 69 4: character maps to <undefined> Even the run.py wallet is not working anymore (was working before). Error: C:\counterpartyd_build>run.py wallet Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 634, i n <module> print_() TypeError: print_() takes exactly 1 argument (0 given) I guess that your best bet is to use an old version for now. xnova usually handles the Windows support, and he should be able to fix the issue soon. I've reverted that commit, of course.
|
|
|
|
PhantomPhreak (OP)
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:46:55 AM |
|
If GET_QUANTITY is the quantity of GET_ASSET you would like to receive
Shouldn't GET_ASSET be the asset you would like to receive (buy)?
That's correct.
|
|
|
|
Bitye West
Newbie
Offline
Activity: 56
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:49:00 AM |
|
If GET_QUANTITY is the quantity of GET_ASSET you would like to receive
Shouldn't GET_ASSET be the asset you would like to receive (buy)?
That's correct. It looks like the words "buy" and "sell" are mixed up in the help code you provided then. I made the changes in red: optional arguments: -h, --help show this help message and exit --from SOURCE the source address --get-quantity GET_QUANTITY the quantity of GET_ASSET that you would like to receive --get-asset GET_ASSET the asset that you would like to sell buy --give-quantity GIVE_QUANTITY the quantity of GIVE_ASSET that you are willing to give --give-asset GIVE_ASSET the asset that you would like to buy sell --expiration EXPIRATION the number of blocks for which the order should be valid --fee_required FEE_REQUIRED the miners' fee required to be paid by orders for them to match this one; in BTC; required iff buying BTC (may be zero, though) --fee_provided FEE_PROVIDED the miners' fee provided; in BTC; required iff selling BTC (should not be lower than is required for acceptance in a block) $
|
|
|
|
PhantomPhreak (OP)
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 476
Merit: 300
Counterparty Chief Scientist and Co-Founder
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:53:08 AM |
|
If GET_QUANTITY is the quantity of GET_ASSET you would like to receive
Shouldn't GET_ASSET be the asset you would like to receive (buy)?
That's correct. It looks like the words "buy" and "sell" are mixed up in the help code you provided then. I made the changes in red: optional arguments: -h, --help show this help message and exit --from SOURCE the source address --get-quantity GET_QUANTITY the quantity of GET_ASSET that you would like to receive --get-asset GET_ASSET the asset that you would like to sell buy --give-quantity GIVE_QUANTITY the quantity of GIVE_ASSET that you are willing to give --give-asset GIVE_ASSET the asset that you would like to buy sell --expiration EXPIRATION the number of blocks for which the order should be valid --fee_required FEE_REQUIRED the miners' fee required to be paid by orders for them to match this one; in BTC; required iff buying BTC (may be zero, though) --fee_provided FEE_PROVIDED the miners' fee provided; in BTC; required iff selling BTC (should not be lower than is required for acceptance in a block) $ Nice catch! Thanks.
|
|
|
|
520Bit
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:58:14 AM |
|
To invest in XCP and Counterparty, switch Bitcoind/Bitcoin-Qt and counterpartyd over to mainnet simultaneously. Use the command-line switch -testnet=0 with Bitcoind or remove any 'testnet=1' from the Bitcoind configuration file temporarily; then do the same for counterpartyd by both not using the --testnet flag and (again, temporarily) removing 'testnet=1' from counterpartd.conf.
Make sure that Bitcoind and the counterparty server are running, and then run ./counterparty --rpc-password=PASSWORD burn --from=ADDRESS --quantity=QUANTITY, where 'PASSWORD' is the password used to access Bitcoind's RPC interface, 'ADDRESS' is an address in your Bitcoind wallet with sufficient bitcoins, and 'QUANTITY' is the quantity of BTC that you would like to burn.
No more than 1 BTC may ever be burned by any address, and the number of XCP received per BTC is between 1000 and 1500, with more XCP being rewarded the earlier in the burn period the burn takes place. The burn period is 5000 blocks, starting today, and the reward bonus decreases linearly with block index.
To see how many BTC you have burned, and how many XCP you have earned, run ./counterparty --rpc-password=PASSWORD address ADDRESS.
Of course, you can burn Test BTC on testnet to have XCP to play with there.
To get a rough idea of how many BTC have been burned so far, see https://blockchain.info/address/1CounterpartyXXXXXXXXXXXXXXXUWLpVr. Note that this page may show some false positives. You cannot just send bitcoins to that address with any client and expect to have them be properly burned. For more instructions on how to burn, e.g. with a Blockchain.info wallet, see Read The Docs.The burn period is over. Try out the distributed exchange! Great, the burn period is over now. It is funny, the last burn is also an advertisement. https://blockchain.info/tx/4560d0e3d04927108b615ab106040489aca9c4aceedcf69d2b71f63b3139c7aeTotally burned BTC: 2,130.83722537 BTC Totally created XCP: 2,648,755.9218 XCP As the developer mentioned: Try out the distributed exchange if you missed this period.
|
|
|
|
Asterios
Newbie
Offline
Activity: 58
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 12:58:34 AM |
|
I am getting another error in the "market". What anyone else? Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 661, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 79, in market print(str(table)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u2026' in position 693: character maps to <undefined> The Windows terminal has trouble with Unicode. I'll try to write a workaround. There's a partial fix in the master branch now. I don't have a Windows computer, however, so it's pretty much untested. Let me know if it works! No, sorry PhantomPhreak. It is not working. Here is the error message: Feeds Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 667, i n <module> market(args.give_asset, args.get_asset) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 86, in market print_(str(table)) File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 33, in print_ print(foo.encode('utf-8').decode('latin-1')) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 34, in write self.__convertor.write(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 115, in write self.write_and_convert(text) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 142, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\counterpartyd_build\env\lib\site-packages\colorama\ansitowin32.py", l ine 147, in write_plain_text self.wrapped.write(text[start:end]) File "C:\counterpartyd_build\env\lib\encodings\cp850.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\x80' in position 69 4: character maps to <undefined> Even the run.py wallet is not working anymore (was working before). Error: C:\counterpartyd_build>run.py wallet Traceback (most recent call last): File "C:\counterpartyd_build\dist\counterpartyd\counterpartyd.py", line 634, i n <module> print_() TypeError: print_() takes exactly 1 argument (0 given) I guess that your best bet is to use an old version for now. xnova usually handles the Windows support, and he should be able to fix the issue soon. I've reverted that commit, of course. Ok, No problem. I can wait ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Thanks for the fast help.
|
|
|
|
W2014
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 205
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 01:12:25 AM |
|
Congrats to the developers and everyone that took the leap and burned their BTCs. We need a Logo design competition as well as some work on marketing, etc. ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FTJ8GoLz.png&t=665&c=TLdYtSU_GJ6JAA) ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Frs7LJuW.png&t=665&c=lcFrZVX7YoNf2w)
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 03, 2014, 01:28:53 AM |
|
Congrats to the developers and everyone that took the leap and burned their BTCs. We need a Logo design competition as well as some work on marketing, etc. ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FTJ8GoLz.png&t=665&c=TLdYtSU_GJ6JAA) ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2Frs7LJuW.png&t=665&c=lcFrZVX7YoNf2w) Cool logo!
|
|
|
|
|