#1106584 autokey-gtk: Abbrieviations not shown and can't be saved

#1106584#5
Date:
2025-05-26 17:20:41 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

I built a Trixie system and copied over my autokey config files from Bookworm (~/.config/autokey). The main window shows my phrases but doesn't show any abbreviations.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

     I trie to manually add an abbreviation

   * What was the outcome of this action?

   When I tried to save the abbreviation, I got this:

   Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/autokey/gtkui/dialogs.py", line 86, in on_ok
    if self.valid():
       ~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/autokey/gtkui/dialogs.py", line 353, in valid
    len(self.get_abbrs()) > 0,
        ~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/autokey/gtkui/dialogs.py", line 336, in get_abbrs
    text = model.get_value(i.next().iter, 0)
                           ^^^^^^
AttributeError: 'TreeModelRowIter' object has no attribute 'next'

   * What outcome did you expect instead?

   I actually expected the abbreviations to be present from the Bookworm system. At the very least, I should be able to define them here.

*** End of the template - remove these template lines ***

#1106584#10
Date:
2025-06-01 11:51:38 UTC
From:
To:
I've been able to get autokey working correctly under Trixie as follows:

- implement patch given here: https://github.com/autokey/autokey/issues/1013#issuecomment-2637464464

- rename all hidden json files in the phrases directory to remove the leading period

#1106584#15
Date:
2025-12-18 12:12:10 UTC
From:
To:
https://github.com/autokey/autokey/issues/1013#issuecomment-2637464464
leading period

Hi,

I couldn't make the github version to work so I did the dumb move to make
the suggested changes in the file installed by the deb packages. And it is
working well.

Cheers, Gunther