Hello
I'm trying to deploy django with mod_wsgi on a media temple. I have an
error that says:
TemplateSyntaxError: Caught ImproperlyConfigured while rendering:
Error loading MySQLdb module: /var/tmp/.python_eggs/
MySQL_python-1.2.3c1-py2.4-linux-i686.egg-tmp/_mysql.so: failed to map
segment from
On Jul 6, 12:13 pm, Aaron <[EMAIL PROTECTED]> wrote:
> So here's something really strange. I ran
>
> Python 2.5.2 (r252:60911, Jun 30 2008, 18:59:56)
> [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.>>>
> import sys
> >>> sys.path
To answer my own question, turns out it's due to the fact that I have
a subdir called "site".
I believe this has some conflicts with Python and leads to this
strange behavior.
After renaming it to something else, the problem goes away.
-Aaron
On Jul 5, 7:13 pm, Aaron <[EMAIL PROTECTED]> wrote:
>
So here's something really strange. I ran
Python 2.5.2 (r252:60911, Jun 30 2008, 18:59:56)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/home/user/run/lib/python2.5/site-packages/setuptools-0.6c8
On Wed, Nov 14, [EMAIL PROTECTED] wrote:
>
> I'm receiving this error as I work thru Tutorial 1 (http://
> www.djangoproject.com/documentation/tutorial01/):
>
> [EMAIL PROTECTED] mysite]# python manage.py syncdb
> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/dja
You do not have the MySQLdb module installed and this can be tricky to
setup on a hosted site. If you do not have shell access, contact your
administrator and ask for this module. Otherwise either get the
package or source from here http://sourceforge.net/projects/mysql-python
and install it throu
I'm receiving this error as I work thru Tutorial 1 (http://
www.djangoproject.com/documentation/tutorial01/):
[EMAIL PROTECTED] mysite]# python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File "/usr/lib/python2.3/site-packa
It looks like you're using version 1.2.2. Try using 1.2.1_p2 and see
if that works, I had a problem similiar to yours and downgrading to
that version fixed my problem.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
As far as I know. I could have screwed something up, but everything
related to django and apache is owned by root:wheel
It's only a test environment anyway... so it's not that big of a deal
if I need to delete the caches before doing things...
On May 15, 3:18 pm, "Jeremy Dunck" <[EMAIL PROTECTED
On 5/15/07, Steve <[EMAIL PROTECTED]> wrote:
>
> Apparently there is a difference between the cache created by apache
> and the one created by django that makes them incompatible. In order
> for me to run syncdb I had to delete the cache, and before apache
> could create a new cache, run syncdb...
Apparently there is a difference between the cache created by apache
and the one created by django that makes them incompatible. In order
for me to run syncdb I had to delete the cache, and before apache
could create a new cache, run syncdb... however this caused apache to
start throwing the same
I forgot to mention...
Syncdb was working yesterday when I first ran it. I have added some
django.contrib applications to my settings.py, which I have since
removed in an effort to try to figure out if that was causing the
problem. Sadly, it didn't fix the problem, and that's the only thing
that'
When trying to perform a syncdb I get the following error:
Traceback (most recent call last):
File "./manage.py", line 11, in
execute_manager(settings)
File "/usr/local/lib/python2.5/site-packages/django/core/
management.py", line 1674, in execute_manager
execute_from_command_line(ac
On 5/28/06, Thn <[EMAIL PROTECTED]> wrote:
>
> Hi all - I'm using the latest code (rev 2997).
> Otherwise it's mod_python 1.10 / apache2 / python2.3 / mysql 5.0.21 /
> MySQLdb 2.0 -- all installed from Debian packages.
You must be a time-traveller if you have MySQLdb-2.0 installed; 1.2.1
is the l
Hi all - I'm using the latest code (rev 2997).
Otherwise it's mod_python 1.10 / apache2 / python2.3 / mysql 5.0.21 /
MySQLdb 2.0 -- all installed from Debian packages.
Most everything seems to be working fine - I created a project, then an
app, ran syncdb just fine, and I can interact with my app
15 matches
Mail list logo