open311 dashboard update_db issue

21 views
Skip to first unread message

Sankalp Jain

unread,
Apr 20, 2013, 4:36:35 PM4/20/13
to open311-...@googlegroups.com
I am trying to setup the open311 dashboard as part of GSOc 2013 and have been following the steps as detailed here.
I have installed all the required libraries like GEOS,GDAL and built PostGIS from source.
But when I do python manage.py update_db it fetches the data from the server(which I have manually checked in my browser) 
and then the update operation fails after a while but without offering any significant clues revealing the error.

 File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 735, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 34, in execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
    return self.cursor.execute(query, args)
django.db.utils.DatabaseError: current transaction is aborted, commands ignored until end of transaction block


The previous operation sync_db completes successfully. I have attached a redirection of stderr and the models.
I will be very grateful for any suggestions. 


 
session.txt
models.py
Reply all
Reply to author
Forward
0 new messages