Description of problem: Apply the default Alias fonts in fonts-tweak-tool produces traceback Version-Release number of selected component (if applicable): fonts-tweak-tool-0.0.3-1.fc16.noarch How reproducible: 100% Steps to Reproduce: 1. Install Fedora16 Desktop &fonts-tweak-tool. 2. run fonts-tweak-tool in Terminal or from the Applications menu. 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. Actual results: Apply the default Alias fonts in fonts-tweak-tool produces traceback. Expected results: Should no traceback. Additional info: also reproduced on en_US.
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.