django session InvalidOperation

2010-12-08 Thread kinder
I'm fairly new to Django, and I'm trying to move an existing Django application to a new server. The old server is running Django 1.0.2 and Python 2.5.4. The closest I could come on my new server (to start) is Django 1.0.4 and Python 2.5.5. Anyway, I get an admin login screen, but when I try to

Re: django session InvalidOperation

2010-12-09 Thread kinder
Hi Dan, Thanks for taking a look... here's the copy-and-paste stack trace. == Environment: Request Method: POST Request URL: http://sitename.com/admin/ Django Version: 1.0.4 Python Version: 2.5.5 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes',

Re: django session InvalidOperation

2010-12-09 Thread kinder
Ummm... did you mean to say something before the 'for using'? Should I not use MySQLdb (I'm using version 1.2.2)? On Dec 9, 5:31 pm, satyandra babu wrote: > Hi, > > for using MySQl with python MySQLdb and it will work fine :) > > enjoy coding. > > -- You received this

Re: django session InvalidOperation

2010-12-10 Thread kinder
At least superficially, it looks like MySQLDB is working ok - a row does end up inserted in the django_session table. The reason I am looking in /usr/local/lib/python2.5/site-packages/django/db/models/ query.py around line 317 is because (according to the interactive stack trace) that is where the

Re: django session InvalidOperation

2010-12-10 Thread kinder
After some more futzing around this morning, I'm thinking this might be a shared library version mismatch, maybe with the MySQL client shared libraries? How can I find out what version django/python is using? -- You received this message because you are subscribed to the Google Groups "Django

Re: django session InvalidOperation

2010-12-10 Thread kinder
I'm stumped... even removing mod_php from the apache config (which is where I suspected a different mysql shared library), I still get the same InvalidOperation error. Any suggestions what to try next? -- You received this message because you are subscribed to the Google Groups "Django users"

Re: django session InvalidOperation

2011-01-16 Thread kinder
a solution. On Dec 22 2010, 3:32 pm, Ignacio <nachohe...@gmail.com> wrote: > Hi kinder. I've got this exact problem with django 1.2.3 and python > 2.7. > Could you find a fix for it? > > -- You received this message because you are subscribed to the Google Groups "Dj