Bug 166138 - warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Summary: warning: parent <office:styles> does not have any rules defined (child: <styl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-11 11:14 UTC by Tekstryder
Modified: 2025-05-25 23:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tekstryder 2025-04-11 11:14:37 UTC
Upon launching Calc, a number of these errors are emitted.

I deleted ~/.config/libreoffice prior to ensure default configuration.

```
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:07:28 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
Apr 11 07:08:51 libreoffice-calc.desktop[3387]: warning: parent <office:styles> does not have any rules defined (child: <style:style>)
```


- Arch Linux | Kernel 6.13.11
- Gnome-shell | Mutter 48.0
- Wayland (*meson_options: xwayland=false, x11=false*)
- gtk3 3.24.49


Version: 24.8.6.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 24; OS: Linux 6.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
24.8.6-2
Calc: threaded
Comment 1 elmau 2025-04-16 02:14:10 UTC
I confirm the same result in my system.

Version: 25.2.2.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 16; OS: Linux 6.13; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
25.2.2-2
Calc: threaded
Comment 2 Michael Setzer II 2025-05-25 23:13:30 UTC
Saw same thing after upgrading machine to Fedora 42.
No such messages on Fedora 41.

Installing Version from LibreOffice site does not give error.

$ rpm -qa | grep -i libreoffice | grep -i calc
libreoffice-calc-25.2.3.2-1.fc42.x86_64
libreoffice25.2-calc-25.2.3.2-2.x86_64

$ uname -a
Linux setzconote.dyndns.org 6.14.6-300.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May  9 20:11:19 UTC 2025 x86_64 GNU/Linux
$ 

libreoffice --calc
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)
warning: parent <office:styles> does not have any rules defined (child: <style:style>)

Using LibreOffice version no messages.
$ libreoffice25.2 --calc
$

Note: originally the LibreOffice version gave message about setting the PYTHONHOME variable, so I added this to get rid of that message?

export PYTHONHOME=/usr/lib64/python3.7

Not sure what is best place for this or some other setup?