You are not logged in.

#1 2012-08-26 22:19:39

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

[SOLVED] awesome vicious library missing

There was an update to the vicious library for awesome to version 2.1.0-1 that was applied to my machine.

Once I restarted awesome, it failed to load my config, looking at the error log output, it seems to have a problem using the vicious library:

/home/phyrne/.config/awesome/rc.lua:118: attempt to index global 'vicious' (a nil value)

Line 118 in my rc.lua is the start of registering my MPD widget.

I've tried commenting out the MPD widget section, however, it just finds another instance of vicious in my config and complains about that also.

I've looked in /usr/share/awesome/lib for vicious, where it usually resides, however it isn't there?

I have confirmed that I do have the vicious package installed, I've also tried installing the vicious-git package, however this didn't work either.

I've checked for a local copy of vicious in Pacman's chache to rollback to, however unfortunately there isn't an earlier tarball present.

Does anybody have any idea how this could be fixed?

Thanks in advance

Last edited by Starfall (2012-08-27 00:02:13)


Visit my blog and my DeviatArt page

Offline

#2 2012-08-26 23:27:27

projectdelphai
Member
Registered: 2012-05-17
Posts: 32

Re: [SOLVED] awesome vicious library missing

In your rc.lua you now have to require vicious as

vicious = require("vicious")

. Someone noticed this earlier here. The vicious folder was moved to /usr/share/lua/5.1 (pacman -Ql vicious).

Offline

#3 2012-08-27 00:01:59

Starfall
Member
From: /home/
Registered: 2011-05-24
Posts: 209
Website

Re: [SOLVED] awesome vicious library missing

projectdelphai wrote:

In your rc.lua you now have to require vicious as

vicious = require("vicious")

. Someone noticed this earlier here. The vicious folder was moved to /usr/share/lua/5.1 (pacman -Ql vicious).

That fixed it! Thanks so much for the swift response projectdelphai big_smile


Visit my blog and my DeviatArt page

Offline

#4 2012-08-27 01:07:16

aline
Member
Registered: 2009-12-17
Posts: 22

Re: [SOLVED] awesome vicious library missing

For those who use vicious.contrib you also need:

vicious.contrib = require("vicious")

Offline

#5 2012-08-28 20:52:25

vgavro
Member
Registered: 2012-08-28
Posts: 2

Re: [SOLVED] awesome vicious library missing

aline wrote:

For those who use vicious.contrib you also need:

vicious.contrib = require("vicious")

obviously you meant:

vicious.contrib = require("vicious.contrib")
vicious.helpers = require("vicious.helpers")

Offline

Board footer

Powered by FluxBB