I'm currently using web2py 2.1.1 and wanted to try 2.4.2 but I got a 
problem with retrieving uploaded files from the file system. I'm using the 
retrieve method of the upload field.
The problem is in dal.py line 9265 where it returns the file path instead 
of the stream.
stream = pjoin(file_properties['path'], name)
previously this was 
stream = open(pjoin(file_properties['path'], name), 'rb')

now my code does not work anymore. I assume the missing open call is a bug, 
right?

Alex

-- 

--- 
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