ERROR Thread pce / emacs

I’m using: SWI-Prolog version 8.4.0

I wanted to edit the font permanently, but ended up destroying the whole program. Now every time I want to create a new or edit an existing .pl file, I get an error message (stated below).

I already uninstalled and reinstalled the program, but it didn’t change a thing.

The error I receive is this:

?- [PCE warning: display.system_fonts: Failed to convert indiv := font(helvetica, courier, 14). Trying program default]
ERROR: [Thread pce] Unhandled exception: chain <-convert: No argument named indiv
ERROR: [Thread pce] Unhandled exception: dialog ->append: Argument 1 (item): graphical' expected, found new(_21302,tool_bar(@(emacs_mark_list)))’
ERROR: [Thread pce] :- pce_global/2: create failed: emacs(@(emacs_buffers))
ERROR: [Thread pce] Unhandled exception: pce(object) `@(emacs)’ does not exist
ERROR: [Thread pce] In:
ERROR: [Thread pce] [9] pce_principal:send(@(emacs),start)
ERROR: [Thread pce] [8] pce:in_pce_thread_sync(’<garbage_collected>’) at c:/program files/prolog/swipl/xpce/prolog/lib/pce.pl:154
ERROR: [Thread pce] [6] start_emacs:emacs(‘c:/[removed-for-privacy].pl’) at c:/program files/prolog/swipl/xpce/prolog/lib/pce_emacs.pl:138
ERROR: [Thread pce] [5] call(’<garbage_collected>’) at c:/program files/prolog/swipl/boot/init.pl:484
ERROR: [Thread pce] [4]
ERROR: [Thread pce] [3] pce_principal:pce_dispatch
ERROR: [Thread pce] [2] catch(pce_dispatch:pce_dispatch,_33266,pce_dispatch:true) at c:/program files/prolog/swipl/boot/init.pl:546
ERROR: [Thread pce] [1] pce_dispatch:pce_dispatcher(main) at c:/program files/prolog/swipl/xpce/prolog/lib/pce_dispatch.pl:98
ERROR: [Thread pce] [0]
ERROR: [Thread pce]
ERROR: [Thread pce] Note: some frames are missing due to last-call optimization.
ERROR: [Thread pce] Re-run your program in debug mode (:- debug.) to get more detail.
Exit: (3) pce_principal:pce_dispatch ?

I am very desperately in need of a solution for this. I cannot use the program anymore.

Thanks a lot in advance!

You left c:, so I assume Windows :slight_smile: The file is in c:/users/<user>/application data/swi-prolog/xpce/Defaults. Either remove this file or edit it with any text editor.

Thank you so much! That solved my problem.