You are not logged in.

#126 2014-12-17 03:13:49

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Cool thanks for the reply

Offline

#127 2015-01-14 17:23:17

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Conky Weather Program THREE Released

Pleased to announce the release of the latest conkywx version wink

For users of other distros - kindly visit my Blog and leave comments and feedback there - thanks smile

For changes and updates - refer to the documentation released with the program. In a terminal window type conkywx --help . You will see an improved help on the browser.

In the images you can see the CIMSS image on the top with wind barbs. Based on your selection in the conkywx config file - the CIMSS image will zoom on to any existing storm system.

The moon changes dynamically to reflect the current position and the anemometer and windvane are animated - the pointer moves to simulate real time environment ;-)

conkywx2.jpg
conkywx1.jpg

To have many options for weather multiple sites are supported and data is dynamically merged. You can have current condition from one and forecast from another - though wunderground and METAR only support current conditions - but you still have forecast data from others.

Note:

  • As many users are using various conky variants - conky is no longer a dependency but however - conky is still required. Please ensure conky - in what ever form - is in fact installed.

  • To reduce duplication of effort - conkywx man page now has basic information and has a link to the wiki which is normally being updated real time as changes to conkywx are being made. A local copy is now available in the installation.

  • In some cases to have conky restart automatically you may need to give a sleep 30 - delay in your conky start script

  • if you are using Gnome 3 - own_window_type in the *conkyrc.sh needs to be changed to normal, desktop or dock - which ever works for your Desktop

  • If you find the templates out of kilter - first change the xftfont in the rc file and see how that goes before changing other values.

Here is the conkywx AUR package https://aur.archlinux.org/packages/conkywx/

Feedback please smile - Thanks

Offline

#128 2015-05-14 13:50:08

Salan54
Member
Registered: 2011-09-06
Posts: 25

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,

Thanks for your great work. I finally installed version 3 on my Arch/Openbox machine. My old version was not working for months due to the changes in the weather sources. After a few hours of struggle with the .conf file, I finally managed to have conkywx 3 working.

2015-05-14-1445451920x1080scrot.png

I still have a small problem :

As you can see on this screen capture, although I have conkywx running and displayed on screen, the conkywx assistant doesn't "see" a "used template config file". At the same time, "ps aux | grep conkywx" shows
the conkywx instance running :

[alain@rdc2010 ~]$ psx conkywx
alain     2652  4.5  0.5  29364 17128 ?        S    14:44   0:04 conky -c /home/alain/conkywx.examples/short-02-conkyrc.sh

Is this normal ?
Anyway, thanks again for these nice conky's

Salan54

Offline

#129 2015-05-14 16:32:50

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi Paramvir,

Is this normal ?
Anyway, thanks again for these nice conky's

Salan54

Hi Alain - great to hear from you smile

I know you will not be able to generate a debug file - so any information you can provide will help.

Can you check the folder

/home/alain/.config/conkywx/conkywx_internal

In this folder do you see any file with a number_id.

In a terminal window - if you type

echo $PPID

do you get any numbers?

Also if you run the program from a terminal window - do you see any errors?

How are you running conkywx - are you using local locations for the files or are you using stand alone version or the installed version from the AUR...

Thank you for your message - feedback like yours helps in fixing such elusive issues.. wink

cheers

Last edited by Paramvir (2015-05-14 16:35:08)

Offline

#130 2015-05-14 21:10:25

Salan54
Member
Registered: 2011-09-06
Posts: 25

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi,

Nice for me too... it was a long time ago ;-) and I am always satisfied if I can help you to improve or debug conkywx !

Well, here are the infos you asked for :

[alain@rdc2010 ~]$ cd .config/conkywx/
[alain@rdc2010 conkywx]$ lt
total 52K
drwxr-xr-x 2 alain users 4,0K  4 nov.   2014 old_config
drwxr-xr-x 2 alain users 4,0K  4 nov.   2014 examples
-rwxr-xr-x 1 alain users 1,2K  4 nov.   2014 conky-restart.sh
-rw-r--r-- 1 alain users 3,4K  4 nov.   2014 wx-wu-image-short-template.sh
-rw-r--r-- 1 alain users 1,8K  4 nov.   2014 wx-wu-image-short-conkyrc-02.sh
-rw-r--r-- 1 alain users 1,3K  4 nov.   2014 system.conf
-rw-r--r-- 1 alain users  13K  4 nov.   2014 conkywx.conf
-rw-r--r-- 1 alain users 5,9K  4 nov.   2014 agadir.old.conf
drwxr-xr-x 3 alain users 4,0K 14 mai   15:44 conkywx_internal
[alain@rdc2010 conkywx]$ cd conkywx_internal/
[alain@rdc2010 conkywx_internal]$ lt
total 16K
-rw-r--r-- 1 alain users   99  7 nov.   2012 READ_ME
-rw-r--r-- 1 alain users    0 19 avril  2014 nvtest
drwxr-xr-x 2 alain users 4,0K 13 mai   18:13 trends
-rw-r--r-- 1 alain users    6 14 mai   13:28 conkywx_new_version_test
-rw-r--r-- 1 alain users  146 14 mai   15:44 2652_id
[alain@rdc2010 conkywx_internal]$ echo $PPID
23170
[alain@rdc2010 conkywx_internal]$ 

No errors when I run from a terminal :

[alain@rdc2010 conkywx.examples]$ conky -c./short-02-conkyrc.sh
Conky: desktop window (2c8) is root window
Conky: window type - normal
Conky: drawing to created window (0x3400002)
Conky: drawing to double buffer

Downloading main data file...

Downloading xml data file...

Weather update download completed.
Conkywx program execution completed in: 0m5.141s
^CConky: received SIGINT or SIGTERM to terminate. bye!

I run the program from a command line in .config/openbox/autostart :

#conkywx
conky -c "/home/alain/conkywx.examples/short-02-conkyrc.sh" &

All my configs and templates are in the ~/conkywx.examples/ folder.
https://zerobin.sejanus.me/?38debc4c247 … 26i1bDJX4=

Hope this helps.

Offline

#131 2015-05-15 04:46:53

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi,

Nice for me too... it was a long time ago ;-) and I am always satisfied if I can help you to improve or debug conkywx !

Well, here are the infos you asked for :
...
Hope this helps.


Thanks Alain smile

OK - I created your file structure - with your config file - got Nancy weather - and yes - Conkywx Assistant worked - I got the config file.

		Conkywx Assistant
	-----------------------------------------------------
	1 template config file(s) in use found. 
	-----------------------------------------------------
	Choice :  Config filename for Debug
	-----------------------------------------------------
	   0   :  > conkywx-02.conf
	-----------------------------------------------------
	Note: > Indicates file in use :-) 
	----------------------------------------------------- 
	  [[ q to Quit, p for Previous menu ]]
	  Enter your choice followed by [ENTER]: q

	Exiting conkywx assistant... have a fantastic day!!! ;-)

Obvious question - are you using Bash as your shell?

Have a look at /usr/share/conkywx/conkywx.sh file - the bash script.

There is a subroutine ask_config line # 1382

on line 1397 you have this code

	OLDIFS=$IFS; IFS=$'\n'
		id_files=($(find ${conkywx_internal_dir}/*_id -type f -printf "%f\n"))
	IFS=$OLDIFS

	for d in "${!id_files[@]}"
	do
		if [[ -s "${conkywx_internal_dir}/${id_files[$d]}" ]]; then
			OLDIFS=$IFS; IFS=$'\n'
			input_data=($(< "${conkywx_internal_dir}/${id_files[$d]}"))
			IFS=$OLDIFS
		fi
		# in_data=( ${input_data//|/ } )
		proc_ppid+=( "${input_data[0]//\"}" )
		proc_conf+=( "${input_data[1]//\"}" )
		proc_trend+=( "${input_data[2]//\"}" )
	done

In this you will see - we are storing information in the 5 arrays: id_files, input_data, proc_ppid, proc_conf and proc_trend

below 'done' - the last line in the code above type

 msgout "${id_files[*]}" 

and see the output when you run your conky script in a terminal window - this should have the file 2652_id - though now it would have some other number - this is the PPID of the starting process. - the other 'proc' arrays will have information contained in 2652_id file.

All this really comes into play when you have multiple instances of conkywx showing weather - so each instance will have it's own conf file. If it works for all it must work for one wink

Let me know what you get

cheers

Offline

#132 2015-05-15 08:44:43

Salan54
Member
Registered: 2011-09-06
Posts: 25

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi,

Yes, I use bash as my shell.

I did the mod you suggest in /usr/share/conkywx/conkywx.sh :

https://zerobin.sejanus.me/?27b23c10699 … 0ygYUPW8s=

But, it looks like nothing changes... Maybe, I'm wrong somewhere ?

[alain@rdc2010 conkywx.examples]$ conky -c short-02-conkyrc.sh
Conky: desktop window (2c8) is root window
Conky: window type - normal
Conky: drawing to created window (0x800002)
Conky: drawing to double buffer
Conkywx program execution completed in: 0m0.010s

BTW, I forgot to say that I have another conky running (conkycolors) :

2015-05-15-1018481920x1080scrot.png

[alain@rdc2010 conkywx.examples]$ ps aux | grep conky
alain     1192  2.0  0.5 111736 16352 tty2     Sl+  mai14  29:44 conky -c /home/alain/.conkycolors/conkyrc
alain     2986  4.6  0.5  29664 17244 pts/1    S    10:41   0:01 conky -c short-02-conkyrc.sh

[alain@rdc2010 conkywx_internal]$ pwd
/home/alain/.config/conkywx/conkywx_internal
[alain@rdc2010 conkywx_internal]$ lt
total 12K
-rw-r--r-- 1 alain users   99  7 nov.   2012 READ_ME
-rw-r--r-- 1 alain users    0 19 avril  2014 nvtest
drwxr-xr-x 2 alain users 4,0K 13 mai   18:13 trends
-rw-r--r-- 1 alain users    6 14 mai   13:28 conkywx_new_version_test

Hope this helps

Offline

#133 2015-05-15 11:38:03

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi,

Yes, I use bash as my shell.

I did the mod you suggest in /usr/share/conkywx/conkywx.sh :

But, it looks like nothing changes... Maybe, I'm wrong somewhere ?

BTW, I forgot to say that I have another conky running (conkycolors) :

[alain@rdc2010 conkywx.examples]$ ps aux | grep conky
alain     1192  2.0  0.5 111736 16352 tty2     Sl+  mai14  29:44 conky -c /home/alain/.conkycolors/conkyrc
alain     2986  4.6  0.5  29664 17244 pts/1    S    10:41   0:01 conky -c short-02-conkyrc.sh

[alain@rdc2010 conkywx_internal]$ pwd
/home/alain/.config/conkywx/conkywx_internal
[alain@rdc2010 conkywx_internal]$ lt
total 12K
-rw-r--r-- 1 alain users   99  7 nov.   2012 READ_ME
-rw-r--r-- 1 alain users    0 19 avril  2014 nvtest
drwxr-xr-x 2 alain users 4,0K 13 mai   18:13 trends
-rw-r--r-- 1 alain users    6 14 mai   13:28 conkywx_new_version_test

Hope this helps


In that  conkywx_internal listing above you notice no file *_id ??? like below:

-rw-r--r-- 1 param users  128 May 15 15:43 3420_id
-rw-r--r-- 1 param users    6 May 14 19:05 conkywx_new_version_test
drwxr-xr-x 2 param users 4.0K Dec 29 08:12 trends
-rw-r--r-- 1 param users   99 Dec 14  2012 READ_ME

I am talking about a file like 3420_id. 3420 was the PPID of conkywx.sh when it ran at that moment. The next time it runs as weather update this PPID will change and so will this file.

Please confirm you do not see any _id file or is it showing sometime ???

Edit: tongue
I also have many conky instances - weather, tides, clock, seismic data and surface images - some of this will come in the next release big_smile
clockwx.jpg

cheers

Last edited by Paramvir (2015-05-15 11:53:49)

Offline

#134 2015-05-15 12:32:29

Salan54
Member
Registered: 2011-09-06
Posts: 25

Re: New Conky Weather Program with Weather Alerts - conkywx

What a great desktop... I am jealous ;-)

No, I don't have any _id file in /home/alain/.config/conkywx/conkywx_internal
I did a search in my home folder and didn't find any *_id neither ;-)

[alain@rdc2010 conkywx_internal]$ lt
total 12K
-rw-r--r-- 1 alain users   99  7 nov.   2012 READ_ME
-rw-r--r-- 1 alain users    0 19 avril  2014 nvtest
drwxr-xr-x 2 alain users 4,0K 13 mai   18:13 trends
-rw-r--r-- 1 alain users    6 15 mai   13:41 conkywx_new_version_test

[alain@rdc2010 conkywx_internal]$ cd 
[alain@rdc2010 ~]$ find . -name '*_id'
[alain@rdc2010 ~]$

I had a look in /tmp and that's what I got :

[alain@rdc2010 ~]$ lt /tmp/wx-alain-conkywx-02.conf-pChA_r_27u0-m39/
total 976K
-rw-r--r-- 1 alain users 145K 14 mai   14:26 gsi_image.gif
-rw-r--r-- 1 alain users  152 14 mai   15:45 wxdata_check
-rw-r--r-- 1 alain users 116K 14 mai   15:45 orghistdata
-rw-r--r-- 1 alain users  314 14 mai   15:45 histdata
-rw-r--r-- 1 alain users 167K 15 mai   13:14 gwsi_image.gif
-rw-r--r-- 1 alain users  258 15 mai   13:41 wxcookie
-rw-r--r-- 1 alain users  159 15 mai   13:41 fct_impcookies
-rw-r--r-- 1 alain users 125K 15 mai   13:41 wxcurrdata.html
-rw-r--r-- 1 alain users 2,3K 15 mai   13:41 wxcurrdata_2.xml
-rw-r--r-- 1 alain users 141K 15 mai   13:41 fct_data.html
-rw-r--r-- 1 alain users  226 15 mai   13:41 wxparseinfo
-rw-r--r-- 1 alain users 4,5K 15 mai   13:41 wxtmpfile.html
-rw-r--r-- 1 alain users 1,7K 15 mai   13:41 fct_tmpdata
-rw-r--r-- 1 alain users 5,2K 15 mai   13:41 dailyimg_9.png
-rw-r--r-- 1 alain users  13K 15 mai   13:41 dailyimg_8.png
-rw-r--r-- 1 alain users 4,2K 15 mai   13:41 dailyimg_7.png
-rw-r--r-- 1 alain users 5,6K 15 mai   13:41 dailyimg_6.png
-rw-r--r-- 1 alain users 4,2K 15 mai   13:41 dailyimg_5.png
-rw-r--r-- 1 alain users  13K 15 mai   13:41 dailyimg_4.png
-rw-r--r-- 1 alain users  11K 15 mai   13:41 dailyimg_3.png
-rw-r--r-- 1 alain users  13K 15 mai   13:41 dailyimg_2.png
-rw-r--r-- 1 alain users 5,6K 15 mai   13:41 dailyimg_1.png
-rw-r--r-- 1 alain users  13K 15 mai   13:41 dailyimg_10.png
-rw-r--r-- 1 alain users  56K 15 mai   13:41 nowwinddir.png
-rw-r--r-- 1 alain users 8,7K 15 mai   13:41 wxtemp_template
-rw-r--r-- 1 alain users  258 15 mai   13:41 wxgraphs
-rw-r--r-- 1 alain users 8,9K 15 mai   13:41 nowmoon.png
-rw-r--r-- 1 alain users  29K 15 mai   13:41 nowcond.png
-rw-r--r-- 1 alain users  807 15 mai   13:41 magellan

Offline

#135 2015-05-15 12:52:57

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

What a great desktop... I am jealous ;-)

No, I don't have any _id file in /home/alain/.config/conkywx/conkywx_internal
I did a search in my home folder and didn't find any *_id neither ;-)


Great now everything is clear wink

I am using big-luamix-conkyrc.sh - it is there in conkywx 3 and so are the surface images along with the system information on the right - though no tides, clock or seismic info - work in progress huahahahaha big_smile

I shall probably be missing over the weekend - but the thing to look at in conkywx.sh is check_for_running_wx_process() line 428 - that is where the file is created.

cheers

Offline

#136 2015-05-15 13:22:45

Salan54
Member
Registered: 2011-09-06
Posts: 25

Re: New Conky Weather Program with Weather Alerts - conkywx

OK. Have a great weekend and take your time : it is not a big problem (for me) as far as I can monitor the weather on my conkywx.
Thanks and let me know if I can be of any help.

Offline

#137 2015-05-16 08:32:02

Salan54
Member
Registered: 2011-09-06
Posts: 25

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,

After reboot, I see that everything is now working normally :

[alain@rdc2010 ~]$ lt .config/conkywx/conkywx_internal/
total 16K
-rw-r--r-- 1 alain users   99  7 nov.   2012 READ_ME
-rw-r--r-- 1 alain users    0 19 avril  2014 nvtest
drwxr-xr-x 2 alain users 4,0K 13 mai   18:13 trends
-rw-r--r-- 1 alain users    6 15 mai   13:41 conkywx_new_version_test
-rw-r--r-- 1 alain users  146 16 mai   10:05 1946_id

			Conkywx Assistant
	-----------------------------------------------------
	Current version of conkywx on your system is: 3.0.0
	-----------------------------------------------------
	Choice :  Option
	-----------------------------------------------------
	   1   :  Quick HELP with conkywx weather program
	   2   :  Refer to offline conkywx WIKI Manual in your browser
	   3   :  FORCE update conkywx data
	   4   :  Get detailed DEBUG information for conkywx
	   5   :  Reset Forecast trend information
	   6   :  Reset Graphs trend information
	-----------------------------------------------------
	  [[ q to Quit ]]
	  Enter your choice followed by [ENTER]: 3

		Conkywx Assistant
	-----------------------------------------------------
	1 template config file(s) in use found. 
	-----------------------------------------------------
	Choice :  Config filename for Force Update
	-----------------------------------------------------
	   0   :  > conkywx-02.conf
	-----------------------------------------------------
	Note: > Indicates file in use :-) 
	----------------------------------------------------- 
	  [[ q to Quit, p for Previous menu ]]
	  Enter your choice followed by [ENTER]: 

Perfect. Thanks again,
Alain

Offline

#138 2015-05-18 07:10:56

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi Paramvir,

After reboot, I see that everything is now working normally :

[alain@rdc2010 ~]$ lt .config/conkywx/conkywx_internal/
total 16K
-rw-r--r-- 1 alain users   99  7 nov.   2012 READ_ME
-rw-r--r-- 1 alain users    0 19 avril  2014 nvtest
drwxr-xr-x 2 alain users 4,0K 13 mai   18:13 trends
-rw-r--r-- 1 alain users    6 15 mai   13:41 conkywx_new_version_test
-rw-r--r-- 1 alain users  146 16 mai   10:05 1946_id

			Conkywx Assistant
	-----------------------------------------------------
	Current version of conkywx on your system is: 3.0.0
	-----------------------------------------------------
	Choice :  Option
	-----------------------------------------------------
	   1   :  Quick HELP with conkywx weather program
	   2   :  Refer to offline conkywx WIKI Manual in your browser
	   3   :  FORCE update conkywx data
	   4   :  Get detailed DEBUG information for conkywx
	   5   :  Reset Forecast trend information
	   6   :  Reset Graphs trend information
	-----------------------------------------------------
	  [[ q to Quit ]]
	  Enter your choice followed by [ENTER]: 3

		Conkywx Assistant
	-----------------------------------------------------
	1 template config file(s) in use found. 
	-----------------------------------------------------
	Choice :  Config filename for Force Update
	-----------------------------------------------------
	   0   :  > conkywx-02.conf
	-----------------------------------------------------
	Note: > Indicates file in use :-) 
	----------------------------------------------------- 
	  [[ q to Quit, p for Previous menu ]]
	  Enter your choice followed by [ENTER]: 

Perfect. Thanks again,
Alain

Thank you - that is fantabulous big_smile

Offline

#139 2015-07-03 07:17:08

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Conky Weather Program FIVE Released

Pleased to announce the release of the latest conkywx version wink

For users of other distros - kindly visit my Blog and leave comments and feedback there - thanks smile

For changes and updates - refer to the documentation released with the program. In a terminal window type conkywx --help . You will see an improved help on the browser.

  • conky version 1.10x RECOMMENDED though will work with conky 1.09x as well

  • Huge changes to get things to work with conky 1.10x

  • Most short comings of this version of conky are handled using lua scripts

  • conky_startup - this handles the startup issues - if your update interval is 5 seconds - conky updates that conky config in 5 * 2 seconds [10 seconds ] - so we update it such that your conky starts like on steroids

  • conky_pre_exec - this handles anything that needs to be done only ONCE - or unless updated manually - same as 1.9x

  • conky_if_running - checks the pidof the required process - same as 1.9x

  • conky_top_name - handles the top process for the AUR versions

  • All templates modified to work with both conky versions

  • Earth quake/ Seismic has new options to set Alarms that will show up alarms via the conkywx system, the location in question also flashes in the Seismic display

  • Seconday PWS for xml_ID - when the primary stops or has stale data.

  • Some forecast handling changes.

  • Some bug fixes.

  • A New music player - wx media player - plays in the terminal and even though you can see progress in conky - can be used on it's own. Written in bash and lua - very light and can handle huge number of tracks - uses mplayer as backend.

  • Multiple sites supported to get options for current and forecast weather

  • Type conkywx --help in a terminal window after installation to see improved help on a web browser.


conkywxfive01.jpg
conkywxfive03.jpg

To have many options for weather multiple sites are supported and data is dynamically merged. You can have current condition from one and forecast from another - though wunderground and METAR only support current conditions - but you still have forecast data from others.

Note:

  • Please use conky 1.10x if you have not yet embarked on that adventure wink. It is way better than the older version

  • As many users are using various conky variants - conky is no longer a dependency but however - conky is still required. Please ensure conky - in what ever form - is in fact installed.

  • To reduce duplication of effort - conkywx man page now has basic information and has a link to the wiki which is normally being updated real time as changes to conkywx are being made. A local copy is now available in the installation.

  • In some cases to have conky restart automatically you may need to give a sleep 30 - delay in your conky start script

  • if you are using Gnome 3 - own_window_type in the *conkyrc.sh needs to be changed to normal, desktop or dock - which ever works for your Desktop

  • If you find the templates out of kilter - first change the xftfont in the rc file and see how that goes before changing other values.

The package is at https://aur.archlinux.org/packages/conkywx/ wink

Feedback please smile - Thanks

EDIT:: I meant to just copy the FOUR release and make a new post but posted here grrrrrr X-[

Last edited by Paramvir (2015-11-21 14:40:08)

Offline

#140 2015-07-17 08:15:43

Salan54
Member
Registered: 2011-09-06
Posts: 25

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,
I have a problem here, since the last perl update on arch :

[2015-07-16 18:23] [ALPM] upgraded perl-bit-vector (7.4-1 -> 7.4-2)
[2015-07-16 18:23] [ALPM] upgraded perl-clone (0.37-2 -> 0.37-3)
[2015-07-16 18:23] [ALPM] upgraded perl-common-sense (3.73-1 -> 3.74-1)
[2015-07-16 18:23] [ALPM] upgraded perl-crypt-des (2.07-2 -> 2.07-3)
[2015-07-16 18:23] [ALPM] upgraded perl-params-classify (0.013-4 -> 0.013-5)
[2015-07-16 18:23] [ALPM] upgraded perl-params-validate (1.18-1 -> 1.18-2)
[2015-07-16 18:23] [ALPM] upgraded perl-list-moreutils (0.412-1 -> 0.413-1)
[2015-07-16 18:23] [ALPM] upgraded perl-params-util (1.07-3 -> 1.07-4)
[2015-07-16 18:23] [ALPM] upgraded perl-package-stash-xs (0.28-2 -> 0.28-3)
[2015-07-16 18:23] [ALPM] upgraded perl-variable-magic (0.56-1 -> 0.57-1)
[2015-07-16 18:23] [ALPM] upgraded perl-datetime (1.18-1 -> 1.19-1)
[2015-07-16 18:23] [ALPM] upgraded perl-dbi (1.633-1 -> 1.633-2)
[2015-07-16 18:23] [ALPM] upgraded perl-digest-sha1 (2.13-5 -> 2.13-6)
[2015-07-16 18:23] [ALPM] upgraded perl-file-slurp-tiny (0.003-2 -> 0.004-1)
[2015-07-16 18:23] [ALPM] upgraded perl-gd (2.56-2 -> 2.56-3)
[2015-07-16 18:23] [ALPM] upgraded perl-gnome2-wnck (0.16-9 -> 0.16-10)
[2015-07-16 18:23] [ALPM] upgraded perl-goo-canvas (0.06-4 -> 0.06-5)
[2015-07-16 18:23] [ALPM] upgraded perl-gtk2-imageview (0.05-4 -> 0.05-5)
[2015-07-16 18:23] [ALPM] upgraded perl-gtk2-unique (0.05-10 -> 0.05-11)
[2015-07-16 18:23] [ALPM] upgraded perl-html-parser (3.71-3 -> 3.71-4)
[2015-07-16 18:23] [ALPM] upgraded perl-http-message (6.06-2 -> 6.08-1)
[2015-07-16 18:23] [ALPM] upgraded perl-json-xs (3.01-3 -> 3.01-4)
[2015-07-16 18:23] [ALPM] upgraded perl-libintl-perl (1.24-1 -> 1.24-2)
[2015-07-16 18:23] [ALPM] upgraded perl-locale-gettext (1.05-11 -> 1.05-12)
[2015-07-16 18:23] [ALPM] upgraded perl-mouse (2.4.2-1 -> 2.4.2-2)
[2015-07-16 18:23] [ALPM] upgraded perl-text-iconv (1.7-9 -> 1.7-10)
[2015-07-16 18:23] [ALPM] upgraded perl-xml-parser (2.44-1 -> 2.44-2)
[2015-07-16 18:23] [ALPM] upgraded perl-net-dbus (1.1.0-1 -> 1.1.0-2)
[2015-07-16 18:23] [ALPM] upgraded perl-net-ssleay (1.68-1 -> 1.68-2)
[2015-07-16 18:23] [ALPM] upgraded perl-proc-processtable (0.51-1 -> 0.51-2)
[2015-07-16 18:23] [ALPM] upgraded perl-test-pod (1.50-1 -> 1.51-1)
[2015-07-16 18:23] [ALPM] upgraded perl-xml-libxml (2.0121-1 -> 2.0121-2)
[2015-07-16 18:23] [ALPM] upgraded perl-xml-libxslt (1.94-1 -> 1.94-2)
[2015-07-16 18:23] [ALPM] upgraded perl-yaml-syck (1.29-1 -> 1.29-2)

Now, when I run conkywx, I have this error :

conky -c /home/alain/conkywx.examples/short-02-conkyrc.sh
Conky: desktop window (2c8) is root window
Conky: window type - normal
Conky: drawing to created window (0x2a00002)
Conky: drawing to double buffer

Downloading main data file...

Downloading xml data file...

Updating CIMSS surface image...

Updating wunderground surface image...

Weather update download completed.
Conkywx program execution completed in: 0m3.218s on 17th at 09:59 
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/auto/Time/Piece/Piece.so: undefined symbol: Perl_xs_apiversion_bootcheck

^CConky: received SIGINT or SIGTERM to terminate. bye!

I tried to locate which package owns  /usr/lib/perl5/site_perl/auto/Time/Piece/Piece.so but it seems there is no owner :

$pacman -Qo /usr/lib/perl5/site_perl/auto/Time/Piece/Piece.so
error: No package owns /usr/lib/perl5/site_perl/auto/Time/Piece/Piece.so

Do you have any idea or workaround ?
Thanks

Offline

#141 2015-07-17 12:51:59

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Salan54 wrote:

Hi Paramvir,
I have a problem here, since the last perl update on arch :

Now, when I run conkywx, I have this error :

[b]/usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/auto/Time/Piece/Piece.so: undefined symbol: Perl_xs_apiversion_bootcheck[/b]

^CConky: received SIGINT or SIGTERM to terminate. bye!

I tried to locate which package owns  /usr/lib/perl5/site_perl/auto/Time/Piece/Piece.so but it seems there is no owner :

Do you have any idea or workaround ?
Thanks

Hi Alain smile

One of my amigos testing conkywx also had exactly the same issue...

He downgraded his perl....

OK that perhaps would be final course of action - and since I have not faced this issue - some other ideas come to mind...

You could change the mirrors in /etc/pacman.d/mirrorlist and then do sudo pacman -Syyu

This should sort the issue other wise - unninstall perl and then reinstall it fresh.

my version of perl is : This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi

cheers

Offline

#142 2015-07-17 20:57:52

Salan54
Member
Registered: 2011-09-06
Posts: 25

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi Paramvir,

Thanks for your quick reply. Since the Perl update, my Perl stuff is a real mess ;-) I had problems with other program than conkywx.
I tried to repair "by hand" this perl stuff and upgraded the faulty modules.
I am not sure what I did exactly but, and that is the most important, conkywx works again without the /usr/lib/perl5/site_perl/auto/Time/Piece/Piece.so error !
Great and thank you for your support.

Offline

#143 2015-07-17 22:12:53

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

Hey that is fantastic big_smile

You are most welcome...

Yup - sometimes we need to take the matter into our own hands wink

cheers

Offline

#144 2015-11-23 15:19:17

JoeHartley
Member
Registered: 2011-10-01
Posts: 23

Re: New Conky Weather Program with Weather Alerts - conkywx

Paramvir wrote:
Conky Weather Program FIVE Released

Pleased to announce the release of the latest conkywx version wink

Woohoo!

For whatever reasons, the 4.x release didn't work for me, but 5.0 is working fine!

I ran into the same perl problem with the Perl_xs_apiversion_bootcheck symbol.  The problem is that there are functions that have been moved into the core repository, and the dependencies changed a bit.  This script, shamelessly stolen from this thread, finds the packages now provided by core, strips the version info, and removes them from the system.

pacman -Qi perl |
 sed -n /Provides/,/Depends/p|
 sed '$d' |cut -f 2 -d: | 
 perl -lne 's/=[\d\.]+/\n/g;s/[ \t]//g;print' | 
 sed '/^$/d' | 
 xargs -n1 \
  sudo pacman -R --noconfirm

At this point, all seems well except that if I run conky manually, I keep seeing this error:
Conky: Unable to load image '3,3,5,3,2,2,0,0,2,3'

Is there a way to find out what this is referring to?

Thanks. Paramvir - I'm really happy to have this working again!

Offline

#145 2015-11-23 16:47:10

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

JoeHartley wrote:

At this point, all seems well except that if I run conky manually, I keep seeing this error:
Conky: Unable to load image '3,3,5,3,2,2,0,0,2,3'

Hey Joe that is excellent big_smile !!!

It is probably one of the trend graphs. That looks like the normalised string of numbers used for graphing in lua.

Try increasing the text_buffer_size - it is a value  in bytes in the conkyrc file

Oh and which conky version are you on ??? 1.9x or 1.10x ??

If that does not work - you can mail me the debug file.

In a terminal type conkywx and choose option 4 - the prompts will guide you and in the conkywx tmp folder you should have the compressed debug file.

Great to hear from you - and do try out the wx media player lol wink

cheers

Offline

#146 2015-11-23 17:33:45

JoeHartley
Member
Registered: 2011-10-01
Posts: 23

Re: New Conky Weather Program with Weather Alerts - conkywx

Paramvir wrote:
JoeHartley wrote:

At this point, all seems well except that if I run conky manually, I keep seeing this error:
Conky: Unable to load image '3,3,5,3,2,2,0,0,2,3'

Hey Joe that is excellent big_smile !!!

It is probably one of the trend graphs. That looks like the normalised string of numbers used for graphing in lua.

Try increasing the text_buffer_size - it is a value  in bytes in the conkyrc file

Oh and which conky version are you on ??? 1.9x or 1.10x ??

If that does not work - you can mail me the debug file.

In a terminal type conkywx and choose option 4 - the prompts will guide you and in the conkywx tmp folder you should have the compressed debug file.

Great to hear from you - and do try out the wx media player lol wink

cheers

I'm on conky 1.9 via the conky-lua package.  I'll have to see if I can get that up to conky 1.10 as I use a lot of rings in my display, or see if I can install conky and lua separately.

Changing the text_buffer_size didn't change anything.  Interestingly enough, I don't think I have any trend graphs in my setup, but I've likely overlooked something.

Thanks again for the continued work on conkywx!

Offline

#147 2015-11-24 02:35:58

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

JoeHartley wrote:

I'm on conky 1.9 via the conky-lua package.  I'll have to see if I can get that up to conky 1.10 as I use a lot of rings in my display, or see if I can install conky and lua separately.

Changing the text_buffer_size didn't change anything.  Interestingly enough, I don't think I have any trend graphs in my setup, but I've likely overlooked something.

Thanks again for the continued work on conkywx!

You probably have all the lua installed that you will need - just come up to 1.10.1 and you will be surprised - this is the better and faster conky by a very large margin.

if_running and top_name both are working fine in this release. You would only require to use the the two work a rounds left - conky_startup and conky_pre_exec.

cheers

Offline

#148 2015-11-30 22:34:22

JoeHartley
Member
Registered: 2011-10-01
Posts: 23

Re: New Conky Weather Program with Weather Alerts - conkywx

Paramvir wrote:

You probably have all the lua installed that you will need - just come up to 1.10.1 and you will be surprised - this is the better and faster conky by a very large margin.

if_running and top_name both are working fine in this release. You would only require to use the the two work a rounds left - conky_startup and conky_pre_exec.

cheers

I've been insanely busy with work and haven't had time to look at this, but can report that removing conky-lua and installing conky 1.10 (with lua itself still installed) caused my ring graphs to break, and still showed the error mentioned above.  Reinstalling conky-lua got the rings back and conkywx is still working, so I'll circle back around to this sometime, but not soon.

Thanks again for the help and the great program!

Offline

#149 2015-12-01 16:54:32

Paramvir
Member
Registered: 2009-08-06
Posts: 135
Website

Re: New Conky Weather Program with Weather Alerts - conkywx

JoeHartley wrote:

I've been insanely busy with work and haven't had time to look at this, but can report that removing conky-lua and installing conky 1.10 (with lua itself still installed) caused my ring graphs to break, and still showed the error mentioned above.  Reinstalling conky-lua got the rings back and conkywx is still working, so I'll circle back around to this sometime, but not soon.

Thanks again for the help and the great program!

That is because you need bindings to cairo [http://cairographics.org/] - that is how all the graphics magic like rings etc get drawn.

Offline

#150 2016-05-19 10:27:36

Lambo
Member
Registered: 2016-05-19
Posts: 1

Re: New Conky Weather Program with Weather Alerts - conkywx

Hi, Paramvir and everybody out there,

I was attempting to compile and install your latest version of conkywx from the AUR and ran into issues. I honestly have no idea if this is an issue with how my system is set up with makepkg but I haven't had any issues compiling anything else except for this. This is what I get in the terminal when I attempt to compile.



[k@arch conkywx]$ makepkg -sic
==> Making package: conkywx 5.0.0-1 (Thu May 19 06:22:21 UTC 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading conkywx_5.0.0.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 6378k  100 6378k    0     0  1150k      0  0:00:05  0:00:05 --:--:-- 1443k
==> Validating source files with md5sums...
    conkywx_5.0.0.tar.xz ... Passed
==> Extracting sources...
  -> Extracting conkywx_5.0.0.tar.xz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
cc  -D_FORTIFY_SOURCE=2  -c -o magellan.o magellan.c
In file included from /usr/include/stdio.h:27:0,
                 from magellan.c:2:
/usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
In file included from magellan.c:5:0:
conkywx.h:89:11: error: storage size of ‘tmv2’ isn’t known
 struct tm tmv2, tmv3;
           ^~~~
<builtin>: recipe for target 'magellan.o' failed
make: *** [magellan.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
[k@arch conkywx]$ 

If anybody has any suggestions that will help I would be most appreciative.

Offline

Board footer

Powered by FluxBB