You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When migrating my Add-Ons to use the new project-level feature introduced in Weblate 5.5 ( #10051 ), I encountered an issue with the 'Squash Git commits' Add-on on project level, trace attached.
I installed other Add-ons on project level ('Add missing languages', 'Automatic translation', 'Cleanup translation files', 'Customize JSON output') and all those worked fine.
Running Weblate on OpenShift as a single Container (this setup is running like this for quite some time now, it's not a fresh install)
Finally, this is an awesome project and I'd like to contribute a fix (though not being a Python expert). Happy to receive some guidance, I will have another look at it later this week :)
Platform: Linux 5.14.0-284.50.1.el9_2.x86_64 (x86_64)
Weblate deploy checks
System check identified some issues:
INFOS:
?: (weblate.I021) Error collection is not set up, it is highly recommended for production use
HINT: https://docs.weblate.org/en/weblate-5.5/admin/install.html#collecting-errors
System check identified 1 issue (1 silenced).
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the issue
When migrating my Add-Ons to use the new project-level feature introduced in Weblate 5.5 ( #10051 ), I encountered an issue with the 'Squash Git commits' Add-on on project level, trace attached.
I installed other Add-ons on project level ('Add missing languages', 'Automatic translation', 'Cleanup translation files', 'Customize JSON output') and all those worked fine.
The (to me visible) difference to 'Squash Git commits' is the repo scope of this Add-on. On component level, this Add-On works fine. Coming from
https://github.com/WeblateOrg/weblate/blame/b625d4021805fac0297906ddc8365c001d2d4a53/weblate/addons/models.py#L103-L104
This seems to be a fair assumption. I'm just not sure what
self.component.linked_component
refers to as this seems to be unexpectedlyNone
(maybe cause there is no component yet?)Running Weblate on OpenShift as a single Container (this setup is running like this for quite some time now, it's not a fresh install)
Finally, this is an awesome project and I'd like to contribute a fix (though not being a Python expert). Happy to receive some guidance, I will have another look at it later this week :)
Thanks,
/Felix
I already tried
Steps to reproduce the behavior
Prerequisite: Project with multiple components is setup
Expected behavior
The Add-on gets added successfully like when it's done on component-level
Screenshots
Exception traceback
How do you run Weblate?
Docker container
Weblate versions
Weblate deploy checks
Additional context
No response
The text was updated successfully, but these errors were encountered: