You are not logged in.
Hi,
I just added the following execpi line to my .conkyrc:
${execpi 1800 conkyForecastWU --template=~/.conkyForecast.template}When I start it, conky correctly draws the output on my desktop but then - before refreshing it for the first time - conky stops with the following output:
Conky: desktop window (120006d) is subwindow of root window (ac)
Conky: drawing to desktop window
Conky: drawing to double buffer
*** Error in `conky': free(): invalid pointer: 0x00007f1636459e78 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x7198e)[0x7f163612d98e]
/usr/lib/libc.so.6(+0x76dee)[0x7f1636132dee]
/usr/lib/libc.so.6(+0x775cb)[0x7f16361335cb]
/usr/lib/libc.so.6(+0x219e6)[0x7f16360dd9e6]
/usr/lib/libc.so.6(iconv_close+0xf)[0x7f16360dd27f]
conky[0x41e8b2]
conky[0x433be5]
conky[0x434ae8]
conky[0x42488a]
conky[0x425cf5]
conky[0x407c38]
/usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7f16360dc800]
conky[0x407f39]
======= Memory map: ========
...
Aborted (core dumped)The output of the given execpi command is as follows:
${font Raleway-10:weight=thin}
${image /tmp/.conkyForecastWU-WI-Mostly-Cloudy.gif -p 40,1000 -s 60x60}
${image /tmp/.conkyForecastWU-WI-Chance-Of-Rain.gif -p 123,1010 -s 40x40}
${image /tmp/.conkyForecastWU-WI-Partly-Cloudy.gif -p 177,1010 -s 40x40}
${image /tmp/.conkyForecastWU-WI-Partly-Cloudy.gif -p 231,1010 -s 40x40}
${image /tmp/.conkyForecastWU-WI-Chance-Of-Rain.gif -p 285,1010 -s 40x40}
${image /tmp/.conkyForecastWU-WI-Mostly-Cloudy.gif -p 339,1010 -s 40x40}
${image /tmp/.conkyForecastWU-WI-Partly-Cloudy.gif -p 393,1010 -s 40x40}
${voffset -60}
${offset 50}${font Raleway-16:weight=thin}23${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C ${goto 133}${voffset -10}${font Raleway-10:weight=thin}18${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C ${goto 187}13${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C ${goto 241}15${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C ${goto 295}14${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C ${goto 349}11${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C ${goto 403}16${iconv_start UTF-8 ISO_8859-1}°${iconv_stop}C
${goto 133}Fri ${goto 187}Sat ${goto 241}Sun ${goto 295}Mon ${goto 349}Tue ${goto 403}WedAs said, it works for the first time, everything is visible on the desktop.
I already tried to save this output as text file and pass cat <path-to-file> as execpi command, but conky still aborted. So I assume it's a problem with conky itself and not with the conkyForecastWU-script.
Any idea what I could do?
Last edited by jsnlry (2015-04-16 22:19:10)
Offline
By the way: I have this issue on two computers, both using MATE, conky Version 1.9.0, conkyForecastWU v2.24.
Offline
Ok, found some workarounds:
As shown in my first post, I used ${iconv_start}...${iconv_stop} because my ° degree symbols didn't look good. But I found out, that when I remove these iconv-commands from the output of the execpi command, I don't get a segfault anymore.
But yes, this ended with some broken °-symbols. So, I tried to find another workaround for this and voila! found one! After setting override_utf8_locale to yes, the degree symbols look good for me.
Even if my problems are fixed now, I think this should be reported as bug. So, if anyone from the conky team can hear me, read my post :-) I don't have the permission to create a bugreport for conky on sourceforge.
Offline