Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From README: unknown command testemail #15

Open
wrtsprt opened this issue Jun 7, 2016 · 3 comments
Open

From README: unknown command testemail #15

wrtsprt opened this issue Jun 7, 2016 · 3 comments

Comments

@wrtsprt
Copy link

wrtsprt commented Jun 7, 2016

➜ correos_project git:(develop) python manage.py testemail Unknown command: 'testemail'

I find a sendtestemail but that isn't working either.

➜ correos_project git:(develop) python manage.py sendtestemail SMTPServerDisconnected: Connection unexpectedly closed

and on the server side:

error: uncaptured python exception, closing channel <smtpd.SMTPChannel connected 127.0.0.1:61176 at 0x105b60a28> (<class 'django.db.utils.DatabaseError'>:no such table: correos_recipient [/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py|read|83] [/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asyncore.py|handle_read_event|449] [/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/asynchat.py|handle_read|165] [/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/smtpd.py|found_terminator|181] [/Users/rap/src/correos/correos_project/correos/management/commands/runsmtpd.py|process_message|19] [/Users/rap/src/correos/correos_project/correos/managers.py|create_from_message|21] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/models/manager.py|get_or_create|146] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/models/query.py|get_or_create|484] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/models/query.py|get|398] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/models/query.py|__len__|106] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/models/query.py|iterator|317] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/models/sql/compiler.py|results_iter|775] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/models/sql/compiler.py|execute_sql|840] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/backends/util.py|execute|41] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/backends/sqlite3/base.py|execute|366] [/Users/rap/Library/Python/2.7/lib/python/site-packages/django/db/backends/sqlite3/base.py|execute|362])

@wrtsprt
Copy link
Author

wrtsprt commented Jun 7, 2016

OK so after doing a manage.py migrate this worked. Probably something to add to the README.

@DebVortex
Copy link
Contributor

Hi @wrtsprt,

thanks for reporting. Yes, the documentation is wrong at this point. It should be sendtestemail instead of testemail. As far as I know, @normade fixed that in a branch and this will be merged, soon. We will keep this Issue open until than.

@wrtsprt
Copy link
Author

wrtsprt commented Jun 7, 2016

Cool. Note that apparently also migrate is needed, syncdb seems insufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants