Bug 797744
Summary: | Apply the default Alias fonts in fonts-tweak-tool produces traceback | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lijun Li <lijli> | ||||||
Component: | fonts-tweak-tool | Assignee: | James Ni <jni> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 17 | CC: | i18n-bugs, jni, lijli, petersen, pwu, tagoh | ||||||
Target Milestone: | --- | Keywords: | i18n | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | fonts-tweak-tool-0.0.5-1.fc17 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-03-24 00:27:57 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Lijun Li
2012-02-27 08:02:23 UTC
Created attachment 565978 [details]
Apply the default Alias fonts in fonts-tweak-tool produces traceback
Created attachment 565979 [details]
traceback file
types.py:43:function:GError: No configuration to output Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/fontstweak/tool.py", line 196, in applyClicked self.config.save() File "/usr/lib64/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) GError: No configuration to output Local variables in innermost frame: info: <gi.FunctionInfo object (save) at 0x0xead998> args: (<EzfcConfig at 0xfc2b60>,) kwargs: {} Proposed fix: https://github.com/tagoh/fonts-tweak-tool/commit/b6e387d878faa2a27bce0e61f5ef8e1b8167f0ac Reproduced on fedora 17 fonts-tweak-tool-0.0.3-1.fc17.noarch. Steps to Reproduce: 1. Install Fedora17 & fonts-tweak-tool. http://dl.fedoraproject.org/pub/alt/stage/f17-translation/Fedora-17-Translation-x86_64-Live-Desktop.iso 2. run fonts-tweak-tool from Terminal 3. Add a language (ex. Chinese (P.R. of China) - 中文(简体)) via Language Selection in fonts-tweak-tool. 4. Keep the Alias fonts by default and click Apply button. 5. Click 'Close'. 6. re-run fonts-tweak-tool from Terminal Actual results: 1. Apply the default Alias fonts in fonts-tweak-tool produces traceback. Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/fontstweak/tool.py", line 196, in applyClicked self.config.save() File "/usr/lib64/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) GError: No configuration to output 2. After re-run fonts-tweak-tool, the added language (ex. Chinese (P.R. of China) - 中文(简体)) is disappeared from the language list box. Expected results: 1. Should no traceback. 2. The added language should be there in the language list box for user and can apply again. James, can we fix this in beta? please note that the beta change deadline is next Tuesday. fonts-tweak-tool-0.0.4-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/fonts-tweak-tool-0.0.4-1.fc16 fonts-tweak-tool-0.0.4-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fonts-tweak-tool-0.0.4-1.fc17 Package fonts-tweak-tool-0.0.4-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fonts-tweak-tool-0.0.4-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-4204/fonts-tweak-tool-0.0.4-1.fc17 then log in and leave karma (feedback). fonts-tweak-tool-0.0.5-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/fonts-tweak-tool-0.0.5-1.fc16 fonts-tweak-tool-0.0.5-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fonts-tweak-tool-0.0.5-1.fc17 fonts-tweak-tool-0.0.5-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. fonts-tweak-tool-0.0.5-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |