Skip to content
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

ModuleNotFoundError: No module named 'flask.ext' #228

Open
sathish-sign opened this issue Mar 7, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'flask.ext' #228

sathish-sign opened this issue Mar 7, 2024 · 1 comment

Comments

@sathish-sign
Copy link

I have cloned the repo and followed the README.md to start the app.
But after running the command honcho start -e config.env -f Local
i got below error, seems like the module is depricated.

15:44:52 system   | redis.1 started (pid=3830)
15:44:53 system   | web.1 started (pid=3834)
15:44:53 system   | worker.1 started (pid=3835)
15:44:53 redis.1  | 3833:C 07 Mar 2024 15:44:53.027 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
15:44:53 redis.1  | 3833:C 07 Mar 2024 15:44:53.032 # Redis version=7.0.15, bits=64, commit=00000000, modified=0, pid=3833, just started
15:44:53 redis.1  | 3833:C 07 Mar 2024 15:44:53.033 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.035 * Increased maximum number of open files to 10032 (it was originally set to 1024).
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.036 * monotonic clock: POSIX clock_gettime
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.037 * Running mode=standalone, port=6379.
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.040 # Server initialized
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.041 * Ready to accept connections
15:44:53 worker.1 | Traceback (most recent call last):
15:44:53 worker.1 |   File "userflask-base/manage.py", line 5, in <module>
15:44:53 worker.1 |     from flask_migrate import Migrate, MigrateCommand
15:44:53 worker.1 |   File "/home/user/.flask/lib/python3.11/site-packages/flask_migrate/__init__.py", line 3, in <module>
15:44:53 worker.1 |     from flask.ext.script import Manager
15:44:53 worker.1 | ModuleNotFoundError: No module named 'flask.ext'
15:44:53 web.1    | Traceback (most recent call last):
15:44:53 web.1    |   File "/home/user/flask-base/manage.py", line 5, in <module>
15:44:53 web.1    |     from flask_migrate import Migrate, MigrateCommand
15:44:53 web.1    |   File "/home/user/.flask/lib/python3.11/site-packages/flask_migrate/__init__.py", line 3, in <module>
15:44:53 web.1    |     from flask.ext.script import Manager
15:44:53 web.1    | ModuleNotFoundError: No module named 'flask.ext'
15:44:53 system   | worker.1 stopped (rc=1)
15:44:53 system   | sending SIGTERM to redis.1 (pid 3830)
15:44:53 system   | sending SIGTERM to web.1 (pid 3834)
15:44:53 redis.1  | 3833:signal-handler (1709826293) Received SIGTERM scheduling shutdown...
15:44:53 system   | web.1 stopped (rc=-15)
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.444 # User requested shutdown...
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.444 * Saving the final RDB snapshot before exiting.
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.447 * DB saved on disk
15:44:53 redis.1  | 3833:M 07 Mar 2024 15:44:53.447 # Redis is now ready to exit, bye bye...
15:44:53 system   | redis.1 stopped (rc=-15)```
@kaebmoo
Copy link

kaebmoo commented May 10, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants