Fresh install v1.8.1 on win11 fails with specterd exited with code 1
See original GitHub issueTrying to run / fresh install specter-desktop on win11 system.
Unfortunately fails with a specterd exited with code 1
Logerror does not directly indicates a way around the issue
2022-02-03T18:35:01.179Z [info] : Framework Ready! Starting tray Icon ...
2022-02-03T18:35:01.201Z [info] : Framework Ready! Initializing Main-Window, populating Menu ...
2022-02-03T18:35:01.277Z [info] : Creating specterd-binaries folder
2022-02-03T18:35:01.277Z [info] : Updating C:\Users\UserId\.specter\app_settings.json : {"mode":"specterd","specterURL":"http://localhost:25441","tor":false,"proxyURL":"socks5://127.0.0.1:9050","specterdVersion":"v1.8.1","specterdHash":"466d34f9c4fc78b774815733333afce8240862a57e053f0826aee3700af219a4b","specterdCLIArgs":"","versionInitialized":false}
2022-02-03T18:35:01.280Z [info] : Using version
2022-02-03T18:35:01.280Z [info] : https://github.com/cryptoadvance/specter-desktop/releases/download/v1.8.1/specterd-v1.8.1-win64.zip
2022-02-03T18:35:01.839Z [info] : content-type:
2022-02-03T18:35:01.839Z [info] : content-length:
2022-02-03T18:35:05.940Z [info] : Starting specterd C:\Users\UserId\.specter\specterd-binaries/specterd.exe server,--no-filelog
2022-02-03T18:35:14.719Z [info] : stderr-SPECTERD: INFO in server: Configuration: cryptoadvance.specter.config.ProductionConfig
2022-02-03T18:35:14.723Z [info] : stderr-SPECTERD: INFO in specter_migrator: Initiated MigDataManager(C:\Users\UserId/.specter\migration_data.json events:0 execs:0 )
SPECTERD: INFO in specter_migrator: A new version has been started compared to last time: v1.8.1
2022-02-03T18:35:14.728Z [info] : stderr-Traceback (most recent call last):
File "specterd.py", line 4, in <module>
File "click\core.py", line 829, in __call__
File "click\core.py", line 782, in main
File "click\core.py", line 1259, in invoke
File "click\core.py", line 1066, in invoke
File "click\core.py", line 610, in invoke
File "cryptoadvance\specter\cli\cli_server.py", line 114, in server
File "cryptoadvance\specter\server.py", line 104, in init_app
File "cryptoadvance\specter\util\specter_migrator.py", line 125, in execute_migrations
File "cryptoadvance\specter\util\specter_migrator.py", line 107, in plan_migration
File "cryptoadvance\specter\util\specter_migrator.py", line 161, in get_migration_classes
File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py", line 71, in _pyi_pkgutil_iter_modules
AssertionError
[22640] Failed to execute script 'specterd' due to unhandled exception!
2022-02-03T18:35:14.728Z [info] : stdout-Initializing HWI...
2022-02-03T18:35:15.095Z [error] : specterd exited with code 1
2022-02-03T18:35:15.096Z [info] : child process exited with code 1
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Fix Process Exited With Code 1 CMD Error On Windows 11
This Tutorial Helps to Fix Process Exited With Code 1 CMD Error On Windows 1100:00 Intro00:11 Method 1 - Run With Administrator Rights00:40 ......
Read more >Classic Shell Returns For Windows 11 (with and/or without ...
I ave been told that some are even running .173 version on Win 11 without the Explorer mod installed. Let me know if...
Read more >SOLVED Fresh Windows 11 install fails due to requirements ...
I built a new system. Here are the basics: ASUS B550M-Plus motherboard. AMD Ryxen 5700X processor. 16 GB memory. 2 X 1 TB...
Read more >npm ERR! gyp ERR! when installing node sass in windows 11 ...
I'm trying to install npm install node-sass --save-dev in my windows 11 but I get this npm ERR! gyp ERR! Error details:
Read more >Download Visual Studio Code - Mac, Linux, Windows
Read about the new features and fixes from November. Dismiss this update. Download Visual Studio Code. Free and built on open source.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I installed the 1.8.2-pre and was able to finish the install.
Do you have a ramdisk or some fancy filesystem-layout or anthing like that?
No, just windows 11, and running the installer. Note, I did see that specter installed stuff all over the place, e.g. I found folder in in the [user]/.specter , in [user]/appdata/roaming, in [user]appdata/lowThanks for the report. I have an idea what the reason for this is. It’s a variation of https://github.com/pyinstaller/pyinstaller/issues/6537 but i’m still confused why this is an issue under win as we fixed it by #1533 and monkey-patching the hook, but only for MacOS.
So maybe we need to do that for specific versions of windows as well. The problem is described in the issue at the pyinstaller. Maybe Windows is also using two different folders where stuff is unpacked or it uses symlinks like MacOS.
In that case, my solution was:
Help would be much appreciated.