You are not logged in.
Yes I want that, and that work for the first two icons, but after the third it does not fit anymore
Offline
I find other (but long) way
I update my #2219 post
Offline
I run the script and it produces the correct icons.
Can you give me an example of what goes wrong?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Offline
Ah, ok then, glad you've sorted it out.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
For my old script, may-be it's because jq count icons since zero (0,1,2,3, etc...) and not since one (1,2,3, etc...)
Offline
I update my script (and cleaner)
I think that is all good:
https://sd-1.archive-host.com/membres/u … rk_sky.zip
Offline
Nice job chepioq, I still believe it deserves its own thread.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
May be it deserves its own thread, but I prefer to leave it on this thread because it is the one for "Conky weather".
For me it's a training until the arrival of the new wunderground API.
https://apicommunity.wunderground.com/w … reply-list page 4
We'd like to remind our PWS owners/contributors:
Your past data will always be available to you for viewing and download in a web browser on wunderground.com, just like it always has.
If you are in the small minority of people who use the WU API and a corresponding WU API key to obtain data in .json format, here's what's happening:
- We'll open a registration page for you to get a new API key to get your data in .json format
- You'll sign up and get a new API key for the new API
- Once the registration page is open, we'll keep the old API and your old API key active for 2 weeks to allow transition time to your new keyWe'll announce in the forum when the registration page opens.
Or, email victoria.gardner@ibm.com to receive an email notification once it's ready.The new API will provide access to
Current observations from the PWS network
5 day daily forecast
PWS historical data
PWS lookup by geocode, zip code and location
Call volume: 1500/day, 30/minute
Last edited by chepioq (2019-02-01 12:22:20)
Offline
I've been using your scripts for a few years now Teo and yet again, we have ran into a wall with accuweather. Recently (not sure exactly when), accuweather stopped displaying in my conky. When I manually run the script I get
MainFrame weather $ ./1_accuweather -f
rm: cannot remove '/home/thomas/Conky/weather/*.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/'$'\r''.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images/.png': No such file or directory
From experience, something isn't getting written correctly to the *_raw and other files. So I looked at the curr_cond file and found this output
<div class="wind
NE
<div>Humidity: 88%</div>
<div>Pressure: 30.56 in </div>
<div>UV Index: 0</div>
<div>Cloud Cover: 100%</div>
<div>Ceiling: 2745 ft</div>
<div>Dew Point: 30° F</div>
<div>Visibility: 10 mi</div>
<div class="label
<div class="label
<th scope="row
Unfortunately, I don't have an old curr_cond file so I can compare things to it.
This is what displays now though
screen shot
Last edited by seatommyboy (2019-02-09 14:27:52)
Offline
What's your location seatommyboy?
For Kastoria I get
$ ./1_accuweather -f
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
and the curr_cond file is
1
9
9
Sunny
N
8 km/h
41%
1018.40 mb
0
9%
3840 m
-3
16 km
07:37 AM
06:02 PM
10:25 hr
1-m
10:03 AM
10:23 PM
12:20 hr
33-m
a
07:37
18:02
10:03
22:23
9
ie. everything's normal.
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
What's your location seatommyboy?
For Kastoria I get$ ./1_accuweather -f kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Hutto TX
I downloaded a little more up-to-date script and now when I run it, I get no output...
Last edited by seatommyboy (2019-02-09 17:50:00)
Offline
Wait, you weren't using the latest script?
Can you post the script you're using?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
Wait, you weren't using the latest script?
Can you post the script you're using?
Offline
I can't read it right now, but do you get a proper conky when you run the latest script?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
I can't read it right now, but do you get a proper conky when you run the latest script?
No... displays the same as the screenshot I linked
Also, apologies for being a script or 2 behind. I also adjusted my file paths to be the same as the new script I posted.
Last edited by seatommyboy (2019-02-09 19:14:44)
Offline
It seems ok, do you get any error messages when you run the script?
Are the files (curr_cond, etc.) populated?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline
It seems ok, do you get any error messages when you run the script?
Are the files (curr_cond, etc.) populated?
They are all poputlated. I'm restoring my computer back to an earlier time to see if it was something with the upgrade I did a few weeks ago. Like I stated earlier, I'm not exactly sure when this happened, so I'm trying to narrow it down. Being that it is working for you, I'm pretty sure it's something on my end. I'll update in a bit...
Shifting back to an earlier time did not change anything...
As for the errors, the only ones I get are due to the fact that the files are not being populated:
rm: cannot remove '/home/thomas/Conky/weather/forecast_2016/forecast_*.png': No such file or directory
cp: cannot stat '/home/thomas/Conky/weather/Forecast_Images_2016/'$'\r''.png': No such file or directory
cp: target '/home/thomas/Conky/weather/forecast_2016/wind_0.png' is not a directory
conky: Unable to load image '/home/thomas/Conky/weather/0.png'
Oddly enough, when tested with another url for somewhere overseas like kastoria, buenos-aires, and tokyo, the images still don't load, but the weather does. However, if I use a us city like new york, albuquerque, or even hutto, the output is the same as the pic I linked above.
Last edited by seatommyboy (2019-02-10 03:21:11)
Offline
Yet another update...
I cleaned out all the file (curr_cond, etc) and deleted my .xsession.errors file. After a reboot, I checked the .xsession.errors file and here is what I found for conky:
conky: desktop window (3200028) is subwindow of root window (6c2)
conky: window type - normal
conky: drawing to created window (0x3a00002)
conky: drawing to double buffer
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/curr_cond: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/curr_cond: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/curr_cond: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
Looking up www.accuweather.com
Unable to locate remote host www.accuweather.com.
Alert!: Unable to connect to remote host.
lynx: Can't access startfile https://www.accuweather.com/en/us/hutto-tx/78634/current-weather/2110192
Looking up www.accuweather.com
Unable to locate remote host www.accuweather.com.
Alert!: Unable to connect to remote host.
lynx: Can't access startfile https://www.accuweather.com/en/us/hutto-tx/78634/daily-weather-forecast/2110192
Looking up www.accuweather.com
Unable to locate remote host www.accuweather.com.
Alert!: Unable to connect to remote host.
lynx: Can't access startfile https://www.accuweather.com/en/us/hutto-tx/78634/daily-weather-forecast/2110192?day=6
rm: cannot remove '/home/thomas/Conky/weather/forecast_2016/forecast_*.png': No such file or directory
sed: can't read /home/thomas/Conky/weather/first_days: No such file or directory
conky: Unable to load image '/home/thomas/Conky/weather/0.png'
I opened a terminal and ran:
lynx https://www.accuweather.com/en/us/hutto-tx/78634/weather-forecast/2110192
And lynx connected with no problem. I was able to see my current weather.
Last edited by seatommyboy (2019-02-10 04:05:20)
Offline
I apologize seatommyboy, when calling accuweather for a us location the source page is completely different from when calling it for an international location.
I'll investigate asap.
How long has this been going on? Why hasn't anyone complained?
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Offline