Re: posummit: [error] 'dict' object has no attribute 'add'
Johnny Jazeix <[email protected]> Tue, 23 Dec 2025 13:05:00 +0100
| Newsgroups | gmane.comp.kde.devel.internationalization-and-documentation |
|---|---|
| Message-ID | <CAEtcAPELTvo1PBa0Mq29ZtCTF+M0ivk-NpSL3kiGDT42Ynyq_w@mail.gmail.com> |
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