You are not logged in.

#161 2017-06-25 02:16:05

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

This is the error I am now getting:

conky: Syntax error (/home/dobbie/.conky/Grey/conkyrc:2: unexpected symbol near '#') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: llua_load: /home/dobbie/.conky/Grey/scripts/lua/imlib_clock.lua:17: module 'imlib2' not found:
	no field package.preload['imlib2']
	no file '/usr/share/lua/5.3/imlib2.lua'
	no file '/usr/share/lua/5.3/imlib2/init.lua'
	no file '/usr/lib/lua/5.3/imlib2.lua'
	no file '/usr/lib/lua/5.3/imlib2/init.lua'
	no file './imlib2.lua'
	no file './imlib2/init.lua'
	no file '/usr/lib/conky/libimlib2.so'
	no file '/usr/lib/lua/5.3/imlib2.so'
	no file '/usr/lib/lua/5.3/loadall.so'
	no file './imlib2.so'
conky: desktop window (4b9) is root window
conky: window type - normal
conky: drawing to created window (0x2a00002)
conky: drawing to double buffer
conky: llua_do_call: function conky_imlib_clock execution failed: attempt to call a nil value

"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#162 2017-06-25 02:30:35

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

Re: Conky - Calendars / Clocks / Time

conky: Assuming it's in old syntax and attempting conversion.

Excuse me but that error tells me you are running conky v1.10.

Terminal please:

conky -v

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#163 2017-06-25 02:32:27

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:
conky: Assuming it's in old syntax and attempting conversion.

Excuse me:  Terminal please:

conky -v

That error tells me you are running conky v1.10.

Shit, I forgot that I tried a different conky.

Just reinstalled 1.9

Conky 1.9.0 compiled Sun Jun 25 14:20:19 NZST 2017 for Linux 4.11.6-3-ARCH (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * config-output
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2

"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#164 2017-06-25 02:33:35

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

Now I am getting a seg fault

1]    25672 segmentation fault (core dumped)  conky -c /home/dobbie/.conky/Grey/conkyrc

"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#165 2017-06-25 02:37:20

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: Conky - Calendars / Clocks / Time

conky: Syntax error (/home/dobbie/.conky/Grey/conkyrc:2: unexpected symbol near '#') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.

@Dobbie - that error usually shows up when conky 1.10 tries to read a conky 1.9 configuration file. You posted earlier that you installed 1.9 (from the AUR?); that still the case? Do you happen to have both 1.9 and 1.10 installed.

In a terminal, what is the output of:

conky -v

That will not only give the version, but also indicate if the conky 1.9 version from the AUR is built with imlib bindings for lua.

EDIT - ninja'd by S11.

Last edited by PackRat (2017-06-25 02:40:18)


You must unlearn what you have learned.
    -- yoda

Offline

#166 2017-06-25 02:39:18

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

Re: Conky - Calendars / Clocks / Time

Lua file reinstate that line 23:

function fFreeImage (image)
	imlib_context_set_image (image)
--	imlib_free_image ()

to

function fFreeImage (image)
	imlib_context_set_image (image)
	imlib_free_image ()

see if it stops the seg fault at least.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#167 2017-06-25 02:40:30

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

Hey PacRat version below

Conky 1.9.0 compiled Sun Jun 25 14:34:22 NZST 2017 for Linux 4.11.6-3-ARCH (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * Audacious
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * config-output
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2

"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#168 2017-06-25 02:42:13

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

Lua file reinstate that line 23:

function fFreeImage (image)
	imlib_context_set_image (image)
--	imlib_free_image ()

to

function fFreeImage (image)
	imlib_context_set_image (image)
	imlib_free_image ()

see if it stops the seg fault at lease.


Done that, still a seg fault.  I don't want to take over this thread so I may pull the pin on this config.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#169 2017-06-25 02:44:18

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

Re: Conky - Calendars / Clocks / Time

S11 waves at PackRat.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#170 2017-06-25 02:45:09

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

Re: Conky - Calendars / Clocks / Time

OK, it's not ARCH friendly  sad


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#171 2017-06-25 02:47:09

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

OK, it's not ARCH friendly  sad

No it's not I need a conky 1.10 guru to convert it big_smile

I tried and failed.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#172 2017-06-25 02:48:55

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

Re: Conky - Calendars / Clocks / Time

Give me a second .....

v1.10 coming up.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#173 2017-06-25 02:49:10

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,897

Re: Conky - Calendars / Clocks / Time

I think there may be the possibility of missing packages on Arch that could be causing it as well?


Real Men Use Linux

Offline

#174 2017-06-25 02:53:24

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

DeepDayze wrote:

I think there may be the possibility of missing packages on Arch that could be causing it as well?

I think you are right but there is no hint as to what they maybe in any of the errors


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#175 2017-06-25 02:59:36

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

Re: Conky - Calendars / Clocks / Time

Well, meantime try this conky v1.10 version.

conky.config = {
-- Conky, a system monitor, based on torsmo

-- Any original torsmo code is licensed under the BSD license

-- All code written since the fork of torsmo is licensed under the GPL

-- Please see COPYING for details

-- Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
-- Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
-- All rights reserved.

-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.

-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
-- You should have received a copy of the GNU General Public License
-- along with this program.  If not, see <http://www.gnu.org/licenses/>.
--###############################################################################
--# pkill -xf "conky -c /home/sector11/.conky/Grey/conkyrc" &
	background = false,
	update_interval = 0.5,


	cpu_avg_samples = 2,
	net_avg_samples = 2,

	double_buffer = true,
	no_buffers = true,

	text_buffer_size = 1024,
	imlib_cache_size = 0,

	own_window = true,
	own_window_class = 'Conky',
	own_window_type = 'normal',--All options: conky,dock,desktop,normal,override,panel
	own_window_transparent = true,
	own_window_argb_visual = true,
	own_window_argb_value = 120,--Opacity color
	own_window_colour = '#ff0000',--Change color bg in this line
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

	draw_shades = false,
	draw_borders = false,
	draw_graph_borders = false,

	minimum_width = 250, minimum_height = 135,
	maximum_width = 250,

	alignment = 'bottom_right',
	gap_x = 50,
	gap_y = 80,

	use_xft = true,
	override_utf8_locale = true,
	font = 'Roboto Condensed:size=12',
	xftalpha = 1,
	uppercase = false,
	use_spacer = 'none',

	default_color = '#616161',--D8D8D8
	color1 = '#8D8D8D',

	lua_load = '~/.conky/Grey/scripts/lua/imlib_clock.lua',

};

conky.text = [[
${goto 120}Buenos Aires

${voffset 10}${goto 150}${time %A}
${goto 150}${time %e}.${time %m}.${time %Y}
${lua imlib_clock grey 130 71 72}\

${voffset 10}${goto 120}${color1}${time %T}${color}]];

Hope you don't mind but it has my edit in the code under TEXT ( conky.text = [[ )


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#176 2017-06-25 03:06:38

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,897

Re: Conky - Calendars / Clocks / Time

Hope no typos there S11 ]:D


Real Men Use Linux

Offline

#177 2017-06-25 03:29:26

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

Re: Conky - Calendars / Clocks / Time

Shouldn't be I used "convert.lua"  smile

 25 Jun 17 @ 00:26:39 ~
   $ cd /home/sector11/convert-lua
 
 25 Jun 17 @ 00:26:47 ~/convert-lua
   $ lua convert.lua conkyrc conky10rc

it comes with conky v1.10   O:)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#178 2017-06-25 03:49:12

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

Thanks for the conversion S11, upgraded to Conky 1.10 and still getting seg faults.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

#179 2017-06-25 04:21:43

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

Re: Conky - Calendars / Clocks / Time

sad  something there doesn't like your machine or ARCH I guess.  sad

Copy: /usr/share/doc/conky-***/convert.lua to a directory in ~/ ( I use ~/convert.lua )and make it executable.

CD to the directory (you must be in it)
copy the conky to the directory

 $ lua convery.lua conkyfile

will overwrite 'conkyfile' with v1.10 code

or create a new file

 $ lua convery.lua conkyfile newfilename

I didn't do it with this convert for you but (this is just me) I strip out all commands are are commented out since they will not get converted and if you ever remove the " -- " thinking it will work:  You get an "OOPS!"


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#180 2017-06-25 04:33:59

Döbbie03
Resident Metalhead
From: New Zealand
Registered: 2015-09-29
Posts: 3,853

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

sad  something there doesn't like your machine or ARCH I guess.  sad

Copy: /usr/share/doc/conky-***/convert.lua to a directory in ~/ ( I use ~/convert.lua )and make it executable.

CD to the directory (you must be in it)
copy the conky to the directory

 $ lua convery.lus conkyfile

will overwrite 'conkyfile' with v1.10 code

or create a new file

 $ lua convery.lus conkyfile newfilename

I didn't do it with this convert for you but (this is just me) I strip out all commands are are commented out since they will not get converted and if you ever remove the " -- " thinking it will work:  You get an "OOPS!"


Just did all those things.....the seg fault continues to plague me.  I give up for now.

Thank you all for your help.


"All we are is dust in the wind, dude"
                                       - Theodore "Ted" Logan
"Led Zeppelin didn't write tunes that everybody liked, they left that to the Bee Gees."
                                       - Wayne Campbell

Offline

Board footer

Powered by FluxBB