BoottleXCP, XCP GUI with Bottle and Bootstrap

[quote author=flatfly link=topic=74.msg816#msg816 date=1393188763]
[quote author=supervine link=topic=74.msg815#msg815 date=1393188259]
[quote author=flatfly link=topic=74.msg814#msg814 date=1393186528]

And another build! Changes:
- includes the latest fix for the send bug
- early attempt to fix crash at startup on x64 platforms

Filesize: 6.87 MB (7,207,316 bytes)
SHA-256:  4c84cb77e477da82324a7e304c8fe653710aeefcae3c1aa06a410e82f67cae59
GPG: signed using my usual 0x91975FE ID (signature below)
LINK: http://trax.x10.mx/BoottleXCP-0004-win3264.exe 
  (had to switch hosts as I’m currently having issues with natverk.org)




<br />-----BEGIN PGP SIGNATURE-----<br />Version: GnuPG v1.4.12 (MingW32)<br /><br /><br />iEYEABECAAYFAlMKVEcACgkQ0dQqIfkZdf4qJgCfSCUBZ5+yjS/UIck19D80uqDT<br />Z/kAoKiVj5bEe0mPbidzBCXvdJxxnajV<br />=J/gO<br />-----END PGP SIGNATURE-----<br />
[/quote]

1. This build did not fixed the issue with python.exe and msvcr100.dll
2. The problem is not on 64bit only. Tried on Win xp 32 bit - same problem.
Also asked from 2 peoples to check it on their PCs - no one was able to start this application with same error.
[/quote]


OK, I have a feeling this may be related to the non-English OS, then. Could you check the following for me (if you’re comfortable doing that)? Open regedit and navigate to the following key:
[font=arial][size=14px]HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ls\CodePage[/size][/font]
[font=arial][size=14px]There should be a REG_SZ value called [/size][/font][font=arial][size=14px]OEMCP at the bottom of the list. Can you tell me what the data is? [/size][/font]
[/quote]
Win 7 (x64) localized hebrew -> OEMCP = 862 (makes msvcr100.dll error)
Win XP (x32) localized russian -> OEMCP = 866 (no errors. process starting, but sits still in memory doing nothing and no windows appears)

Win XP (x32) non localized english -> (no errors. process starting, but sits still in memory doing nothing and no windows appears)
Win 7 (x32) not localized english -> The program finally opens connection window (cannot proceed - no qt on that pc)
Hope these check will help you get to the solution…
Thank you

P.S. If you need make checks on different platforms I have several…

[quote author=supervine link=topic=74.msg817#msg817 date=1393189990]
[quote author=flatfly link=topic=74.msg816#msg816 date=1393188763]
[quote author=supervine link=topic=74.msg815#msg815 date=1393188259]
[quote author=flatfly link=topic=74.msg814#msg814 date=1393186528]

And another build! Changes:
- includes the latest fix for the send bug
- early attempt to fix crash at startup on x64 platforms

Filesize: 6.87 MB (7,207,316 bytes)
SHA-256:  4c84cb77e477da82324a7e304c8fe653710aeefcae3c1aa06a410e82f67cae59
GPG: signed using my usual 0x91975FE ID (signature below)
LINK: http://trax.x10.mx/BoottleXCP-0004-win3264.exe 
  (had to switch hosts as I’m currently having issues with natverk.org)




<br />-----BEGIN PGP SIGNATURE-----<br />Version: GnuPG v1.4.12 (MingW32)<br /><br /><br />iEYEABECAAYFAlMKVEcACgkQ0dQqIfkZdf4qJgCfSCUBZ5+yjS/UIck19D80uqDT<br />Z/kAoKiVj5bEe0mPbidzBCXvdJxxnajV<br />=J/gO<br />-----END PGP SIGNATURE-----<br />
[/quote]

1. This build did not fixed the issue with python.exe and msvcr100.dll
2. The problem is not on 64bit only. Tried on Win xp 32 bit - same problem.
Also asked from 2 peoples to check it on their PCs - no one was able to start this application with same error.
[/quote]


OK, I have a feeling this may be related to the non-English OS, then. Could you check the following for me (if you’re comfortable doing that)? Open regedit and navigate to the following key:
[font=arial][size=14px]HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ls\CodePage[/size][/font]
[font=arial][size=14px]There should be a REG_SZ value called [/size][/font][font=arial][size=14px]OEMCP at the bottom of the list. Can you tell me what the data is? [/size][/font]
[/quote]
Win 7 (x64) localized hebrew -> OEMCP = 862 (makes msvcr100.dll error)
Win XP (x32) localized russian -> OEMCP = 866 (no errors. process starting, but sits still in memory doing nothing and no windows appears)

Win XP (x32) non localized english -> (no errors. process starting, but sits still in memory doing nothing and no windows appears)
Win 7 (x32) not localized english -> The program finally opens connection window (cannot proceed - no qt on that pc)
Hope these check will help you get to the solution…
Thank you

P.S. If you need make checks on different platforms I have several…
[/quote]


Thanks, this is useful information.
I will post a new build to address these issues within the next 48 hours.

[quote author=flatfly link=topic=74.msg818#msg818 date=1393191099]
[quote author=supervine link=topic=74.msg817#msg817 date=1393189990]
[quote author=flatfly link=topic=74.msg816#msg816 date=1393188763]
[quote author=supervine link=topic=74.msg815#msg815 date=1393188259]
[quote author=flatfly link=topic=74.msg814#msg814 date=1393186528]

And another build! Changes:
- includes the latest fix for the send bug
- early attempt to fix crash at startup on x64 platforms

Filesize: 6.87 MB (7,207,316 bytes)
SHA-256:  4c84cb77e477da82324a7e304c8fe653710aeefcae3c1aa06a410e82f67cae59
GPG: signed using my usual 0x91975FE ID (signature below)
LINK: http://trax.x10.mx/BoottleXCP-0004-win3264.exe 
  (had to switch hosts as I’m currently having issues with natverk.org)




<br />-----BEGIN PGP SIGNATURE-----<br />Version: GnuPG v1.4.12 (MingW32)<br /><br /><br />iEYEABECAAYFAlMKVEcACgkQ0dQqIfkZdf4qJgCfSCUBZ5+yjS/UIck19D80uqDT<br />Z/kAoKiVj5bEe0mPbidzBCXvdJxxnajV<br />=J/gO<br />-----END PGP SIGNATURE-----<br />
[/quote]

1. This build did not fixed the issue with python.exe and msvcr100.dll
2. The problem is not on 64bit only. Tried on Win xp 32 bit - same problem.
Also asked from 2 peoples to check it on their PCs - no one was able to start this application with same error.
[/quote]


OK, I have a feeling this may be related to the non-English OS, then. Could you check the following for me (if you’re comfortable doing that)? Open regedit and navigate to the following key:
[font=arial][size=14px]HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ls\CodePage[/size][/font]
[font=arial][size=14px]There should be a REG_SZ value called [/size][/font][font=arial][size=14px]OEMCP at the bottom of the list. Can you tell me what the data is? [/size][/font]
[/quote]
Win 7 (x64) localized hebrew -> OEMCP = 862 (makes msvcr100.dll error)
Win XP (x32) localized russian -> OEMCP = 866 (no errors. process starting, but sits still in memory doing nothing and no windows appears)

Win XP (x32) non localized english -> (no errors. process starting, but sits still in memory doing nothing and no windows appears)
Win 7 (x32) not localized english -> The program finally opens connection window (cannot proceed - no qt on that pc)
Hope these check will help you get to the solution…
Thank you

P.S. If you need make checks on different platforms I have several…
[/quote]


Thanks, this is useful information.
I will post a new build to address these issues within the next 48 hours.
[/quote]


very good. :slight_smile:
By the way, I wonder if possible to create a chainsnort which parses counterparty tx nicely?

[quote author=supervine link=topic=74.msg817#msg817 date=1393189990]
[quote author=flatfly link=topic=74.msg816#msg816 date=1393188763]
[quote author=supervine link=topic=74.msg815#msg815 date=1393188259]
[quote author=flatfly link=topic=74.msg814#msg814 date=1393186528]

And another build! Changes:
- includes the latest fix for the send bug
- early attempt to fix crash at startup on x64 platforms

Filesize: 6.87 MB (7,207,316 bytes)
SHA-256:  4c84cb77e477da82324a7e304c8fe653710aeefcae3c1aa06a410e82f67cae59
GPG: signed using my usual 0x91975FE ID (signature below)
LINK: http://trax.x10.mx/BoottleXCP-0004-win3264.exe 
  (had to switch hosts as I’m currently having issues with natverk.org)




<br />-----BEGIN PGP SIGNATURE-----<br />Version: GnuPG v1.4.12 (MingW32)<br /><br /><br />iEYEABECAAYFAlMKVEcACgkQ0dQqIfkZdf4qJgCfSCUBZ5+yjS/UIck19D80uqDT<br />Z/kAoKiVj5bEe0mPbidzBCXvdJxxnajV<br />=J/gO<br />-----END PGP SIGNATURE-----<br />
[/quote]

1. This build did not fixed the issue with python.exe and msvcr100.dll
2. The problem is not on 64bit only. Tried on Win xp 32 bit - same problem.
Also asked from 2 peoples to check it on their PCs - no one was able to start this application with same error.
[/quote]


OK, I have a feeling this may be related to the non-English OS, then. Could you check the following for me (if you’re comfortable doing that)? Open regedit and navigate to the following key:
[font=arial][size=14px]HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ls\CodePage[/size][/font]
[font=arial][size=14px]There should be a REG_SZ value called [/size][/font][font=arial][size=14px]OEMCP at the bottom of the list. Can you tell me what the data is? [/size][/font]
[/quote]
Win 7 (x64) localized hebrew -> OEMCP = 862 (makes msvcr100.dll error)
Win XP (x32) localized russian -> OEMCP = 866 (no errors. process starting, but sits still in memory doing nothing and no windows appears)

Win XP (x32) non localized english -> (no errors. process starting, but sits still in memory doing nothing and no windows appears)
Win 7 (x32) not localized english -> The program finally opens connection window (cannot proceed - no qt on that pc)
Hope these check will help you get to the solution…
Thank you

P.S. If you need make checks on different platforms I have several…
[/quote]



As promised, here’s a new build that should (hopefully)
resolve the crash on some non-English platforms.


Filesize: 6.87 MB (7,209,532 bytes)
SHA-256:  ca8f4732527fcfbc8ced29569d21605933d73d6254f42f21bc19f7f61b6cf68a
GPG: signed using my usual 0x91975FE ID (signature below)
LINK: [to be moved to github]
 
Screenshot:


<br />-----BEGIN PGP SIGNATURE-----<br />Version: GnuPG v1.4.12 (MingW32)<br /><br /><br />iEYEABECAAYFAlMKZmIACgkQ0dQqIfkZdf4NxwCgijJEs3GB3PGc4e0YR5L0zQmZ<br />3JgAn2uZhnBYAnDT40YRnSY/+x2zh8aE<br />=zEL0<br />-----END PGP SIGNATURE-----<br />


Finally! +100 to flatfly. Problem solved. Wallet opens…

Thank you

Seems some localization still not good.
Win XP: Russian localzation gives error
Fatal Python error: Py_Initialize: can’t initialize sys standard streams
LookupError: unknown encoding: cp1251

does it work on testnet ? - I started counterpartyd --testnet server, and tried connect the ws to it


[quote]
Starting new HTTP connection (1): 127.0.0.1
Traceback (most recent call last):
  File “/usr/local/lib/python3.3/site-packages/bottle.py”, line 862, in _handle
    return route.call(**args)
  File “/usr/local/lib/python3.3/site-packages/bottle.py”, line 1727, in wrapper
    rv = callback(*a, **ka)
  File “/usr/local/lib/python3.3/site-packages/bottle.py”, line 2675, in wrapper
    return func(*a, **ka)
  File “counterpartyws.py”, line 46, in wallet
    get_address = util.get_address(db, address=address)
  File “xxx/BoottleXCP/counterpartyd/lib/util.py”, line 900, in get_address
    if not bitcoin.base58_decode(address, config.ADDRESSVERSION):
  File “xxx/BoottleXCP/counterpartyd/lib/bitcoin.py”, line 171, in base58_decode
    raise exceptions.VersionByteError(‘mainnet–testnet mismatch’)
counterpartyd.lib.exceptions.VersionByteError: mainnet–testnet mismatch
127.0.0.1 - - [25/Feb/2014 21:47:07] “GET /wallet HTTP/1.1” 500 747
[/quote]


counterpartyd.conf


[quote]
[Default]
[font=Verdana][size=78%]bitcoind-rpc-user=xxx[/size][/font]
bitcoind-rpc-password = xxx
rpc-host=localhost
rpc-user=xxx
rpc-password=xxx
gui-host=localhost
gui-port=8080
gui-user=rr
gui-password=rrRRrr
testnet=True
testcoin=True
[/quote]

[quote author=supervine link=topic=74.msg864#msg864 date=1393285406]
Finally! +100 to flatfly. Problem solved. Wallet opens…

Thank you
[/quote]


Good news!  And I’ve made a note to fix the Russian encoding file in the next build.


BTW I thought the ‘+100’ was perhaps a tip and went to check my XCP balance :slight_smile:

[quote author=romerun link=topic=74.msg880#msg880 date=1393340076]
does it work on testnet ? - I started counterpartyd --testnet server, and tried connect the ws to it
[/quote]

in the next version, it will be possible.

Is it possible to build and run from source in win x64 ?


Nevermind, I’ve noticed it’s still on counterparty.8.db and not 9. Is it possible to manually update the counterpartyd in the Boottle000 in %APPDATA% or will it cause crash ?

[quote author=NotSure link=topic=74.msg885#msg885 date=1393364313]
Is it possible to build and run from source in win x64 ?


Nevermind, I’ve noticed it’s still on counterparty.8.db and not 9. Is it possible to manually update the counterpartyd in the Boottle000 in %APPDATA% or will it cause crash ?
[/quote]


I haven’t tried it, but if you are running the latest build (BoottleXCP-0005 linked on the previous page), yes I believe it should be possible to manually update counterpartyd in [font=Verdana]%APPDATA%[/font].

Just did a quick push with counterpartyd 6.2

[quote author=flatfly link=topic=74.msg883#msg883 date=1393351971]
BTW I thought the ‘+100’ was perhaps a tip and went to check my XCP balance :slight_smile:
[/quote]

The tips balance will change only after publishing tips wallet :slight_smile:

Dumb question, what information should populate the GUI config?  I have the bitcoin RPC stuff but don’t know the GUI password user etc

[quote author=AdamBLevine link=topic=74.msg907#msg907 date=1393385114]
Dumb question, what information should populate the GUI config?  I have the bitcoin RPC stuff but don’t know the GUI password user etc
[/quote]


You can just define your own values for GUI-user and GUI-password in that dialog. Be sure to choose a strong password.

[quote author=supervine link=topic=74.msg904#msg904 date=1393376267]
[quote author=flatfly link=topic=74.msg883#msg883 date=1393351971]
BTW I thought the ‘+100’ was perhaps a tip and went to check my XCP balance :slight_smile:
[/quote]

The tips balance will change only after publishing tips wallet :slight_smile:
[/quote]


Duh :-)  I just updated my signature with my personal address.

[quote author=flatfly link=topic=74.msg887#msg887 date=1393367224]
[quote author=NotSure link=topic=74.msg885#msg885 date=1393364313]
Is it possible to build and run from source in win x64 ?


Nevermind, I’ve noticed it’s still on counterparty.8.db and not 9. Is it possible to manually update the counterpartyd in the Boottle000 in %APPDATA% or will it cause crash ?
[/quote]


I haven’t tried it, but if you are running the latest build (BoottleXCP-0005 linked on the previous page), yes I believe it should be possible to manually update counterpartyd in [font=verdana]%APPDATA%[/font].
[/quote]


Indeed, updating this directory seems to work


[quote]
[font=verdana][size=78%]C:\Users\XXXXX\AppData\Roaming\Boottle000\0005FLA\Python33\BoottleXCP\counterpartyd[/size][/font][/quote]


Is there any function you want me try ?


I’ll try simple order & send functions. Would be nice to setup a bet.


thanks for the great work !!

All tests are welcome :slight_smile:
It is planned to implement a suite of unit tests in python and also a test suite with Selenium (http://docs.seleniumhq.org/).

[quote author=JahPowerBit link=topic=74.msg913#msg913 date=1393415634]
All tests are welcome :slight_smile:
It is planned to implement a suite of unit tests in python and also a test suite with Selenium (http://docs.seleniumhq.org/).
[/quote]


Order is working as expected. Didn’t tried send but I guess it’s also working. I was quite nervous on the confirm because I was used to work with the console but everything went fine :wink:


It was also a relieve to see that the order didn’t matched with the troll, which means that this issue is corrected for now.


One simple feature would be to add a auto calculator for the fee, assuming the principle of BTC fee isn’t change. So you can avoid mistakes like 100% fee by putting 1 in the field (or maybe lock the filed to avoid number above 1-2-3% ?) That could lead to expensive mistakes (and unexpected love from the miners)


Of course an history would be cool but I saw it was in the works.


I could issue an asset for my company, but I don’t intend to sell shares nor to distribute dividends to other than myself so it would be a bit of a waste. Maybe we should launch some betting on the forum to start the XCP mania :wink:


I’ll definitely donate for a lightwallet on the other post but I’m waiting the price to rise a bit after the webwallet that will open the protocol to the masses. Would be silly IMHO to sell my XCP now.


PS : Jah, tu es francophone si je ne me trompe ?

Thank you very much for all these tests!
One of my first tasks is to put a confirmation dialog box to check fees and other parameters. I hope to work tomorrow night or else Friday.



P.S: exact l’ami! j’espère qu’on pourra rapidement avoir un forum français avec assez de monde pour taper la causette :wink: