Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: execpi and catp, progress bar appear in character #2123

Open
PowaBanga opened this issue Dec 22, 2024 · 0 comments
Open

[Bug]: execpi and catp, progress bar appear in character #2123

PowaBanga opened this issue Dec 22, 2024 · 0 comments
Labels
bug related to incorrect existing implementation of some functionality display: file related to file backend

Comments

@PowaBanga
Copy link

What happened?

i use a command in conky to generate a text file who report some information from my servers.
So i try to do a simple bar about their disk spaces.
the progress bar do no appear normally see screen shot below

here is the output of my command actually :

 Documents/trucs/scripts/sshstate            
🔴 Gigi
🟢 ArchiPavilion
🟢 ArchiAkoya

    🖥️  localhost  🖥️      49.000 °C
23:42:52 up  2:21, l.a.: 0,90, 1,20, 1,19
⚡ lightdm    --session-child    21:21   12 20
mmcblk1p2 
 ${color red} ${execbar 5,100 echo 60}${color} 
sda1 
 ${color red} ${execbar 5,100 echo 71}${color} 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              3.9G   2.8G  291M  415M    1.5G        1.1G
 
    🖥️  rpi3  🖥️      30.020 °C
23:42:53 up 11 days,  7:53,l.a.: 1.16, 0.89, 1.00
mmcblk0p2 
 ${color red} ${execbar 5,100 echo 34}${color} 
w: get user name failed: No such device or address
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              949M   729M  24M   4.8M    217M        220M
 
zsh: command not found: jq
    🖥️  tkodi-salon  🖥️       °C
22:42:56 up 5 days,  6:27, l.a.: 1.50, 1.47, 1.45
\xe2\x9a\xa1 39:28            /usr/lib/kodi/kodi.bin    -   --standalone
mmcblk0p2 
 ${color red} ${execbar 5,100 echo 20}${color} 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              4.0G   548M  614M  11M     2.9G        3.5G
 
    🖥️  tlpv1  🖥️      34.500 °C
23:42:57 up 15 days,  2:49, l.a.: 1,16, 0,47, 0,49
mmcblk0p1 
 ${color red} ${execbar 5,100 echo 62}${color} 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              2.0G   905M  616M  233K    644M        1.1G
 
  💢💢💢 tnfs 💢💢💢

Version

1.21.5

Which OS/distro are you seeing the problem on?

Ubuntu

Conky config

conky.config={ 
    update_interval=30, 
    out_to_console=true, 
    out_to_stderr=false, 
    font='SegoeUIEmoji:size=10',  
    use_xft=true, 
    override_utf8_locale=true, 
 
    own_window=true, 
    own_window_type='desktop', 
    own_window_transparent=false, 
    own_window_hints='undecorated,below,sticky,skip_taskbar,skip_pager', 
    own_window_argb_visual = true, 
    own_window_class = 'Conky', 
    own_window_argb_value = 51, 
 
    alignment='top_left', 
    gap_x=10, 
    gap_y=10, 
    alignment='top_right', 
    minimum_size=400, 
    maximum_width=680, 
-- anti blink 
    double_buffer = true, 
};           
 
conky.text = [[ 
${execpi 30 /home/powabanga/Documents/trucs/scripts/sshstate} 
]]

Stack trace

No response

Relevant log output

conky -c .conky/rpis/displayfile   
conky: desktop window (0x4db) is root window
conky: window type - desktop
conky: drawing to created window (0xa00002)
conky: drawing to double buffer
conky: Unknown setting 'minimum_size'
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: x11
conky: FOUND: wayland
conky: 'openbox' x11 session running '(null)' desktop
w: get user name failed: No such device or address
zsh: command not found: jq
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
conky: reading exec value failed (perhaps it's not the correct format?)
🔴 Gigi
🟢 ArchiPavilion
🟢 ArchiAkoya
    🖥️  localhost  🖥️      53.000 °C
23:46:02 up  2:25, l.a.: 1,83, 1,38, 1,25
⚡ lightdm    --session-child    21:21   12 20
mmcblk1p2 
 
 ....................................................................................................
 
sda1 
 
 ....................................................................................................
 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              3.9G   2.4G  827M  399M    1.4G        1.6G
 
    🖥️  rpi3  🖥️      30.020 °C
23:46:03 up 11 days,  7:56,l.a.: 0.40, 0.65, 0.88
mmcblk0p2 
 
 ....................................................................................................
 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              949M   727M  27M   4.8M    215M        222M
 
    🖥️  tkodi-salon  🖥️       °C
22:46:11 up 5 days,  6:30, l.a.: 1.05, 1.29, 1.39
\xe2\x9a\xa1 40:08            /usr/lib/kodi/kodi.bin    -   --standalone
mmcblk0p2 
 
 ....................................................................................................
 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              4.0G   550M  612M  11M     2.9G        3.5G
 
    🖥️  tlpv1  🖥️      34.500 °C
23:46:12 up 15 days,  2:52, l.a.: 0,20, 0,30, 0,41
mmcblk0p1 
 
 ....................................................................................................
 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              2.0G   903M  619M  233K    642M        1.1G
 
  💢💢💢 tnfs 💢💢💢
 
🔴 Gigi
🟢 ArchiPavilion
🟢 ArchiAkoya
    🖥️  localhost  🖥️      53.000 °C
23:46:02 up  2:25, l.a.: 1,83, 1,38, 1,25
⚡ lightdm    --session-child    21:21   12 20
mmcblk1p2 
 
 ....................................................................................................
 
sda1 
 
 ....................................................................................................
 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              3.9G   2.4G  827M  399M    1.4G        1.6G
 
    🖥️  rpi3  🖥️      30.020 °C
23:46:03 up 11 days,  7:56,l.a.: 0.40, 0.65, 0.88
mmcblk0p2 
 
 ....................................................................................................
 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              949M   727M  27M   4.8M    215M        222M
 
    🖥️  tkodi-salon  🖥️       °C
22:46:11 up 5 days,  6:30, l.a.: 1.05, 1.29, 1.39
\xe2\x9a\xa1 40:08            /usr/lib/kodi/kodi.bin    -   --standalone
mmcblk0p2 
 
 ....................................................................................................
 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              4.0G   550M  612M  11M     2.9G        3.5G
 
    🖥️  tlpv1  🖥️      34.500 °C
23:46:12 up 15 days,  2:52, l.a.: 0,20, 0,30, 0,41
mmcblk0p1 
 
 ....................................................................................................
 
\xf0\x9f\x93\x8a  total  used  free  shared  buff/cache  available
Mem:              2.0G   903M  619M  233K    642M        1.1G
 
  💢💢💢 tnfs 💢💢💢
 
^Cconky: received SIGHUP, SIGINT, or SIGTERM to terminate. bye!
@PowaBanga PowaBanga added bug related to incorrect existing implementation of some functionality triage issue that hasn't been verified, categorized or acknowledged yet labels Dec 22, 2024
@Caellian Caellian added display: file related to file backend and removed triage issue that hasn't been verified, categorized or acknowledged yet labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug related to incorrect existing implementation of some functionality display: file related to file backend
Projects
None yet
Development

No branches or pull requests

2 participants