Hide Forgot
Description of problem: Happens when exporting tasks. Version-Release number of selected component: gtg-0.3-4.fc20 Additional info: reporter: libreport-2.1.9 cmdline: /usr/bin/python /usr/bin/gtg executable: /usr/bin/gtg kernel: 3.11.7-300.fc20.x86_64 runlevel: N 5 type: Python uid: 1001 Truncated backtrace: export.py:270:_update_combobox:KeyError: 'last_template' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/GTG/plugins/export/export.py", line 253, in show_dialog self._update_combobox() File "/usr/lib/python2.7/site-packages/GTG/plugins/export/export.py", line 270, in _update_combobox if path == self.preferences["last_template"]: KeyError: 'last_template' Local variables in innermost frame: templates: ['/usr/lib/python2.7/site-packages/GTG/plugins/export/export_templates/template_statusrpt.txt', '/usr/lib/python2.7/site-packages/GTG/plugins/export/export_templates/template_textual.txt', '/usr/lib/python2.7/site-packages/GTG/plugins/export/export_templates/template_simple.html', '/usr/lib/python2.7/site-packages/GTG/plugins/export/export_templates/template_pocketmod.tex', '/usr/lib/python2.7/site-packages/GTG/plugins/export/export_templates/template_sexy.html'] i: 0 self: <GTG.plugins.export.export.PluginExport instance at 0x2890488> active_entry: None template: <GTG.plugins.export.templates.Template instance at 0x2db6440> path: '/usr/lib/python2.7/site-packages/GTG/plugins/export/export_templates/template_statusrpt.txt' model: <gtk.ListStore object at 0x2dd8eb0 (GtkListStore at 0x20e7ec0)>
Created attachment 823492 [details] File: backtrace
Created attachment 823493 [details] File: environ
FWIW, changing that line to this works around the problem here: if path == self.preferences.get("last_template"):
gtg-0.3.1-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/gtg-0.3.1-1.fc20
Package gtg-0.3.1-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gtg-0.3.1-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-22265/gtg-0.3.1-1.fc20 then log in and leave karma (feedback).
gtg-0.3.1-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.