Crafty Portable fails to launch after v4.4.10
Quick Information
- Operating System: Windows
- Install Type: WinPackage
What Happened?
Recent build of Crafty Portable on 4.4.10 will fail to launch if fresh install/deployment as the downloaded zip will only have app/, crafty.exe, crafty_updater.exe.
This is usually fine as it creates it's required directories on first launch. But this happens after the migrations.
Expected result
If the servers/ directory does not exist skip this migration: app\migrations\20250514_db_stats.py
Steps to reproduce
Download v4.4.10 Windows package and try and launch.
Screenshots
[+] Crafty: 15/06/2025 20:00:17 - INFO: Starting migrations
Traceback (most recent call last):
File "main.py", line 374, in <module>
File "app\classes\shared\migration.py", line 431, in up
File "app\classes\shared\migration.py", line 476, in up_one
File "<string>", line 12, in migrate
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\\Documents\\Downloads\\crafty-__saas-windows-medium-amd64__-_0d37806a\\servers'
[PYI-7500:ERROR] Failed to execute script 'main' due to unhandled exception!
Priority/Severity
-
High (anything that impacts the normal user flow or blocks app usage) -
Medium (anything that negatively affects the user experience) -
Low (anything else e.g., typos, missing icons/translations, layout/formatting issues, etc.)