WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.33k stars 970 forks source link

Component discovery addon suddenly uninstalled, error when reinstalling #11939

Closed nikclayton closed 3 days ago

nikclayton commented 3 days ago

Describe the issue

I configured the "Component discovery" addon about four months ago for the Pachli project. This has been working fine, the list of components at https://hosted.weblate.org/projects/pachli/ was automatically generated and has been updated by this addon as I refactored the code in to different modules.

It's just stopped -- I'm not entirely sure when, but between March 16 and June 17.

On March 16 I committed https://github.com/pachli/pachli-android/commit/e41722e16f9e170f19facea4e001298a98e6f390, and the addon correctly created the "Feature/Lists : Main" component.

On June 17 I committed https://github.com/pachli/pachli-android/commit/3d5c2dd32f72d8075ca7860aa5dbebaf2a971795, and the addon did not create the expected "Feature/Suggestions : Main" component. I've discovered this when one of the translation team asked me earlier today why they couldn't find the strings to translate in the new module.

I've just checked https://hosted.weblate.org/addons/pachli/ and the addon is not showing as installed any more. I definitely have not removed it, as I haven't needed to log in to Weblate for many months.

I just tried to install and configure the addon, and after trying to save the new configuration I get an HTML page back that says:

Server error

The server had serious problems serving your request, and this error has been recorded as 42bb5a8622224652873f066f6cadfc2a.

(I just tried again to confirm I can reproduce the problem, same error, the error code is 8919a4b4239c4309b8e9b57f20e5635c).

I already tried

Steps to reproduce the behavior

From the Pachli project, install and configure the "Component discovery" addon with the following values:

Everything else was left blank. Then click "Save".

I know these values used to work, as Firefox had retained them in the form fill history.

Expected behavior

No response

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

Don't know, there's no version number I can see on https://hosted.weblate.org/about/

Weblate deploy checks

No response

Additional context

So there's two problems here.

  1. Why was the addon uninstalled?
  2. What's causing the error when I try and reinstall it?
nijel commented 3 days ago

The add-on is still installed on the component: https://hosted.weblate.org/addons/pachli/fastlane-metadata/

It indeed can't be installed at the project level, the question is whether it makes sense as it is really bound to the repository. Especially with the delete option it might do weird things when installed project or site wide.

sentry-io[bot] commented 3 days ago

Sentry Issue: WEBLATE-QC

github-actions[bot] commented 3 days ago

Thank you for your report; the issue you have reported has just been fixed.

github-actions[bot] commented 3 days ago

Thank you for your report; the issue you have reported has just been fixed.