You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
#!/usr/bin/env python
from flask.ext.script import Manager , Shell, Server
from flask_assets import ManageAssets
from example import app,assets_env
manager = Manager(app)
manager.add_command("runserver" , Server())
manager.add_command("shell",Shell())
manager.add_command("assets", ManageAssets(assets_env))
manager.run()
I am getting following error when I used Flask_Script 2.0.5. Same thing works with Flask_script 0.5x.
Traceback (most recent call last)
File "manage.py", line 10, in
manager.run()
File "/Users/sandipmore/Documents/workspace/magic-chips/backend/venv/lib/python2.7/site-packages/flask_script/init.py", line 412, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "/Users/sandipmore/Documents/workspace/magic-chips/backend/venv/lib/python2.7/site-packages/flask_script/init.py", line 350, in handle
app_parser = self.create_parser(prog)
File "/Users/sandipmore/Documents/workspace/magic-chips/backend/venv/lib/python2.7/site-packages/flask_script/init.py", line 193, in create_parser
command_parser = command.create_parser(name, func_stack=func_stack, parent=self)
TypeError: create_parser() got an unexpected keyword argument 'func_stack'
What changes does it need to make in the code. Is it issue with supplied argument assets_env?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am getting following error when I used Flask_Script 2.0.5. Same thing works with Flask_script 0.5x.
What changes does it need to make in the code. Is it issue with supplied argument assets_env?
The text was updated successfully, but these errors were encountered: