Hey, 

Your error seems to be related to your implementation. Having the error 
"IOError: Errno 2 No such file or directory" points that you're trying to 
write or read a file that doesn't exist. Or at least, is not where you're 
indicating. In this case, the error thrown is because the file "**/output" 
is not where you expect.

Most likely, the problem is that you're using a relative file path to open 
the file, but the current working directory isn't set to what you think it 
is.
It's a common misconception that relative paths are relative to the 
location of the python script, but this is untrue. 

Relative file paths are always relative to the current working directory, 
and the current working directory doesn't have to be the location of your 
python script.
Please take a look at the following blogs [1, 2, 3] where users have found 
different approaches to solve this.

[1] - 
https://stackoverflow.com/questions/12201928/python-open-gives-ioerror-errno-2-no-such-file-or-directory

[2] - https://help.pythonanywhere.com/pages/NoSuchFileOrDirectory/

[3] - 
https://www.reddit.com/r/learnpython/comments/3uriob/file_io_ioerror_errno_2_no_such_file_or_directory/

On Monday, September 30, 2019 at 11:42:28 AM UTC-5, Willy Kouagnia wrote:
>
> hi, 
>
> i am new with on gcp. i work on django project. I want deploy my project 
> on app engine but, i have a mistake with command line gcloup app deploy. i 
> saw logs but, i not understand. Please can you help me? thanks. PS: sorry 
> for my english
> this is my logs
>
> [image: Capture d’écran, le 2019-09-28 à 14.33.56.png]
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/129241be-e524-469e-936f-cfb277e93376%40googlegroups.com.

Reply via email to