RedNotebook will not launch

RedNotebook will not launch after update.

    ~  rednotebook                                                                                                   1 ✘  4s  
INFO     Using GtkSourceView 4
Adding /usr/lib/python3.13/site-packages to sys.path
Traceback (most recent call last):
  File "/usr/bin/rednotebook", line 6, in <module>
    import journal
ModuleNotFoundError: No module named 'journal'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/rednotebook", line 12, in <module>
    import rednotebook.journal
  File "/usr/lib/python3.13/site-packages/rednotebook/journal.py", line 71, in <module>
    from rednotebook.util import filesystem
  File "/usr/lib/python3.13/site-packages/rednotebook/util/filesystem.py", line 40, in <module>
    gi.require_version("GIRepository", "2.0")
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/gi/__init__.py", line 132, in require_version
    raise ValueError('Namespace %s not available for version %s' %
                     (namespace, version))
ValueError: Namespace GIRepository not available for version 2.0

User nickdc had this problem a few weeks ago.
linux-aarhus recommended build rednotebook-git, which nickdc did and it solved his problem.
So I tried it;

    ~  sudo pamac build rednotebook-git                                                                                     1 ✘ 
[sudo] password for chas: 
Warning: Building packages as dynamic user
Warning: Setting build directory to /var/cache/pamac
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Error: target not found: rednotebook-git

Did not work for me.
My particulars:

System:
  Kernel: 6.12.25-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc
  Desktop: KDE Plasma v: 6.3.4 tk: Qt v: N/A wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME Z690-A v: Rev 1.xx serial: <superuser required>
    part-nu: SKU uuid: <superuser required> UEFI: American Megatrends v: 4101
    date: 12/03/2024
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M510
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: 12-core (8-mt/4-st) model: 12th Gen Intel Core i7-12700 bits: 64
    type: MST AMCP smt: enabled arch: Alder Lake rev: 2 cache: L1: 1024 KiB
    L2: 12 MiB L3: 25 MiB
  Speed (MHz): avg: 800 min/max: 800/4800:4900:3600 cores: 1: 800 2: 800
    3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
    13: 800 14: 800 15: 800 16: 800 17: 800 18: 800 19: 800 20: 800
    bogomips: 84500
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX
    470/480/570/570X/580/580X/590] vendor: XFX Pine driver: amdgpu v: kernel
    arch: GCN-4 pcie: speed: 8 GT/s lanes: 16 ports: active: DVI-D-1,HDMI-A-1
    empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 1002:67df class-ID: 0300
    temp: 58.0 C
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1200 s-dpi: 96 s-size: 1016x317mm (40.00x12.48")
    s-diag: 1064mm (41.9") monitors: <missing: xrandr>
  Monitor-1: DVI-D-1 model: Samsung SyncMaster serial: <filter>
    res: 1920x1200 dpi: 94 size: 518x324mm (20.39x12.76") diag: 611mm (24.1")
    modes: max: 1920x1200 min: 720x400
  Monitor-2: HDMI-A-1 model: Acer G276HL serial: <filter> res: 1920x1080
    dpi: 82 size: 598x336mm (23.54x13.23") diag: 686mm (27") modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.0.4-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 580 Series (radeonsi
    polaris10 ACO DRM 3.61 6.12.25-1-MANJARO) device-ID: 1002:67df
  API: Vulkan v: 1.4.309 layers: N/A surfaces: xcb,xlib device: 0
    type: discrete-gpu hw: amd driver: mesa radv device-ID: 1002:67df
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdpyinfo,xprop
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:7ad0 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Ellesmere HDMI Audio [Radeon
    RX 470/480 / 570/580/590] vendor: XFX Pine driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 1002:aaf0
    class-ID: 0403
  API: ALSA v: k6.12.25-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.4.2 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel pcie:
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 06:00.0 chip-ID: 8086:15f3
    class-ID: 0200
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 5.91 TiB used: 1.48 TiB (25.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7
    temp: 36.9 C scheme: GPT
  ID-2: /dev/sda vendor: SanDisk model: SSD PLUS 2000GB size: 1.82 TiB
    speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 04RL scheme: MBR
  ID-3: /dev/sdb vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
  ID-4: /dev/sdc vendor: Western Digital model: WD20SDRW-11VUUS0
    size: 1.82 TiB type: USB rev: 3.2 spd: 5 Gb/s lanes: 1 tech: HDD rpm: 5400
    serial: <filter> fw-rev: 1034 scheme: GPT
Partition:
  ID-1: / size: 48.95 GiB used: 16.31 GiB (33.3%) fs: ext4 dev: /dev/nvme0n1p3
  ID-2: /boot/efi size: 511 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 1.73 TiB used: 94.31 GiB (5.3%) fs: ext4
    dev: /dev/nvme0n1p4
Swap:
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p2
Sensors:
  System Temperatures: cpu: 33.2 C mobo: N/A gpu: amdgpu temp: 58.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 752
Info:
  Memory: total: 128 GiB available: 125.54 GiB used: 4.42 GiB (3.5%)
  Processes: 410 Power: uptime: 59m states: freeze,mem,disk suspend: deep
    wakeups: 0 hibernate: platform Init: systemd v: 257 default: graphical
  Packages: pm: pacman pkgs: 1411 Compilers: N/A Shell: Zsh v: 5.9
    default: Bash v: 5.2.37 running-in: konsole inxi: 3.3.38

Help will be greatly appreciated.

Don’t use sudo with pamac… it will ask you for admin permissions.

pamac update --aur --force-refresh
pamac build rednotebook-git
2 Likes

Worked. Thank you.

1 Like

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