Thank you, Sébastien. I indeed had not used MySQLdb in app.yam, nor had I
included credentials on the tried what you suggested and still get an error
on the dev_appserver.py command line. Log files say this:
ERROR2015-10-23 21:47:10,581 restricted.py:174] Traceback (most recent
call last):
Is it happening locally? Did you install MySQLdb?
I app.yaml you have to add under "libraries"
- name: MySQLdb
version: "latest"
Finally you have to add your MySQL credential to dev_appserver.py like:
dev_appserver.py [root folder of web2py] --mysql_user=[mysql user]
--mysql_password=[mysql
Thanks for the idea, it will do for now!
Den tisdagen den 26:e augusti 2014 kl. 15:20:26 UTC+2 skrev Leonel Câmara:
>
> I guess a quick solution for you, could be to monkeypatch
> isProgrammingError to something like this
>
> def isProgrammingError(self, exception):
> return exception.__c
I guess a quick solution for you, could be to monkeypatch
isProgrammingError to something like this
def isProgrammingError(self, exception):
return exception.__class__.__name__ == 'ProgrammingError'
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://gith
I guess
--
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.
Is this an open issue?
On Thursday, 8 August 2013 15:48:00 UTC-5, Felipe Augusto Meirelles wrote:
>
> Hi!
>
> I'm trying to update to the latest versions of web2py. I use GAE + Google
> Cloud SQL.
>
> On the latest release version I got the error "AttributeError:
> 'GoogleSQLAdapter' object has
re the image application: my recommendation is use blobstore for the
images. then you can use the google high-performance image serving URL
(which last i checked both is faster than anything you can do directly and
cheaper). That serves your images then using the same technology as picassa
(i
I took a second look at this today. I had it working in April but
somehow it broke along the way since nobody else had access or tested
it. I fixed it now in trunk.
Here are some instructions:
1) read the docs:
http://code.google.com/apis/sql/docs/before_you_begin.html#enroll
2) apply for a SQL i
I do not have any performance information at this time.
I do not think Google has published any.
Eventually we should run our own benchmarks.
On Oct 8, 3:19 pm, Kurt Fehlhauer wrote:
> Massimo,
>
> Thanks for your reply. This may not be the appropriate forum to ask
> this. As far as performance i
Massimo,
Thanks for your reply. This may not be the appropriate forum to ask
this. As far as performance is concerned will Google Cloud SQL handle
blobs as well as Big Table does running on Google's infrastructure? I
suspect the answer will be that the differences are so negligible that
it won't m
+1.
On Oct 7, 3:34 am, Massimo Di Pierro
wrote:
> I guess this finally relieves me from the non-disclosure agreement ;-)
>
> web2py has already been running on GAE+SQL since March:
>
> http://web2py-tests.appspot.com/mysql/tests
>
> All web2py apps can now run GAE. Just use a connection
In can do both. In fact you can have a
db1=DAL('google:sql://...')
and a
db2=DAL('google:datastore://...')
and store some data in db1 and some in db2.
I will add this in the howto I plan to write.
On Oct 7, 11:47 pm, Kurt Fehlhauer wrote:
> Massimo,
>
> I am creating a photo gallery application
Massimo,
I am creating a photo gallery application and have questions in regard
to Google Cloud SQL. Do you have any best-practice advice on storing
images in GAE when using SQL? Should it go in the database as a blob
or should it be stored as a blob property in the Google datastore?
Thanks,
Kurt
Even I am also exited for that, You have already told me regarding GAE
+SQL(tested) but i could not understand. Day before yesterday i got
this information and i found my solution for ERP. Also along with that
Hangout API also i found good that also i want to use in my system.
Massimo shell we hav
I guess this finally relieves me from the non-disclosure agreement ;-)
web2py has already been running on GAE+SQL since March:
http://web2py-tests.appspot.com/mysql/tests
All web2py apps can now run GAE. Just use a connection string like:
DAL('google:sql://gmailcom:web2pytests/guestboo
15 matches
Mail list logo