Hi 
  It looks like your escape sequence is missing *\\ *try using these before 
or after the folder path you are specifying. Again , just to add I used 
Pillow instead of PIL it works properly on windows. 

Rahul

On Monday, July 1, 2019 at 11:50:10 AM UTC+5:30, Márcio Luis Dresch wrote:
>
> Hi, I'm new to web2py and am looking for a solution to a problem. The 
> library is returning a path error while fetching an image for the 
> thumbnail. 
> I took the example from:
>
>
> http://www.web2pyslices.com/slice/show/1522/generate-a-thumbnail-that-fits-in-a-box,
>  
>
>
> which returns
>
> File "C: \ Users \ marcio.INTRANET \ AppData \ Local \ Programs \ Python \ 
> Python37-32 \ lib \ site-packages \ PIL \ Image.py", line 2652, in open fp 
> = builtins.open (filename, "rb")
>
> FileNotFoundError: [Errno 2] No such file or directory: 'D: \\ web2py \\ 
> applications \\ ImageUploads / 
> article.picture.99b1bed4d9cf8a04.636172726f2e6a7067.jpg'
> Can anyone help a clarify about the error?
>
> windows10 64
> Web2py 2.18.5-stable+timestamp.2019.04.08.04.22.03
> (Rodando em Rocket 1.2.6, Python 3.7.2) 
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/f5f7da02-7875-434f-8574-754caf9a8fba%40googlegroups.com.

Reply via email to