Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Fix missing alembicrepo folder when running setup.py freeze #588

Merged
merged 1 commit into from
Jul 25, 2021

Conversation

Fris0uman
Copy link
Contributor

So I tried to compile the portable version of the launcher locally and got this error when trying to run the resulting exe

Type: <class 'alembic.util.exc.CommandError'>
Value: Path doesn't exist: 'D:\\Game\\CataclysmCODE\\CDDA-Game-Launcher\\dist\\launcher\\alembicrepo'. Please use the 'init' command to create a new scripts folder.
Traceback:
File "cddagl\launcher.py", line 161, in <module>

File "cddagl\launcher.py", line 154, in run_cddagl
File "cddagl\sql\functions.py", line 43, in init_config
File "alembic\command.py", line 274, in upgrade
File "alembic\script\base.py", line 148, in from_config
File "alembic\script\base.py", line 70, in __init__

And I think it came from a missing line in setup.py, this PR appears to fix it

@remyroy
Copy link
Owner

remyroy commented Jul 25, 2021

Yep, that directory was changed. Thanks for the PR

@remyroy remyroy merged commit 560c987 into remyroy:master Jul 25, 2021
@Fris0uman Fris0uman deleted the setupFix branch August 6, 2021 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants