Comments (14)
What version is this?
from django-celery.
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.
ok, so the development version then. Do you know what table it's crashing on?
from django-celery.
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.
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.
from what branch? release20-maint
from django-celery.
master branch
from django-celery.
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.
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.
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.
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.
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.
i pull from master and the error is corrected
from django-celery.
Great. That's good news. Closing the issue now,
from django-celery.
Related Issues (20)
- djcelerymon: AttributeError: type object 'Command' has no attribute 'option_list'
- Migrate to github actions from travis HOT 2
- djcelery released a task that has been deleted
- Migrate from djcelery to django_celery_results HOT 6
- Tasks being executed even without djcelery
- incompatibility with celery HOT 1
- Must used `"setuptools<58.0.0"` to install because of `anyjson` HOT 1
- celery-beat process make the CPU usage too high HOT 2
- Some tests misusing assertTrue for comparisons
- The "http://celeryproject.org/" site is gone? HOT 2
- django-celery doesn't work in django 4.0 HOT 5
- Changing instances of ugettext, ugettext_lazy, ungettext, and force_unicode for Django 4.0 HOT 2
- Django celery with redis broker executing same task indefinitely
- This error occurred when I started celery worker
- `pip install django-celery` gives error HOT 4
- Unrecoverable error in Celery worker: ReadOnlyError with Redis backend
- Error loading Celery application with Django module
- celery cannot connect to postgresql HOT 2
- celery and django-celery version do not match,show syntaxError HOT 3
- I use celery in the Django project, but why does celery keep increasing threads?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-celery.