Hi,

thanks for your answer!

Am Thu, 20 Jun 2013 14:50:26 +0200
schrieb Uli Schlachter <[email protected]>:

> Hi,
> 
> On 20.06.2013 12:25, kardan wrote:
> [...]
> > error while running function
> > stack traceback:
> >     [C]: in function 'require'
> >     /etc/xdg/awesome/rc.lua:3: in main chunk
> > error: /etc/xdg/awesome/rc.lua:3: module 'awful' not found:
> [...]
> >     no file '/usr/share/awesome/lib/awful/init.lua'
> [...]
> > There aweful sits indeed without awful.so and awful.lua
> [...]
> > /usr/share/awesome/lib/awful/init.lua
> [...]
> 
> I might be missing something, but those two paths look identical to
> me. Also, this is where awful should be found.
> 
> > (so maybe installing to /usr/local is not
> > the best solution).
> 
> However, there is no "local/" in the above paths, so are you sure
> that you quoted the correct things in your mail?
Here I confused myself. Usually I install awesome to global paths /usr
and /etc instead of the automatically set /usr/local/*. I meant, this
causes trouble for uncautiois admins like me as the self compiled wm is
overwritten and likely to crash. 

For the issue this makes no difference though. The last installation
added awful to /usr/local/share/awesome/lib/awful where lua is not
searching in.

$ ls /usr/local/share/awesome/lib/awful/  -l
insgesamt 224
-rw-r--r-- 1 root root  1669 Jun 20 06:23 autofocus.lua
-rw-r--r-- 1 root root  2104 Jun 20 06:23 button.lua
-rw-r--r-- 1 root root 28353 Jun 20 06:23 client.lua
-rw-r--r-- 1 root root  6886 Jun 20 06:23 completion.lua
-rw-r--r-- 1 root root   642 Jun 20 06:23 dbus.lua
-rw-r--r-- 1 root root  5902 Jun 20 06:23 ewmh.lua
-rw-r--r-- 1 root root  1193 Jun 20 06:23 init.lua
-rw-r--r-- 1 root root  3053 Jun 20 06:23 keygrabber.lua
-rw-r--r-- 1 root root  2844 Jun 20 06:23 key.lua
drwxr-xr-x 3 root root  4096 Jun 20 06:29 layout
-rw-r--r-- 1 root root 22124 Jun 20 06:23 menu.lua
drwxr-xr-x 2 root root  4096 Jun 20 06:29 mouse
-rw-r--r-- 1 root root  8324 Jun 20 06:23 placement.lua
-rw-r--r-- 1 root root 18005 Jun 20 06:23 prompt.lua
-rw-r--r-- 1 root root  1677 Jun 20 06:23 remote.lua
-rw-r--r-- 1 root root  6625 Jun 20 06:23 rules.lua
-rw-r--r-- 1 root root  3993 Jun 20 06:23 screen.lua
-rw-r--r-- 1 root root  1489 Jun 20 06:23 startup_notification.lua
-rw-r--r-- 1 root root 17822 Jun 20 06:23 tag.lua
-rw-r--r-- 1 root root  8559 Jun 20 06:23 titlebar.lua
-rw-r--r-- 1 root root  7231 Jun 20 06:23 tooltip.lua
-rw-r--r-- 1 root root 13893 Jun 20 06:23 util.lua
-rw-r--r-- 1 root root 10155 Jun 20 06:23 wibox.lua
drwxr-xr-x 2 root root  4096 Jun 20 06:29 widget

$
ls /usr/share/awesome/lib/awful/                                                
               
ewmh.lua  icccm.lua  keygrabber.lua

$ lua
Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> local awful = require("awful")
stdin:1: module 'awful' not found:
        no field package.preload['awful']
        no file './awful.lua'
        no file '/usr/local/share/lua/5.1/awful.lua'
        no file '/usr/local/share/lua/5.1/awful/init.lua'
        no file '/usr/local/lib/lua/5.1/awful.lua'
        no file '/usr/local/lib/lua/5.1/awful/init.lua'
        no file '/usr/share/lua/5.1/awful.lua'
        no file '/usr/share/lua/5.1/awful/init.lua'
        no file './awful.so'
        no file '/usr/local/lib/lua/5.1/awful.so'
        no file '/usr/lib/i386-linux-gnu/lua/5.1/awful.so'
        no file '/usr/lib/lua/5.1/awful.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: ?

This is all I know.

awful greetings,
Kardan

-- 
To unsubscribe, send mail to [email protected].

Reply via email to