Public bug reported:

Using Lua 5.3 and lua-lpeg-patterns 0.4-1

Steps to reproduce:

    $ lua <<<"local hr = require 'http.request'"

Expected outcome:  no output (success)

Seen outcome:

lua: /usr/share/lua/5.3/http/request.lua:2: module 'lpeg_patterns.http' not 
found:
        no field package.preload['lpeg_patterns.http']
        no file '/usr/local/share/lua/5.3/lpeg_patterns/http.lua'
        no file '/usr/local/share/lua/5.3/lpeg_patterns/http/init.lua'
        no file '/usr/local/lib/lua/5.3/lpeg_patterns/http.lua'
        no file '/usr/local/lib/lua/5.3/lpeg_patterns/http/init.lua'
        no file '/usr/share/lua/5.3/lpeg_patterns/http.lua'
        no file '/usr/share/lua/5.3/lpeg_patterns/http/init.lua'
        no file './lpeg_patterns/http.lua'
        no file './lpeg_patterns/http/init.lua'
        no file '/usr/local/lib/lua/5.3/lpeg_patterns/http.so'
        no file '/usr/lib/x86_64-linux-gnu/lua/5.3/lpeg_patterns/http.so'
        no file '/usr/lib/lua/5.3/lpeg_patterns/http.so'
        no file '/usr/local/lib/lua/5.3/loadall.so'
        no file './lpeg_patterns/http.so'
        no file '/usr/local/lib/lua/5.3/lpeg_patterns.so'
        no file '/usr/lib/x86_64-linux-gnu/lua/5.3/lpeg_patterns.so'
        no file '/usr/lib/lua/5.3/lpeg_patterns.so'
        no file '/usr/local/lib/lua/5.3/loadall.so'
        no file './lpeg_patterns.so'
stack traceback:
        [C]: in function 'require'
        /usr/share/lua/5.3/http/request.lua:2: in main chunk
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?

This may be a problem in lua-lpeg-patterns missing code for lua 5.3 ,
but I don't know whether to file a bug with that package or with this
package; I'm filing a bug with this package since it's what's throwing
the error.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: lua-http 0.1-3
ProcVersionSignature: Ubuntu 4.15.0-33.36-generic 4.15.18
Uname: Linux 4.15.0-33-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Sep 11 20:13:42 2018
InstallationDate: Installed on 2016-06-05 (828 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
SourcePackage: lua-http
UpgradeStatus: Upgraded to bionic on 2018-04-27 (137 days ago)

** Affects: lua-http (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1792052

Title:
  module 'lpeg_patterns.http' not found but lua-lpeg-patterns installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lua-http/+bug/1792052/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to