Petros Keshishian
pkeshishian at yahoo.com
Tue Dec 30 09:13:18 EST 2003
I do have PythonDebud On, but it does not report any errors. The error log has the following: [Tue Dec 30 09:07:16 2003] [notice] mod_python: (Re)importing module 'pyhndlr' with path set to '['/usr/local/apache2/htdocs/auaweb/frm_address']' [Tue Dec 30 09:07:16 2003] [notice] child pid 4161 exit signal Segmentation fault (11) pyhndlr.py is the file where the code resides. I hope you know what this segmentation fault could be. Thanks, Petros --- "Michael C. Neel" <neel at mediapulse.com> wrote: > Do you have PythonDebug On in your conf to see any > traceback errors? > They should also be in your error log as well, even > if debug is off. If > they don't answer your questions, forward those on > they will help in > seeing the problem. > > Thanks, > Mike > > > > -----Original Message----- > > From: Petros Keshishian > [mailto:pkeshishian at yahoo.com] > > Sent: Tuesday, December 30, 2003 4:55 AM > > To: mod_python at modpython.org > > Subject: [mod_python] MySQLdb > > > > > > I would very much appreciate if anyone could > resolve > > my problem with MySQLdb. > > > > I am try to run a query from mod_python as > follows: > > > > db = MySQldb.connect(db='aua', user='root') > > c = db.cursor() > > c.execute('select fname,lname,gyear from addrbk') > > > > The program freezes at the last (3rd) line. The > same > > code works fine if I run it from python shell > > directly. > > The code even works in mod_python if I query for > less > > than 3 column, e.g. > > > > c.execute('select fname,lname from addrbk') > > or > > c.execute('select lname, gyear from addrbk') > > > > Can anybody tell me what's going on? > > > > Thank you for your help, > > Petros > > > > > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Find out what made the Top Yahoo! Searches of 2003 > > http://search.yahoo.com/top2003 > > _______________________________________________ > > Mod_python mailing list > > Mod_python at modpython.org > > > http://mailman.modpython.org/mailman/listinfo/mod_python > > __________________________________ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003
|