You are not logged in.

#2821 2019-10-02 13:45:38

Bruno
Member
From: Brazil / Rio de Janeiro
Registered: 2019-10-02
Posts: 7

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

Done. wink

TeoBigusGeekus wrote:

Hi Bruno, thanks for your kind words.
Can you post your location please?

Offline

#2822 2019-10-02 13:47:22

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

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

Do I miss something?


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

#2823 2019-10-02 13:51:01

Bruno
Member
From: Brazil / Rio de Janeiro
Registered: 2019-10-02
Posts: 7

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

I am a bit confused... I updated my profile to show up my location (Rio de Janeiro).
Did I miss something? :8

TeoBigusGeekus wrote:

Do I miss something?

Offline

#2824 2019-10-02 13:53:22

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

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

Oh, it's in your profile, sorry, I thought you meant your post.
I'll investigate asap.


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

#2825 2019-10-02 14:01:54

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 just tested it, all's well.
Maybe it was a temporary thing.
Can you please watch it for a while and report back?


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

#2826 2019-10-02 14:03:58

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

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

Yes, now works well. And the git finally gives me some profit in saving the time when merging the changes into my conky config. big_smile

Offline

#2827 2019-10-02 14:05:35

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

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

Good to know.
Any answer to my git question?


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

#2828 2019-10-02 14:11:54

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

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

What questions?

Oh, I see:

TeoBigusGeekus wrote:

To git gurus:
I must have done something wrong today with my master and custom_script branches.
Before today, whenever I switch from custom_script to master I couldn't see the files created in the former.
Now, if I create a file in master it appears in custom_script and vice versa.
What have I done wrong?


So what did you do actually?

Last edited by morfik (2019-10-02 14:14:16)

Offline

#2829 2019-10-02 14:14:23

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 switched to the master branch, made my changes (wget instead of w3m).
I did a git add and then a git commit.
I then switched to the custom_script branch and did a git merge master.
Then, without switching to the master script (could it be this that caused it?), I did a git push -u origin master.

Last edited by TeoBigusGeekus (2019-10-02 14:16:23)


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

#2830 2019-10-02 14:21:13

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

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

TeoBigusGeekus wrote:

.
I then switched to the custom_script branch and did a git merge master.

I told you -- don't do that. hmm

Basically what you did is you merged all the master branch changes into the custom_script branch, which means you have now two branches which have the same changes. You have to revert this change, see here:

https://stackoverflow.com/questions/289 … -git-merge
https://mijingo.com/blog/reverting-a-git-merge

And then cherry pick the changes from the master branch.
https://git-scm.com/docs/git-cherry-pick

Last edited by morfik (2019-10-02 14:24:30)

Offline

#2831 2019-10-02 14:22:57

Bruno
Member
From: Brazil / Rio de Janeiro
Registered: 2019-10-02
Posts: 7

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

I had a closer look:

The separator character between pressure value and pressure unit is "narrow no-break space (U+202F)" instead of "space 20"... in the french page (view-source:https://www.accuweather.com/fr/br/rio-de-janeiro/45449/current-weather/45449).

But it is "space 20" in the english web page (view-source:https://www.accuweather.com/en/br/rio-de-janeiro/45449/current-weather/45449)...

Do you know if there is a way to make Conky display the "narrow no-break space" correctly?

In the meantime, let's go back to the english web page wink


TeoBigusGeekus wrote:

I just tested it, all's well.
Maybe it was a temporary thing.
Can you please watch it for a while and report back?

Last edited by Bruno (2019-10-02 14:38:24)

Offline

#2832 2019-10-02 14:39: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)

morfik wrote:
TeoBigusGeekus wrote:

.
I then switched to the custom_script branch and did a git merge master.

I told you -- don't do that. hmm

Basically what you did is you merged all the master branch changes into the custom_script branch, which means you have now two branches which have the same changes.

But how am I supposed to apply changes to the master script and then apply them to the branch as well?


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

#2833 2019-10-02 14:42:54

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

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

@bruno
How did you find out? I get nothing between the pressure value and mb.


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

#2834 2019-10-02 14:50:02

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

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

@ Théo


Weather_com_conky_script/ don't work on mageia7 mate & linuxmint19.1

new accuweather no problem every where (just alert fonction don't work )


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

#2835 2019-10-02 14:50:16

Bruno
Member
From: Brazil / Rio de Janeiro
Registered: 2019-10-02
Posts: 7

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

I used printf %x "'"
Normal space:

bruno@Neptune:~$ printf %x "' "
20

Narrow space: (the character no-break narrow space seems to be erased automatically by the forum system...)

bruno@Neptune:~$ printf %x "'"
202f
TeoBigusGeekus wrote:

@bruno
How did you find out? I get nothing between the pressure value and mb.

Last edited by Bruno (2019-10-02 14:54:12)

Offline

#2836 2019-10-02 14:51:17

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

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

loutch wrote:

@ Théo


Weather_com_conky_script/ don't work on mageia7 mate & linuxmint19.1

new accuweather no problem every where (just alert fonction don't work )

Sad to know, where does it work?


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

#2837 2019-10-02 14:55:17

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

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

Bruno wrote:

I used printf %x "'"
Normal space:

bruno@Neptune:~$ printf %x "' "
20

Narrow space:

bruno@Neptune:~$ printf %x "'"
202f

I can't replicate this
MA3QneKt.jpg
Anyway, how did you find out you have this character in your curr_cond file?
I don't seem to have it; I open the file with vs code and vim as well, but still nothing.


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

#2838 2019-10-02 14:56:04

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

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

Sad to know, where does it work?

nowhere in my 4 distros i have the same errors & no images & files


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

#2839 2019-10-02 14:58:17

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

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

Shit.
It was worth a try though; anyone else who'd like to report back about the weather.com 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

#2840 2019-10-02 15:16:41

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

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

TeoBigusGeekus wrote:

But how am I supposed to apply changes to the master script and then apply them to the branch as well?

You apply changes to the master branch as usual, then switch to the custom_script branch, and cherry pick the commits you made to master branch. If there are any conflicts, it will prompt you to solve them, if not, it will merge the commits. Don't merge the whole branches because this always means the branches will have the same code and can share any new changes you made. Like  in the kernel examples, if they merged kernel 5.3 and 5.2 branches, we would have only one kernel code, and not the two, which is not what we want.

Offline

Board footer

Powered by FluxBB