Hi
welcome panel (24.8-1) doesn’t run anymore on my machine with the following message
(sorry for the language, my system is set to italian):
/usr/share/endeavouros/scripts/eos-script-lib-yad: riga 66: "eos-assert-deps": non è un identificatore valido
“eos-assert-deps” should be changed to “eos_assert_deps” in:
/usr/share/endeavouros/scripts/eos-script-lib-yad
line 54
/usr/share/endeavouros/scripts/welcome
line 1379
this solved the problem.
Bye and thanks!
manuel
August 16, 2024, 3:30pm
2
Welcome!
And thanks for the post. However, it should work as-is with hyphens, not underscores. So the problem may be the system is not fully updated.
I’d suggest running command
sudo pacman -Syu welcome eos-bash-shared
eos-bash-shared version should be 24.16.21-1.
Hello and thanks for you help!
My system looks up to date. I checked and I already had the packages to that version. The error keeps occuring on every script that contains the string “eos-assert-deps”, fixed after changing it by hand to “eos_assert_deps”.
E.g.
/usr/bin/reflector-simple: riga 758: eos-assert-deps: comando non trovato
/usr/bin/eos-log-tool: riga 400: eos-assert-deps: comando non trovato
manuel
August 18, 2024, 6:33pm
4
That’s because you changed the name in file eos-script-lib-yad which is something you are not supposed to do.
You should reinstall those packages that you changed.
Otherwise you will get the same problem when they upgrade.
Edit: which shell are you using? Please show the output of command
pacman -Q ${SHELL##*/}
Hi, it is bash 5.2.032-1
I reinstalled/restored what I changed, getting back to the initial error on welcome panel. Everything else is working fine.
manuel
August 19, 2024, 4:37pm
6
Strange indeed.
This problem has not been reported before, and I cannot reproduce it.
manuel
August 19, 2024, 4:49pm
7
For the record, can you show the output of commands
inxi -Fza
sed -n 54p /usr/share/endeavouros/scripts/eos-script-lib-yad
manuel:
inxi -Fza
As always, many thanks.
[ltb@hpelitedesk800 ~]$ inxi -Fza
System:
Kernel: 6.10.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=83f2e02d-0849-45e9-82af-b14c0fa8d01c rw rootflags=subvol=@
nowatchdog nvme_load=YES quiet loglevel=0
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
with: plank,xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
Distro: EndeavourOS base: Arch Linux
Machine:
Type: Desktop System: Hewlett-Packard product: HP EliteDesk 800 G1 SFF
v: N/A serial: <superuser required> Chassis: type: 4
serial: <superuser required>
Mobo: Hewlett-Packard model: 1998 serial: <superuser required>
part-nu: H5U03ET#ABD uuid: <superuser required> UEFI: Hewlett-Packard
v: L01 v02.78 date: 02/20/2020
CPU:
Info: model: Intel Core i7-4790 bits: 64 type: MT MCP arch: Haswell
gen: core 4 level: v3 note: check built: 2013-15 process: Intel 22nm
family: 6 model-id: 0x3C (60) stepping: 3 microcode: 0x28
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 1646 high: 4000 min/max: 800/4000 scaling:
driver: intel_cpufreq governor: schedutil cores: 1: 800 2: 4000 3: 800
4: 800 5: 800 6: 1579 7: 800 8: 3593 bogomips: 57468
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: reg_file_data_sampling status: Not affected
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
STIBP: conditional; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X]
driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands process: GF 14nm
built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 8 ports: active: HDMI-A-1
empty: DP-1,DVI-D-1 bus-ID: 01:00.0 chip-ID: 1002:699f class-ID: 0300
temp: 41.0 C
Device-2: Logitech Logitech Webcam C925e driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:3
chip-ID: 046d:085b class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
compositor: xfwm4 v: 4.18.0 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: AOC 27B2G5 serial: <filter>
built: 2022 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 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: 24.1.6-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 550 / 550 Series
(radeonsi polaris12 LLVM 18.1.8 DRM 3.57 6.10.5-zen1-1-zen)
device-ID: 1002:699f memory: 3.91 GiB unified: no
Audio:
Device-1: Intel 8 Series/C220 Series High Definition Audio
vendor: Hewlett-Packard EliteDesk 800 G1 driver: snd_hda_intel v: kernel
bus-ID: 00:1b.0 chip-ID: 8086:8c20 class-ID: 0403
Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X]
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 8
bus-ID: 01:00.1 chip-ID: 1002:aae0 class-ID: 0403
Device-3: Logitech Logitech Webcam C925e driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:3
chip-ID: 046d:085b class-ID: 0102 serial: <filter>
API: ALSA v: k6.10.5-zen1-1-zen status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.2.2 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Ethernet I217-LM vendor: Hewlett-Packard EliteDesk 800 G1
driver: e1000e v: kernel port: f040 bus-ID: 00:19.0 chip-ID: 8086:153a
class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1
bus-ID: 3-1.3.2:5 chip-ID: 0a12:0001 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 4.0 lmp-v: 6
status: discoverable: no pairing: no
Drives:
Local Storage: total: 1017.23 GiB used: 121.73 GiB (12.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 2B6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 model: SSD 512GB size: 476.94 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter>
fw-rev: 14B4 scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Hitachi model: HTS722080K9A300
size: 74.53 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
tech: N/A serial: <filter> fw-rev: C54P scheme: GPT
Partition:
ID-1: / raw-size: 422.85 GiB size: 422.85 GiB (100.00%)
used: 28.39 GiB (6.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 1.5 GiB size: 1.5 GiB (99.80%)
used: 576 KiB (0.0%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 318.73 GiB size: 318.73 GiB (100.00%)
used: 43.52 GiB (13.7%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-f6242774-afb6-4da2-ab85-9ec0f2658b7e
ID-4: /var raw-size: 117.19 GiB size: 117.19 GiB (100.00%)
used: 2.52 GiB (2.1%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
mapped: luks-1b18568b-9aa3-4c11-be07-1d09231f85d8
ID-5: /var/log raw-size: 422.85 GiB size: 422.85 GiB (100.00%)
used: 28.39 GiB (6.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 39.0 C mobo: N/A gpu: amdgpu temp: 41.0 C
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB available: 15.54 GiB used: 1.95 GiB (12.5%)
Processes: 346 Power: uptime: 2m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.2 GiB services: power-profiles-daemon,
upowerd, xfce4-power-manager Init: systemd v: 256 default: graphical
tool: systemctl
Packages: 1252 pm: pacman pkgs: 1242 libs: 320 tools: yay pm: rpm pkgs: 0
pm: flatpak pkgs: 10 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Bash
v: 5.2.32 running-in: xfce4-terminal inxi: 3.3.35
[ltb@hpelitedesk800 ~]$ sed -n 54p /usr/share/endeavouros/scripts/eos-script-lib-yad
eos-assert-deps() { # params: prog deps
manuel
August 20, 2024, 8:20pm
9
So far the only differences I see are
flatpak packages
linux-zen kernel
Questions:
Have you tried the default or the LTS kernel?
Which flatpaks have you installed?
dalto
August 20, 2024, 8:29pm
10
Is it possible it has something to do with the locale?
manuel
August 20, 2024, 8:38pm
11
It has been used successfully with many locale settings… but who knows, the issue is strange.
Same thing, both with Zen and LTS kernel.
Flatpaks I only have Flatseal and Fondo, a tool to download and change the desktop wallpaper that comes from Elementary OS.
I changed the welcome panel launcher command string from what I found:
sh /usr/share/endeavouros/scripts/welcome --once
to
/usr/share/endeavouros/scripts/welcome --once
and now the panel runs normally!
Perhaps is something wrong in my bash config?
In ~/.bashrc at line #8 there is:
[[ -f ~/.welcome_screen ]] && . ~/.welcome_screen
but I don’t have such file in my home dir. Is it correct?
manuel
August 20, 2024, 9:36pm
13
Looks like if welcome is executed in POSIX mode this problem occurs.
Now we need to determine why your shell is in posix mode… maybe the sh command has something to do with it, if it is not set as bash.
Please show the output of terminal command
ls -l /bin/sh
Or do you have bash configurations from other sources?
That shouldn’t matter if you don’t have the file.
dalto
August 20, 2024, 9:47pm
14
I am not sure where this line comes from but it probably shouldn’t call sh
for a bash script.
It should either call bash
explicitly or just run the script directly.
@manuel
lrwxrwxrwx 1 root root 4 1 ago 16.23 /bin/sh → bash
@dalto
yesterday I created a new user. The welcome panel launcher in Whisker got this command:
eos-welcome --once
whereis eos-welcome
eos-welcome: /usr/bin/eos-welcome
ls -l /usr/bin/eos-welcome
lrwxrwxrwx 1 root root 38 3 ago 11.40 /usr/bin/eos-welcome → /usr/share/endeavouros/scripts/welcome
that isn’t what I found for my 1st user, created installing the system in “Galileo epoch” last February, and not working (anymore):
sh /usr/share/endeavouros/scripts/welcome --once
maybe something is changed with the last months updates (Gemini) and left behind Galileo-born systems/users in this -honestly- little detail.
Anyway, everything is working now. Once again thank you guys for your support!