Sapling-ready WinZEC v2.0.1 released

nevermind, I don’t need that command’s output, they found where in the code it is failing…don’t know how long for a fix :frowning:

working on a workaround for the meantime (which is going to be kinda painful and involve making an entirely new user that has ASCII only characters in the username and copying over the contents of a number of directories as an admin and changing their ownership)

:frowning:

it is this bug in zcash 2.0.1:

and is being tracked in the WinZEC issue tracker here now:
https://github.com/radix42/winzec/issues/17

1 Like

ok, give this a try…download this zipfile:
https://zcash.dl.mercerweiss.com/zcash-win-v2.0.1a.zip
and copy the exe’s in it into the folder:
C:\Program Files\winzec\app\

it should ask for admin rights and also ask if it should over-right two files and say yes

and let me know how it goes asap, and if it works I will release a new winzec with it

Replaced three files. Launched. Did not help. For information, I have Win10.

Jane need your help
I need to transfer my zcash coin from zcash4win v1.0.12 to the latest winzec
once I open the zcash4win it gives me the following error:
{{an unexpected error occurred when updating the GUI state . please ensure that the zcash daemon is running
error response from wallet: error code: -2
safe mode: your client is out of date and incompatible with the Overwinter network upgrade. Please update to a recent version of Zcash.}}
How can I fix this issue?, your help is really appreciated

this is the debug log
018-10-26 09:58:52 init message: Verifying wallet…
2018-10-26 09:58:52 CDBEnv::Open: LogDir=C:\Users\hp\AppData\Roaming\Zcash\database ErrorFile=C:\Users\hp\AppData\Roaming\Zcash\db.log
2018-10-26 09:58:52 Bound to [::]:8233
2018-10-26 09:58:52 Bound to 0.0.0.0:8233
2018-10-26 09:58:52 Cache configuration:
2018-10-26 09:58:52 * Using 2.0MiB for block index database
2018-10-26 09:58:52 * Using 32.5MiB for chain state database
2018-10-26 09:58:52 * Using 65.5MiB for in-memory UTXO set
2018-10-26 09:58:52 init message: Loading block index…
2018-10-26 09:58:52 Opening LevelDB in C:\Users\hp\AppData\Roaming\Zcash\blocks\index
2018-10-26 09:58:52 Opened LevelDB successfully
2018-10-26 09:58:52 Opening LevelDB in C:\Users\hp\AppData\Roaming\Zcash\chainstate
2018-10-26 09:58:54 Opened LevelDB successfully
2018-10-26 10:00:01 LoadBlockIndexDB: last block file = 93
2018-10-26 10:00:01 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=234, size=49593265, heights=316549…316782, time=2018-05-03…2018-05-03)
2018-10-26 10:00:01 Checking all blk files are present…
2018-10-26 10:00:03 LoadBlockIndexDB: transaction index disabled
2018-10-26 10:00:04 LoadBlockIndexDB: hashBestChain=00000000088544c4d5179875772ece10206eb1a1f51ba8abe58f3def126ac7d6 height=316782 date=2018-05-03 10:47:17 progress=0.847023
2018-10-26 10:00:04 *** This version has been deprecated as of block height 264776. You should upgrade to the latest version of Zcash.
2018-10-26 10:00:04 Error: This version has been deprecated as of block height 264776. You should upgrade to the latest version of Zcash.
2018-10-26 10:00:04 init message: Verifying blocks…
2018-10-26 10:00:04 Verifying last 288 blocks at level 3
2018-10-26 10:00:33 No coin database inconsistencies in last 2 blocks (27 transactions)
2018-10-26 10:00:33 block index 100968ms
2018-10-26 10:00:33 init message: Loading wallet…
2018-10-26 10:00:33 nFileVersion = 1001250
2018-10-26 10:00:33 Keys: 102 plaintext, 0 encrypted, 102 w/ metadata, 102 total
2018-10-26 10:00:33 ZKeys: 0 plaintext, 0 encrypted, 0 w/metadata, 0 total
2018-10-26 10:00:33 wallet 133ms
2018-10-26 10:00:33 init message: Activating best chain…
2018-10-26 10:00:33 mapBlockIndex.size() = 347505
2018-10-26 10:00:33 nBestHeight = 316782
2018-10-26 10:00:33 setKeyPool.size() = 101
2018-10-26 10:00:33 mapWallet.size() = 9
2018-10-26 10:00:33 mapAddressBook.size() = 1
2018-10-26 10:00:33 init message: Loading addresses…
2018-10-26 10:00:33 torcontrol thread start
2018-10-26 10:00:33 Loaded 36219 addresses from peers.dat 118ms
2018-10-26 10:00:33 AddLocal([2001:0:9d38:953c:14d2:b95e:a17e:a7ae]:8233,1)
2018-10-26 10:00:33 Discover: DESKTOP-S95FNP6 - 2001:0:9d38:953c:14d2:b95e:a17e:a7ae
2018-10-26 10:00:33 dnsseed thread start
2018-10-26 10:00:33 net thread start
2018-10-26 10:00:33 init message: Done loading
2018-10-26 10:00:33 addcon thread start
2018-10-26 10:00:33 opencon thread start
2018-10-26 10:00:33 msghand thread start
2018-10-26 10:00:34 Misbehaving: 104.236.180.231:8233 (0 → 1)
2018-10-26 10:00:34 ProcessMessages(reject, 43 bytes) FAILED peer=1
2018-10-26 10:00:34 Misbehaving: 104.236.180.231:8233 (1 → 2)
2018-10-26 10:00:34 ProcessMessages(ping, 8 bytes) FAILED peer=1
2018-10-26 10:00:34 Misbehaving: 104.236.180.231:8233 (2 → 3)
2018-10-26 10:00:34 ProcessMessages(getheaders, 997 bytes) FAILED peer=1
2018-10-26 10:00:34 keypool reserve 2
2018-10-26 10:00:34 keypool return 2
2018-10-26 10:00:34 receive version message: /MagicBean:2.0.1/: version 170006, blocks=417671, us=94.129.88.81:42401, peer=2
2018-10-26 10:00:34 Added time data, samples 2, offset -55 (+0 minutes)
2018-10-26 10:00:44 Loading addresses from DNS seeds (could take a while)
2018-10-26 10:00:45 75 addresses found from DNS seeds
2018-10-26 10:00:45 dnsseed thread exit
2018-10-26 10:01:20 Misbehaving: 217.182.70.89:8233 (0 → 1)
2018-10-26 10:01:20 ProcessMessages(reject, 43 bytes) FAILED peer=3
2018-10-26 10:01:20 Misbehaving: 217.182.70.89:8233 (1 → 2)
2018-10-26 10:01:20 ProcessMessages(ping, 8 bytes) FAILED peer=3
2018-10-26 10:01:27 receive version message: /MagicBean:1.0.11rc1/: version 170002, blocks=347499, us=94.129.88.81:42849, peer=4
2018-10-26 10:01:27 Added time data, samples 3, offset -56 (+0 minutes)
2018-10-26 10:01:28 Misbehaving: 188.166.51.198:8233 (0 → 1)
2018-10-26 10:01:28 ProcessMessages(reject, 43 bytes) FAILED peer=5
2018-10-26 10:01:28 Misbehaving: 188.166.51.198:8233 (1 → 2)
2018-10-26 10:01:28 ProcessMessages(ping, 8 bytes) FAILED peer=5
2018-10-26 10:01:29 receive version message: /MagicBean:1.0.12/: version 170002, blocks=347499, us=37.36.101.47:42593, peer=6
2018-10-26 10:01:29 Added time data, samples 4, offset -56 (+0 minutes)
2018-10-26 10:01:42 Misbehaving: 139.59.112.157:8233 (0 → 1)
2018-10-26 10:01:42 ProcessMessages(reject, 43 bytes) FAILED peer=7
2018-10-26 10:01:42 Misbehaving: 139.59.112.157:8233 (1 → 2)
2018-10-26 10:01:42 ProcessMessages(ping, 8 bytes) FAILED peer=7
2018-10-26 10:01:42 Misbehaving: 139.59.112.157:8233 (2 → 3)
2018-10-26 10:01:42 ProcessMessages(getheaders, 997 bytes) FAILED peer=7

Prescribed the command chcp, downloaded the files and replaced them in the folder
C:\Program Files\winzec\app. Not work. In file debug.log :

2018-10-26 10:56:12 Zcash version v2.0.1-ed80ec1c4-dirty (2018-10-26 15:08:33 +1300)
2018-10-26 10:56:12 Using OpenSSL version OpenSSL 1.1.0h 27 Mar 2018
2018-10-26 10:56:12 Using BerkeleyDB version Berkeley DB 6.2.23: (March 28, 2016)
2018-10-26 10:56:12 Default data directory C:\Users\Джонни\AppData\Roaming\Zcash
2018-10-26 10:56:12 Using data directory C:\Users\Джонни\AppData\Roaming\Zcash
2018-10-26 10:56:12 Using config file C:\Users\Джонни\AppData\Roaming\Zcash\zcash.conf
2018-10-26 10:56:12 Using at most 125 connections (2048 file descriptors available)
2018-10-26 10:56:12 Using 2 threads for script verification
2018-10-26 10:56:12 Loading verifying key from C:\Users\Джонни\AppData\Roaming\ZcashParams\sprout-verifying.key
2018-10-26 10:56:12 scheduler thread start
2018-10-26 10:56:12 Loaded verifying key in 0.065038s seconds.
2018-10-26 10:56:12 Loading Sapling (Spend) parameters from C:\Users\Джонни\AppData\Roaming\ZcashParams\sapling-spend.params
2018-10-26 10:56:12 Loading Sapling (Output) parameters from C:\Users\Джонни\AppData\Roaming\ZcashParams\sapling-output.params
2018-10-26 10:56:12 Loading Sapling (Sprout Groth16) parameters from C:\Users\Джонни\AppData\Roaming\ZcashParams\sprout-groth16.params
2018-10-26 10:56:16 Loaded Sapling parameters in 3.400200s seconds.
2018-10-26 10:56:16 libevent: getaddrinfo: nodename nor servname provided, or not known
2018-10-26 10:56:16 Binding RPC on address ::1 port 8232 failed.
2018-10-26 10:56:16 HTTP: creating work queue of depth 16
2018-10-26 10:56:16 HTTP: starting 4 worker threads
2018-10-26 10:56:16 Using wallet wallet.dat
2018-10-26 10:56:16 init message: Verifying wallet…
2018-10-26 10:56:16 CDBEnv::Open: LogDir=C:\Users\Джонни\AppData\Roaming\Zcash\database ErrorFile=C:\Users\Джонни\AppData\Roaming\Zcash\db.log
2018-10-26 10:56:16 ERROR: CDBEnv::Open: Error -30972 opening database environment: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery

2018-10-26 10:56:16 Moved old C:\Users\Джонни\AppData\Roaming\Zcash\database to C:\Users\Джонни\AppData\Roaming\Zcash\database.1540551376.bak. Retrying.
2018-10-26 10:56:16 CDBEnv::Open: LogDir=C:\Users\Джонни\AppData\Roaming\Zcash\database ErrorFile=C:\Users\Джонни\AppData\Roaming\Zcash\db.log
2018-10-26 10:56:16 ERROR: CDBEnv::Open: Error -30972 opening database environment: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery

2018-10-26 10:56:16 Error:
2018-10-26 10:56:16 Shutdown: In progress…
2018-10-26 10:56:16 StopRPC: waiting for async rpc workers to stop
2018-10-26 10:56:16 StopNode()
2018-10-26 10:56:16 Shutdown: done
2018-10-26 10:56:16 scheduler thread interrupt

you just need to install and run the latest release from winzec.com, it’ll use your wallet and blockchain database from zcash4win

ok, that’s what I was afraid was gonna happen with their attempted quick fix :frowning:

I’ll send this back to the zcashd team

@jekis Shut down, move the wallet database (AppData\Roaming\Zcash\database) somewhere safe and restart. Zcashd will create a new wallet database. This is to see if the username+encoding issue is solved for parameter loading (looks like it is) and determine if the database issue is also an encoding issue (the new wallet fails to be created and load on subsequent restarts) or a corruption issue with the existing database.

1 Like

Now my database folder is empty. Is that right?

@jekis Yes, that’s right. If you now launch WinZec, does it run ok?

The issue is fixed by this PR:

1 Like

Use this zipfile to replace zcashd.exe and zcash-cli.exe in the c:\Program Files\winzec\app folder:
https://zcash.dl.mercerweiss.com/zcash-win-v2.0.1b.zip

If it works I’ll get a new release of winzec with it incorporated out

cc: @gari @bitcartel

I just uploaded a bugfix release for International users with non-ASCII usernames, which was causing v2.0.1 to not launch. Version 2.0.1i is up at https://winzec.com now.

Thanks for everyone’s patience while the Zcash team and I got this fixed!

-Jane MercerWeiss
Denver, CO

6 Likes

David, thank you very much. Now everything works.

2 Likes

Everything works. Thanks.

2 Likes

Awesome, glad to hear it!

Especially as so many of my users are from Russia and China and are likely to have hit this bug

4 Likes

Sapling is active!

You can generate a Sapling address in the current WinZEC on the command line in cmd.exe with these commands:

cd "C:\Program Files\winzec\app"
zcash-cli z_getnewaddress sapling

and it will show up in the WinZEC GUI

4 Likes

Oh and btw my Sapling donation address is:
zs14zee83h9gvnrtvexz7vv7fcza988amhxej5gq0xjxr8kfx8w2wzjlqxa2smz2mz5uln9vatgzvu

:slight_smile:

2 Likes