Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

„Weblate“, a lot of errors, missing files, old files conflicting, as they no longer exist. (Migration problem to 24.X) #7528

Closed
1 task done
dziugas1959 opened this issue Jan 5, 2025 · 15 comments
Assignees

Comments

@dziugas1959
Copy link
Contributor

Is there an existing issue for this?

  • I have searched among all existing issues (including closed issues)

screenshots or captures

paveikslas
paveikslas
paveikslas

Actual behaviour

Errors are shown, appeared a month ago.

Expected behaviour

None of these should appear.

Steps to reproduce

  1. go to: https://hosted.weblate.org/projects/openwrt/

Additional Information

„Weblate 5.10-dev“

What browsers do you see the problem on?

Firefox

Relevant log output

No response

@systemcrash
Copy link
Contributor

This is the result of removing the English translations, since they're identical to the GUI.

@dannil
Copy link
Contributor

dannil commented Jan 6, 2025

Do we need a maintainer with Weblate access to configure it properly then? I assume it's a consequence of 0ca52eb?

@hnyman
Copy link
Contributor

hnyman commented Jan 6, 2025

It is due to that commit, but it just highlighted the underlying problem that a dozen apps in Weblate have been configured to have en .po file as template, instead of proper templates .pot

It requires manual config for those faulty apps in Weblate config.

@hnyman hnyman self-assigned this Jan 6, 2025
@hnyman
Copy link
Contributor

hnyman commented Jan 6, 2025

But so far 24.10 is already equal to master, so there is no backport need.
(They will likely deviate soon, but right now they are equal)

@hnyman
Copy link
Contributor

hnyman commented Jan 9, 2025

I fixed the wrong template path

@hnyman hnyman closed this as completed Jan 9, 2025
@dziugas1959
Copy link
Contributor Author

I fixed the wrong template path

Still a phantom file exists, that every language shows an error for:
paveikslas
paveikslas
Only a maintainer can fix this, this was addressed in this post, though not fixed, even when marked here as „completed“.

@hnyman hnyman reopened this Jan 9, 2025
@hnyman
Copy link
Contributor

hnyman commented Jan 9, 2025

Please note that some of the warnings are shown for historical reasons, e.g. in your screenshot "appeared month ago, last seen a month ago".
So some error conditions / displays also clear themselves via time.

But I still re-opened the issue as you wish.

@dziugas1959
Copy link
Contributor Author

From my understanding, this is a bug in „Weblate“, it thinks that there is a file, that no longer exists, as such, shows an error.

@hnyman
Copy link
Contributor

hnyman commented Jan 9, 2025

„Weblate“, it thinks that there is a file, that no longer exists, as such, shows an error

It thought so, a month ago. But not any more. Like it says in the screenshots.
To my understanding, it just shows the error message for a while for some reason. Strange, but still.

image

I do not find any actual errors in the system admin console.
Only the Glossary component shows the error signs, but when going there, all error notices leads to this same Lithuanian thing...

And naturally we have no real insight into Weblate internals. We are just a downstream user of the service.

@dziugas1959
Copy link
Contributor Author

dziugas1959 commented Jan 11, 2025

„Weblate“, it thinks that there is a file, that no longer exists, as such, shows an error

It thought so, a month ago. But not any more. Like it says in the screenshots. To my understanding, it just shows the error message for a while for some reason. Strange, but still.

image

I do not find any actual errors in the system admin console. Only the Glossary component shows the error signs, but when going there, all error notices leads to this same Lithuanian thing...

And naturally we have no real insight into Weblate internals. We are just a downstream user of the service.

Try doing what the error message says on top of that: „Please fix this by removing duplicated strings with same identifier from the translation files.
Most likely, this was a string, that was duplicated with the English (non-developer) and I just copied the glossary translation, which was fine, until English (non-developer) was removed, causing this double phantom string to exist.

Try checking the ID for the place of this string (IPv4) and removing it, then re-adding it. My guess, why it doesn't show an error in administration, is most likely because, it doesn't exist and „Weblate“ developers did not account for this type of bug to happen.

@dziugas1959
Copy link
Contributor Author

New problems, this time with the Firmware Wizard, Bulgarian.

Image

@hnyman
Copy link
Contributor

hnyman commented Jan 18, 2025

Actually, like I predicted, the announcements about old errors got timed out and went away.
The old config related error (that this issue report is about) was fixed by me last week.

Now there is just a "normal" conflict.
I have no access to Firmware wizard repo, so I sent a note to @aparcar. Also @jow- should be able to fix that.

@hnyman hnyman closed this as completed Jan 18, 2025
@systemcrash
Copy link
Contributor

Actually, I opened a ticket with weblate 😉

They opened this:

WeblateOrg/weblate#13511

@dziugas1959
Copy link
Contributor Author

Ideally, issues should only be closed when fixed, since the entire component is locked from any edits. Hopefully this will be fixed in a timely manner.

@hnyman
Copy link
Contributor

hnyman commented Jan 18, 2025

the entire component is locked from any edits. Hopefully this will be fixed in a timely manner.

Feel free to author a fix PR for the firmware wizard git repo, and then hope that somebody with merge rights there merges it in. You have just as much power in that repo as I do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants