Giter Club home page Giter Club logo

Comments (14)

ask avatar ask commented on May 25, 2024

What version is this?

from django-celery.

diegueus9 avatar diegueus9 commented on May 25, 2024

djcelery 2.1.0
django 1.2.1
python 2.6.6rc1
modwsgi 3.2
debian testing 32 bits
rabbitmq-server 1.8.1
postgres 8.4

from django-celery.

ask avatar ask commented on May 25, 2024

ok, so the development version then. Do you know what table it's crashing on?

from django-celery.

diegueus9 avatar diegueus9 commented on May 25, 2024

i print the sql in /usr/lib/pymodules/python2.6/django/db/backends/util.py line 15 and i get this now:

DEBUG SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = %s AND "django_content_type"."app_label" = %s )
DEBUG SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = %s AND "django_content_type"."app_label" = %s )
DEBUG ('intervalschedule', 'djcelery')
DEBUG ('intervalschedule', 'djcelery')
DEBUG
SELECT c.relname
FROM pg_catalog.pg_class c
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
WHERE c.relkind IN ('r', 'v', '')
AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
AND pg_catalog.pg_table_is_visible(c.oid)
DEBUG
SELECT c.relname
FROM pg_catalog.pg_class c
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = c.relnamespace
WHERE c.relkind IN ('r', 'v', '')
AND n.nspname NOT IN ('pg_catalog', 'pg_toast')
AND pg_catalog.pg_table_is_visible(c.oid)
DEBUG ()
DEBUG ()
Traceback (most recent call last):
File "manage.py", line 15, in
execute_manager(settings)
File "/usr/lib/pymodules/python2.6/django/core/management/init.py", line 438, in execute_manager
utility.execute()
File "/usr/lib/pymodules/python2.6/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 191, in run_from_argv
self.execute(_args, *_options.dict)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 218, in execute
output = self.handle(_args, *_options)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 347, in handle
return self.handle_noargs(**options)
File "/usr/lib/pymodules/python2.6/django/core/management/commands/syncdb.py", line 55, in handle_noargs
tables = connection.introspection.table_names()
File "/usr/lib/pymodules/python2.6/django/db/backends/init.py", line 493, in table_names
return self.get_table_list(cursor)
File "/usr/lib/pymodules/python2.6/django/db/backends/postgresql/introspection.py", line 31, in get_table_list
AND pg_catalog.pg_table_is_visible(c.oid)""")
File "/usr/lib/pymodules/python2.6/django/db/backends/util.py", line 20, in execute
return self.cursor.execute(sql, params)
File "/usr/lib/pymodules/python2.6/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

from django-celery.

ask avatar ask commented on May 25, 2024

could you pull from django-celery to see if the issue is resolved?

If that doesn't work, try removing the djcelery_* tables and syncdb again.

from django-celery.

diegueus9 avatar diegueus9 commented on May 25, 2024

from what branch? release20-maint

from django-celery.

ask avatar ask commented on May 25, 2024

master branch

from django-celery.

diegueus9 avatar diegueus9 commented on May 25, 2024

i think i can't because this: http://groups.google.com/group/celery-users/browse_thread/thread/8bdf8a2884be46da/b27e4af5f8a0507b?hl=en#b27e4af5f8a0507b

from django-celery.

ask avatar ask commented on May 25, 2024

Because it's the development branch? You already said you were running 2.1.0 above. I'm thinking this could be because of a short bug that was introduced in the master branch, you were just unlucky enough to pull at that time

from django-celery.

diegueus9 avatar diegueus9 commented on May 25, 2024

we must deploy the site tomorrow, i think i can test that maybe after the delivey, i really dont want take that risk today, are you agree?

from django-celery.

ask avatar ask commented on May 25, 2024

From your logs above:

DEBUG ('intervalschedule', 'djcelery')

This is a table from django-celery v2.1.0 (master branch),
so either you already are running this version, or this is a left-over
from an old installation.

If you've downgraded from 2.1.0, you need to drop all tables which name
starts with djcelery

from django-celery.

diegueus9 avatar diegueus9 commented on May 25, 2024

i think must be master branch because i drop the schema and always the table dj* are created in the second syncdb

from django-celery.

diegueus9 avatar diegueus9 commented on May 25, 2024

i pull from master and the error is corrected

from django-celery.

ask avatar ask commented on May 25, 2024

Great. That's good news. Closing the issue now,

from django-celery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.