Replies: 5 comments 1 reply
-
Maybe your Celery workers are running with a different configuration than the web server? |
Beta Was this translation helpful? Give feedback.
-
Where could I find this? I went through database tables, django and environment variables and settings-override.py Other projects are also on the same instance and they do not have this problem Thx for the fast response :D |
Beta Was this translation helpful? Give feedback.
-
This is the full name of the file within the component. Exposing the full file system path is not desired as users typically don't have access to the server file system, and it would leak information about the server setup.
Okay, then this must be something from the component configuration. The alert should tell you which of the configured files is affected. |
Beta Was this translation helpful? Give feedback.
-
Ok I understand that the email could be received by an external person who is just translating and therefore exposing server paths is not ideal.. I am sure there is something wrong in the configuration but I am not able to find it and I am debugging into the blind when I do not know what path I should search for.. When the debug mode is active it would also help if the path is shown in the alert in debug mode, or is just written to the log output like "Now an alert is sent via email regarding inexistant files x/y/z.file, x/y/a.file" |
Beta Was this translation helpful? Give feedback.
-
Do you see any issues on /manage/performance/? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem
Hello,
I am currently facing an issue with my weblate instance..
Each hour a mail is sent to some people telling that there is a parse error in "project x", en.json is missing..
When clicking on the button in the email it goes to "project x" but it does not show me errors anywhere..
My proposal is that the path of the failing file should be applied not only the name of the file..
It is most likely that my config is somewhere at fault because the mail says it is missing the en.json file and I am pretty sure it is already there because I can edit it from the frontend.
The mail annoys my coworkers and I want to get rid of it by fixing the problem, but I do not know where weblate expects this file and I already went through all my suspected paths..
The code for this seems to be here in this file:
weblate/weblate/trans/models/alert.py
Line 662 in 8c14c13
This might be an easy and quick fix for someone who knows python but I do not have the time to try to patch it myself..
Describe the solution you would like
The email alert "Inexsistant files" it should contain the path of the file for easier debug
Describe alternatives you have considered
No response
Screenshots
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions