#448 Conky wrong json output

git
open
nobody
None
5
2014-11-30
2014-03-09
Mogens
No

Hi,

I got a pretty strange issue, which I can't find a solution for. I'm using conky in the i3statusbar, but somehow, some of the json in the conky file gets replaced by conky when it's run.

.conky-i3 file: https://gist.github.com/KLIM8D/24d887c35fef32e4f416

I'm using a wrapper script which is executed from the i3config
https://gist.github.com/KLIM8D/c4f3526bfb86d063792a

The output from running the script:
https://gist.github.com/KLIM8D/07be1db6395502a2c47b

As you can see in the output above, Conky have inserted the uptime inside another json string

{"full_text": "490.00",18m 18s","color":"#EEEEEE","separator":false}

How can this be? Could this be a bug?

Discussion

  • Ingo Bürk
    Ingo Bürk
    2014-11-30

    I am experiencing the same problem. This is definitely a bug, and a big one. It makes conky completely useless!

     
  • Ingo Bürk
    Ingo Bürk
    2014-11-30

    Thanks to Tucos in #conky, it seems that this issue can be solved by adding

    text_buffer_size 512

    to your conky config (or some other value higher than the default).