Originally Posted by
paramvir
I am testing it and waiting for the next update - the script some place is having a problem with the call for wget to run - sooooo hang in there - shall find the problem - just give me some time.
Edit: on it's own it is working fine but in vinDSL scripts hmmm lets see
I love fault finding
thanks
Hi Paramvir,
As always, the devil is in the details.
You have a lot of willing participants to test the code, here, so you might as well take advantage of the situation. I cannot speak others, but I have the patience of a saint. LoL!
I booted up this morning, and 0.7.2 is happily fetching every 15 minutes. It's a joy to see the notification pop up, and watch, as the "Last Update" and Last Fetch" numbers indicate success.
Other than spacing and alignment, I haven't changed anything in my script, the last couple of days -- and, 0.7.2 is working just fine, sans the "Feels like" reading.
I judge that you can safely use 0.7.2 as a baseline. Something changed after 0.7.2 and it seems to be universally affecting us all -- those of us that are running a "normal" install. It's odd that these changes had no consequence for you, running inside a VM -- but, it is what it is.
Anyway, I appreciate the efforts you've made. Thank you, for being so responsive to our plight.
Conkywx is a great program! It's easy to setup, and work with, just like Conky. Once you squash the "fetch bug", I think we can all breathe a little easier.
Here is my current Conkywx code...
.conkyrc
Code:
<SNIP>
####
## Define the locations of Conkywx files (required)
## Set the path to your .conf file & templates here.
#
template0 "/usr/share/conkywx/conkywx.sh"
template1 "/usr/share/conkywx/examples/conkywx.conf"
template2 "/usr/share/conkywx/examples/vindsl-weather-template-test.sh"
template3 "/usr/share/conkywx/examples/vindsl-time-template.sh"
TEXT
<SNIP>
##################################
## CONKYWX WEATHER SCRIPT ##
##################################
${voffset 4}${font DroidSans:bold:size=8.25}${color4}CONKYWX${offset 8}${color6}${voffset -2}${hr 1}${font}
${execpi 900 ${template0} -c "${template1}" -t "${template2}" |
sed -e 's/Calm mph'/'\$\{offset 8\}Calm/g' |
sed -e 's/New Moon'/'\$\{offset -13\}New Moon/g' |
sed -e 's/Waxing Crescent'/'\$\{offset -3\}Waxing/g' |
sed -e 's/First Quarter'/'\$\{offset -3\}First Qtr/g' |
sed -e 's/Waxing Gibbous'/'\$\{offset -3\}Waxing/g' |
sed -e 's/Full Moon'/'\$\{offset -8\}Full Moon/g' |
sed -e 's/Waning Gibbous'/'\$\{offset -3\}Waning/g' |
sed -e 's/Last Quarter'/'\$\{offset -3\}Last Qtr/g' |
sed -e 's/Waning Crescent'/'\$\{offset -3\}Waning/g' |
sed -e 's/AM'/'\$\{offset 1\}am/g' -e 's/PM'/'\$\{offset 1\}pm/g'
}${font}
##################################
## CONKYWX TIME SCRIPT ##
##################################
${voffset 6}${font DroidSans:bold:size=8}${color4}TIME${offset 8}${color6}${voffset -2}${hr 1}${font}
${execpi 3600 ${template0} -c "${template1}" -t "${template3}" | sed -e 's/AM'/'/g' -e 's/PM'/'/g'}${font}
<SNIP>
vindsl-weather-template-test.sh
Code:
##################################
## VinDSL | rev. 12-09-18 12:00 ##
##################################
## CONKYWX FETCH TEST TEMPLATE ##
##################################
${voffset 6}${goto 34}${font Weather:size=44}${color6}y${font}
${voffset -58}${font RadioSpace:size=33}${color6}${alignc}[PT]${font}
${voffset 0}${alignc 6}${font}${font DroidSansFallback:bold:size=7.55}${color5}Feels${offset 3}like${offset 1}:${offset 1}${color6}[FL]${offset 4}${color5}Trend${offset 1}:${offset 1}${color6}[FCTT]${font}
${voffset -40}${goto 203}${font DroidSansFallback:bold:size=8.75}${color6}[D1T]${font}
${voffset 0}${goto 204}${font DroidSansFallback:bold:size=7.3}${color5}CoR${offset 1}:${offset 1}${color6}[D1P]${font}
${voffset -45}${goto 188}${font KRARound:size=41.5}${color8}I${font}
${voffset 7}${alignc 2}${font}${font DroidSansFallback:bold:size=7.55}${color5}Last${offset 3}Update${offset 1}:${offset 1}${color6}[LU]${offset 4}${color5}Fetched${offset 1}:${offset 1}${color6}[LF]${font}
${voffset 2}${font Ubuntu:size=22.75}${color5}${alignc}[CT]${font}
${voffset 8}${goto 85}${font DroidSansFallback:bold:size=7.55}${color5}Humidity${offset 1}:${offset 2}${color6}[HM]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Barometer${offset 1}:${offset 2}${color6}[BR]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Bar${offset 3}Trend${offset 1}:${offset 2}${color6}[FCTP]${font}${voffset 11}${goto 84}${font DroidSansFallback:bold:size=7.55}${color5}Moonrise${offset 1}:${color6}[MR]${font}${voffset 11}${goto 85}${font DroidSansFallback:bold:size=7.55}${color5}Moonset${offset 1}:${color6}[MS]${font}
${voffset -61}${goto 16}${font ConkyWindNESW:size=41.6}${color6}[BF]${font}${voffset -36}${goto 196}${font MoonPhases:size=35}${color6}[MIF]${font}${voffset -36}${goto 198}${font MoonPhases:size=35}${color8}8${font}
${voffset -1}${goto 22}${font DroidSansFallback:bold:size=8.45}${color3}[WS] mph${voffset -1}${goto 203}[MP]${font}
${voffset 8}${goto 25}${font DroidSans:bold:size=8.5}${color5}[D2D]${goto 85}[D3D]${goto 144}[D4D]${goto 201}[D5D]${font}
${voffset 2}${goto 23}${font ConkyWeather:size=32}${color6}[D2F]${goto 83}[D3F]${goto 142}[D4F]${goto 200}[D5F]${font}
${voffset 1}${goto 25}${font DroidSans:bold:size=8.5}${color3}[D2T]${goto 85}[D3T]${goto 144}[D4T]${goto 201}[D5T]${font}
${voffset -1}${goto 24}${font DroidSans:bold:size=8.45}${color5}CoR${offset 1}:${offset 1}${color3}[D2P]${goto 84}${color5}CoR${offset 1}:${offset 1}${color3}[D3P]${goto 144}${color5}CoR${offset 1}:${offset 1}${color3}[D4P]${goto 201}${color5}CoR${offset 1}:${offset 1}${color3}[D5P]${font}
vindsl-time-template.sh
Code:
##################################
## VinDSL | rev. 12-09-16 08:38 ##
##################################
## CONKYWX TIME TEMPLATE ##
##################################
${voffset -5}${font RadioSpace:size=32}${color3}${if_match ${time %l}<=9}${alignc 7}${time %l:%M%p}${else}${if_match ${time %l}>=10}${alignc -1}${time %l:%M%p}${endif}${endif}${font}
${voffset 1}${alignc 5}${font DroidSansFallback:bold:size=8.35}${color5}Sunrise${offset 1}:${color6}[SR]${offset 3}/${offset 3}${color5}Sunset${offset 1}:${color6}[SS]${font}
I've been forgoing the use of a conkywx.conf file, for the time being, and directly applying my settings to the default settings in conkywx.sh. That seems like the more prudent course of action, during this testing/debugging phase.
Gotta run.
BBL
Bookmarks