I now see the problem. The issue is that the filename does not match the 
pattern. It is

uploads*.*thumb*.*08974530*-*d8a6*-*4c6c*-*a9d2*-*ad59e319b953*.*jpg


but should be


uploads*.*thumb*.*08974530*-*d8a6*-*4c6c*-*a9d2*-*ad59e319b953*
.<base64encodedname>.*jpg

This was not enforded before. Please open a ticket about this and I will 
make the *<base64encodedname> part optional.*

On Sunday, 4 August 2013 18:13:02 UTC-5, Michael Gheith wrote:
>
> Hello web2py community!
>
> I used to be able to use the following web2py slice successfully in the 
> past (about a year ago):
>
> http://www.web2pyslices.com/slice/show/1387/upload-image-and-make-a-thumbnail
>
> Now it's not working with the latest build of web2py.  Is anyone able to 
> successfully get this slice working with the latest web2py build?
>
> The code is successfully creating the thumbnail and storing it in the 
> uploads folder.  I can physically see it on the file system.  But I get a 
> ticket whenever I try to access the thumbnail through the DB admin or 
> through the URL bar:
> <type 'exceptions.TypeError'> Can't retrieve 
> uploads.thumb.16e0d9fd-bc66-4b36-9c75-03aaea1d8603.PNG
>
> I don't think there is anything wrong with what I am doing.  I think the 
> problem resides in the slice and web2py breaking backward compatibility... 
>  Please provide guidance, thanks!
>

-- 

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to