GTG

Missing new preferences for plugins

Bug #1094307 reported by David Elliott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Critical
Izidor Matušov

Bug Description

When plugin (code) introduces a new preference option and preferences already exists, this option is not added to the existing one, example of such traceback:

Traceback (most recent call last):
  File "/usr/share/gtg/GTG/plugins/export/export.py", line 253, in show_dialog
    self._update_combobox()
  File "/usr/share/gtg/GTG/plugins/export/export.py", line 270, in _update_combobox
    if path == self.preferences["last_template"]:
KeyError: 'last_template'

Related branches

Revision history for this message
Nimit Shah (nimit-svnit) wrote :

Hi David! Can you give me steps to reproduce the bug?

Changed in gtg:
status: New → Incomplete
Revision history for this message
David Elliott (davidrelliott) wrote : Re: [Bug 1094307] Re: Plugin "Export and Print" crashes

HI Nimit,

To recreate, I just click on the icon to print or the menu item
Plugins>Export.

On 01/05/2013 08:41 PM, Nimit Shah wrote:
> Hi David! Can you give me steps to reproduce the bug?
>
> ** Changed in: gtg
> Status: New => Incomplete
>

Izidor Matušov (izidor)
Changed in gtg:
status: Incomplete → In Progress
importance: Undecided → Critical
assignee: nobody → Izidor Matušov (izidor)
milestone: none → 0.3.1
description: updated
summary: - Plugin "Export and Print" crashes
+ Missing new preferences for plugins
Revision history for this message
Izidor Matušov (izidor) wrote :

On 01/15/2013 09:43 PM, Dave Elliott wrote:
> Is there a work around that I can use until a patch is committed to the
> daily ppa? Perhaps deleting the outdated preferences?

Sorry for the late answer. You can remove ~/.config/gtg/plugins/export/
folder. You'll lose settings for the plugin but those are not crucial.
(They are like what template did you used the last time)

Izidor

Izidor Matušov (izidor)
Changed in gtg:
status: In Progress → Fix Committed
Nimit Shah (nimit-svnit)
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.