This forum is no longer active. Please post your questions to our new community site
missing _socket.so in python 2.5.1
|
|
Just installed bitnami-djangostack-1.0.2-0-osx-x86-installer.app. What did I miss? |
|
|
Hi, What is the exact error? This post could help you. The mysql socket is created at <installation_directoy>/mysql/tmp/mysql.sock. Cheers. |
|
|
hello I tried recommendation from the post(http://passingcuriosity.com/2009/specifying-a-unix-socket-using-mysql-with-django/). DATABASE_HOST = 127.0.0.1 but I received the same error as before, same as below. The error that I got from the /Applications/djangostack102/apache2/logs/error_log is as follows: mod_wsgi (pid=8573): Target WSGI script ’/Users/bongo/Projects/untote/workspace/trunk/src/untote/apache/wsgi_handler.py’ cannot be loaded as Python module. In my settings.py I have the following database configuration options: DATABASE_ENGINE = ‘mysql’ # ‘postgresql_psycopg2’, ‘postgresql’, ‘mysql’, ‘sqlite3’ or ‘oracle’. Just to repeat, I tried looking for the socket module in the python django stack and it wasn’t there. As additional info, running /Applications/djangostack102/python/bin/python manage.py syncdb does work without a hitch. thanks. |
|
|
Hello, Found a fix. Perhaps _socket.so should be included in the bitnami django stack installer. Thanks. |
|
|
Hi, You are right, the socket module should be included in the Django Stack by default. We will add this issue in our TODO list. Thanks for reporting it. |

