You are not logged in.

#1 Yesterday 16:07:18

Brin09
Member
Registered: Yesterday
Posts: 2

Slimbookbattery won't open

When opened from start menu slimbook briefly appears on the taskbar then closes, when opened from console the following error is reported:

[brin@brinux ~]$ slimbookbattery
Traceback (most recent call last):
  File "/usr/share/slimbookbattery/src/slimbookbatterypreferences.py", line 21, in <module>
    import gi
  File "/usr/lib/python3.13/site-packages/gi/__init__.py", line 40, in <module>
    from . import _gi
ImportError: /usr/lib/python3.13/site-packages/gi/_gi.cpython-313-x86_64-linux-gnu.so: undefined symbol: gi_repository_dup_default

Of the file in question, ldd has to say:

[brin@brinux ~]$ ldd /usr/lib/python3.13/site-packages/gi/_gi.cpython-313-x86_64-linux-gnu.so
        linux-vdso.so.1 (0x00007fde23d6c000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fde23b8d000)
        libgirepository-2.0.so.0 => /usr/lib/libgirepository-2.0.so.0 (0x00007fde23b64000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fde23b05000)
        libffi.so.8 => /usr/lib/libffi.so.8 (0x00007fde23af9000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fde23800000)
        libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007fde23a4c000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007fde23a45000)
        libm.so.6 => /usr/lib/libm.so.6 (0x00007fde236f2000)
        /usr/lib64/ld-linux-x86-64.so.2 (0x00007fde23d6e000)

I've already tried reinstalling gobject, gobject-introspection, and python-packaging. There doesn't seem to be anything on the wiki for this specific issue, and the threads I've found advocate for either reinstalling the packages I already have, or totally reinstalling Arch, which I'd rather not do. Just installed slimbookbattery (and slimbookamdcontroller, which has the same issue) a few minutes ago.

Offline

#2 Yesterday 16:16:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,084

Re: Slimbookbattery won't open

With what version of glib2? Remember, partial updates are not supported.

Online

#3 Yesterday 16:17:52

Brin09
Member
Registered: Yesterday
Posts: 2

Re: Slimbookbattery won't open

I'm using glib2 2.84.4-2
edit: yeah I just had to update glib ? thanks for the help, I've only been using linux for a few weeks so I'm still trying to find my way around

Last edited by Brin09 (Yesterday 16:20:40)

Offline

#4 Yesterday 16:19:41

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,084

Re: Slimbookbattery won't open

Exactly. To expand on my previous post, https://wiki.archlinux.org/title/System … nsupported

Online

Board footer

Powered by FluxBB