Open HNaga opened 4 years ago
brother was having the same problem I took the requirements.txt file and moved it into the pyerp folder then just follow the steps: cd pyerp pip3 install -r requirements.txt python manage.py init_pyerp python manage.py runserver
Same issue here.
2020-08-18 10:49:04,692 - DEBUG -settings.py:24 - hello world!
Traceback (most recent call last):
File "manage.py", line 21, in
UPDATE: Just created an empty installed_apps.py file and we're good now. Read the other thread on this.
Just creating installed_apps.py solves it? Because I did, I was able to run the project, but when I wanted to migrate the base, I only migrated the django structure without the other tables.
Thanks, I'll give that a try.
On Thu, Sep 24, 2020 at 3:34 AM Daniel Alberto Diaz < notifications@github.com> wrote:
Just creating installed_apps.py solves it? Because I did, I was able to run the project, but when I wanted to migrate the base, I only migrated the django structure without the other tables.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/falconsoft3d/pyerp/issues/8#issuecomment-698171419, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVXNSB2ED4A7ID2UJDCH7LSHLZBXANCNFSM4MYJFUFA .
i create pull request for adding installed_app.py
Thanks, yep that didi it. Cheers, Dave
On Sat, Sep 26, 2020 at 5:23 AM Youssri Ahmed Hamdy AboElseod < notifications@github.com> wrote:
i create pull request for adding installed_app.py
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/falconsoft3d/pyerp/issues/8#issuecomment-699468025, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVXNSGZMSAJJTBEKQJQUL3SHWXIBANCNFSM4MYJFUFA .
Could you run the application? I can't, I want to migrate the tables and it doesn't give me an error.
Yes, it runs fine now after creating the installed_apps.py file. Cheers, Dave
On Sat, Sep 26, 2020 at 1:45 PM Daniel Alberto Diaz < notifications@github.com> wrote:
Could you run the application? I can't, I want to migrate the tables and it doesn't give me an error.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/falconsoft3d/pyerp/issues/8#issuecomment-699526382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVXNSH66PLDIS7CI2M6V5DSHYSDNANCNFSM4MYJFUFA .
same error, because installed _apps written in .gitignore, how to solve that?
You can solve this problem by creating the installed _apps.py and after running the python manage.py init_pyerp.
Because the app need the file created, so after this it will be fill the file. If you in run in the linux you can be.
touch installed _apps.py python manage.py init_pyerp
when running python manage.py init_pyerp I got thefollowing error File "E:\Dev\Django\pyerp-master\pyerp\settings.py", line 80, in
with open('%s/installed_apps.py' % BASE_DIR, 'r') as ins_apps_file:
FileNotFoundError: [Errno 2] No such file or directory: 'E:\Dev\Django\pyerp-master/installed_apps.py'