posummit: [error] 'dict' object has no attribute 'add'

Charlotte altronic25 at protonmail.com
Tue Dec 23 16:28:27 GMT 2025


Thanks, that's fixed the issue.



On Tuesday, 23 December 2025 at 12:05, Johnny Jazeix <jazeix at gmail.com> 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 jazeix at gmail.com a écrit :
> 
> > Hi,
> > 
> > I can reproduce the issue, I'm taking a look.
> > 
> > Cheers,
> > Johnny
> > 
> > Le mar. 23 déc. 2025 à 00:40, Charlotte altronic25 at protonmail.com 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


More information about the kde-i18n-doc mailing list