Skip to content
This repository was archived by the owner on Jun 19, 2023. It is now read-only.
This repository was archived by the owner on Jun 19, 2023. It is now read-only.

Module no long loads with AwesomeWM 4.3, Lua 5.3 or 5.4. #43

@jeffbowman

Description

@jeffbowman

Using this code:

local obvious = require("obvious")

gives the following error:

Error during execution: /usr/share/awesome/lib/obvious/lib/mpd/init.lua:53: attempt to call a nil value (global 'module')

It appears the module function does not exist in Lua 5.3 or Lua 5.4. I tried substituting module with require but then I was getting an error on when doing something like:

local myvolume = obvious.volume_alsa() that said:

attempt to index a boolean value (local 'obvious')

I'm not sure how to fix it as I'm not quite that strong in Lua, so thought I'd at least post an issue here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions