[web2py] Re: pymysql gives Broken Pipe

2015-07-01 Thread Ben Lawrence
No, (Running on Apache/2.4.7 (Ubuntu), Python 2.7.6) On Tuesday, June 30, 2015 at 5:46:07 PM UTC-7, Derek wrote: > > are you on osx perchance? > > On Tuesday, June 30, 2015 at 3:59:07 PM UTC-7, Ben Lawrence wrote: >> >> I am seeing broken pipe errors like this on low volume site using pg8000 >> o

[web2py] Re: pymysql gives Broken Pipe

2015-06-30 Thread Derek
are you on osx perchance? On Tuesday, June 30, 2015 at 3:59:07 PM UTC-7, Ben Lawrence wrote: > > I am seeing broken pipe errors like this on low volume site using pg8000 > on web2py Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 > > Should we use this http://stackoverflow.com/a/180922/395033

[web2py] Re: pymysql gives Broken Pipe

2015-06-30 Thread Ben Lawrence
I am seeing broken pipe errors like this on low volume site using pg8000 on web2py Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 Should we use this http://stackoverflow.com/a/180922/3950334 Error:: [Errno 32] Broken pipe - *File /home/www-data/web2py/gluon/contrib/pg8000/co

[web2py] Re: pymysql gives Broken Pipe

2014-10-22 Thread Bilal Hasan
Have there been any updates on this? I am in production environment using Web2Py 2.8.2 and this problem popped up randomly. On Tuesday, February 1, 2011 2:36:32 PM UTC-6, Fran wrote: > > I have been getting Broken Pipe issues with pymysql: > Traceback (most recent call last): > File "/home/we

Re: [web2py] Re: pymysql gives Broken Pipe

2011-02-15 Thread Fran Boon
> On 6 February 2011 05:15, Massimo Di Pierro > wrote: >> Here is a proposed solution in trunk >> import mysqldb >> from gluon.dal import MySQLAdapter >> MySQLAdapter.adapter=mysqldb >> before calling db=DAL('mysql://...') I'm not sure this is being read everywhere, since I just got a broken pip

Re: [web2py] Re: pymysql gives Broken Pipe

2011-02-15 Thread Michele Comitini
I encountered the *broken pipe* error, when shutting down mysql server and restarting it. Is a pooled connection checked as active before being passed to the DAL in the active process? mic 2011/2/6 Fran Boon : > On 6 February 2011 05:15, Massimo Di Pierro > wrote: >> Here is a proposed solution

Re: [web2py] Re: pymysql gives Broken Pipe

2011-02-06 Thread Fran Boon
On 6 February 2011 05:15, Massimo Di Pierro wrote: > Here is a proposed solution in trunk > import mysqldb > from gluon.dal import MySQLAdapter > MySQLAdapter.adapter=mysqldb > before calling db=DAL('mysql://...') That seems very workable :) Thanks a lot, Fran.

[web2py] Re: pymysql gives Broken Pipe

2011-02-05 Thread Massimo Di Pierro
Here is a proposed solution in trunk import mysqldb from gluon.dal import MySQLAdapter MySQLAdapter.adapter=mysqldb before calling db=DAL('mysql://...')