On 2/8/2011 1:31 PM, randywitlicki wrote:
Hello,On a Red Linux system, I just upgraded PHP from 5.2 to 5.3 with Zend (I used yum) and that went well. But now, testingg all the other applications, Trac is broken: 2011-02-08 12:21:48,225 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ web/main.py", line 176, in dispatch chosen_handler) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ web/main.py", line 296, in _pre_process_request chosen_handler = filter_.pre_process_request(req, chosen_handler) File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ versioncontrol/api.py", line 86, in pre_process_request self.get_repository(req.authname).sync() File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/ versioncontrol/cache.py", line 91, in sync cursor.execute("SELECT name, value FROM system WHERE name IN (%s)" % File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/db/ util.py", line 65, in execute return self.cursor.execute(sql) File "build/bdist.linux-x86_64/egg/MySQLdb/cursors.py", line 174, in execute File "build/bdist.linux-x86_64/egg/MySQLdb/connections.py", line 36, in defaulterrorhandler InterfaceError: (0, '') Any Idea how I proceed from here? Note: I can manually connect to the Mysql database - e.g. "mysql -u trac -p" at the command line. Thanks, Randy
Not sure what this error exactly means, but searching on t.e.o gives you http://trac.edgewall.org/ticket/6237 which seems to indicate it's related to the encoding configuration. OTOH, a similar error is also reported as http://bugs.mysql.com/bug.php?id=21543
Could it be that your PHP upgrade brought some new mysql libraries along the way, incompatible with your mysqldb bindings? Rebuild the latter to be sure. Better yet, configure your web front end so that you don't run PHP and Python in the same process.
-- Christian -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
