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

Update for python3. https://github.com/huangtao36/Blog_mini #49

Open
huangtao36 opened this issue Apr 16, 2020 · 1 comment
Open

Update for python3. https://github.com/huangtao36/Blog_mini #49

huangtao36 opened this issue Apr 16, 2020 · 1 comment

Comments

@huangtao36
Copy link

huangtao36 commented Apr 16, 2020

all done. https://github.com/huangtao36/Blog_mini

@zhangguolin333
Copy link

@huangtao36 python manage.py deploy product 报异常
daniao@ubuntu:~/project/Blog_mini$ python3 manage.py deploy product
Traceback (most recent call last):
File "manage.py", line 9, in
app = create_app()
File "/home/daniao/project/Blog_mini/app/init.py", line 19, in create_app
app = Flask(name)
File "/home/daniao/.local/lib/python3.8/site-packages/flask/app.py", line 601, in init
self.add_url_rule(
File "/home/daniao/.local/lib/python3.8/site-packages/flask/app.py", line 98, in wrapper_func
return f(self, *args, **kwargs)
File "/home/daniao/.local/lib/python3.8/site-packages/flask/app.py", line 1278, in add_url_rule
self.url_map.add(rule)
File "/home/daniao/.local/lib/python3.8/site-packages/werkzeug/routing.py", line 1563, in add
rule.bind(self)
File "/home/daniao/.local/lib/python3.8/site-packages/werkzeug/routing.py", line 710, in bind
self.compile()
File "/home/daniao/.local/lib/python3.8/site-packages/werkzeug/routing.py", line 766, in compile
self._build = self._compile_builder(False)
File "/home/daniao/.local/lib/python3.8/site-packages/werkzeug/routing.py", line 1129, in _compile_builder
return self.BuilderCompiler(self).compile(append_unknown)
File "/home/daniao/.local/lib/python3.8/site-packages/werkzeug/routing.py", line 1120, in compile
co = types.CodeType(*code_args)
TypeError: code() takes at least 14 arguments (13 given)

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