Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Bug when I register a user #9

Closed
steeve85 opened this Issue · 0 comments

2 participants

@steeve85

[21:34:17] steeve@zeus webif(master) $ python manage.py runserver
Validating models...

0 errors found
Django version 1.4, using settings 'webif.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
/usr/local/lib/python2.6/dist-packages/django/template/defaulttags.py:1235: DeprecationWarning: The syntax for the url template tag is changing. Load the url tag from the future tag library to start using the new behavior.
category=DeprecationWarning)
[13/Jul/2012 21:34:38] "GET / HTTP/1.1" 200 3168
[13/Jul/2012 21:34:38] "GET / HTTP/1.1" 200 3168
[13/Jul/2012 21:34:38] "GET /static/style.css HTTP/1.1" 200 2265
[13/Jul/2012 21:34:41] "GET /login/ HTTP/1.1" 200 1498
[13/Jul/2012 21:34:41] "GET /login/ HTTP/1.1" 200 1498
[13/Jul/2012 21:34:43] "GET / HTTP/1.1" 200 3168
[13/Jul/2012 21:34:43] "GET / HTTP/1.1" 200 3168
[13/Jul/2012 21:34:44] "GET /register/ HTTP/1.1" 200 2008
[13/Jul/2012 21:34:44] "GET /register/ HTTP/1.1" 200 2008
[13/Jul/2012 21:34:59] "POST /register/ HTTP/1.1" 200 2174
[13/Jul/2012 21:34:59] "GET /register/ HTTP/1.1" 200 2008
SMTPServerDisconnected
please run connect() first

TRACEBACK:
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, callback_args, *callback_kwargs)

File "/home/steeve/Docs/Projects/hpfeeds/webif/views.py", line 109, in register
mail_managers('hpfeeds.honeycloud.net registration', NEWUSER_MESSAGE.format(uc.cleaned_data['email'],uc.cleaned_data['username'], uc.cleaned_data['chapter']))

File "/usr/local/lib/python2.6/dist-packages/django/core/mail/init.py", line 109, in mail_managers
mail.send(fail_silently=fail_silently)

File "/usr/local/lib/python2.6/dist-packages/django/core/mail/message.py", line 248, in send
return self.get_connection(fail_silently).send_messages([self])

File "/usr/local/lib/python2.6/dist-packages/django/core/mail/backends/smtp.py", line 92, in send_messages
sent = self._send(message)

File "/usr/local/lib/python2.6/dist-packages/django/core/mail/backends/smtp.py", line 110, in _send
email_message.message().as_string())

File "/usr/lib/python2.6/smtplib.py", line 685, in sendmail
self.ehlo_or_helo_if_needed()

File "/usr/lib/python2.6/smtplib.py", line 509, in ehlo_or_helo_if_needed
if not (200 <= self.ehlo()[0] <= 299):

File "/usr/lib/python2.6/smtplib.py", line 382, in ehlo
self.putcmd(self.ehlo_msg, name or self.local_hostname)

File "/usr/lib/python2.6/smtplib.py", line 318, in putcmd
self.send(str)

File "/usr/lib/python2.6/smtplib.py", line 310, in send
raise SMTPServerDisconnected('please run connect() first')

[13/Jul/2012 21:35:27] "POST /register/ HTTP/1.1" 500 25
[13/Jul/2012 21:35:27] "GET /register/ HTTP/1.1" 200 2008

@rep rep closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.