← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2084420] Re: Gedit Yaru theme unable to load

 

I'm also seeing this bug with pluma using Ubuntu Mate 25.04

(pluma:398636): GtkSourceView-WARNING **: 03:39:21.990: could not load
style scheme file '/usr/share/gtksourceview-4/styles/Yaru.xml': missing
'version' attribute

(pluma:398636): GtkSourceView-WARNING **: 03:39:21.991: could not load
style scheme file '/usr/share/gtksourceview-4/styles/Yaru-dark.xml':
missing 'version' attribute

(pluma:398636): GtkSourceView-WARNING **: 03:39:21.998: could not load
style scheme file '/usr/share/gtksourceview-4/styles/Yaru.xml': missing
'version' attribute

(pluma:398636): GtkSourceView-WARNING **: 03:39:21.999: could not load
style scheme file '/usr/share/gtksourceview-4/styles/Yaru-dark.xml':
missing 'version' attribute

** (pluma:398636): WARNING **: 03:39:22.001: Default style scheme 'Yaru'
cannot be found, falling back to 'classic' style scheme

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to yaru-theme in Ubuntu.
https://bugs.launchpad.net/bugs/2084420

Title:
  Gedit Yaru theme unable to load

Status in gedit package in Ubuntu:
  Confirmed
Status in yaru-theme package in Ubuntu:
  Confirmed

Bug description:
  Gedit will produce the following error on startup:
  (gedit:256008): libgedit-gtksourceview-WARNING **: 14:43:48.787: could not load style scheme file '/usr/share/libgedit-gtksourceview-300/styles/Yaru.xml': missing 'version' attribute

  (gedit:256008): libgedit-gtksourceview-WARNING **: 14:43:48.787: could
  not load style scheme file '/usr/share/libgedit-
  gtksourceview-300/styles/Yaru-dark.xml': missing 'version' attribute

  at the top of the files, a version number needs to be added like in the example below:
  from
  <style-scheme id="Yaru-dark" _name="Yaru-dark" kind="dark">
  to
  <style-scheme id="Yaru-dark" _name="Yaru-dark" kind="dark" version="1.0">

  once this is done, restart gedit and you will be able to enjoy the
  theme.

  Interestingly, these files aren't part of libgedit-
  gtksourceview-300-common so they must be added by a different package.
  Edit: is is part of yaru-theme-gtk

  ProblemType: Bug
  DistroRelease: Ubuntu 24.10
  Package: gedit 46.2-3
  ProcVersionSignature: Ubuntu 6.11.0-8.8-generic 6.11.0
  Uname: Linux 6.11.0-8-generic x86_64
  ApportVersion: 2.30.0-0ubuntu4
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 14 14:50:25 2024
  InstallationDate: Installed on 2022-04-06 (922 days ago)
  InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
  SourcePackage: gedit
  UpgradeStatus: Upgraded to oracular on 2024-10-11 (3 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/2084420/+subscriptions