#378 execpi display bug in 1.8.1

closed
nobody
Code (277)
5
2011-10-15
2011-09-19
Anonymous
No

Hi.

I am running debian testing and it ships with version 1.8.1. The problem seems that when using execpi if you print out multiple lines and one of the lines (_not_ the first one) prints a object as the _first_ word, ${alignc} in my case, it prints out a non-printable character (a box) and throws the layout all out of whack.

It works perfectly on 1.8.0 though.

In my config file, I have a call:
${execpi 10800 ~/bin/conky_cal -a -c1}

where conky_cal is a little C program that I wrote. The source is available here:
https://bitbucket.org/wampeter/utils/src/c0f69358b4b8/conky_cal.c

conkyrc:
https://bitbucket.org/wampeter/rig/src/4a2b0b987c7d/rc/conkyrc.yama

To reproduce:

1. Use a script via execpi
2. Have the script output the following:

${alignc}Su ${color1}Mo${color} Tu We Th Fr Sa
${alignc} 1 2 3
${alignc} 4 5 6 7 8 9 10
${alignc}11 12 13 14 15 16 17
${alignc}18 ${color1}19${color} 20 21 22 23 24
${alignc}25 26 27 28 29 30

3. Use 1.8.1 to render.

=====================
Bad Conky -V
=====================
Conky 1.8.1 compiled Wed Sep 7 23:22:15 UTC 2011 for Linux 3.0.0-1-amd64 (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual

Music detection:
* Audacious
* MPD
* MOC
* XMMS2

General:
* math
* hddtemp
* portmon
* Curl
* RSS
* Weather (METAR)
* Weather (XOAP)
* wireless
* support for IBM/Lenovo notebooks
* nvidia
* eve-online
* config-output
* Imlib2
* apcupsd
* iostats
* ncurses
* Lua

Lua bindings:
* Cairo
* Imlib2

=========================
Good Conky -V
=========================
Conky 1.8.0 compiled Tue Apr 6 23:19:18 UTC 2010 for Linux 2.6.32.11-dsa-amd64 (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual

Music detection:
* MPD
* MOC

General:
* math
* hddtemp
* portmon
* Curl
* RSS
* Weather (METAR)
* Weather (XOAP)
* wireless
* support for IBM/Lenovo notebooks
* nvidia
* eve-online
* config-output
* Imlib2
* ALSA mixer support
* apcupsd
* iostats
* ncurses
* Lua

Lua bindings:
* Cairo
* Imlib2

Thanks.
AM

Discussion

  • Azelphur

    Azelphur - 2011-10-10

    Posting to confirm this issue, I've got exactly this problem, and downgrading to 1.8.0 fixes it.

     
  • pavelo

    pavelo - 2011-10-10

    Could you please try the current version in git (branch 1.8.1) and see if the latest commit fixes your problem?

     
  • Azelphur

    Azelphur - 2011-10-10

    Latest git doesn't fix it for me (1.8.1 or 1.8.2) doesn't solve it for me, however the bug doesn't seem to be present in 2.0 :)

     
  • pavelo

    pavelo - 2011-10-13

    azelphur: could you provide a (as small as possible) conkyrc that demonstrates the unwanted behavior? I tested my fix with the calendar snippet from the OP, and it seems to work now. If I am to fix your problem, I need to have something i can go on.

     
  • pavelo

    pavelo - 2011-10-13

    (and yes, I meant branch 1.8.2, but you, apparently, already got that :) )

     
  • Azelphur

    Azelphur - 2011-10-13

    Looks like it's working for me now with the 1.8.2 branch, must have done something wrong last time I checked it. All sorted :)

     
  • pavelo

    pavelo - 2011-10-15

    ok, closing then. thanks for your help.

     
  • pavelo

    pavelo - 2011-10-15
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks