As discussed earlier, the official source for BoottleXCP binaries is now:
https://github.com/JahPowerBit/BoottleXCP_binaries/releases
[font=verdana]I have just pushed the current windows build and disabled all previous links.[/font]
[font=verdana]I’m also uploading the source code for the exe wrapper script (written in open source Autohotkey.)[/font]
Hey,
Trying this version, but the blockchain indexing done by included counterpartyd daemon stops midway on block 280478 for me.
Any idea why?
Also where the included counterparty daemon is located, so I could launch it manually?
No errors messages appear, the process just stops after couple of blocks.
The command line counterpartyd (same config file and bundled Python) runs great though, indexing the blockchain.
Any way for me to use the GUI with the manually launched counterpartyd?
[quote author=SyRenity link=topic=74.msg993#msg993 date=1393752147]
No errors messages appear, the process just stops after couple of blocks.
[/quote]
[font=verdana]Just to clarify - so it’s not always [/font][font=verdana]stopping at 280478 specifically?[/font]
[font=verdana]I think we will probably need Jah to look into this issue.[/font]
[quote]
The command line counterpartyd (same config file and bundled Python) runs great though, indexing the blockchain.
Any way for me to use the GUI with the manually launched counterpartyd?
[/quote]
Not easily…
Perhaps you could simply try to stop the manually started daemon now that it has successfully processed that block, and launch the GUI again?
[EDIT] deleted my last suggestion - it didn’t make much sense in this context
It stopped on an another block every time.
I will let it index to the end, and then re-launch.
[quote author=SyRenity link=topic=74.msg995#msg995 date=1393754260]
It stopped on an another block every time.
I will let it index to the end, and then re-launch.
[/quote]
OK… if you still have enough time/patience, here’s another thing that you could try, while the DB hasn’t been fully indexed yet, to get some meaningful error messages (hopefully) and help identify the problem:
Stop any running counterpartyd daemons, and start the BoottleXCP executable while holding down the SHIFT key. A python console should pop up instead of the wallet manager GUI.
Hit Ctrl-Z then ENTER to exit the interpreter, then start the wallet manager from there, by typing: python boottlexcp.py
Click the button to start the daemon and now watch the black terminal window for any error messages
[quote author=SyRenity link=topic=74.msg993#msg993 date=1393752147]
No errors messages appear, the process just stops after couple of blocks.
The command line counterpartyd (same config file and bundled Python) runs great though, indexing the blockchain.
Any way for me to use the GUI with the manually launched counterpartyd?
[/quote]
Can you please check that you don’t have a counterpartyd running in background? you must stop it before launch BoottleXCP. Thks.
After I let the manually launched counterpartyd to finish the indexing, it appears to be working fine now (so perhaps it’s a glitch left from early DB versions).
[quote]On another hand, I’m not unable to issue an asset, getting following error:
127.0.0.1 - - [02/Mar/2014 15:16:58] “POST /action HTTP/1.1” 401 721
File “counterpartyws.py”, line 176, in counterparty_action
call_date, call_price, description)
File “C:\Users\tester\AppData\Roaming\Boottle000\0005FLA\Python33\BoottleXCP\counterpartyd\lib\issuance.py”, line 81, in compose
asset_id = util.get_asset_id(asset)
File “C:\Users\tester\AppData\Roaming\Boottle000\0005FLA\Python33\BoottleXCP\counterpartyd\lib\util.py”, line 337, in get_asset_id
string index out of range[/quote]
I’m just trying to issue a new divisible asset - any ideas what fields are mandatory in the XCP GUI for that?
Thanks.
Got this error when trying to buy asset "CAKE"type str doesn't define __round__ method
http://postimg.org/image/mwdnzqht9/
Works with counterpartyd with this syntaxorder --source=xhiddenx --get-asset=CAKE --get-quantity=1000 --give-asset=XCP --give-quantity=1 --expiration=500 --fee-fraction-required=.0001
Log of wallet manager :
[quote]
127.0.0.1 - - [02/Mar/2014 17:04:11] “POST /action HTTP/1.1” 401 721
File “counterpartyws.py”, line 127, in counterparty_action
type str doesn’t define round method
get_quantity = util.devise(db, get_quantity, get_asset, ‘input’)
File “C:\Users\XXXXX\AppData\Roaming\Boottle000\0005FLA\Python33\BoottleXCP\counterpartyd\lib\util.py”, line 527, in devise
if quantity != round(quantity):[/quote]
[quote author=SyRenity link=topic=74.msg1000#msg1000 date=1393766521]
After I let the manually launched counterpartyd to finish the indexing, it appears to be working fine now (so perhaps it’s a glitch left from early DB versions).
[quote]On another hand, I’m not unable to issue an asset, getting following error:
127.0.0.1 - - [02/Mar/2014 15:16:58] “POST /action HTTP/1.1” 401 721
File “counterpartyws.py”, line 176, in counterparty_action
call_date, call_price, description)
File “C:\Users\tester\AppData\Roaming\Boottle000\0005FLA\Python33\BoottleXCP\counterpartyd\lib\issuance.py”, line 81, in compose
asset_id = util.get_asset_id(asset)
File “C:\Users\tester\AppData\Roaming\Boottle000\0005FLA\Python33\BoottleXCP\counterpartyd\lib\util.py”, line 337, in get_asset_id
string index out of range[/quote]
I’m just trying to issue a new divisible asset - any ideas what fields are mandatory in the XCP GUI for that?
Thanks.
[/quote]
Fixed: https://github.com/JahPowerBit/counterpartygui/commit/01fae1c9599fdc8c2bf2078a6c8c726c417c0a7c
Thank you
[quote author=NotSure link=topic=74.msg1005#msg1005 date=1393773838]
Got this error when trying to buy asset “CAKE”type str doesn't define __round__ method
[/quote]
I can not reproduce the bug. But please try the latest version with this commit:
https://github.com/JahPowerBit/BoottleXCP/commit/0ab95b1c4d9bbbbabce3c7c92260492a5e4ec52d
Could not open wallet via [font=verdana]http://localhost:8080/[/font]. Why? conf file setting is OK.Webserver starting...<br /><br /><br />Following blocks starting...<br /><br /><br />Traceback (most recent call last):<br /> File "counterpartyws.py", line 11, in <module><br /> import bottle<br />ImportError: No module named bottle<br />Status: RESTARTStarting new HTTP connection (1): localhost
I have made it after run pip install bottle…
I think this is a problem when trying to work with indivisible assets (like CAKE and TEST).
[quote author=NotSure link=topic=74.msg1005#msg1005 date=1393773838]
Got this error when trying to buy asset "CAKE"type str doesn't define __round__ method
http://postimg.org/image/mwdnzqht9/
Works with counterpartyd with this syntaxorder --source=xhiddenx --get-asset=CAKE --get-quantity=1000 --give-asset=XCP --give-quantity=1 --expiration=500 --fee-fraction-required=.0001
Log of wallet manager :
[quote]
127.0.0.1 - - [02/Mar/2014 17:04:11] “POST /action HTTP/1.1” 401 721
File “counterpartyws.py”, line 127, in counterparty_action
type str doesn’t define round method
get_quantity = util.devise(db, get_quantity, get_asset, ‘input’)
File “C:\Users\XXXXX\AppData\Roaming\Boottle000\0005FLA\Python33\BoottleXCP\counterpartyd\lib\util.py”, line 527, in devise
if quantity != round(quantity):[/quote]
[/quote]
[quote author=jimhsu link=topic=74.msg1082#msg1082 date=1393947273]
I think this is a problem when trying to work with indivisible assets (like CAKE and TEST).
[/quote]
You cannot divide a CAKE ??? This is a serious flaw !! ;D
Seriously, I saw on another thread that it was a bug in counterpartyd code, so I guess it’s not a GUI problem. (strange thing is that it happened in the GUI and not with the command line)
There is a new Windows build (number 007) with the latest commits and counterpartyd 6.3 now available, and waiting for you to test it
https://github.com/JahPowerBit/BoottleXCP_binaries/releases
GPG signature for the executable:<br /><br />-----BEGIN PGP SIGNATURE-----<br />Version: GnuPG v1.4.12 (MingW32)<br /><br /><br />iEYEABECAAYFAlMWM3UACgkQ0dQqIfkZdf5JNQCfS7wT/Z594MdZYHqT6nfn493H<br />KpEAn3Bt7usIWfxnsamB5CGNkngyVJ4e<br />=H7Go<br />-----END PGP SIGNATURE-----
Bug report - If your Bitcoin-QT wallet address have Chinese label, when you use the XCP client, there will be an error as below. After I change all the address label to English, the error disappear, is this a bug?Traceback (most recent call last):<br /> File "C:\\Python32\\lib\\site-packages\\bottle.py", line 862, in _handle<br /> return route.call(**args)<br /> File "C:\\Python32\\lib\\site-packages\\bottle.py", line 1727, in wrapper<br /> rv = callback(*a, **ka)<br /> File "C:\\Python32\\lib\\site-packages\\bottle.py", line 2675, in wrapper<br /> return func(*a, **ka)<br /> File "counterpartyws.py", line 43, in wallet<br /> for group in bitcoin.rpc('listaddressgroupings', []):<br /> File "C:\\BoottleXCP\\counterpartyd\\lib\\bitcoin.py", line 105, in rpc<br /> response_json = response.json()<br /> File "C:\\Python32\\lib\\site-packages\\requests\\models.py", line 732, in json<br /> return json.loads(self.content.decode(encoding), **kwargs)<br />UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe6 in position 71: invalid continuation byte
hi, I have the error when sending xcp or issuance in the GUI[font=verdana][size=78%]:[/size][/font]
‘str’ does not support the buffer interface
[quote author=nimei link=topic=74.msg1170#msg1170 date=1394438499]
hi, I have the error when sending xcp or issuance in the GUI[font=verdana][size=78%]:[/size][/font]
‘str’ does not support the buffer interface
[/quote]
Please check if you have Python 3 installed.
Hi,
Great work by the way. 8)
I have some bugs to report.
1.) Once I started the Counterpart Wallet Manager and then entered a new password. I was able to open the wallet. Nice
2.) I clicked “Start Party”. All was good. Starting syncing blocks. I then clicked “Stop Party”, clicked Config and changed the password to a new one. I then clicked “Start Party!” and clicked “Open Wallet”. I cannot open the wallet anymore. Internet Explorer went into a loop and displays "Cannot find ‘http://xcpgui:MYPASSWORD@localhost:8080’. Make sure the path or Internet address is correct.'
Any ideas?
Thanks