HorizenOfficial / Sphere_by_Horizen

86 stars 57 forks source link

Windows 10 - 1.6.0-beta not copying binaries to %appdata%\Horizen and stuck in copy loop #85

Closed psyraxaus closed 1 year ago

psyraxaus commented 1 year ago

Hi team, A few users have reported that when attempting to change from lite mode to full node mode the 1.6.0-beta version of the wallet fails to copy the binaries to %appdata%\Horizen.

I can replicate the issue on my Windows 10 21H2 dev VM, and from what I can see the GUI is trying to copy the binaries but does not work and gets stuck in a loop without copying the binaries and continues to copy the temp files to the %appdata%\Horizen folder.

Please see the following video screen capture.

https://user-images.githubusercontent.com/33170913/210633859-90ffaf64-fb8a-4974-8db6-fe59fc1b5243.mov

The %appdata%\Sphere by Horizen\log.log has the following repeating in it: [2023-01-05 06:29:08.561] [info] C://Users//test//AppData//Roaming/horizen//zend// [2023-01-05 06:29:08.568] [info] C://Users//test//AppData//Roaming/ZcashParams/ [2023-01-05 06:29:08.575] [error] webpack_require(...) is not a function [2023-01-05 06:29:08.666] [info] zend exec path is "C:\Users\test\AppData\Roaming/horizen/zend/zend.exe" [2023-01-05 06:29:08.799] [info] zend not found. [2023-01-05 06:29:08.800] [info] [2023-01-05 06:29:08.804] [info] installing zend... [2023-01-05 06:29:08.810] [info] zend exec path is "C:\Users\test\AppData\Roaming/horizen/zend/zend.exe" [2023-01-05 06:29:09.106] [info] zend not found. [2023-01-05 06:29:09.107] [info] [2023-01-05 06:29:09.211] [info] { directory: 'C:\Users\test\AppData\Roaming/horizen', fileName: 'zend-temp.zip', fullPath: 'C:\Users\test\AppData\Roaming/horizen/zend-temp.zip' } [2023-01-05 06:29:09.212] [info] C://Users//test//AppData//Roaming/horizen//zend// [2023-01-05 06:29:09.213] [info] C://Users//test//AppData//Roaming/ZcashParams/ [2023-01-05 06:29:09.255] [error] webpack_require(...) is not a function [2023-01-05 06:29:09.553] [info] zend exec path is "C:\Users\test\AppData\Roaming/horizen/zend/zend.exe"

Can you please investigate and advise?

Thanks

psyraxaus commented 1 year ago

Here is a work around: 1) Close the Sphere wallet 2) Navigate to %appdata%\horizen in windows explorer 3) Copy the files, except fetch-params.ps1 in the Zen_Win_binaries_v3.2.0_legacy_cpu folder in the zend-temp.zip to %appdata%\horizen\zend 4) Copy the fetch-params.ps1 to %appdata%\horizen 5) run the %appdata%\horizen\setup_zen.bat, which will then fetch the params 6) after the params are fetched and opening the wallet again, the wallet starts syncing as it should

angievi commented 1 year ago

Hey @psyraxaus thanks for letting us know about the issue. We are ticketing this and will come back ASAP! Angie.

yurikoinaba commented 1 year ago

@psyraxaus We've released v1.8.1-beta. Let us know if this addresses the issue.