Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2020 07:30:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246046] boot error in boot/lua/drawer.lua
Message-ID:  <bug-246046-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246046

            Bug ID: 246046
           Summary: boot error in boot/lua/drawer.lua
           Product: Base System
           Version: 12.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: gabor.radnai@gmail.com

Got an error message 'cannot index nil value' at line 277 in
boot/lua/drawer.lua. Tracking down the possible cause is in this function:

local function getLogodef(logo)
        if logo =3D=3D nil then
                return nil
        end
        -- Look it up
        local logodef =3D logodefs[logo]

        -- Try to pull it in
        if logodef =3D=3D nil then
                try_include('logo-' .. logo) <--- this is rather (?) 'logo_'
                logodef =3D logodefs[logo]
        end

        return logodef
end

All the logo files are stored as 'logo_*.lua' so my guess constructing the
include filename should follow that convention, i.e. not use 'logo-' but
'logo_' as prefix.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246046-227>