Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Scratchpad module 'ruled' not found #218

@MOIS3Y

Description

@MOIS3Y

Hello, I'm not sure whether it was worth opening the issue, I encountered a strange import problem on awesome wm stable 4.3

awesome --version
awesome 4.3 (Too long)
 • Compiled against Lua 5.2.4 (running with Lua 5.2)
 • D-Bus support: ✔
 • execinfo support: ✔
 • xcb-randr version: 1.6

I just add bling as a git submodule in ~/.config/awesome/modules/bling

When trying to start awesomewm:

error: ./bling/module/scratchpad.lua:6: module 'ruled' not found:

Here is this line:

local ruled = capi.awesome.version ~= "v4.3" and require("ruled") or nil

I checked what result I would get in my rc.lua:

-- bottom rc.lua:
local capi = { awesome = awesome, client = client }
print(capi.awesome.version)  --> 4.3

Accordingly, if fix ./bling/module/scratchpad.lua:6

- local ruled = capi.awesome.version ~= "v4.3" and require("ruled") or nil
+ local ruled = capi.awesome.version ~= "4.3" and require("ruled") or nil

Everything is working.

Like I said, I'm not sure if this is a module issue or if I'm the only one experiencing this.
In case this is important, I use the nixOS version of awesomewm without modifications which comes with the configuration:

xserver.windowManager.awesome.enable = true;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions