Foliate not working after the latest update

I am not sure whether I should even post it here. But updating Manjaro, foliate has completely stopped working.
Here is my inxi output:

System:    Kernel: 5.10.68-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: GNOME 40.4 
           Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Laptop System: Dell product: Inspiron 7559 v: 1.3.0 serial: <filter> 
           Mobo: Dell model: 0H0CC0 v: A00 serial: <filter> UEFI: Dell v: 1.3.0 date: 12/01/2018 
Battery:   ID-1: BAT0 charge: 72.8 Wh (100.0%) condition: 72.8/76.1 Wh (95.7%) volts: 12.8 
           min: 11.4 model: Dell status: Full 
CPU:       Info: Quad Core model: Intel Core i7-6700HQ bits: 64 type: MT MCP arch: Skylake-S 
           rev: 3 cache: L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 41621 
           Speed: 2302 MHz min/max: 800/3500 MHz Core speeds (MHz): 1: 2302 2: 2725 3: 2601 
           4: 2662 5: 2559 6: 2717 7: 1949 8: 2802 
Graphics:  Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 
           Device-2: NVIDIA GM107M [GeForce GTX 960M] vendor: Dell driver: N/A bus-ID: 02:00.0 
           Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo 
           bus-ID: 1-4:2 
           Display: x11 server: X.org 1.20.13 driver: loaded: modesetting 
           resolution: <missing: xdpyinfo> 
           OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.2.2 
           direct render: Yes 
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Dell 
           driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
           Sound Server-1: ALSA v: k5.10.68-1-MANJARO running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.37 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell 
           driver: r8169 v: kernel port: d000 bus-ID: 04:00.0 
           IF: enp4s0 state: down mac: <filter> 
           Device-2: Intel Wireless 3165 driver: iwlwifi v: kernel port: d000 bus-ID: 05:00.0 
           IF: wlp5s0 state: up mac: <filter> 
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
           bus-ID: 1-5:3 
           Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives:    Local Storage: total: 577.55 GiB used: 196.07 GiB (33.9%) 
           ID-1: /dev/sda vendor: Transcend model: TS120GMTS820S size: 111.79 GiB 
           ID-2: /dev/sdb vendor: Western Digital model: WDS500G2B0A size: 465.76 GiB 
Partition: ID-1: / size: 92.46 GiB used: 57.93 GiB (62.7%) fs: ext4 dev: /dev/sda3 
           ID-2: /boot/efi size: 299.4 MiB used: 25.6 MiB (8.6%) fs: vfat dev: /dev/sda1 
           ID-3: /home size: 195.8 GiB used: 138.11 GiB (70.5%) fs: ext4 dev: /dev/sdb3 
Swap:      ID-1: swap-1 type: partition size: 17 GiB used: 0 KiB (0.0%) dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 60.0 C mobo: 29.8 C sodimm: SODIMM C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 282 Uptime: 35m Memory: 15.49 GiB used: 3.19 GiB (20.6%) Init: systemd 
           Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: 1665 Client: shell wrapper 
           v: 5.1.8-release inxi: 3.3.06 

And here is the error message that I got

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.377: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.377: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.377: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.377: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.378: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.378: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.378: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.378: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.378: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.378: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.378: g_irepository_find_by_name: assertion 'typelib != NULL' failed

** (com.github.johnfactotum.Foliate:16770): CRITICAL **: 08:56:02.378: g_irepository_find_by_name: assertion 'typelib != NULL' failed

(com.github.johnfactotum.Foliate:16770): GLib-GObject-WARNING **: 08:56:02.378: cannot register existing type 'TrackerSparqlConnection'

(com.github.johnfactotum.Foliate:16770): GLib-CRITICAL **: 08:56:02.378: g_once_init_leave: assertion 'result != 0' failed

(com.github.johnfactotum.Foliate:16770): GLib-GObject-CRITICAL **: 08:56:02.378: g_type_register_static: assertion 'parent_type > 0' failed

(com.github.johnfactotum.Foliate:16770): GLib-GObject-WARNING **: 08:56:02.378: cannot add private field to invalid (non-instantiatable) type '<invalid>'

(com.github.johnfactotum.Foliate:16770): GLib-CRITICAL **: 08:56:02.378: g_once_init_leave: assertion 'result != 0' failed

(com.github.johnfactotum.Foliate:16770): GLib-GObject-CRITICAL **: 08:56:02.378: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(com.github.johnfactotum.Foliate:16770): Tracker-CRITICAL **: 08:56:02.378: tracker_sparql_backend_load_plugins: assertion 'self != NULL' failed

what should I do? anyone has any better application in mind to read .epub?

Calibre works for me.

Got the same error - the flatpak version works

i’m on unstable branch X11/plasma , foliate 2.6.3-1 works with no errors thrown other that usual GTK warnings

I don’t like the way it looks. Foliate has much nicer looking interface for reading .epub files (in my opinion)

1 Like

The problem is causing becuase arch now has both tracker2.0 and tracker 3.0 installed at the same time. the problem goes away if you disable the tracker through dconf or if you uninstall tracker2.0.

you can find out some more details here,

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.