You are not logged in.

#181 2017-06-25 05:07:33

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

Re: Conky - Calendars / Clocks / Time

I've changed my mind about giving up, this config is too good to pass by.

I deleted all the files and started from scratch with a 1.10 version.  This is the error I am now getting in the terminal.

onky: 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 (0x3800002)
conky: drawing to double buffer

I am indeed missing those files/folders.  I have lua 5.3 installed.  Not sure where to go from here.


"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

#182 2017-06-25 05:19:11

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

Re: Conky - Calendars / Clocks / Time

Try 5.2 that's what's running here.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#183 2017-06-25 05:44:39

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

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

Try 5.2 that's what's running here.

Let me persevre with 5.3 first, once I am out of ideas then I will try 5.2 smile


"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

#184 2017-06-25 08:53:45

ututo
Member
Registered: 2015-09-29
Posts: 326

Re: Conky - Calendars / Clocks / Time

geez... i just see these posts.
I'm running...

Conky 1.9.0 compiled Wed Sep 10 07:11:34 UTC 2014 for Linux 3.2.0-4-amd64 (x86_64)

try to extract the tar file in /home/your_name/.conky/Grey/images/grey/
lets see what happens.
It's not my code. just changed some images...


BunsenLabs on deviantArt
Don't touch my git!

Offline

#185 2017-06-25 09:12:18

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

Re: Conky - Calendars / Clocks / Time

^ I have exactly the same error.   tongue

conky: llua_load: /home/unklar/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'
inxi -S
System:    Host: archhost Kernel: 4.11.6-1-ARCH x86_64 (64 bit) Desktop: KDE Plasma 5.10.2 Distro: Arch Linux

Offline

#186 2017-06-25 17:05:26

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

Re: Conky - Calendars / Clocks / Time

Dobbie03 wrote:
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

dobbie03 wrote:

I am indeed missing those files/folders.  I have lua 5.3 installed.  Not sure where to go from here.

I suspect you have the files, just not the folder/directory structure.

There may an under the hood difference in where Arch and Debian install the files - i.e. /usr/lib v. /usr/share/lib - and then configures the application (lua and imlib in this case?).

If you can locate the files that llua_load is looking for, you may be able to just create some symlinks to the locations it's searching. I've had success doing that in the past.

Last edited by PackRat (2017-06-25 17:07:27)


You must unlearn what you have learned.
    -- yoda

Offline

#187 2017-06-25 21:12:50

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

Re: Conky - Calendars / Clocks / Time

PackRat wrote:
Dobbie03 wrote:
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

dobbie03 wrote:

I am indeed missing those files/folders.  I have lua 5.3 installed.  Not sure where to go from here.

I suspect you have the files, just not the folder/directory structure.

There may an under the hood difference in where Arch and Debian install the files - i.e. /usr/lib v. /usr/share/lib - and then configures the application (lua and imlib in this case?).

If you can locate the files that llua_load is looking for, you may be able to just create some symlinks to the locations it's searching. I've had success doing that in the past.

I have done a through search and I am missing these files.  Would be nice if the people on G+ who got it working on Arch would reply to me.


"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

#188 2017-06-25 22:09:45

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

Re: Conky - Calendars / Clocks / Time

ututo wrote:

geez... i just see these posts.
I'm running...

Conky 1.9.0 compiled Wed Sep 10 07:11:34 UTC 2014 for Linux 3.2.0-4-amd64 (x86_64)

try to extract the tar file in /home/your_name/.conky/Grey/images/grey/
lets see what happens.
It's not my code. just changed some images...

Yea, mine works from the same place and I also have it running from:

/media/5/Conky/Grey/conkyrc

Above TEXT in the conky I removed:

update_run_times 0

it's not a conky command.

and in the LUA script I commented out (line 23):

--	imlib_free_image ()

Run the two of them too long and things freeze up though  smile
2017-06-25_185434_Scrot11.th.jpg

Dobbie03, hope you get it going.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#189 2017-06-25 22:20:05

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

Re: Conky - Calendars / Clocks / Time

I have tried those, if I have the lua link uncommented in the conky config I get a seg fault.

Still struggling to get the clock face to show.

Last edited by Döbbie03 (2017-06-25 22:34:36)


"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

#190 2017-06-25 22:25:52

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

Re: Conky - Calendars / Clocks / Time

@ Dobbie03 - I have none of the things that conky is telling you you are missing.  sad
I have:

/usr/share/lua/5.1
/usr/share/lua/5.2

and go from / to:

/usr/lib/lp_solve
/usr/lib/man-db

so no "/usr/lib/lua/" either.

Sniffing out files:

 25 Jun 17 @ 19:13:21 ~
   $ sff imlib2 /
[sudo] password for sector11: 
/usr/lib/x86_64-linux-gnu/imlib2
 
 25 Jun 17 @ 19:14:41 ~
   $ sff imlib2.lua /
[sudo] password for sector11: 
 
 25 Jun 17 @ 19:15:12 ~
   $ 

crazy!!!!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#191 2017-06-25 22:29:49

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

Re: Conky - Calendars / Clocks / Time

OK, where is Rod Serling hiding? ...  He's gotta be here someplace!! ... I hear the music!


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#192 2017-06-25 22:34:19

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

Re: Conky - Calendars / Clocks / Time

I'm struggling to keep calm with this.  I just can't understand how people who are using the same system as me can get it going yet it won't work for me.  Totally frustrated.


"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

#193 2017-06-25 22:44:02

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

Re: Conky - Calendars / Clocks / Time

OH I've been there and done that ... in fact in another respect, I'm there and doing that ... but not with conky.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#194 2017-06-25 22:45:47

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

Re: Conky - Calendars / Clocks / Time

Sector11 wrote:

OH I've been there and done that ... in fact in another respect, I'm there and doing that ... but not with conky.


LOL! S11 check your PM's at the AL forum smile


"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

#195 2017-06-25 23:25:56

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

Re: Conky - Calendars / Clocks / Time

Dobbie03 wrote:

I'm struggling to keep calm with this.  I just can't understand how people who are using the same system as me can get it going yet it won't work for me.  Totally frustrated.

I'm having nearly the same issues with Void. I repoduced your error in post #155. After converting the conkyrc file to 1.10, I get the conky data part, but not the clock. No seg fault though. I'll tinker a bit longer with it.

Last edited by PackRat (2017-06-25 23:27:06)


You must unlearn what you have learned.
    -- yoda

Offline

#196 2017-06-25 23:29:08

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

Re: Conky - Calendars / Clocks / Time

PackRat wrote:
Dobbie03 wrote:

I'm struggling to keep calm with this.  I just can't understand how people who are using the same system as me can get it going yet it won't work for me.  Totally frustrated.

I'm having nearly the same issues with Void. I repoduced your error in post #155. After converting the conkyrc file to 1.10, I get the conky data part, but not the clock. No seg fault though. I'll tinker a bit longer with it.

Thanks Pack.  Appreciate it.


"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

#197 2017-06-26 00:07:28

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

Re: Conky - Calendars / Clocks / Time

^ I'm stumped.

The only thing I can think of is that lines like these in the lua script (after changing the path to match my system):

image_path = os.getenv ('HOME')..'/.conky/DAWANA/images/'

local imgFace =  imlib_load_image(image_path..theme..'/face.png')

aren't registering so the script doesn't find the images. I have no idea why that would be, but keep coming back to that.

Time to walk the dog and think about something else for a while  8o

Last edited by PackRat (2017-06-26 00:08:58)


You must unlearn what you have learned.
    -- yoda

Offline

#198 2017-06-26 00:17:24

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

Re: Conky - Calendars / Clocks / Time

PackRat wrote:

^ I'm stumped.

The only thing I can think of is that lines like these in the lua script (after changing the path to match my system):

image_path = os.getenv ('HOME')..'/.conky/DAWANA/images/'

local imgFace =  imlib_load_image(image_path..theme..'/face.png')

aren't registering so the script doesn't find the images. I have no idea why that would be, but keep coming back to that.

Time to walk the dog and think about something else for a while  8o

I actually had that thought too.....I'm going to let this rest for a few days and revisitwhen I am in a better mood smile


"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

#199 2017-06-26 00:30:04

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

Re: Conky - Calendars / Clocks / Time

Weird ... I have it in two locations:

~/home
/home/sector11/.conky/Grey/conkyrc
/home/sector11/.conky/Grey/scripts/lua/imlib_clock.lua
/home/sector11/.conky/Grey/images/grey/face.png
/home/sector11/.conky/Grey/images/grey/h.png
/home/sector11/.conky/Grey/images/grey/m.png
/home/sector11/.conky/Grey/images/grey/s.png

lua_load ~/.conky/Grey/scripts/lua/imlib_clock.lua

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}

and in /media/5/Conky:
/media/5/Conky/Grey/images - same sub directory structure
/media/5/Conky/Grey/scripts - same sub directory structure
/media/5/Conky/Grey/conkyrc

lua_load /media/5/Conky/Grey/scripts/lua/imlib_clock.lua

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}

Other than commenting out the line in the LUA script I didn't touch anything else.

Obviously from the LUA script it's picking up the images from:
/home/sector11/.conky/Grey/images/grey/
because I did not change that

image_path = os.getenv ('HOME')..'/.conky/Grey/images/'

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#200 2017-06-26 00:41:46

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

Re: Conky - Calendars / Clocks / Time

Brainstorming:  Think:  "..theme.."  dould that be "directory"  ???

Grey and grey ???


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB