Bitcoin Forum
April 19, 2024, 08:08:59 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 [95] 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 ... 661 »
  Print  
Author Topic: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread  (Read 1276290 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
Asterios
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
February 02, 2014, 10:51:48 PM
 #1881

Ok, i am getting error messages since the last Block. Any idea, guys?

Code:
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
1713514139
Hero Member
*
Offline Offline

Posts: 1713514139

View Profile Personal Message (Offline)

Ignore
1713514139
Reply with quote  #2

1713514139
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Asterios
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
February 02, 2014, 10:57:15 PM
 #1882

I am getting another error in the "market". What anyone else?

Code:
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
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
February 02, 2014, 11:20:47 PM
 #1883

I am getting another error in the "market". What anyone else?

Code:
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 Offline

Activity: 56
Merit: 0


View Profile
February 02, 2014, 11:26:24 PM
 #1884

I have set up an XCP buy/sell thread here:

https://bitcointalk.org/index.php?topic=445740.new#new

And here is the corresponding Google Doc order book which I will keep updated as quickly as I can:

https://docs.google.com/spreadsheet/ccc?key=0ArOlTj1IBke6dG1SRzRGRG5IQXpUV05XRFVGNlg0VGc#gid=0

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
**
Offline Offline

Activity: 82
Merit: 10


View Profile
February 02, 2014, 11:30:02 PM
 #1885

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 Offline

Activity: 1321
Merit: 1007



View Profile WWW
February 02, 2014, 11:32:38 PM
 #1886

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
****
Offline Offline

Activity: 390
Merit: 254

Counterparty Developer


View Profile
February 02, 2014, 11:49:20 PM
 #1887

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)

Visit the official Counterparty forums: http://counterpartytalk.org
PhantomPhreak (OP)
Sr. Member
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
February 03, 2014, 12:24:00 AM
 #1888

I am getting another error in the "market". What anyone else?

Code:
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 Offline

Activity: 56
Merit: 0


View Profile
February 03, 2014, 12:34:01 AM
 #1889

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 Offline

Activity: 58
Merit: 0


View Profile
February 03, 2014, 12:37:51 AM
 #1890

I am getting another error in the "market". What anyone else?

Code:
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:

Code:
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:

Code:
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
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
February 03, 2014, 12:38:47 AM
 #1891

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?

Code:
$ 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 Offline

Activity: 56
Merit: 0


View Profile
February 03, 2014, 12:44:02 AM
 #1892

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?

Code:
$ 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
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
February 03, 2014, 12:45:46 AM
 #1893

I am getting another error in the "market". What anyone else?

Code:
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:

Code:
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:

Code:
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
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
February 03, 2014, 12:46:55 AM
 #1894

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 Offline

Activity: 56
Merit: 0


View Profile
February 03, 2014, 12:49:00 AM
 #1895

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
****
Offline Offline

Activity: 476
Merit: 300

Counterparty Chief Scientist and Co-Founder


View Profile
February 03, 2014, 12:53:08 AM
 #1896

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
Sr. Member
****
Offline Offline

Activity: 602
Merit: 252



View Profile
February 03, 2014, 12:58:14 AM
 #1897

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/4560d0e3d04927108b615ab106040489aca9c4aceedcf69d2b71f63b3139c7ae

Totally 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 Offline

Activity: 58
Merit: 0


View Profile
February 03, 2014, 12:58:34 AM
 #1898

I am getting another error in the "market". What anyone else?

Code:
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:

Code:
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:

Code:
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 Thanks for the fast help.
W2014
Member
**
Offline Offline

Activity: 205
Merit: 10



View Profile
February 03, 2014, 01:12:25 AM
 #1899

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








VIAZ   ►   First Major Decentralized Peer-to-Peer Funding Platform on Tezos   ◄
WEBSITE | BOUNTY CAMPAIGN | WHITEPAPER | FACEBOOK | TWITTER | TELEGRAM
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
February 03, 2014, 01:28:53 AM
 #1900

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








Cool logo!

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
Pages: « 1 ... 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 [95] 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 ... 661 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!