-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError: ...\\aerich.exe\\__main__.py' #9
Comments
Sorry, it don't test in windows because I use Mac always, do you exec |
it works fine when i run it with tortoise, but it doenst work with aerich. |
Maybe it because |
probably... should i move all models to another file called modules. then change the dict to:
modules being the folder where i'd save the models.py file with only the models, is that alright? |
Yes |
So it kind of worked but theres a couple extra errors.
the process hanged indefinetly so i had to terminate it.
But again the process hanged there so had to be terminated. Then i finally did:
and again the procees hanged there indefinetly, so had to be killed. |
There maybe a bug of aiosqlite, see omnilib/aiosqlite#35 , and also I don't make some tests in sqlite. |
I tried running aerich inside my vps, running ubuntu 20.04, fully updated.
|
Can you show json version file in |
this is my
And I have the next structure of project @long2ice I suggest adding a replacement here |
Which db do you use? sqlite may not work. |
PostgreSQL |
I fix a bug for windows, you can install from dev branch and try it. |
When I try
It's happenes because If I try |
OK, that's difference between in *nix and windows. |
Im sorry for the delay, had troubles in more than one area of life....
Im guessing this is the info you requested but there is another json file called, added columns:
|
i cloned the dev branch and i've been trying to compile it. make tests however throws this error: Using python3.8 (3.8.3) No dependencies to install or update PYTHONDEVMODE=1 TEST_DB=sqlite://:memory: py.test |
@chrisdewa I'm here from trying to solve another problem on aiosqlite, but |
Fixed by #379 |
It seems that virtual environment is not activated, should run |
When trying to execute
aerich init-db
i get the following error and traceback:I'm working on a windows 10 computer. Command was called through powershell.
Python version is 3.8.2
aerich was installed using regular pip install aerich
The text was updated successfully, but these errors were encountered: