Comments (6)
Why don't you try django trunk and see if it fixes your problem, since that ticket is marked fixed?
from django-mailer-2.
Yep, that was 1st on my to do list this morning ;) Although it seems like that issue was fixed as of the 1.0.x series?
Anyway, ran it against latest revision (11782) - exact same error. Only difference in the traceback is the line numbers of the error in the first 2 function calls:
Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settings) File "c:\django-trunk\django\core\management\__init__.py", line 439, in execute_manager utility.execute() File "c:\django-trunk\django\core\management\__init__.py", line 380, in execute self.fetch_command(subcommand).run_from_argv(self.argv) . . .
The rest of the traceback is identical (barring the path to django version).
Also ran it with Python 2.5.4, against trunk and 1.1.1 - same results.
from django-mailer-2.
It does seem like this is a database problem. If you can muck around with the database, here's a test:
My guess is that it's failing trying to update the datetimefield "deferred" on the QueuedMessage model.
From a shell, try QueuedMessage.objects.update(deferred=None)
If that fails, ensure that your deferred column of the database is nullable (the model definition says it should be).
from django-mailer-2.
Ok, so in the shell, QueuedMessage.objects.update(deferred=None) works (returns the # of records updated).
The db field 'deferred' is nullable and is of type "timestamp with time zone".
Tested the above in both environments, works in both.
from django-mailer-2.
Resolved. I was running an older version of django-mailer-2 (files were stamped Sep 10) and noticed the latest files have a stamp of Sep 24 and the comment
"Change the retry_deferred management command to output result when on
normal verbosity level." which is why I didn't update sooner :(
Suggestion: Perhaps a version or changes file in the directory?
Anyway, downloaded the latest version of django-mailer-2 and it now works in both environments.
I apologise for wasting your time on this and thank you for your help.
Regards,
Joe
from django-mailer-2.
Glad you got it resolved. Yeah, I should start a todo. It's a common question for what the difference between this and the original mailer is.
from django-mailer-2.
Related Issues (14)
- Hanging on auth error...
- HTML content and bcc support HOT 4
- Bumping the version number broke the setup
- FileLock is not working on FreeBSD HOT 1
- queue_email_message should limit subject to 255 chars
- Postgresql and send_all results in "unexpected EOF on client connection" messages. HOT 1
- Django 1.4 and timezone support. HOT 3
- BadHeaderError when using logging errors via django.utils.log.AdminEmailHandler HOT 2
- in send_all call to send_queued_message not in try-catch
- send_mail fails with KeyError: 1 under Django >=1.8.3
- First sent is slow HOT 3
- Untitled HOT 2
- Impossible to use a non-smtp backend HOT 1
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-mailer-2.