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
appstream not working properly in Turkish language #264
Comments
|
I can reproduce some kind of issue here... Not sure what exactly is causing it. |
See #264 for the bug report. This does not fix the bug in question, but prevents a hard fail in case we encounter such tokens.
|
So, your issues should be fixed with this commit. However, a zero-length search token should never have been created in the first place, so I want to keep this report open until I had a bit of time to look into this and see what produced it (and add a test case for it). |
|
Thank you for taking care of it. Can I try this fix without compiling appstream? Like a deb package maybe? Or can we (Turkish users) have this fix on our systems soon via package managers? If is there any thing I can do please feel free to ask me. |
|
So, apparently the Snowball stemmer thinks that the stem for the Turkish token |
You'll have to rebuild AppStream for this currently, I'm afraid. However, if everything goes well, I am intending to do another AppStream release in the following two weeks. That should then make it into Debian as a package very quickly, be in time for the upcoming Ubuntu LTS and can be built for older distribution releases as well (provided they have a recent enough GLib available). |
|
|
|
Please excuse my curiosity, where it came from this bug? It appeared few months ago. Come from a wrong translation of appstream or an translation of app? |
|
Curiosity is never a bad thing :-) To trigger this bug, Xfce's Turkish translators used "leri" in the description of the Parole app: |
|
Wonderful explanation. Thank you. |
|
Thank you |
I am getting this error both elementary OS 5.1 & Kubuntu 19.10:
Error while loading the metadata pool: Unable to add data: MDB_BAD_VALSIZE: Unsupported size of key/DB name/data, or wrong DUPFIXED sizeBecause of this problem AppCenter (eOS) & Discover (Kubuntu) package managers not working properly. They are not showing all apps.
My comprehensive bug report is here: elementary/triage#6
The text was updated successfully, but these errors were encountered: