Adding "import MySQLdb" to the top of dev_appserver.py also fixed the problem for me.
I still see errors like
WARNING 2012-03-03 17:29:47,709 py_zipimport.py:139] Can't open zipfile /Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-intel.egg: IOError: [Errno 13] file not accessible: '/Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-intel.egg'
but 1) that is where the file is and it's readable and 2) my app engine app does actually work. So not sure what that error is all about.
No comments:
Post a Comment