On 22 Mar, 11:41, Paolo Corti <pco...@gmail.com> wrote: > Hi > I had to migrate a GeoDjango project based on a Postgres/PostGIS > backend to a Oracle/Oracle Spatial backend. > > I could sync the database without problems and now I can successfully > read and create new data from the shell, but as soon as I try to > access my Django web application I am getting in this error: > > Traceback (most recent call last): > File "/home/pcorti/virtualenv/forest_env/lib/python2.6/site-packages/ > django/core/servers/basehttp.py", line 283, in run > self.result = application(self.environ, self.start_response) > File "/home/pcorti/virtualenv/forest_env/lib/python2.6/site-packages/ > django/contrib/staticfiles/handlers.py", line 68, in __call__ > return self.application(environ, start_response) > File "/home/pcorti/virtualenv/forest_env/lib/python2.6/site-packages/ > django/core/handlers/wsgi.py", line 275, in __call__ > signals.request_finished.send(sender=self.__class__) > File "/home/pcorti/virtualenv/forest_env/lib/python2.6/site-packages/ > django/dispatch/dispatcher.py", line 172, in send > response = receiver(signal=self, sender=sender, **named) > File "/home/pcorti/virtualenv/forest_env/lib/python2.6/site-packages/ > django/db/__init__.py", line 85, in close_connection > conn.close() > File "/home/pcorti/virtualenv/forest_env/lib/python2.6/site-packages/ > django/db/backends/__init__.py", line 244, in close > self.connection.close() > > DatabaseError: ORA-03127: no new operations allowed until the active > operation end > > I am having the same behavior both with Django 1.2.5 and 1.3 RC > any ideas? > thanks
I have solved this by downgrading the cx_Oracle library from 5.1 to 5.0.1 I am using Oracle 11.2 Now works well both on Django 1.2.5 and 1.3 RC with Python 2.6 best regards P -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.