I've managed to figure out a solution. (Not sure if it's 100% correct 
though but it seems to work fine).

The GoogleSqlAdapter needs the following change:

class GoogleSQLAdapter(UseDatabaseStoredFile,MySQLAdapter):
    uploads_in_blob = True

Hope this helps somebody else.

Matt

On Tuesday, 27 March 2012 11:21:57 UTC+13, Matt wrote:
>
> Hi there,
>
> I'm trying to install a web2py application on GAE using Cloud SQL.
>
> When I try and submit a form that contains an upload field I get the 
> following exception:
>
> dal.py", line 6124, in store os.makedirs(path)
> AttributeError: 'module' object has no attribute 'makedirs'
>
> I'm currently running on web2py-1.99.7-stable.
>
> Any suggestions in fix this or is this a bug with the combination of GAE 
> and Cloud SQL?
>
> Thanks in advance,
> Matt
>

Reply via email to