puentesarrin / selene

A simple CMS for blogging built with Tornado and MongoDB
GNU General Public License v3.0
40 stars 21 forks source link

Eror 500: Register new user and new password #25

Closed jfabian closed 11 years ago

jfabian commented 11 years ago
 Traceback (most recent call last):
  File "/home/jfabian/Experimentos/Python/selene/lib/python2.7/site-packages/tornado/web.py", line 1077, in _execute
    *self.path_args, **self.path_kwargs)
  File "/home/jfabian/Experimentos/Python/selene/lib/python2.7/site-packages/tornado/gen.py", line 141, in wrapper
    result = func(*args, **kwargs)
  File "/home/jfabian/Experimentos/Python/selene/selene/selene/web/__init__.py", line 17, in wrapper
    f(self, *args, **kwargs)
  File "/home/jfabian/Experimentos/Python/selene/selene/selene/web/handlers/auth_handlers.py", line 199, in post
    user["email"], {'user': user})
  File "/home/jfabian/Experimentos/Python/selene/selene/selene/smtp.py", line 24, in send
    self, **params)
  File "/home/jfabian/Experimentos/Python/selene/selene/selene/smtp.py", line 36, in __init__
    to, connection=connection)
  File "/home/jfabian/Experimentos/Python/selene/lib/python2.7/site-packages/tornadomail/message.py", line 390, in __init__
    bcc, connection, attachments, headers, alternatives, cc, reply_to)
  File "/home/jfabian/Experimentos/Python/selene/lib/python2.7/site-packages/tornadomail/message.py", line 352, in __init__
    super(EmailMultiAlternatives, self).__init__(subject, body, from_email, to, bcc, connection, attachments, headers, cc, reply_to)
  File "/home/jfabian/Experimentos/Python/selene/lib/python2.7/site-packages/tornadomail/message.py", line 204, in __init__
    self.from_email = from_email or DEFAULT_FROM_EMAIL
NameError: global name 'DEFAULT_FROM_EMAIL' is not defined
lowstz commented 11 years ago

Hi, @jfabian

Do you encounter this bug in the latest commit of the code on github? What are the parameters you run the selene ? Can you provide more detail about this ? : )

I can't reproduce this bug on my machine and the Selene demo site selene.lowstz.org : (

jfabian commented 11 years ago

Hi,

the problem was with the configuration of an email account :D