Comments (5)
It seems like you are using Invoke <0.13. Either update it or wait a couple of hours while I backport all new features and fixes back to this example project.
from flask-restplus-server-example.
Thanks! However:
ยป pip show invoke
Name: invoke
Version: 0.13.0
Summary: Pythonic task execution
Home-page: http://docs.pyinvoke.org
Author: Jeff Forcier
Author-email: [email protected]
License: BSD
Location: /usr/local/lib/python2.7/site-packages
Requires:
from flask-restplus-server-example.
Maybe it is the other way around... Try downgrading it to <0.13.
from flask-restplus-server-example.
Thanks, I've downgraded and upgraded pip and now it's no longer an issue.
Now I'm having a problem with migrations:
2016-11-18 17:10:47,940 [INFO] [tasks.app.dependencies] Swagger UI is installed.
/Users/ilaif/.virtualenvs/flask_restplus_example/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.babel is deprecated, use flask_babel instead.
.format(x=modname), ExtDeprecationWarning
Traceback (most recent call last):
File "/Users/ilaif/.virtualenvs/flask_restplus_example/bin/inv", line 11, in <module>
sys.exit(program.run())
File "/Users/ilaif/.virtualenvs/flask_restplus_example/lib/python2.7/site-packages/invoke/program.py", line 270, in run
self.execute()
File "/Users/ilaif/.virtualenvs/flask_restplus_example/lib/python2.7/site-packages/invoke/program.py", line 379, in execute
executor.execute(*self.tasks)
File "/Users/ilaif/.virtualenvs/flask_restplus_example/lib/python2.7/site-packages/invoke/executor.py", line 114, in execute
result = call.task(*args, **call.kwargs)
File "/Users/ilaif/.virtualenvs/flask_restplus_example/lib/python2.7/site-packages/invoke/tasks.py", line 113, in __call__
result = self.body(*args, **kwargs)
File "/Users/ilaif/Desktop/flask-restplus-server-example/tasks/app/run.py", line 37, in run
context.invoke_execute(context, 'app.db.upgrade', app=app)
File "/Users/ilaif/Desktop/flask-restplus-server-example/tasks/__init__.py", line 72, in invoke_execute
results = Executor(namespace, config=context.config).execute((command_name, kwargs))
File "/Users/ilaif/.virtualenvs/flask_restplus_example/lib/python2.7/site-packages/invoke/executor.py", line 114, in execute
result = call.task(*args, **call.kwargs)
File "/Users/ilaif/.virtualenvs/flask_restplus_example/lib/python2.7/site-packages/invoke/tasks.py", line 113, in __call__
result = self.body(*args, **kwargs)
File "/Users/ilaif/Desktop/flask-restplus-server-example/tasks/app/_utils.py", line 56, in wrapper
return func(*args, **kwargs)
TypeError: upgrade() takes at least 1 argument (0 given)
Really appreciating your help, I think I'm close :)
from flask-restplus-server-example.
Please, try the latest master. Both invoke 0.12 and 0.13 should work.
from flask-restplus-server-example.
Related Issues (20)
- auth failed with access_token from Client Credentials Grant HOT 3
- Werkzeug version is incompatible HOT 2
- [QUESTION] How can i work with SQLALCHEMY_BINDS? HOT 2
- How Can I Disable OAuth2 Module? HOT 2
- How to display Chinese in API Response? HOT 2
- How can add my model in API for this flame? HOT 1
- How to implement filter query request for the framework? HOT 4
- How can use Mysql DB Instead Sqlite? HOT 2
- How to run the application as a service? HOT 1
- How can to custom json response for this project? HOT 3
- [QUESTION] Best place to implement implement expanding of returned objects/schema's HOT 2
- why the project backend run failed on linux(centos7) ? HOT 4
- How can I upload or update a file field? HOT 1
- [Question] Oauth: How to use other Oauth system? HOT 2
- How can you use schemas in this project with celery HOT 4
- [Question] Best practice for nested data in POST HOT 6
- File upload works as documented, but SPA's also can upload file's via JSON in body HOT 1
- Porting to Flask-RESTX? HOT 1
- Question: what is suggested way to add endpoints to respond web pages ? HOT 2
- ModuleNotFoundError: No module named 'config' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-restplus-server-example.