Summary: | Font auto-installation fails on unkown language | ||
---|---|---|---|
Product: | PackageKit | Reporter: | Dwayne Bailey <dwayne> |
Component: | General | Assignee: | Richard Hughes <richard> |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Dwayne Bailey
2009-07-16 00:30:04 UTC
(In reply to comment #0 > Possible Solution: > Mkae PackageKit more robust in that it only tries to install fonts for > languages that follow a correct language tag convention. > Report an error for a tag that is broken. I've applied this to PackageKit: commit ce49f887b895269900bb3fd0c409d8778deb287c Author: Richard Hughes <richard@hughsie.com> Date: Thu Jul 16 09:08:40 2009 +0100 gtk-module: check for zero length data from FcNameUnparse to mitigate fd#227 and applied this to gnome-packagekit: commit 89c3d43663aef0c6f32cd7ec68aee2692e23dc25 Author: Richard Hughes <richard@hughsie.com> Date: Thu Jul 16 09:12:33 2009 +0100 Check the language tags before trying to parse them. Fixes fd#22792 Thanks for reporting this bug. Wow that was quick! Thanks :) I've done some more testing and found an instance that causes this issue. Just wanted to check that your changes catch this. If I run our app with this commandline, rare to unlikely for a user: LANGUAGE=../../../../../../../..//home/dwayne/dev/lm/trunk/virtaal/po/mo/af:af virtaal Then it will trigger. The request is only sent when we actually open a document, so until we open the document no Pk request is sent. Once we open the document the request is sent. It will fail also on LANGUAGES=..:af If I remove the LANGUAGES environment variable or change it to more correct language names then the issue does not occur. We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.