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

Problem: can't start the app #132

Open
triangle959 opened this issue Sep 19, 2019 · 0 comments
Open

Problem: can't start the app #132

triangle959 opened this issue Sep 19, 2019 · 0 comments

Comments

@triangle959
Copy link

triangle959 commented Sep 19, 2019

When I ran this example, I reported the following error

2019/09/19 10:15:50 [Register] OK <Post: /posts /news?p=1>
2019/09/19 10:15:50 [Register] OK <Post: /posts?page={page} /news?p={page}>
2019/09/19 10:15:50 [Register] OK <Page: /posts /news?p=1>
2019/09/19 10:15:50 [Register] OK <Page: /posts?page={page} /news?p={page}>
2019/09/19 10:15:50 [Serving ] OK http://0.0.0.0:5001
2019/09/19 10:15:50 [Serving ] FAIL Windows error 1
2019/09/19 10:15:50 [Serving ] FAIL Traceback (most recent call last):
File "D:\python\lib\site-packages\toapi\api.py", line 50, in run
self.app.run(host, port, **options)
File "D:\python\lib\site-packages\flask\app.py", line 938, in run
cli.show_server_banner(self.env, self.debug, self.name, False)
File "D:\python\lib\site-packages\flask\cli.py", line 629, in show_server_banner
click.echo(message)
File "D:\python\lib\site-packages\click\utils.py", line 260, in echo
file.write(message)
File "D:\python\lib\site-packages\click_winconsole.py", line 180, in write
return self._text_stream.write(x)
File "D:\python\lib\site-packages\click_winconsole.py", line 164, in write
raise OSError(self._get_error_message(GetLastError()))
OSError: Windows error 1

toapi, version 2.1.0
Flask 1.0.2
Python 3.6.0

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

1 participant