• Announcement: Lua.org now officially recommends this forum as a meeting place for the Lua community

Search results

  1. scls

    Downloading file using http.request doesn't follow redirects

    After Googling more, I noticed I shouldn't use `http.request` but `ssl.https` because of the use of secured protocol Unfortunately that's not so easy... $ sudo luarocks install luasec Warning: falling back to wget - install luasec to get native HTTPS support Installing...
  2. scls

    Downloading file using http.request doesn't follow redirects

    Hello, I'm trying to download a file using http.request using Lua 5.4.2 / LuaRocks 3.7.0 / luasocket-3.0rc1-2.src.rock and this code local http = require("socket.http") url = "https://www.sia.aviation-civile.gouv.fr/dvd/eAIP_07_OCT_2021/Atlas-VAC/PDF_AIPparSSection/VAC/AD/AD-2.LFBI.pdf" local...
  3. scls

    Vagrant (development environment) with recent Lua and Luarocks version

    Problem fixed... that was simply because running make should be done in the correct directory (which wasn't the case). For those who might be interested here is a Github project I did for installing Lua and LuaRocks from source in a Linux Ubuntu OS. https://github.com/scls19fr/lua_luarocks_vagrant
  4. scls

    Vagrant (development environment) with recent Lua and Luarocks version

    For those who might an interest for such a Vagrant env... here is my Vagrantfile which should install Lua 5.4.3 and LuaRocks 3.7.0 in an Ubuntu Impish Indri VM. # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| # lua_version_major_minor = "5.4" lua_version =...
  5. scls

    Vagrant (development environment) with recent Lua and Luarocks version

    Hello, I'm looking for a Vagrant environment for Lua and LuaRocks I noticed on Github https://github.com/gsdenys/lua-vagrant This use the luajit-rocks that provides LuaJIT and Luarocks in just one location. vagrant ssh Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-159-generic x86_64) *...
  6. scls

    Error: Could not fetch rock file: Failed creating temporary directory luarocks-rock-luasocket-3.0rc1-2: Failed setting permission exec for all

    The problem seems to be known... https://github.com/luarocks/luarocks/issues?q=is%3Aissue+is%3Aopen++failed+setting+permission+exec+for+all https://github.com/luarocks/luarocks/issues/1312 https://github.com/luarocks/luarocks/issues/1234 https://github.com/luarocks/luarocks/issues/991 But...
  7. scls

    Error: Could not fetch rock file: Failed creating temporary directory luarocks-rock-luasocket-3.0rc1-2: Failed setting permission exec for all

    According to Github... latest release of luarocks is 3.7.0 (13 apr 2021) https://github.com/luarocks/luarocks/releases
  8. scls

    LuaBinaries sourceforge website doesn't show 5.4.2 as latest version

    Hello, I browse to Lua Binaries And noticed that LuaBinaries - Browse /5.4.2 at SourceForge.net display a green button Download Latest Versionlua-5.3.6_Win32_bin.zip (378.1 kB) I may have missed something about how version numbering is working for lua but I thought that 5.4.2 is latest...
  9. scls

    luarocks seems to "mix together" lua 5.3 and lua 5.4

    Hello, I now have in my Windows 10 Lua install > dir c:\lua Répertoire : C:\lua Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 13/10/2021 08:27 356234 lua54.dll -a---- 13/10/2021 08:27...
  10. scls

    Error: Could not fetch rock file: Failed creating temporary directory luarocks-rock-luasocket-3.0rc1-2: Failed setting permission exec for all

    Hello, I'm new to Lua and I need to install luasocket to perform GET request to a HTTP server. I'm facing an issue (which seems to be quite common) when trying to install luasocket thanks to luarocks. I'm running Windows Terminal with Windows PowerShell (as user) luarocks install luasocket...
Top