Report Error - sends email to an undefined email

While testing indico 2.2.7, the following error occurred when I tried to create a zip file of all the material, and some where not on the disk. Pressing the “Report Error” button sent the report to an undefined email (Sent email “[Indico@indicoint.fnal.gov] Error report: OSError:”) and not to the configured SUPPORT_EMAIL = ‘indico-support@fnal.gov’

Is there another email configuration variable that I need to create?
I have already reloaded the indico.conf several times and restarted all the services with the same result.
I would greatly appreciate your help.

image

No, it is sent to SUPPORT_EMAIL… Where do you see that it’s being sent to an undefined email?

This is from the indico.log file:

2020-04-02 10:26:46,580  ERROR    12faaf1cde0240bb  indico.flask              Uncaught Exception
Traceback (most recent call last):
  File "/opt/indico/.venv/lib/python2.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/indico/.venv/lib/python2.7/site-packages/flask/app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/flask/util.py", line 84, in wrapper
    return obj().process()
  File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/rh.py", line 275, in process
    res = self._do_process()
  File "/opt/indico/.venv/lib/python2.7/site-packages/indico/web/rh.py", line 245, in _do_process
    rv = self._process()
  File "/opt/indico/.venv/lib/python2.7/site-packages/indico/modules/attachments/controllers/event_package.py", line 185, in _process
    return self._generate_zip_file(attachments)
  File "/opt/indico/.venv/lib/python2.7/site-packages/indico/modules/events/util.py", line 660, in _generate_zip_file
    zip_handler.write(filepath.encode('utf-8'), name)
  File "/usr/lib64/python2.7/zipfile.py", line 1114, in write
    st = os.stat(filename)
OSError: [Errno 2] No such file or directory: '/opt/indico/legacy-archive/2019/C20144/c23/6781434841711763421/Blucher_DUNE_status_jan_2020.pdf'
2020-04-02 10:26:55,095  INFO     7014bc716d1842e5  indico.rh                 GET /report-error/deda8332-6b60-4319-b2b1-e1df08651666?_=1585841206738 [IP=
2020-04-02 10:27:27,398  INFO     15f2bb6c3ecf4732  indico.rh                 POST /report-error/deda8332-6b60-4319-b2b1-e1df08651666 [IP=131.225.80.14]
2020-04-02 10:27:27,476  INFO     0000000000000000  indico.emails             Sent email "[Indico@indicoint.fnal.gov] Error report: OSError:"

I don’t stee an undefined email there.

"[Indico@indicoint.fnal.gov] Error report: OSError:" is the subject of the email that has been sent…

never received the e-mail though

Regarding the error itself I think it’s pretty much self-explanatory. And the zip archive creation will always fail if there are references to files that don’t exist on disk… (I wonder why that’s the case though)

this an error that i created to test the interface.

Usually the subject contains the SUPPORT_EMAIL, this is why I assumed that this email was send to Sent email "[Indico@indicoint.fnal.gov]