You are not logged in.

#2981 2019-10-10 13:55:42

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

So, from what I can understand, the weather.com script is something people WILL be able to use in the future, but not now.
That's weird.


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

#2982 2019-10-10 14:38:38

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

hello

weather.com work great since yesterday

1570718284.png


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2983 2019-10-10 17:13:36

ceeslans
Member
Registered: 2015-09-30
Posts: 195

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

running accuweather's "conkyrc_1_images_2016" latest version.
all data and icons are showing up correctly - except for the 'forecast_0.png' image which is called for in second line of conky text.

I get following error messages in terminal

cp: target '/home/cees/.config/conky/accuweather/forecast_2016/forecast_0.png' is not a directory
cp: cannot stat '/home/cees/.config/conky/accuweather/Forecast_Images_2016/.png': No such file or directory
conky: Unable to load image '/home/cees/.config/conky/accuweather/forecast_2016/forecast_0.png'

I realize that these are not 'standard' paths, but both the 1_accuweather script and conkyrc are showing the same (correct) path.

Any idea what could be wrong?

error-forecast_0.png

Offline

#2984 2019-10-10 20:11:31

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,646

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

ceeslans wrote:

Any idea what could be wrong?

I think accuweather is tinkering again...  8o

Kopie2019-10-10-21-39-05Alterswahn.th.png

Do you see in the terminal the message to a Cokie, what tries the domain from accuweather to

m.accuweather.com

to change

I accidentally deleted the directory with this beautiful configuration yesterday in an age madness attack and was unable to recover it. Today I spent the whole day summarizing with the reconfiguration.
I noticed that forecast_0.png was often missing.  VISIBILITY is still delivered in mm as well...

Teo, a question.  smile
Is http or https correct in the script ?

Offline

#2985 2019-10-10 20:52:57

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I think Accuweather's done it again, no user agents work, http or https.
Sigh...


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

#2986 2019-10-10 21:03:37

ceeslans
Member
Registered: 2015-09-30
Posts: 195

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@unklar: yep, cookie from www.accuweather.com attempting to set domain to m.accuweather.com:

URL transformed to HTTPS due to an HSTS policy
--2019-10-10 22:48:50--  https://www.accuweather.com/en/nl/rotterdam/251688/current-weather/251688
Resolving www.accuweather.com (www.accuweather.com)... conky: Unable to load image '/home/cees/.config/conky/accuweather/forecast_2016/forecast_0.png'
conky: Unable to load image '/home/cees/.config/conky/accuweather/forecast_2016/forecast_0.png'
184.50.166.92
Connecting to www.accuweather.com (www.accuweather.com)|184.50.166.92|:443... connected.
HTTP request sent, awaiting response... conky: Unable to load image '/home/cees/.config/conky/accuweather/forecast_2016/forecast_0.png'
conky: Unable to load image '/home/cees/.config/conky/accuweather/forecast_2016/forecast_0.png'
200 OK
Cookie coming from www.accuweather.com attempted to set domain to m.accuweather.com
Cookie coming from www.accuweather.com attempted to set domain to m.accuweather.com
Length: unspecified [text/html]
Saving to: ‘/home/cees/.config/conky/accuweather/curr_cond_raw’

/home/cees/.config/conky/accuwe     [ <=>                                                    ] 121.18K  --.-KB/s    in 0.07s   

2019-10-10 22:48:50 (1.63 MB/s) - ‘/home/cees/.config/conky/accuweather/curr_cond_raw’ saved [124090]

URL transformed to HTTPS due to an HSTS policy
--2019-10-10 22:48:50--  https://www.accuweather.com/en/nl/rotterdam/251688/daily-weather-forecast/251688
Resolving www.accuweather.com (www.accuweather.com)... 184.50.166.92
Connecting to www.accuweather.com (www.accuweather.com)|184.50.166.92|:443... connected.
HTTP request sent, awaiting response... 200 OK
Cookie coming from www.accuweather.com attempted to set domain to m.accuweather.com
Cookie coming from www.accuweather.com attempted to set domain to m.accuweather.com
Length: unspecified [text/html]
Saving to: ‘/home/cees/.config/conky/accuweather/daily_forecast’

/home/cees/.config/conky/accuwe     [ <=>                                                    ]  68.88K  --.-KB/s    in 0.03s   

2019-10-10 22:48:51 (2.56 MB/s) - ‘/home/cees/.config/conky/accuweather/daily_forecast’ saved [70528]

cp: target '/home/cees/.config/conky/accuweather/forecast_2016/forecast_0.png' is not a directory
cp: cannot stat '/home/cees/.config/conky/accuweather/Forecast_Images_2016/.png': No such file or directory
conky: Unable to load image '/home/cees/.config/conky/accuweather/forecast_2016/forecast_0.png'
...

maybe Teo have a suggestion for a workaround...

Offline

#2987 2019-10-10 23:22:20

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

m.accuweather.com is their maps.  sad  Copy it to your search bar and see.

and where I want to be for NOW is:

https://www.accuweather.com/en/ar/buenos-aires/7894/weather-forecast/7894

HOURLY:

https://www.accuweather.com/en/ar/buenos-aires/7894/hourly-weather-forecast/7894

DAILY:

https://www.accuweather.com/en/ar/buenos-aires/7894/daily-weather-forecast/7894

Current MONTH:

https://www.accuweather.com/en/ar/buenos-aires/7894/october-weather/7894

Last edited by Sector11 (2019-10-10 23:31:19)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2988 2019-10-11 07:10:25

loutch
Member
Registered: 2015-12-12
Posts: 848

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hello

if interesting


i have the forecast_0.png in all my accuweather's conky


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#2989 2019-10-11 12:51:11

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

ANNOUNCEMENT
1_Accuweather script
The good news: Fixed the visibility in the curr_cond file. No issue with me with the forecast_0.png.
The bad news: The user agent that used to work with expressvpn doesn't do a thing any more. I've also screwed up the repository a bit but I think I've managed to bring it back to its former state (mostly). Please report any abnormalities you encounter.


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

#2990 2019-10-11 17:19:23

ceeslans
Member
Registered: 2015-09-30
Posts: 195

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

aaaaaand forecast_0.png is back... hopefully to stay for good!
thanks all for the help

accuweather-conky.th.jpg

Last edited by ceeslans (2019-10-12 06:57:36)

Offline

#2991 2019-10-11 23:20:43

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 169
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

I've also screwed up the repository a bit but I think I've managed to bring it back to its former state (mostly). Please report any abnormalities you encounter.

So what did you do to it? big_smile

Offline

#2992 2019-10-12 03:27:41

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I accidentally deleted the gitignore file and without knowing it added everything, committed and pushed.
It took me a while to figure out how to clean the remote repository, but still some unnecessary commits have remained...


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

#2993 2019-10-12 08:38:34

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 169
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

You could just use `git reset HEAD~` and after `~` give the number of commits you want to reset. And this would restore the repo to the state before commitng anything.

Last edited by morfik (2019-10-12 08:38:55)

Offline

#2994 2019-10-12 08:41:00

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I did that but it didn't delete all the pngs and odts that were uploaded to the repository.


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

#2995 2019-10-12 08:41:46

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 169
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

With `git push -f` ?

Offline

#2996 2019-10-12 09:04:47

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I can't remember if I tried this one, but at the end I managed to push things to gitlab, but the extra images/temp files stayed there, I had to manually clean the repository.


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

#2997 2019-10-12 09:13:57

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 169
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

From the commits I see that there was 2b402ccd, which was the wrong commit, and after this, you recreated the .gitignore file and pushed it to the repo in 6d27a3e1. And this is the cause. If you reset the HEAD~1 and remove 2b402ccd, then everything would go back to normal. But now you have many commits with "delete" and you would have to reset the head all the way to 2b402ccd to clean things up, and then commit the changes you wanted.

Last edited by morfik (2019-10-12 09:15:55)

Offline

#2998 2019-10-12 09:18:39

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I'll just leave it the way it is

Too scared to do anything right now.

Last edited by TeoBigusGeekus (2019-10-12 09:23:43)


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

#2999 2019-10-12 09:27:35

morfik
Member
From: Europe/Poland
Registered: 2016-09-08
Posts: 169
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

You can always make a backup, and don't push anything to the remote repo till everything is solved in `git status`. big_smile

Offline

#3000 2019-10-12 09:30:06

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

You do tempt me a bit, I'll see...

EDIT: By the way, git status doesn't report anything abnormal.

Last edited by TeoBigusGeekus (2019-10-12 09:31:37)


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

Board footer

Powered by FluxBB