[Users] python plugin crash

Igor Mammedov imammedo at redhat.com
Tue Apr 28 16:29:20 CEST 2020


On Wed, 22 Apr 2020 08:07:32 -0000
Paul <claws at thewildbeast.co.uk> wrote:

> On Mon, 20 Apr 2020 20:53:00 +0200
> Igor Mammedov <imammedo at redhat.com> wrote: 
> 
> > I'm testing out gkt3 branch and python plugin in Fedora32 with the goal to
> > make add_mark_thread_read_menu_item() from examples work.
> > 
> > However it doen't work, after some tinkering problem was isolated to
> > executing clawsmail.get_mainwindow_action_group()
> > in python console, which SIGSEGVs with following backtrace:  
> 
> Is this also the case in gtk2 claws-mail?
how do I force gtk2 on it?
It seems current master requires/uses gtk3 as well.

Anyway I can't test it right away as it seems fedora update has broken the build.

It fails with:
 In file included from gtkcmctree.h:34,
                 from gtkutils.h:34,
                 from colorsel.c:23:
gtkcmclist.h:554:1: error: unknown type name ‘GtkVisibility’; did you mean ‘GdkVisibilityState’?
  554 | GtkVisibility gtk_cmclist_row_is_visible (GtkCMCList *clist,
      | ^~~~~~~~~~~~~
      | GdkVisibilityState

... and ...

make[5]: *** [Makefile:700: combobox.lo] Error 1
In file included from ./../advsearch.h:27,
                 from ./quicksearch.h:24,
                 from ./../summaryview.h:76,
                 from ./../prefs_common.h:30,
                 from colorlabel.c:35:
./../matcher.h:56:27: error: ‘MATCHER_DATE_AFTER’ undeclared here (not in a function); did you mean ‘MATCHER_AGE_LOWER’?
   56 |  MATCHCRITERIA_ ## name = MATCHER_ ## name
      |                           ^~~~~~~~
./../matcher.h:94:2: note: in expansion of macro ‘MC_’
   94 |  MC_(DATE_AFTER), MC_(DATE_BEFORE),
      |  ^~~
In file included from ./../advsearch.h:27,
                 from ./quicksearch.h:24,
                 from ./../summaryview.h:76,
                 from ./../prefs_common.h:30,
                 from about.c:38:


> 
> with regards
> 
> Paul
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> https://lists.claws-mail.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list