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

FileNotFoundError: [Errno 2] No such file or directory: 'tmp/de15864d535c11eb876680fa5b60bc61.png' #12

Open
alexitive opened this issue Jan 10, 2021 · 0 comments

Comments

@alexitive
Copy link

At last I have configured the environment successfully, and I accessed localhost:5000 and upload a picture. Then I pressed the go art button, an unexpected error occurred:

FileNotFoundError: [Errno 2] No such file or directory: 'tmp/0a520bff535e11ebbe7680fa5b60bc61.png'

Traceback (most recent call last)
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 2464, in call
return self.wsgi_app(environ, start_response)
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 2450, in wsgi_app
response = self.handle_exception(e)
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1867, in handle_exception
reraise(exc_type, exc_value, tb)
File "D:\Anaconda\envs\py37\lib\site-packages\flask_compat.py", line 39, in reraise
raise value
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "D:\Anaconda\envs\py37\lib\site-packages\flask_compat.py", line 39, in reraise
raise value
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "D:\Anaconda\envs\py37\lib\site-packages\flask\app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "F:\WorkPlace\artline-demo\artline-demo\app.py", line 76, in result_view
f.save(local_file)
File "D:\Anaconda\envs\py37\lib\site-packages\werkzeug\datastructures.py", line 3066, in save
dst = open(dst, "wb")
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/0a520bff535e11ebbe7680fa5b60bc61.png'

I want to know how to solve this error.

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