Hi Christian,

On 06/03/13 07:42, Christian Foster Howes wrote:
the ticket you linked to looks like it is not failing on the connection,
but rather failing on a query.  these 2 line are of interest to me:

   File "/base/data/home/apps/s~gk-hercules/1.365624770532609305/gluon/dal.py", 
line 4115, in execute
     return self.log_execute(command.decode('utf8'), *a, **b)
   File "/base/data/home/apps/s~gk-hercules/1.365624770532609305/gluon/dal.py", 
line 1703, in log_execute
     ret = self.cursor.execute(*a, **b)


Well spotted - it's spitting out a very wide variety of errors, but I'm increasingly leaning to thinking it relates to the failed migration.

any chance you are able to open dal.py and put in some debug logging at those 
lines an run it again? I'm curious what query/command web2py is trying to run 
on the database.  that might open the door to the missing answer!


I'll do that - I've discovered that if I create an empty database via a direct connection to CloudSQL and point the DAL at that, the application is accessible.

Given GAE's recent issues around resources/latency, I'm beginning to think that this is the real issue, and the other factors are simply generating spurious errors before it can show me the "real" error.

I'm really anxious to get the migration pickles out of the db that they are attempting to manage and into GAE's datastore.

I've had to move the app to conventional hosting, as this has been a huge time-sink, so it will be a day or two before I get back to it.



--

Regards,

PhilK


e: [email protected] - m: 07775 796 747

'work as if you lived in the early days of a better nation'
- alasdair gray

--

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


Reply via email to