You are not logged in.

#4121 2022-08-30 11:03:18

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

il.harun wrote:

The script has been on Google Drive since August 17

Would make it a lot easier if you used git to track changes. All the user would have to do then is sync the repo.

Offline

#4122 2022-10-13 12:34:02

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

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

Hello friends,

since a few days I notice a wrong daily_forecast from accuweather. Including today(Thursday) is displayed correctly until Sunday.   hmm   
fqtZUGqt.png

Thu
10/13
7
17
9
Fog early in the day
25%
Fri
10/14
12
16
10
A shower in the afternoon
59%
Sat
10/15
3
18
12
Partly sunny
25%
Sun
10/16
6
20
12
Mostly cloudy and comfortable
17%
const connatixEl = document.getElementById('connatix')
if(connatixEl) {
connatixEl.style.display = "none";
}
}
Mon
10/17
4
23
13
Very warm with clouds and sun
2%
Tue
10/18
12
17
9
Cooler with a few showers
91%
Wed
10/19
8
14
2
Low clouds
25%
Thu
10/20
8
13
3
Low clouds
25%
Fri
10/21
3
12
3
Sunshine and some clouds
0%
Sat
10/22
4
14
5
Sun through high clouds
1%
Sun
10/23
3
12
4
Partly sunny
0%
Mon
10/24





















e
h
b
d
-
g
-
b
b
b
c
c

Last edited by unklar (2022-10-13 12:38:43)

Offline

#4123 2022-10-13 19:11:54

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

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

yep, noticed same behaviour. A peculiar code on line 29-33 apparently continues to pop up in 'daily_forecast'.
sure hope @il.harun can sort it out...

Last edited by ceeslans (2022-10-13 19:12:20)

Offline

#4124 2022-10-20 11:24:58

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

unklar wrote:

Hello friends,

since a few days I notice a wrong daily_forecast from accuweather. Including today(Thursday) is displayed correctly until Sunday.   hmm   
https://i.imgur.com/fqtZUGqt.png

const connatixEl = document.getElementById('connatix')
if(connatixEl) {
connatixEl.style.display = "none";
}
}

Been getting the same error for several days now too. Remember the days when accuweather didn't mess with anything?

@il.harun any ideas on how to fix? Any ideas on things to check/look for?

Last edited by seatommyboy (2022-10-26 11:59:38)

Offline

#4125 2022-10-27 10:42:32

il.harun
Member
Registered: 2020-06-04
Posts: 54

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

My ISP is blocking access to the forum server. (Browsec VPN, ZenMate VPN don't work)
Using smartphone as an access point, I managed to open the forum website. (problem - small mobile internet)

3 days tested conky (https://www.accuweather.com/en/nl/schie … ast/251515) - no problems
NO problematic raw file = NO solution to the problem

Offline

#4126 2022-10-27 17:02:37

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

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

@il.harun: the invasive script lines are repeatedly showing up in the daily_forecast_raw file at lines 1738 u/i 1745.
Is there any way to tell the accuweather script to skip that part of the raw file, when writing to conky's daily_forecast file ?

Offline

#4127 2022-10-27 19:58:06

il.harun
Member
Registered: 2020-06-04
Posts: 54

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

divination on coffee grounds: https://forums.bunsenlabs.org/viewtopic … 02#p111102
NO problematic raw file = NO solution to the problem

Offline

#4128 2022-10-28 15:40:24

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

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

Hello

Guys i think wunderground is down , since a few days i have nothing , currecond 10days hourly are empty.

Is there the same for you.

@+


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

#4129 2022-10-28 18:10:30

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

il.harun wrote:

My ISP is blocking access to the forum server. (Browsec VPN, ZenMate VPN don't work)
Using smartphone as an access point, I managed to open the forum website. (problem - small mobile internet)

3 days tested conky (https://www.accuweather.com/en/nl/schie … ast/251515) - no problems
NO problematic raw file = NO solution to the problem

When using Moscow, which I believe is your location, the error is not present. But if you change the location to say mine, Hutto TX 78634, the error occurs.

Offline

#4130 2022-10-28 18:12:25

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

seatommyboy wrote:
il.harun wrote:

My ISP is blocking access to the forum server. (Browsec VPN, ZenMate VPN don't work)
Using smartphone as an access point, I managed to open the forum website. (problem - small mobile internet)

3 days tested conky (https://www.accuweather.com/en/nl/schie … ast/251515) - no problems
NO problematic raw file = NO solution to the problem

When using Moscow, which appears to be the default location in your latest script, the error is not present. But if you change the location to say mine, Hutto TX 78634, the error occurs.

Offline

#4131 2022-10-28 19:35:29

il.harun
Member
Registered: 2020-06-04
Posts: 54

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

There is no error, see the screenshot of Hutto 2022-10-28 21-34-38.png on google drive, I stop accuweather script support.

Offline

#4132 2022-10-29 01:06:50

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

il.harun wrote:

There is no error, see the screenshot of Hutto 2022-10-28 21-34-38.png on google drive, I stop accuweather script support.

Not sure why others are getting the error and you're not. But there is an error. Guess it doesn't matter since you stopped supporting accuweather script anyways...
https://drive.google.com/file/d/1Za9V1Q … sp=sharing

EDIT: Fixed link.

Last edited by seatommyboy (2022-10-29 10:14:49)

Offline

#4133 2022-10-29 13:28:09

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

The more I look into this, the more I think it's not really an error, but accuweather has changed the layout slightly and the script is just reading the wrong lines.
I found this in both curr_cond_raw and daily_forecast_raw
    <script>
        window.collapseConnatix = () => {
            const connatixEl = document.getElementById('connatix')
            if(connatixEl) {
                connatixEl.style.display = "none";
            }
        }
    </script>
    <div id="connatix" class="content-module"></div>

I'm not good at all with sed and can't really figure out how to ignore this section of code. For the meantime, I just adjusted my conkyrc.

Offline

#4134 2022-10-29 20:42:31

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

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

seatommyboy wrote:

For the meantime, I just adjusted my conkyrc.

... And so have I ...

u1v7HQgt.png

Offline

#4135 2022-10-30 14:06:53

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

With the help of a reddit user AsVHEn, was able to fix the script. Thanks for your help AsVHEn!

Here's a link to the repo folks. CHanges have been committed and push:
https://github.com/TeamFahQ/1_accuweather

Offline

#4136 2022-10-31 09:55:12

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

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

seatommyboy wrote:

With the help of a reddit user AsVHEn, was able to fix the script. Thanks for your help AsVHEn!
Here's a link to the repo folks. CHanges have been committed and push:
https://github.com/TeamFahQ/1_accuweather

@seatommyboy (and @AsVHEn too!) thanks for the updated script. The added 'sed' command works great.
Noticed though that this script now stores all textual details in a temp/ folder --> which implies that the paths in conky config file also needs to point to this temp/ file, right?

Alternatively, for people who still run @il.harun's latest accuweather script, you can add below 'sed' command (at line 525 or about)

        sed -i '/connatixEl/,+2d' $HOME/Accuweather_conky_script/daily_forecast
        sed -i '/}/,+1d' $HOME/Accuweather_conky_script/daily_forecast

this will prevent the weird 'connatix' script lines from appearing in daily_forecast file.
ps: please do check that the paths in the 'sed command match those in your own setup...

Last edited by ceeslans (2022-10-31 09:57:24)

Offline

#4137 2022-10-31 11:31:30

seatommyboy
Member
Registered: 2016-09-12
Posts: 63

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

ceeslans wrote:
seatommyboy wrote:

With the help of a reddit user AsVHEn, was able to fix the script. Thanks for your help AsVHEn!
Here's a link to the repo folks. CHanges have been committed and push:
https://github.com/TeamFahQ/1_accuweather

@seatommyboy (and @AsVHEn too!) thanks for the updated script. The added 'sed' command works great.
Noticed though that this script now stores all textual details in a temp/ folder --> which implies that the paths in conky config file also needs to point to this temp/ file, right?

Alternatively, for people who still run @il.harun's latest accuweather script, you can add below 'sed' command (at line 525 or about)

        sed -i '/connatixEl/,+2d' $HOME/Accuweather_conky_script/daily_forecast
        sed -i '/}/,+1d' $HOME/Accuweather_conky_script/daily_forecast

this will prevent the weird 'connatix' script lines from appearing in daily_forecast file.
ps: please do check that the paths in the 'sed command match those in your own setup...

Yes. I cleaned up the script and the tree quite a bit some time ago. I tried to encourage il.harun to use git to track changes and better move this project from a single person operation to a colaboration. He was not interested in that though. I find git to be more useful in tracking changes and sharing both ideas and issues amongst each other.

At the end of the day, we all just want our weather to work.

Last edited by seatommyboy (2022-10-31 11:32:02)

Offline

#4138 2022-11-01 09:27:48

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

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

Hello

No one used wunderground ?????

@+


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

#4139 2022-11-01 12:19:32

00ninja
New Member
Registered: 2019-10-14
Posts: 3

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

loutch wrote:

Hello

Guys i think wunderground is down , since a few days i have nothing , currecond 10days hourly are empty.

Is there the same for you.

@+

loutch wrote:

Hello

No one used wunderground ?????

@+

I am having the same issue. 7+ machines running the Wunderground script all have been having issues with no weather data for the last few days.

Offline

#4140 2022-11-01 14:20:35

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

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

Thanks, @seatommyboy for the link.

ceeslans wrote:

Alternatively, for people who still run @il.harun's latest accuweather script, you can add below 'sed' command (at line 525 or about)

        sed -i '/connatixEl/,+2d' $HOME/Accuweather_conky_script/daily_forecast
        sed -i '/}/,+1d' $HOME/Accuweather_conky_script/daily_forecast

@ceeslans thanks, this works wonderfully ( in the meantime on 6 machines).

Offline

Board footer

Powered by FluxBB