Error 500 if email address is not valid

Issue #803 wontfix
Valentin Lorentz created an issue

Hi,

I've just set up Rhodecode, and tried to create a new repository... but I typoed my email address and now I'm getting a 500 error (of course I can change it, but I think I'd better tell you).

[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   beaker.session: {'rhodecode_user': {'username': u'progval', 'is_authenticated': True, 'user_id': 2}, '_accessed_time': 136
3805946.86164, '_creation_time': 1363805916.383967}, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.application_group: 'rhodecode.progval.net|', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.callable_object: 'application', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.handler_script: '', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.input_chunked: '0', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.listener_host: '', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.listener_port: '80', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.process_group: '', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.request_handler: 'wsgi-script', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.script_reloading: '1', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   mod_wsgi.version: (3, 3), referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   paste.registry: <paste.registry.Registry object at 0x7f41f4ef3310>, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   paste.throw_errors: True, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   pylons.pylons: <pylons.util.PylonsContext object at 0x7f41f4ee5a50>, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   pylons.routes_dict: {'action': u'create_repository', 'controller': u'admin/settings'}, referer: http://rhodecode.progval.n
et/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   routes.route: <routes.route.Route object at 0x7f41f4b8df50>, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   routes.url: <routes.util.URLGenerator object at 0x7f41f4ef33d0>, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   webob.adhoc_attrs: {'language': 'en-us'}, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   wsgi process: 'Multiprocess', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   wsgi._org_proto: 'http', referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   wsgi.file_wrapper: <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f41f4ed8be8>, referer: http://rhodecode.
progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   wsgi.version: (1, 1), referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f41f4ef33d0>, {'action': u'create_repository', 'controller':
 u'admin/settings'}), referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5] ------------------------------------------------------------, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5] , referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]             <p>Additionally an error occurred while sending the &lt;weberror.reporter.EmailReporter object at 0x7f41f5458890
&gt; report:, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5] , referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]             <pre>Traceback (most recent call last):, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   File "/home/rhodecode/venv/lib/python2.7/site-packages/weberror/errormiddleware.py", line 450, in send_report, referer: ht
tp://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]     rep.report(exc_data), referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   File "/home/rhodecode/venv/lib/python2.7/site-packages/weberror/reporter.py", line 54, in report, referer: http://rhodecod
e.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]     self.to_addresses, msg.as_string()), referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]   File "/usr/lib/python2.7/smtplib.py", line 733, in sendmail, referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5]     raise SMTPRecipientsRefused(senderrs), referer: http://rhodecode.progval.net/
[Wed Mar 20 18:59:06 2013] [error] [client 2001:470:cbb3:64:5054:ff:fe53:75f5] SMTPRecipientsRefused: {'progbal+rhodecode@progval.net': (550, '5.1.1 <progbal+rhodecode@progval.net>: Recipient address rej
ected: User unknown in virtual mailbox table')}, referer: http://rhodecode.progval.net/

Comments (3)

  1. Valentin Lorentz reporter

    Hmm, actually I can't even upate my profile, still because of this error. I have to edit the database. :/

    EDIT: Oh, actually I typoed in production.ini.

  2. Marcin Kuzminski repo owner

    ups, looks like pylons have issues with those kind of email addresses. I really canot help here :( please use another email for error reporting.

  3. Log in to comment