Hi, <br><br>I have been trying to install fixmystreet in one of my Fedora 11 machine. In one step, i need to enter the command to sync my database. Command is: <b>python manage.py syncdb<br><br></b>But, here, i get the error:<br>
<br><b>psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block<br></b><br clear="all">Here is the full error:<br><br>[root@fedora fixmystreet]# python manage.py syncdb<br>local_settings.py not set; using default settings<br>
local_settings.py not set; using default settings<br>Traceback (most recent call last):<br> File "manage.py", line 11, in <module><br> execute_manager(settings)<br> File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 362, in execute_manager<br>
utility.execute()<br> File "/usr/lib/python2.6/site-packages/django/core/management/__init__.py", line 303, in execute<br> self.fetch_command(subcommand).run_from_argv(self.argv)<br> File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 195, in run_from_argv<br>
self.execute(*args, **options.__dict__)<br> File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 221, in execute<br> self.validate()<br> File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 249, in validate<br>
num_errors = get_validation_errors(s, app)<br> File "/usr/lib/python2.6/site-packages/django/core/management/validation.py", line 28, in get_validation_errors<br> for (app_name, error) in get_app_errors().items():<br>
File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line 131, in get_app_errors<br> self._populate()<br> File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line 58, in _populate<br>
self.load_app(app_name, True)<br> File "/usr/lib/python2.6/site-packages/django/db/models/loading.py", line 74, in load_app<br> models = import_module('.models', app_name)<br> File "/usr/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module<br>
__import__(name)<br> File "/opt/fixmystreet/mainapp/models.py", line 3, in <module><br> from django.contrib.gis.db import models<br> File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/models/__init__.py", line 5, in <module><br>
from django.contrib.gis.db.models.aggregates import *<br> File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/models/aggregates.py", line 2, in <module><br> from django.contrib.gis.db.backend import SpatialBackend<br>
File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/backend/__init__.py", line 12, in <module><br> from django.contrib.gis.db.backend.postgis import create_test_spatial_db, get_geo_where_clause, SpatialBackend<br>
File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/backend/postgis/__init__.py", line 4, in <module><br> from django.contrib.gis.db.backend.postgis.adaptor import PostGISAdaptor<br> File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/backend/postgis/adaptor.py", line 5, in <module><br>
from django.contrib.gis.db.backend.postgis.query import GEOM_FROM_WKB<br> File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/backend/postgis/query.py", line 27, in <module><br> version_tuple = postgis_version_tuple()<br>
File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/backend/postgis/management.py", line 45, in postgis_version_tuple<br> version = postgis_lib_version()<br> File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/backend/postgis/management.py", line 25, in postgis_lib_version<br>
return _get_postgis_func('postgis_lib_version')<br> File "/usr/lib/python2.6/site-packages/django/contrib/gis/db/backend/postgis/management.py", line 13, in _get_postgis_func<br> cursor.execute('SELECT %s()' % func)<br>
<b>psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block<br></b><br>-- <br>Best,<br>Zico<br>