Re: posummit: [error] 'dict' object has no attribute 'add'
Charlotte <[email protected]> Tue, 23 Dec 2025 16:28:27 +0000
| Newsgroups | gmane.comp.kde.devel.internationalization-and-documentation |
|---|---|
| Message-ID | <l-gQ0hu6-cZ3UIUvnT-5QyTXWih00cKX0KSZCVdoafUuYiwQOcZu2r8DzkUxBrxITUEFLmk5UTiA7eYrHfK1nf5rKCkYWZnqQACHhnC0m6g=@protonmail.com> |
Thanks, that's fixed the issue. On Tuesday, 23 December 2025 at 12:05, Johnny Jazeix <[email protected]> wrote: > > > Hi, > > There is a regression with > https://invent.kde.org/sdk/pology/-/commit/61c7aab20c5978a423b60bfe408969b79e660a37, > I would suggest to temporary revert the commit in local to run the > gather. > For whatever reason, in > https://invent.kde.org/sdk/pology/-/blob/master/scripts/posummit.py#L2154 > (same for unfuzzy 12 lines above), it considers the "flag" attribute > in message (https://invent.kde.org/sdk/pology/-/blob/master/pology/message.py#L429) > to be a dict instead of a Monset and it can't call add/remove on it. > > Without the commit, I managed to successfully run the gathering for ga :). > > Cheers, > Johnny > > Le mar. 23 déc. 2025 à 10:23, Johnny Jazeix [email protected] a écrit : > > > Hi, > > > > I can reproduce the issue, I'm taking a look. > > > > Cheers, > > Johnny > > > > Le mar. 23 déc. 2025 à 00:40, Charlotte [email protected] a écrit : > > > > > Hi there, > > > I'm trying to set up posummit on my system, but every time I try to run `posummit scripts/messages.summit ga gather --create --force`, I get the error "posummit: [error] 'dict' object has no attribute 'add'". > > > > > > I've followed the instructions in https://techbase.kde.org/Localization/Workflows/PO_Summit and I'm using the most recent commit to the KDE Invent Pology repository. > > > Has anyone else run into this and knows how to fix it/if its a bug? > > > Thanks, > > > Charlotte