tlkenergy / sim-tlk

Roadmap and Issues for sim.TLK cloud based system simulation
2 stars 1 forks source link

Not getting emails regarding failed simulations #53

Open Walshest opened 9 months ago

Walshest commented 9 months ago

A colleague has been simulating a model today and the simulations have been failing.

I have not gotten any emails about this or error logs...

image image
mateokurti commented 9 months ago

The current implementation sends an email to all FMU Admins that are part of the same team as the user who run the simulation. In this particular case, the team that this user belongs to, does not have any FMU Admin!

This implementation is not that intuitive and causes issues when the FMU is shared between more than one team.

We have planned to rework this feature (also on behalf of Issue #36 and Issue #52).

FYI: The plan is to change it so the email is only send to the user who lastly updated the FMU (and/or the user who created the FMU). Suggestions are appreciated.

Walshest commented 9 months ago

The current implementation sends an email to all FMU Admins that are part of the same team as the user who run the simulation. In this particular case, the team that this user belongs to, does not have any FMU Admin!

This implementation is not that intuitive and causes issues when the FMU is shared between more than one team.

We have planned to rework this feature (also on behalf of Issue #36 and Issue #52).

FYI: The plan is to change it so the email is only send to the user who lastly updated the FMU (and/or the user who created the FMU). Suggestions are appreciated.

Okay, That is confusing... Two improvement that I think would be good:

  1. Method of viewing the failed log. E,g, in Django or allowing user to download it.
  2. Only send one email to Model Owner. I think the model owner should be default the person who uploaded the last version of the .FMU

For my specific application now. How do I get these Error logs?