failed installation on Redhat 7

Hi All, yesterday I managed to install Linuxbrew on Redhat 7.6/64 in home folder. There was an issues with OpenCV though (unable to compile pulseaudio for dependency). Today I tried to install Linuxbrew into the default folder "/home/linuxbrew". This is the output (note, g++ 4.8.5 is installed):
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
[sudo] Enter password for albert to install Ruby:
==> Installing Ruby to /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 26.9M  100 26.9M    0     0  3489k      0  0:00:07  0:00:07 --:--:-- 4305k
==> Installing successful
==> /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/current/bin/ruby
ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-linux]
==> Add Ruby to your PATH by running:
PATH=/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/current/bin:$PATH
==> This script will install:
/home/linuxbrew/.linuxbrew/bin/brew
/home/linuxbrew/.linuxbrew/share/doc/homebrew
/home/linuxbrew/.linuxbrew/share/man/man1/brew.1
/home/linuxbrew/.linuxbrew/share/zsh/site-functions/_brew
/home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew
/home/albert/.cache/Homebrew/
/home/linuxbrew/.linuxbrew/Homebrew
==> The following new directories will be created:
/home/linuxbrew/.linuxbrew/bin
/home/linuxbrew/.linuxbrew/etc
/home/linuxbrew/.linuxbrew/include
/home/linuxbrew/.linuxbrew/lib
/home/linuxbrew/.linuxbrew/sbin
/home/linuxbrew/.linuxbrew/share
/home/linuxbrew/.linuxbrew/var
/home/linuxbrew/.linuxbrew/opt
/home/linuxbrew/.linuxbrew/share/zsh
/home/linuxbrew/.linuxbrew/share/zsh/site-functions
/home/linuxbrew/.linuxbrew/Cellar
/home/linuxbrew/.linuxbrew/Caskroom
/home/linuxbrew/.linuxbrew/Frameworks

Press RETURN to continue or any other key to abort
/bin/mkdir
==> /usr/bin/sudo /bin/mkdir -p /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chmod g+rwx /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chmod 755 /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions
==> /usr/bin/sudo /bin/chown albert /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/chgrp albert /home/linuxbrew/.linuxbrew/bin /home/linuxbrew/.linuxbrew/etc /home/linuxbrew/.linuxbrew/include /home/linuxbrew/.linuxbrew/lib /home/linuxbrew/.linuxbrew/sbin /home/linuxbrew/.linuxbrew/share /home/linuxbrew/.linuxbrew/var /home/linuxbrew/.linuxbrew/opt /home/linuxbrew/.linuxbrew/share/zsh /home/linuxbrew/.linuxbrew/share/zsh/site-functions /home/linuxbrew/.linuxbrew/Cellar /home/linuxbrew/.linuxbrew/Caskroom /home/linuxbrew/.linuxbrew/Frameworks
==> /usr/bin/sudo /bin/mkdir -p /home/albert/.cache/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /home/albert/.cache/Homebrew
==> /usr/bin/sudo /bin/chown albert /home/albert/.cache/Homebrew
==> /usr/bin/sudo /bin/chgrp albert /home/albert/.cache/Homebrew
==> Downloading and installing Linuxbrew...
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 123632 (delta 6), reused 13 (delta 4), pack-reused 123603
Receiving objects: 100% (123632/123632), 29.17 MiB | 4.09 MiB/s, done.
Resolving deltas: 100% (90591/90591), done.
From https://github.com/Homebrew/brew
 * [new branch]      master     -> origin/master
 * [new tag]         0.1        -> 0.1
 * [new tag]         0.2        -> 0.2
 * [new tag]         0.3        -> 0.3
 * [new tag]         0.4        -> 0.4
 * [new tag]         0.5        -> 0.5
 * [new tag]         0.6        -> 0.6
 * [new tag]         0.7        -> 0.7
 * [new tag]         0.7.1      -> 0.7.1
 * [new tag]         0.8        -> 0.8
 * [new tag]         0.8.1      -> 0.8.1
 * [new tag]         0.9        -> 0.9
 * [new tag]         0.9.1      -> 0.9.1
 * [new tag]         0.9.2      -> 0.9.2
 * [new tag]         0.9.3      -> 0.9.3
 * [new tag]         0.9.4      -> 0.9.4
 * [new tag]         0.9.5      -> 0.9.5
 * [new tag]         0.9.8      -> 0.9.8
 * [new tag]         0.9.9      -> 0.9.9
 * [new tag]         1.0.0      -> 1.0.0
 * [new tag]         1.0.1      -> 1.0.1
 * [new tag]         1.0.2      -> 1.0.2
 * [new tag]         1.0.3      -> 1.0.3
 * [new tag]         1.0.4      -> 1.0.4
 * [new tag]         1.0.5      -> 1.0.5
 * [new tag]         1.0.6      -> 1.0.6
 * [new tag]         1.0.7      -> 1.0.7
 * [new tag]         1.0.8      -> 1.0.8
 * [new tag]         1.0.9      -> 1.0.9
 * [new tag]         1.1.0      -> 1.1.0
 * [new tag]         1.1.1      -> 1.1.1
 * [new tag]         1.1.10     -> 1.1.10
 * [new tag]         1.1.11     -> 1.1.11
 * [new tag]         1.1.12     -> 1.1.12
 * [new tag]         1.1.13     -> 1.1.13
 * [new tag]         1.1.2      -> 1.1.2
 * [new tag]         1.1.3      -> 1.1.3
 * [new tag]         1.1.4      -> 1.1.4
 * [new tag]         1.1.5      -> 1.1.5
 * [new tag]         1.1.6      -> 1.1.6
 * [new tag]         1.1.7      -> 1.1.7
 * [new tag]         1.1.8      -> 1.1.8
 * [new tag]         1.1.9      -> 1.1.9
 * [new tag]         1.2.0      -> 1.2.0
 * [new tag]         1.2.1      -> 1.2.1
 * [new tag]         1.2.2      -> 1.2.2
 * [new tag]         1.2.3      -> 1.2.3
 * [new tag]         1.2.4      -> 1.2.4
 * [new tag]         1.2.5      -> 1.2.5
 * [new tag]         1.2.6      -> 1.2.6
 * [new tag]         1.3.0      -> 1.3.0
 * [new tag]         1.3.1      -> 1.3.1
 * [new tag]         1.3.2      -> 1.3.2
 * [new tag]         1.3.3      -> 1.3.3
 * [new tag]         1.3.4      -> 1.3.4
 * [new tag]         1.3.5      -> 1.3.5
 * [new tag]         1.3.6      -> 1.3.6
 * [new tag]         1.3.7      -> 1.3.7
 * [new tag]         1.3.8      -> 1.3.8
 * [new tag]         1.3.9      -> 1.3.9
 * [new tag]         1.4.0      -> 1.4.0
 * [new tag]         1.4.1      -> 1.4.1
 * [new tag]         1.4.2      -> 1.4.2
 * [new tag]         1.4.3      -> 1.4.3
 * [new tag]         1.5.0      -> 1.5.0
 * [new tag]         1.5.1      -> 1.5.1
 * [new tag]         1.5.10     -> 1.5.10
 * [new tag]         1.5.11     -> 1.5.11
 * [new tag]         1.5.12     -> 1.5.12
 * [new tag]         1.5.13     -> 1.5.13
 * [new tag]         1.5.14     -> 1.5.14
 * [new tag]         1.5.2      -> 1.5.2
 * [new tag]         1.5.3      -> 1.5.3
 * [new tag]         1.5.4      -> 1.5.4
 * [new tag]         1.5.5      -> 1.5.5
 * [new tag]         1.5.6      -> 1.5.6
 * [new tag]         1.5.7      -> 1.5.7
 * [new tag]         1.5.8      -> 1.5.8
 * [new tag]         1.5.9      -> 1.5.9
 * [new tag]         1.6.0      -> 1.6.0
 * [new tag]         1.6.1      -> 1.6.1
 * [new tag]         1.6.10     -> 1.6.10
 * [new tag]         1.6.11     -> 1.6.11
 * [new tag]         1.6.12     -> 1.6.12
 * [new tag]         1.6.13     -> 1.6.13
 * [new tag]         1.6.14     -> 1.6.14
 * [new tag]         1.6.15     -> 1.6.15
 * [new tag]         1.6.16     -> 1.6.16
 * [new tag]         1.6.17     -> 1.6.17
 * [new tag]         1.6.2      -> 1.6.2
 * [new tag]         1.6.3      -> 1.6.3
 * [new tag]         1.6.4      -> 1.6.4
 * [new tag]         1.6.5      -> 1.6.5
 * [new tag]         1.6.6      -> 1.6.6
 * [new tag]         1.6.7      -> 1.6.7
 * [new tag]         1.6.8      -> 1.6.8
 * [new tag]         1.6.9      -> 1.6.9
 * [new tag]         1.7.0      -> 1.7.0
 * [new tag]         1.7.1      -> 1.7.1
 * [new tag]         1.7.2      -> 1.7.2
 * [new tag]         1.7.3      -> 1.7.3
 * [new tag]         1.7.4      -> 1.7.4
 * [new tag]         1.7.5      -> 1.7.5
 * [new tag]         1.7.6      -> 1.7.6
 * [new tag]         1.7.7      -> 1.7.7
 * [new tag]         1.8.0      -> 1.8.0
 * [new tag]         1.8.1      -> 1.8.1
 * [new tag]         1.8.2      -> 1.8.2
 * [new tag]         1.8.3      -> 1.8.3
 * [new tag]         1.8.4      -> 1.8.4
 * [new tag]         1.8.5      -> 1.8.5
 * [new tag]         1.8.6      -> 1.8.6
 * [new tag]         1.9.0      -> 1.9.0
 * [new tag]         1.9.1      -> 1.9.1
 * [new tag]         1.9.2      -> 1.9.2
 * [new tag]         1.9.3      -> 1.9.3
 * [new tag]         2.0.0      -> 2.0.0
 * [new tag]         2.0.1      -> 2.0.1
 * [new tag]         2.0.2      -> 2.0.2
 * [new tag]         2.0.3      -> 2.0.3
 * [new tag]         2.0.4      -> 2.0.4
 * [new tag]         2.0.5      -> 2.0.5
 * [new tag]         2.0.6      -> 2.0.6
 * [new tag]         2.1.0      -> 2.1.0
 * [new tag]         2.1.1      -> 2.1.1
 * [new tag]         2.1.2      -> 2.1.2
Checking out files: 100% (1797/1797), done.
HEAD is now at bcc5f04 Merge pull request #6143 from letmaik/letmaik/HOMEBREW_CURL_RETRIES
==> Tapping homebrew/core
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 5044, done.
remote: Counting objects: 100% (5044/5044), done.
remote: Compressing objects: 100% (4840/4840), done.
remote: Total 5044 (delta 56), reused 649 (delta 10), pack-reused 0
Receiving objects: 100% (5044/5044), 4.22 MiB | 2.26 MiB/s, done.
Resolving deltas: 100% (56/56), done.
Checking out files: 100% (5060/5060), done.
Tapped 3 commands and 4824 formulae (5,083 files, 13.2MB).
==> Installing dependencies for curl: patchelf, zlib, binutils, linux-headers, glibc, m4, gmp, mpfr, libmpc<EMAIL_ADDRESS>gcc and openssl
==> Installing curl dependency: patchelf
==> Downloading https://linuxbrew.bintray.com/bottles/patchelf-0.10.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/04/04628ac9ef53920ef0c0d612b40a30c6457e494d269a84e7eed3bf999e2f8951?__gda__=exp=1558269396~hmac
######################################################################## 100.0%
==> Pouring patchelf-0.10.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/patchelf/0.10: 8 files, 921.5KB
==> Installing curl dependency: zlib
==> Downloading https://linuxbrew.bintray.com/bottles/zlib-1.2.11.x86_64_linux.bottle.tar.gz
######################################################################## 100.0%
==> Pouring zlib-1.2.11.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/zlib/1.2.11: 12 files, 424KB
==> Installing curl dependency: binutils
==> Downloading https://linuxbrew.bintray.com/bottles/binutils-2.32.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/ef/ef7ed4e1f676ba42a72928a6925febf3a95d73424986f8ebb8d4b458923004b1?__gda__=exp=1558269411~hmac
######################################################################## 100.0%
==> Pouring binutils-2.32.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/binutils/2.32: 4,683 files, 289.3MB
==> Installing curl dependency: linux-headers
==> Downloading https://linuxbrew.bintray.com/bottles/linux-headers-4.4.80.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/b9/b9d7edb2760ec070372d6dd37f2dff85c34221cf77d124d4732092447ac2cf9f?__gda__=exp=1558269476~hmac
######################################################################## 100.0%
==> Pouring linux-headers-4.4.80.x86_64_linux.bottle.tar.gz
🍺  /home/linuxbrew/.linuxbrew/Cellar/linux-headers/4.4.80: 772 files, 3.7MB
==> Installing curl dependency: glibc
==> Downloading https://linuxbrew.bintray.com/bottles/glibc-2.23.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/65/654794e9e18c2401f1101a3fcf0a85eda448b4b969e9a99782a3f4f4659feda4?__gda__=exp=1558269487~hmac
######################################################################## 100.0%
==> Pouring glibc-2.23.x86_64_linux.bottle.tar.gz
==> Installing locale data for en_US.UTF-8
==> /home/linuxbrew/.linuxbrew/Cellar/glibc/2.23/bin/localedef -i en_US -f UTF-8 en_US.UTF-8
🍺  /home/linuxbrew/.linuxbrew/Cellar/glibc/2.23: 1,367 files, 85.7MB
==> Installing curl dependency: m4
==> Downloading https://linuxbrew.bintray.com/bottles/m4-1.4.18.x86_64_linux.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/5a/5a2327087fb76145b4d0fb23acc244115adc3ced14ffc2a6231159a4f16c8a7f?__gda__=exp=1558269559~hmac
######################################################################## 100.0%
==> Pouring m4-1.4.18.x86_64_linux.bottle.tar.gz
Error: Failure while executing; `/home/linuxbrew/.linuxbrew/bin/patchelf --print-rpath /home/linuxbrew/.linuxbrew/Cellar/m4/1.4.18/bin/m4` exited with 127. Here's the output:
/home/linuxbrew/.linuxbrew/bin/patchelf: ���: ELF: x: Error<PHONE_NUMBER>
Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/m4/1.4.18
==> make
==> make install
🍺  /home/linuxbrew/.linuxbrew/Cellar/m4/1.4.18: 13 files, 629.6KB, built in 3 minutes 7 seconds
==> Installing curl dependency: gmp
==> Downloading https://linuxbrew.bintray.com/bottles/gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
==> Downloading from https://akamai.bintray.com/09/09d722e6321b67257e80f08b7c69202b5898189ccd81677adcdc714faaa86e3b?__gda__=exp=1558269748~hmac
######################################################################## 100.0%
==> Pouring gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
Error: Failure while executing; `/home/linuxbrew/.linuxbrew/bin/patchelf --print-rpath /home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.2_2/lib/libgmp.so.10.3.2` exited with 127. Here's the output:
/home/linuxbrew/.linuxbrew/bin/patchelf: �4���: ELF: x: Error 489305239
Warning: Bottle installation failed: building from source.
==> Downloading https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.2_2 --enable-cxx --with-pic --build=core2-linux-gnu
Last 15 lines from /home/albert/.cache/Homebrew/Logs/gmp/01.configure:
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking build system compiler gcc -std=gnu99... yes
checking for build system preprocessor... gcc -std=gnu99 -E
checking for build system executable suffix...
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking C++ compiler g++  -O2 -pedantic -fomit-frame-pointer -m64 -mtune=core2 -march=core2... no, program does not run
checking C++ compiler g++  -g -O2... no, program does not run
configure: error: C++ compiler not available, see config.log for details

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help:
gmp: test for intel hardware before picking intel specific options https://github.com/Homebrew/linuxbrew-core/pull/12685
==> Installing dependencies for git: gmp, mpfr, libmpc<EMAIL_ADDRESS>gcc, ncurses, gettext, bzip2, pcre2, openssl, curl, libbsd and expat
==> Installing git dependency: gmp
==> Downloading https://linuxbrew.bintray.com/bottles/gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
Already downloaded: /home/albert/.cache/Homebrew/downloads/af8d3677f2ff679c34a589ac41544ce8865976921f0febfe43ea3b797e8fe19a--gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
==> Pouring gmp-6.1.2_2.x86_64_linux.bottle.1.tar.gz
Error: Failure while executing; `/home/linuxbrew/.linuxbrew/bin/patchelf --print-rpath /home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.2_2/lib/libgmp.so.10.3.2` exited with 127. Here's the output:
/home/linuxbrew/.linuxbrew/bin/patchelf: : ELF: x: Error<PHONE_NUMBER>2017130647
Warning: Bottle installation failed: building from source.
==> Downloading https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz
Already downloaded: /home/albert/.cache/Homebrew/downloads/89f0aba554cb9ab1c8364494f48a7d8bac8fbe1fcef3be50382a813a3d302d77--gmp-6.1.2.tar.xz
==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/gmp/6.1.2_2 --enable-cxx --with-pic --build=core2-linux-gnu
Last 15 lines from /home/albert/.cache/Homebrew/Logs/gmp/01.configure:
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking build system compiler gcc -std=gnu99... yes
checking for build system preprocessor... gcc -std=gnu99 -E
checking for build system executable suffix...
checking whether build system compiler is ANSI... yes
checking for build system compiler math library... -lm
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking C++ compiler g++  -O2 -pedantic -fomit-frame-pointer -m64 -mtune=core2 -march=core2... no, program does not run
checking C++ compiler g++  -g -O2... no, program does not run
configure: error: C++ compiler not available, see config.log for details

READ THIS: https://docs.brew.sh/Troubleshooting

These open issues may also help:
gmp: test for intel hardware before picking intel specific options https://github.com/Homebrew/linuxbrew-core/pull/12685
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
Already up-to-date.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics.html

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
==> Next steps:
- Install the Linuxbrew dependencies if you have sudo access:
  Debian, Ubuntu, etc.
    sudo apt-get install build-essential
  Fedora, Red Hat, CentOS, etc.
    sudo yum groupinstall 'Development Tools'
  See http://linuxbrew.sh/#dependencies for more information.
- Configure Linuxbrew in your ~/.profile by running
    echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >>~/.profile
- Add Linuxbrew to your PATH
    eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
- We recommend that you install GCC by running:
    brew install gcc
- Run `brew help` to get started
- Further documentation:
    https://docs.brew.sh
Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.

Please surround copied-and-pasted logs with triple back ticks. See GitHub Help / Quoting Code.

A similar bug was reported in https://github.com/Homebrew/linuxbrew-core/issues/13148. We're looking into it now. You can try this workaround in the mean time.
brew unlink patchelf
brew install https://raw.githubusercontent.com/Homebrew/linuxbrew-core/1d5b681f01440527bc47b3937f25bee3e82b9169/Formula/patchelf.rb
brew reinstall gmp

I believe this issue is resolved by PR https://github.com/Homebrew/linuxbrew-core/pull/13210.
Run…
brew update
brew reinstall patchelf

Thank you @sjackman for suggestion. I managed to install seamlessly OpenCV, Python, etc using the latest Linuxbrew. It works fine for now.

Glad to hear it. Thanks for the follow up post, Albert!


signature_method_rejected on private applications

I've been successfully using this XeroBundle for over a year now, but have encountered an issue when recently updating this and guzzle. When trying to put a banktransaction into Xero I get the following 400 Bad Request:
response: oauth_problem=signature_method_rejected&oauth_problem_advice=Private applications must use the RSA-SHA1 signature
After a bit of digging I came across this commit with Guzzle's oauth subscriber:
https://github.com/guzzle/oauth-subscriber/commit/4736b9a0b7aa58f16e5bb687df4f9f2dd94c0a65
I see the you set the signature_method here, but I can't see it used anywhere.
Modifying the initialization of $middlewhere gets me up and running again:
$middleware = new Oauth1([
    'consumer_key' => $config['consumer_key'],
    'consumer_secret' => $config['consumer_secret'],
    'token' => $config['token'],
    'token_secret' => $config['token_secret'],
    'signature_method' => $config['signature_method'],
    'private_key_file' => $config['private_key'],
    'private_key_passphrase' => null
]);

Obviously that won't work for people with a passphrase set on their private key file, but its a step in the right direction.

I've just spotted that pull request #7 submitted by @mradcliffe handles both this and the another issue I ran into with the trailing slash. Would be good to see that merged in.


Unmet peer dependency

asciiman$ npm install --save react-native-navigation-redux-helpers
<EMAIL_ADDRESS>/Users/asciiman/Documents/Code/GoStudent/mobile-app
├── UNMET PEER DEPENDENCY<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
npm WARN enoent ENOENT: no such file or directory, open '/Users/x/Documents/Code/x/mobile-app/node_modules/business-logic/package.json'
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

Does that mean I need to downgrade react-native to have this work?

@asciiman : i'll need to catch up with RN release cycles 😓
gonna update this to be RN 29 compatible later today

version 0.3.0 should work with React Native 0.29.0
npm install --save<EMAIL_ADDRESS>

I am closing this. @asciiman feel free to reopen if the problem persists


EU benchmark files are too big, store somewhere else

What and Why
The benchmark files are using 68M now, we should probably store them somewhere else and download them on the CI.
Possible Drawbacks
There is more maintenance overhead.
Related Issues
No response

Can you store a zip file instead? It will use less space and then be unzipped via the terminal in the CI to run the benchmark.
Does it sound doable?

It wouldn't make sense to store in git. The main use of storing here is keeping track of changes. If it's a zip, then any change reflects in the whole zip changing. We can store it in Zenodo directly. It might be better waiting a bit until we agree on the minimum interface so it doesn't need to change much after we store in Zenodo.

I think @suvayu also recommended looking into Git LFS: https://git-lfs.com

I used git-lfs in our "super secret" private repo.  People can try cloning it and committing to it locally, and see what is the experience.  I also included basic usage instructions there, don't know if that will be sufficient.


Clip hidden tiles

Fixes #159.
Highlights

Produces a 20% reduction in CPU usage while idling in the blue2 area.
Increases framerate of a 100x100x2 sized area from 2 FPS to 43 FPS. (A 1x1x2 sized area also gets 43 FPS so we're hitting a bottleneck somewhere else that's preventing us from hitting 60, but with this patch an arbitrarily-sized area should be perfectly capable of hitting 60 just fine.)

Lowlights

Right now, the first frame drawn upon startup draws all tiles, rather than just the visible ones. To fix this bug, we need to tell AreaManager what the viewport bounds will be. Do we only calculate the bounds after asking AreaManager to render? Is there some way we can move this calculation earlier?
AreaManager steals access to some private variables. Where this happens, code could stand to be improved.

This line gets triggered during the first render after startup because AreaManager looks at FrameManager to determine the viewport's X & Y offset into the map and FrameManager hasn't populated that field yet. It would be nice fix this or find a different place to access the information successfully during the first render.
Fixing this will improve startup time for large maps.


[release-0.18] Upgrade to latest dependencies

Produced via:
./hack/update-deps.sh --upgrade
./hack/update-codegen.sh

/cc knative/operations-wg-leads
/assign knative/operations-wg-leads

/ok-to-test


Fix caption leaking its localisation to radio options

We run into a problem when using the new captions capability of the gem where the localised caption of govuk_collection_radio_buttons or govuk_radio_buttons_fieldset will leak also to each of their corresponding radio option labels.
I think there is not a use-case to use captions in the labels of individual radio or check box options and couldn't find anything in the design system documentation about this, so I opted for the simplest possible solution, but if in the future there is a use-case for having captions also in these option labels, then I suppose a bit of work is neccessary in the localisation to not inherit that of the fieldset.
I didn't see this happening to check boxes, at least in the scenarios I have, but just in case I'm also excluding these check boxes from being "captionable".
Before:

After:

Hi Pete! thanks for the feedback!
I get what you are suggesting but I believe that could be part of a bigger refactor, and for consistency maybe also be done in the elements/hint.rb where the the same mechanics are used: radio_class(radio) and checkbox_class(checkbox).
Didn't want to do it as part of this work as seemed a bit unrelated and more prone to introduce regressions, so I settled with this simpler solution of using the classes so I didn't have to pass around the radio or checkbox booleans.


How to configure web.external-uri

BUG/HELP
Version of Helm and Kubernetes:
[opc@sysops-control prometheus]$ helm version                                                                                Client: &version.Version{SemVer:"v2.12.2", GitCommit:"7d2b0c73d734f6586ed222a567c5d103fed435be", GitTreeState:"clean"}                                                        Server: &version.Version{SemVer:"v2.12.2", GitCommit:"7d2b0c73d734f6586ed222a567c5d103fed435be", GitTreeState:"clean"}
Which chart:
helm/prometheus
What happened:
Trying to configure --web.external-uri for use behind an nginx reverse proxy.
Using extraArgs but either a '--' is prefixed and or a '=' is suffixed.
For example if I modify line 553 in values.yaml
extraArgs: { "web.external-url=https://services.yellowdog.tech/prometheus/"}
It is added as the following by helm;
prometheus-server:                                                                                Container ID:  docker://b8d2c92a617a0a969e661564223ca0ac6403c388048f7138d51f4498298c0f6f                                                                                Image:         prom/prometheus:v2.6.1                                                                                Image ID:      docker-pullable://docker.io/prom/prometheus@sha256:acd95556f589764b00bf0eb46048ab1cdedc95b4fa380c29e911f61dab7ecc51                                            Port:          9090/TCP                                                                                Host Port:     0/TCP                                                                                Args:                                                                                --config.file=/etc/config/prometheus.yml                                                                                --storage.tsdb.path=/data                                                                                --web.console.libraries=/etc/prometheus/console_libraries                                                                                --web.console.templates=/etc/prometheus/consoles                                                                                --web.enable-lifecycle                                                                                --web.external-url=https://services.yellowdog.tech/prometheus/=
Notice the '--' prefix and '=' suffix'.
If I modify line 553 as;
extraArgs: { "web.external-url", "https://services.yellowdog.tech/prometheus/"}
I get the following in the logs;
prometheus: error: unknown long flag '--https://services.yellowdog.tech/prometheus/'
If I modify the template/prometheus-server;

--web.external-url=https://services.yellowdog.tech/prometheus/

It correctly applies the arg.
Additionally templates/server-deployment defines;
readinessProbe:                                                                                httpGet:                                                                                path: {{ .Values.server.prefixURL }}/-/ready                                                                                port: 9090                                                                                initialDelaySeconds: 30                                                                                timeoutSeconds: 30                                                                                livenessProbe:                                                                                httpGet:                                                                                path: {{ .Values.server.prefixURL }}/-/healthy                                                                                port: 9090                                                                                initialDelaySeconds: 30                                                                                timeoutSeconds: 30
So if .Values.server.prefixURL is not defined the URL's are;
Liveness:       http-get http://:9090/-/healthy delay=30s timeout=30s period=10s #success=1 #failure=3                                                                        Readiness:      http-get http://:9090/-/ready delay=30s timeout=30s period=10s #success=1 #failure=3
Based on the following in values.yaml;
The URL prefix at which the container can be accessed. Useful in the case the '-web.external-url' includes a slug                                                          ## so that the various internal URLs are still able to access as they are in the default case.                                                                                ## (Optional)                                                                                prefixURL: ""                                                                                ## External URL which can access alertmanager                                                                                ## Maybe same with Ingress host name                                                                                baseURL: ""
And the following in template/server-deployment;
{{- if .Values.server.baseURL }}                                                                                - --web.external-url={{ .Values.server.baseURL }}                                                                                {{- end }}
I configure values.yaml with;
baseURL: "https://services.yellowdog.tech/prometheus/"
But then the probes fail;
Normal   Created    2m (x2 over 3m)  kubelet, <IP_ADDRESS>  Created container                                                                                Normal   Started    2m (x2 over 3m)  kubelet, <IP_ADDRESS>  Started container                                                                                Warning  Unhealthy  2m (x4 over 3m)  kubelet, <IP_ADDRESS>  Readiness probe failed: HTTP probe failed with statuscode: 404                                                                                Normal   Pulled     2m (x3 over 3m)  kubelet, <IP_ADDRESS>  Container image "prom/prometheus:v2.6.1" already present on machine                                                                                Warning  Unhealthy  2m (x6 over 3m)  kubelet, <IP_ADDRESS>  Liveness probe failed: HTTP probe failed with statuscode: 404                                                                                Normal   Killing    2m (x2 over 2m)  kubelet, <IP_ADDRESS>  Killing container with id docker://prometheus-server:Container failed liveness probe.. Container will be killed and recreated.
What you expected to happen:
An understandable way to configure web.external-uri such that it works behind an nginx reverse proxy.
How to reproduce it (as minimally and precisely as possible):
Configure a nginx reverse proxy.
Set baseURL in values.yaml.
The server pod will be stuck in 1/2 as the liveness probe fails.
Anything else we need to know:

I'm hitting this issue as well...


Add 'Fetch' command to nudb tool

Might be useful for external tools/scripts (e.g. inserting data, retreiving data and asserting that it is the same).

This is great, but it would be even better as a pull request!

I can try, but I'm neither very deep into modern C++ nor boost at the moment, so don't expect anything great...

No worries, lets just design what such a feature might look like. How about
nudb fetch <dat-file> <key-file> <key>

Where <key> is a hexadecimal string?

Yeah, that's about what I would be expecting. The command would then print the data (probably also in Hex) or an error message.


Update README

Update README:
Additionally to published Jupyter Notebooks 1-10, add information to KNIME workflows and newest Jupyter Notebook 11. Update README structure.

[x] Update yml file (include only soft dependencies)
[x] Check that Binder is still working
[x] Add TeachOpenCADD logo
[x] Add topics figure to "Topics" section
[x] Add "Contact" section: Jupyter Notebooks, KNIME, contributions (contribute.volkamerlab.org)
[x] Add "License" section: Move license info here)
[x] Add "Citation" section: Add funders and bibtex citation
[x] Section "Topics", add 11 and add subsections "Cheminformatics" and "Structural bioinformatics"

@jaimergp @AndreaVolkamer @morgeral @t-kimber
Can you please have a quick check if you are ok with the updated README?

Looks great to me. Two small things:
The figures if taken from the manuscript should be referenced accordingly.
The citation information could be moved up a bit (before the installation instruction), so it will not be forgotten by the users.

well just oversaw that it's linked in the beginning, so forget about suggestion 2!

The figures if taken from the manuscript should be referenced accordingly.

Good point, thanks!
I removed the logo for now until it is officially published.
Regarding the topic overview figure, I added the reference to our first paper (as adaption from the more complex Figure 1).


Make formparameters

This library sits at a...subtle place. For encoding parameters, this works just as well for a form submit. For decoding, we want more permissive rules for a form, but not for data in a url.
Damn +.
So, probably a companion formparameters library wouldn't hurt. 0.2.0 does "the wrong thing" atm for + and that needs to be fixed. I realized after publishing, so i'll handle that soon

I am going to close this. Being more permissive in a url is...whatever. encodeURIComponent encodes + as %2B


Can I link script in body section, instead in head?

HI friend!
The documentation says:

Just insert the script resource tag right after the documents head:

Can I link the script not in the head section, but before the closing body tag? What problems can there be?

Hi, of course yes you can :)
https://github.com/nextapps-de/spotlight#preload-library--async-load-recommended


Understanding how to Create and Query Data in Cosmos DB

Proposed title of article
Understanding how to Create and Query Data in Cosmos DB
Introduction paragraph (2-3 paragraphs):
Cosmos DB is a document database that can be run in SQL API or MongoDB API modes. So, we can perform the different types of Query and can interact with the database at the grain of schema-free documents. Documents of a similar type are organized into a collection. In this article, we will discuss how to design documents or collection to fulfill the business requirements. Also, we will discuss how to use the SQL API to build applications that use these documents.
So, at the end of this article, the reader can be able to get an idea about the following points: The fundamental concept of document models in Azure Cosmos DB, partitioning collections in Azure Cosmos DB is a concept and query data in a Cosmos DB database using the SQL API
Key takeaways:

Overview of Documents and Collection with Relations
Documents Structure in the Document Database
Document System Generated Properties
Partitioning Collections in Cosmos DB
Perform Different Types of Queries on SQL-API Based Cosmos DB

References:
N/A

@mercie-nyakio
Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.


Changed LightGraphs to Graphs

LightGraphs.jl is now read-only, so as per #244 I changed all LightGraphs references to the new package, Graphs.jl.

@jarbus There are some dependency relying on GraphSignals, so I moved the PR to #234. It will be easier to resolve and will be merged after #234 is merged. Thank you.


[openstack] Add support for in-use snapshotting of openstack cinder volumes

We have a desire to take a volume snapshot of a cinder volume which is in use in our cluster.  I believe that there should be an annotation which can be placed on a VolumeSnapshot object to support this capability.
https://github.com/kubernetes-incubator/external-storage/pull/1033

closing in favor of kubernetes csi work
https://github.com/kubernetes-csi/drivers/tree/master/pkg/cinder


util polyfill does not include callbackify, promisify and other utilities

Hi there
Firstly, thanks for your work on this project! 🙂
It seems that the util polyfill is outdated and doesn't include callbackify. It would be awesome if you could add it or depend on node-util directly.
FWIW @remorses @ryanflorence I ended up discovering this because I use remix-run which uses @esbuild-plugins/node-modules-polyfill. Specifically web3.js uses callbackify somewhere in their codebase.
Here's the diff.
diff --git a/node_modules/rollup-plugin-node-polyfills/polyfills/util.js b/node_modules/rollup-plugin-node-polyfills/polyfills/util.js
index 2194380..a00ee54 100644
--- a/node_modules/rollup-plugin-node-polyfills/polyfills/util.js
+++ b/node_modules/rollup-plugin-node-polyfills/polyfills/util.js
@@ -18,6 +18,17 @@
 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
 // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
 // USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors ||
+  function getOwnPropertyDescriptors(obj) {
+    var keys = Object.keys(obj);
+    var descriptors = {};
+    for (var i = 0; i < keys.length; i++) {
+      descriptors[keys[i]] = Object.getOwnPropertyDescriptor(obj, keys[i]);
+    }
+    return descriptors;
+  };
+
 import process from 'process';
 var formatRegExp = /%[sdj%]/g;
 export function format(f) {
@@ -572,6 +583,54 @@ function hasOwnProperty(obj, prop) {
   return Object.prototype.hasOwnProperty.call(obj, prop);
 }

+function callbackifyOnRejected(reason, cb) {
+  // `!reason` guard inspired by bluebird (Ref: https://goo.gl/t5IS6M).
+  // Because `null` is a special error value in callbacks which means "no error
+  // occurred", we error-wrap so the callback consumer can distinguish between
+  // "the promise rejected with null" or "the promise fulfilled with undefined".
+  if (!reason) {
+    var newReason = new Error('Promise was rejected with a falsy value');
+    newReason.reason = reason;
+    reason = newReason;
+  }
+  return cb(reason);
+}
+
+export function callbackify(original) {
+  if (typeof original !== 'function') {
+    throw new TypeError('The "original" argument must be of type Function');
+  }
+
+  // We DO NOT return the promise as it gives the user a false sense that
+  // the promise is actually somehow related to the callback's execution
+  // and that the callback throwing will reject the promise.
+  function callbackified() {
+    var args = [];
+    for (var i = 0; i < arguments.length; i++) {
+      args.push(arguments[i]);
+    }
+
+    var maybeCb = args.pop();
+    if (typeof maybeCb !== 'function') {
+      throw new TypeError('The last argument must be of type Function');
+    }
+    var self = this;
+    var cb = function() {
+      return maybeCb.apply(self, arguments);
+    };
+    // In true node style we process the callback on `nextTick` with all the
+    // implications (stack, `uncaughtException`, `async_hooks`)
+    original.apply(this, args)
+      .then(function(ret) { process.nextTick(cb.bind(null, null, ret)) },
+            function(rej) { process.nextTick(callbackifyOnRejected.bind(null, rej, cb)) });
+  }
+
+  Object.setPrototypeOf(callbackified, Object.getPrototypeOf(original));
+  Object.defineProperties(callbackified,
+                          getOwnPropertyDescriptors(original));
+  return callbackified;
+}
+
 export default {
   inherits: inherits,
   _extend: _extend,
@@ -594,5 +653,6 @@ export default {
   inspect: inspect,
   deprecate: deprecate,
   format: format,
-  debuglog: debuglog
+  debuglog: debuglog,
+  callbackify: callbackify,
 }

This issue body was partially generated by patch-package.

also miss promisify

@giuseppeg I've created https://github.com/remorses/esbuild-plugins/pull/19 to update @esbuild-plugins/node-modules-polyfill (which is what we use in the Remix repo) to use @FredKSchott's rollup-plugin-polyfill-node instead.
Can you check out my PR & test out if that one's working for you?


Fix StopIteration Exception for django-bootstrap3 field without choices

When using ChainedModelChoiceField for a field which has no choices,
in conjunction with django-bootstrap3, a StopIteration Exception is
thrown while trying to identify the default empty label. This commit
adds a check for that situation and replaces the empty label with the
hardcoded default "--------"
This commit is the same functional diff as SerhiyRomanov@275c46098a4151a806652b885454310a9addfd05
for #198 but reapplied against current master.

Coverage decreased (-0.8%) to 88.696% when pulling 0ad817d1a2891241ba3d7e5a607b041267632fbb on optiz0r:pr198_rebase into 8289128b1e181d78ca931c3f75d8ce00a02fb691 on digi604:master.

Thanks!

Thanks for merging and bumping the version. Not a big deal, but just so you know, this has been mis-credited in the github release notes for 1.5.2. SerhiyRomanov and I independently fixed this in the same way, but I merely rebased his PR against master to get the fix merged in quicker. The release notes reference the wrong PR (#206 instead of #198/#208) and mix up Serhiy's full name with my github username.


AzureFunctionApp if deploying to a slot with auto-swap which fails, task returns successful

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzureFunctionAppV1
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/AzureFunctionAppV1
Environment

Azure Pipelines

Agent - Hosted

Issue Description
When you deploy to a function app staging slot that has auto-swap enabled, if that auto swap operation fails, the AzureFunctionAppV1 task either doesn't know or doesn't wait to see if auto-swap was successful and so the task returns green / successful event where a slot-swap failed. This should throw an error and stop the pipeline run if this errors.
Troubleshooting

configure a function app with a staging slot that has auto-swap enabled.
configure the staging slot with the follow app settings based on a function called healthcheck that just returns 200:
-WEBSITE_SWAP_WARMUP_PING_PATH /healthcheck -WEBSITE_SWAP_WARMUP_PING_STATUSES 500'
The above WEBSITE_SWAP_WARMUP_PING_STATUSES 500 will force a auto-swap to fail.
Run a deployment to the staging slot using YAML or classic and observe the slots swap fail in Azure Activity Log initiated by the SlotSwapJobProcessor and also observe the pipeline task succeed and go green which is should not do.

Is this still occuring ?

@20shivangi Yes, well its the fact that this task knows nothing about autoswap if that has been configured on a slot that this task is deploying to.
We have now reverted to using the AzureAppServiceManage@0 task now and turning autoswap off because we couldn't rely on the AzureFunctionApp task going green on the DevOps pipeline if the autoswap fails for whatever reason.

@ricohomewood Sorry for the late response. Are you still facing the issue ?

@20shivangi Yes indeed this still happens as a workaround we are no longer relying on the auto-swap feature and manually swapping using a different task.

It is great that workaround is working for you. We will check and work on auto-swap

since auto-swap is the feature provided by function apps. whenever you deploy to slot which has auto-swap enabled it will automatically swap app to destination slot.
since as task we just have info about target app where app needs to be deployed and not about slot where app will be swapped, its difficult for us to monitor that slot to check whether swap succeeded or not.
There are no APIs as well available currently to verify this.
Sorry to say but AzureAppServiceManage@0 is the solution currently to solve such scenarios


SRGAN upscaling by wrong amount

I am training an SRGAN model with 8x upscaling factor using an LQGT dataset. However the generator only upscales by a 4x factor.
Here is my config
  use_tb_logger: True
  model: srgan
  distortion: sr
  scale: 8
  gpu_ids: [0, 1, 2, 3]
  datasets:[
    train:[
      name: DIV2K
      mode: LQGT
      dataroot_LQ: path/to/my/data2.lmdb
      dataroot_GT: path/to/my/data.lmdb
      use_shuffle: True
      n_workers: 6
      batch_size: 32
      GT_size: 128
      use_flip: True
      use_rot: True
      color: RGB
      phase: train
      scale: 8
      data_type: lmdb
    ]
    val:[
      name: DIV2K
      mode: LQGT
      dataroot_LQ: another/path.lmdb
      dataroot_GT: path/to/data.lmdb
      phase: val
      scale: 8
      data_type: lmdb
    ]
  ]
  network_G:[
    which_model_G: RRDBNet
    in_nc: 3
    out_nc: 3
    nf: 64
    nb: 16
    upscale: 8
    scale: 8
  ]
  network_D:[
    which_model_D: discriminator_vgg_128
    in_nc: 3
    nf: 64
  ]
  path:[
    pretrain_model_G: network_configs/RRDB_PSNR_x4.pth
    strict_load: False
    resume_state: None
    experiments_root: /home/centos/init-scripts/mmsr-tissue-control/experiment
    root: /home/centos/init-scripts
    models: /home/centos/init-scripts/mmsr-tissue-control/experiment/models
    training_state: /home/centos/init-scripts/mmsr-tissue-control/experiment/training_state
    log: /home/centos/init-scripts/mmsr-tissue-control/experiment
    val_images: /home/centos/init-scripts/mmsr-tissue-control/experiment/val_images
  ]
  train:[
    lr_G: 0.0001
    weight_decay_G: 0
    beta1_G: 0.9
    beta2_G: 0.99
    lr_D: 0.0001
    weight_decay_D: 0
    beta1_D: 0.9
    beta2_D: 0.99
    lr_scheme: MultiStepLR
    niter: 400000
    warmup_iter: -1
    lr_steps: [50000, 100000, 200000, 300000]
    lr_gamma: 0.5
    pixel_criterion: l1
    pixel_weight: 0.01
    feature_criterion: l1
    feature_weight: 1
    gan_type: gan
    gan_weight: 0.005
    D_update_ratio: 1
    D_init_iters: 0
    manual_seed: 10
    val_freq: 5000.0
  ]
  logger:[
    print_freq: 100
    save_checkpoint_freq: 4000.0
  ]
  is_train: True
  dist: False

I added the following code to LQGT_dataset.py under SRGANModel.optimize_paramters: (starting at L140)
self.fake_H=self.netG(self.var_L)
print(self.var_L.shape)
print(self.fake_H.shape)

This yields the following output at train time
torch.Size([32, 3, 16, 16])
torch.Size([32, 3, 64, 64])

Is there a fix? Can someone help me shed light on this problem?

Thanks for using MMSR.
We will upgrade MMSR to MMEditing (in the same repo), which consists of SR, inpainting, matting and generation tasks.
And MMSR will be deprecated and no longer exist.
Your suggestions will be updated in MMEditing.


Improve python core module

This PR is part 1 of my effort to make our python bindings more intuitive to use. More PRs will follow whenever I find the time. This PR adds:

(more or less) meaningful docstrings to all classes, methods and attributes in core
__repr__ methods to all core primitives (e.g. print(linestring) now shows sth like LineString3d(0, [Point3d(0, 1, 0, 0), Point3d(1, 0, 1, 0)], AttributeMap({'subtype': 'de220'})) instead of useless garbage.
meaningful argument names so that e.g. lanelets can be initialized with kwargs: Lanelet(id, leftBound=left, rightBound=right)
More options to construct objects more easily with more __init__s
fixes for a few weird bugs e.g. assigning values to inner bounds of Areas did nothing

There are no real functional changes, no ones code should be broken, unless he relied on weird things, e.g. initalizing lanelets with Lanelet(arg1=id, arg2=left, arg3=right).

Thx for the quick review 👍 . I applied your suggestions so far.


Error at the import

Hello,
I'm trying to use this package and it seams to not work properly. I'm using LimeSurvey online version 5.6.8. When I import the file .ZIP in the Theme menu, this error pop up :

Is there a way to make it work?
Thank you!

Why are you trying to use a theme for LimeSurvey 6.x in your 5.x version? You need to use this - https://github.com/tpartner/LimeSurvey-Slider-Controls-5x

Please follow the instructions EXACTLY.

Thank you! I'll check it out! It work right now!


feature[v2]: adding documentation regarding authentication in metric scalers

This is related to https://github.com/kedacore/keda/pull/1137 . Authentication methods for metric scaler api has been added. Currently supported authModes are API key-based authentication, Basic Authentication and TLS authentication.
Relates to https://github.com/kedacore/keda/issues/1082
Relates to https://github.com/kedacore/keda/issues/1083
Relates to https://github.com/kedacore/keda/issues/1084
Signed-off-by: aman-bansal<EMAIL_ADDRESS>

I'll review it ASAP but can you update the trigger spec as well please?
https://github.com/kedacore/keda-docs/pull/260/files#diff-2079ef1d5bc7dbe2c2470f43d8749c87R18

I'll review it ASAP but can you update the trigger spec as well please?
https://github.com/kedacore/keda-docs/pull/260/files#diff-2079ef1d5bc7dbe2c2470f43d8749c87R18

Hey didn't get this part? Did it miss something in the documentation?

I've missed the implementation side of things but presume we do not only support authentication parameters but define it in https://github.com/kedacore/keda-docs/pull/260/files#diff-2079ef1d5bc7dbe2c2470f43d8749c87R19-R24 as well by using FromEnv for secrets and literal values such as authMode?

Just as an example @aman-bansal:
We currently have this sample:
apiVersion: v1
kind: Secret
metadata:
  name: keda-metric-api-secret
  namespace: default
data:
  authMode: "apiKeyAuth"
  apiKey: "APIKEY"
  method: "query"
  keyParamName: "QUERY_KEY"
---
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  name: keda-metric-api-creds
  namespace: default
spec:
  secretTargetRef:
    - parameter: authMode
      name: keda-metric-api-secret
      key: authMode
    - parameter: apiKey
      name: keda-metric-api-secret
      key: apiKey
    - parameter: method
      name: keda-metric-api-secret
      key: method
    - parameter: keyParamName
      name: keda-metric-api-secret
      key: keyParamName
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: http-scaledobject
  namespace: keda
  labels:
    deploymentName: dummy
spec:
  maxReplicaCount: 12
  scaleTargetRef:
    name: dummy
  triggers:
    - type: metrics-api
      metadata:
        targetValue: "7"
        url: "http://api:3232/components/stats"
        valueLocation: 'components.worker.tasks'
      authenticationRef:
        name: keda-metric-api-creds

But I'd expect to be able to define it like this:

apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  name: http-scaledobject
  namespace: keda
  labels:
    deploymentName: dummy
spec:
  maxReplicaCount: 12
  scaleTargetRef:
    name: dummy
  triggers:
    - type: metrics-api
      metadata:
        targetValue: "7"
        url: "http://api:3232/components/stats"
        valueLocation: 'components.worker.tasks'
        authMode: apiKeyAuth
        method: query
        keyParamName: QUERY_KEY
      authenticationRef:
        name: keda-metric-api-creds

Guys I am on leave for two weeks. Will be back next week. Will continue with this after that :)

@aman-bansal could you please update and rebase this PR? thanks!

metadata:
        targetValue: "7"
        url: "http://api:3232/components/stats"
        valueLocation: 'components.worker.tasks'
        authMode: apiKeyAuth
        method: query
        keyParamName: QUERY_KEY

Okay, so what I understand from this is only critical security params like username or password should be passed via auth params. Other parameters should use basic metadata map.
@tomkerkhove is my understanding correct?

metadata:
        targetValue: "7"
        url: "http://api:3232/components/stats"
        valueLocation: 'components.worker.tasks'
        authMode: apiKeyAuth
        method: query
        keyParamName: QUERY_KEY

Okay, so what I understand from this is only critical security params like username or password should be passed via auth params. Other parameters should use basic metadata map.
@tomkerkhove is my understanding correct?

Yes, TriggerAuthentication is only for secrets

@tomkerkhove I have updated the docs. Now, these changes require an update of the scaler itself. Here is the PR for that https://github.com/kedacore/keda/pull/1258

@tomkerkhove I have updated the docs. Now, these changes require an update of the scaler itself. Here is the PR for that kedacore/keda#1258

The PR is merged, I'll keep this PR for Tom's review.
Thanks @aman-bansal !


[Feature Request] Functions and Statistics accessible by other plugins like dataview

Hello,
i don't know how hard my request is but it would be great if there could be a small API that let's me use funtions like getWordCount(text) directly inside dataviewjs by loading the api with
const bwc = app.plugins.plugins["better-word-count"].api
so that we can use these functions on our tables and get the separate word counts of the files or lists.
it would also be good if we can access the vault statistics it is collecting that way. by now i haven't found a way to load them without directly using JSON methods. (or i just haven't found where it is loaded inside obsidian, if it get's loaded somewhere)
thanks for listening and i hope it isn't too hard to do. (i really have no idea how much work or how feasible it is)

I would love this feature.
+1 to this request.

I need this function


Update the user services to use the config management service

Once gh-53 is completed then the user services should only need to be configured to point it at a config management service for it to be able to initialise.

merged into develop


[DI] Properties with init accessors without "initializes" act as stored

Adjust DI to treat init accessor properties that have only 'accesses'
or no restrictions as if they are stored properties, this means that if
such property doesn't have a default initializer users would have to
reference it explicitly in their custom initializers.
We also need to suppress default init synthesis for such cases which
would be done in a followup commit.
Resolves: rdar://113401979

@swift-ci please test

@swift-ci please test macOS platform


[BUG][Flutter 3.13.0] ImageFilter Blur gets clipped

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
See code sample
Expected results
Blur shouldn't get clipped (working correctly in Flutter 3.10)
Actual results
Blur gets clipped (see screenshots)
Code sample
Code sample
import 'dart:ui';

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(title: 'Flutter Demo', home: StlessHomePage());
  }
}

class StlessHomePage extends StatelessWidget {
  const StlessHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Home Page')),
      body: Padding(
        padding: const EdgeInsets.all(12.0),
        child: ListView.separated(
          padding: EdgeInsets.zero,
          separatorBuilder: (context, index) => const SizedBox(height: 14),
          shrinkWrap: true,
          itemCount: 5,
          itemBuilder: (context, index) => ImageFiltered(
            imageFilter: ImageFilter.blur(sigmaX: 5, sigmaY: 5, tileMode: TileMode.decal),
            child: Text("item $index", style: const TextStyle(fontWeight: FontWeight.w900)),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Flutter 3.10.6 - Impeller
Flutter 3.13.0 - Impeller

Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.0, on macOS 13.4.1 22F770820d darwin-arm64, locale en-GB)
    • Flutter version 3.13.0 on channel stable at /Users/alexandrudochioiu/.asdf/installs/flutter/3.13.0-stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (2 days ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/alexandrudochioiu/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = /Users/alexandrudochioiu/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • A1A6A512-11DF-47F0-B0E6-30171868398B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.4.1 22F770820d darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 115.0.5790.170

[✓] Network resources
    • All expected network resources are available.

• No issues found!

FYI: @darshankawar (I think you look up similar issues before)

This issue seems to have been fixed on the latest master channel as I cannot reproduce it there.

Demo

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.0, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.13.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (25 hours ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.81.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.7.2 19H218
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 116.0.5845.96

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.14.0-8.0.pre.20, on macOS 13.5 22G74 darwin-x64, locale en-VN)
    • Flutter version 3.14.0-8.0.pre.20 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 45e464cb9d (79 minutes ago), 2023-08-20 21:57:22 -0400
    • Engine revision 8c7ce6ddde
    • Dart version 3.2.0 (build 3.2.0-89.0.dev)
    • DevTools version 2.26.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.5 22G74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 116.0.5845.96

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

I'll close this issue as fixed on the latest channels. If you still experience this issue, kindly leave a comment below and I will reopen this. Thank you!

@huycozy Thanks for looking into this. Any idea when/if this is expected to be fixed as a hotfix to flutter 3.13 ? Asking cause I do not know anything about how the releases work in flutter. Is master still 3.13? Or is it 3.14/later?

You can read about it here: https://github.com/flutter/flutter/wiki/Flutter-build-release-channels#will-a-particular-bug-fix-be-provided-in-a-hotfix-release (and whole that page for more info)

I had a look but I think this process is rather discouraging.
Figuring out how to create+build a local copy of Flutter and use it for my app, understand the branching structure and then find the commit addressing the issue seems like too much work for someone not accustomed to this project, wanting a fix cherry-picked.
Also I think most of flutter users wouldn't be experienced enough to do that even if they wanted.


TO: Should enumerate all origins separately in parent.config

The "dest_domain=." line catches too much -- ATS maintains health on each line in parent.config separately, so there is potential to affect more delivery services when a single origin is slow. Traffic Ops should enumerate each origin into its own line in parent.config

Do you have an example of what that should look like?  Comma separated?  And where does that list come from that gets assigned? A dropdown of Edges and Mids?

@mtorluemke Are you sure about this? I'm seeing events here that my Mids reaches the threshold, but they go down only for the specific origin (which is caught by the "."). Other DS are fine. The line in diags.log is deceiving.

@smalenfant only as sure as I've been convinced -- I don't think we have a lot of empirical data. Anything further you can share?

@dewrich all of the origins that have special requirements get enumerated already -- code to do that is 1025-1034 of lib/UI/ConfigFiles.pm in master. This change would be to expand that, and replace (remove?) lines 1049-1055 in the same file.
Also, today all mids in the cache group serve traffic for all delivery services, unlike at edge tier where you can assign specific edges to a given delivery service.

@mtorluemke I'm not against this change at all (even would like it if that would prevent my possible Mid marked down because on a single origin).
Will try to find some data in Splunk related to past event that we had with a single origin failure. It didn't seem to affect other services in the catch all, but will need to double verify. I remember hitting @jrushf1239k about this.
I'll I can say is I see this in the ATS debug logs which was in the catch all, there is a mention about the origin.
[Sep 14 16:59:22.107] Server {0x2b91c3e06700} DEBUG: (parent_select) Matched with 0x110d8f8 parent node from line 2
[Sep 14 16:59:22.107] Server {0x2b91c3e06700} DEBUG: (parent_select) config->FailThreshold = 10
[Sep 14 16:59:22.107] Server {0x2b91c3e06700} DEBUG: (parent_select) Selecting a down parent due to little failCount(faileAt:<PHONE_NUMBER> failCount: 1)
[Sep 14 16:59:22.107] Server {0x2b91c3e06700} DEBUG: (parent_select) Chosen parent = cdn1cdmid01.coxlab.net.80
[Sep 14 16:59:22.107] Server {0x2b91c3e06700} DEBUG: (parent_select) Result for origin.coxlab.net was parent cdn1cdmid01.coxlab.net:80
[Sep 14 17:00:23.173] Server {0x2b91c3e06700} DEBUG: (parent_select) Parent fail count increased to 2 for cdn1cdmid01.coxlab.net:80
[Sep 14 17:00:23.173] Server {0x2b91c3e06700} DEBUG: (parent_select) result->start_parent=1, num_parents=2
[Sep 14 17:00:23.173] Server {0x2b91c3e06700} DEBUG: (parent_select) config->FailThreshold = 10
[Sep 14 17:00:23.173] Server {0x2b91c3e06700} DEBUG: (parent_select) Selecting a down parent due to little failCount(faileAt: 0 failCount: 0)
[Sep 14 17:00:23.173] Server {0x2b91c3e06700} DEBUG: (parent_select) Chosen parent = cdn1cdmid02.coxlab.net.80


Enable typescript strict mode

There are a couple of types that have an optional undefined, enabling strict mode will help with handling them (also it will make sure that users of solid-start with strict mode enabled don't get those errors in their project)

Could you point out the specific ones so we could deal with them? Or make a PR?

Sure, I'll make a PR to use Typescript's ?. operator

I guess we are in good versions of node to do that. I have been avoiding ?. and ?? as it tends to break some tooling.

Update: when I enable strict mode [here](https://github.com/solidjs/solid-start/blob/main/packages/start/tsconfig.json], I get ~300 errors from tsc --noEmit. I've cut that down to about 56 that I'm manually working through

the following also produces errors in my tsconfig:
"strictNullChecks": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true

@modderme123 could you make a PR for what you have! I can work on top to get it to completion for strict mode

Just got back to this and after rebasing, it looks like you've got most of the initial errors. Only 2 files had any changes that still were valid for the current codebase and they'd be trivial to recreate


us/wa/king conform has no region attribute

Yay, my first contribution!  I want to dig deeper and learn to write better issues and help fix things, but I am still finding my way around.  Please point me in the right direction!
us/wa/king conform has no region attribute. If the source truly lacks a field for "state", could we create a function that hard-codes "WA" into a region property?  Seems pretty safe...
-Peter

@petershank Unfortunately at the moment we don't hardcode values. If values are missing it's up to the data consumer to backfill these values.


Publish lakeFS Hadoop FileSystem to Maven Central and to S3

Artifact coordinates: io.lakefs:hadoop-lakefs, similar to org.apache.hadoop:hadoop-aws.
Publish a stripped JAR to Maven Central (to be used as a dependency when building libraries) and an assembled JAR to S3 (to be loaded into Spark).

Everything done, including published snapshots.  Closing -- no point in leaving this open until "The Right Version" is published, that's a release not an issue.

Now published, too.


Slim3 Body opens a tempfile for each request

I've found that the response object creates the body by default from a tempfile, this means that for each request a tmpfile is created causing i/o.
wouldn't it be better to use:
$this->body = $body ? $body : new Body(fopen('php://memory', 'r+'));

by default instead?

https://github.com/slimphp/Slim/blob/3.x/Slim/Http/Response.php#L126 offending line

No. From the manual:

php://memory and php://temp are read-write streams that allow temporary data to be stored in a file-like wrapper. The only difference between the two is that php://memory will always store its data in memory, whereas php://temp will use a temporary file once the amount of data stored hits a predefined limit (the default is 2 MB).

i.e. for most cases Response's body uses memory, unless it's going to be too big, in which case it will drop to using a temporary file.

thx

As a sidenote php://temp is usually written to /tmp which is most of the time mounted as tmpfs which is stored in memory, and not disk. Your mileage may vary.

I'm caging my installations using apparmor, so I'm not using /tmp, however 2MB of html/xml/json/whatever output should be enough in most cases. On the other hand, exceeding this limit could result in a critical performance drop, especially on VMs where I/O is definitely a bottleneck.
Maybe some doc hints would be good, or a config switch?

We'd welcome a PR to Slim-Website :)

hehehe :D


6.0.0 and PHP 7.3.x

I updated to 6.0.0, but have run into some lingering issues regarding running PHP 7.3, where Ansible errors are popping up at the end of the build process. The CLI output is as follows:
TASK [geerlingguy.php-mysql : Install PHP MySQL dependencies (Debian).] ********
fatal: [project_name_here]: FAILED! => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"      install 'php7.3-mysql'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "rc": 100, "stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr_lines": ["E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages were automatically installed and are no longer required:\n  python-asn1crypto python-cffi-backend python-crypto python-cryptography\n  python-enum34 python-httplib2 python-idna python-ipaddress python-jinja2\n  python-markupsafe python-paramiko python-pkg-resources python-pyasn1\n  python-setuptools python-six python-yaml sshpass\nUse 'sudo apt autoremove' to remove them.\nThe following NEW packages will be installed:\n  php7.3-mysql\n0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.\nNeed to get 116 kB of archives.\nAfter this operation, 441 kB of additional disk space will be used.\nGet:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-mysql amd64 7.3.21-1+ubuntu18.04.1+deb.sury.org+1 [116 kB]\nFetched 116 kB in 0s (245 kB/s)\nSelecting previously unselected package php7.3-mysql.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 72783 files and directories currently installed.)\r\nPreparing to unpack .../php7.3-mysql_7.3.21-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...\r\nUnpacking php7.3-mysql (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...\r\nSetting up php7.3-mysql (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...\r\n\r\nCreating config file /etc/php/7.3/mods-available/mysqlnd.ini with new version\r\n\r\nCreating config file /etc/php/7.3/mods-available/mysqli.ini with new version\r\n\r\nCreating config file /etc/php/7.3/mods-available/pdo_mysql.ini with new version\r\nProcessing triggers for php7.3-fpm (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...\r\nJob for php7.3-fpm.service failed because the control process exited with error code.\r\nSee \"systemctl status php7.3-fpm.service\" and \"journalctl -xe\" for details.\r\ninvoke-rc.d: initscript php7.3-fpm, action \"restart\" failed.\r\n\u001b[0;1;31m*\u001b[0m php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager\r\n   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)\r\n   Active: \u001b[0;1;31mfailed\u001b[0m (Result: exit-code) since Sat 2020-08-15 00:44:20 UTC; 14ms ago\r\n     Docs: man:php-fpm7.3(8)\r\n  Process: 17430 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.3/fpm/pool.d/www.conf 73 (code=exited, status=0/SUCCESS)\r\n  Process: 17417 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf \u001b[0;1;31m(code=exited, status=78)\u001b[0m\r\n Main PID: 17417 (code=exited, status=78)\r\n\r\nAug 15 00:44:20 local systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...\r\nAug 15 00:44:20 local php-fpm7.3[17417]: [15-Aug-2020 00:44:20] ERROR: unable to bind listening socket for address '<IP_ADDRESS>:9000': Address already in use (98)\r\nAug 15 00:44:20 local php-fpm7.3[17417]: [15-Aug-2020 00:44:20] ERROR: FPM initialization failed\r\nAug 15 00:44:20 local systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mphp7.3-fpm.service: Main process exited, code=exited, status=78/n/a\u001b[0m\r\nAug 15 00:44:20 local systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mphp7.3-fpm.service: Failed with result 'exit-code'.\u001b[0m\r\nAug 15 00:44:20 local systemd[1]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mFailed to start The PHP 7.3 FastCGI Process Manager.\u001b[0m\r\ndpkg: error processing package php7.3-fpm (--configure):\r\n installed php7.3-fpm package post-installation script subprocess returned error exit status 1\r\nProcessing triggers for php7.3-cli (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...\r\nErrors were encountered while processing:\r\n php7.3-fpm\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages were automatically installed and are no longer required:", "  python-asn1crypto python-cffi-backend python-crypto python-cryptography", "  python-enum34 python-httplib2 python-idna python-ipaddress python-jinja2", "  python-markupsafe python-paramiko python-pkg-resources python-pyasn1", "  python-setuptools python-six python-yaml sshpass", "Use 'sudo apt autoremove' to remove them.", "The following NEW packages will be installed:", "  php7.3-mysql", "0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.", "Need to get 116 kB of archives.", "After this operation, 441 kB of additional disk space will be used.", "Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-mysql amd64 7.3.21-1+ubuntu18.04.1+deb.sury.org+1 [116 kB]", "Fetched 116 kB in 0s (245 kB/s)", "Selecting previously unselected package php7.3-mysql.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 72783 files and directories currently installed.)", "Preparing to unpack .../php7.3-mysql_7.3.21-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...", "Unpacking php7.3-mysql (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...", "Setting up php7.3-mysql (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...", "", "Creating config file /etc/php/7.3/mods-available/mysqlnd.ini with new version", "", "Creating config file /etc/php/7.3/mods-available/mysqli.ini with new version", "", "Creating config file /etc/php/7.3/mods-available/pdo_mysql.ini with new version", "Processing triggers for php7.3-fpm (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...", "Job for php7.3-fpm.service failed because the control process exited with error code.", "See \"systemctl status php7.3-fpm.service\" and \"journalctl -xe\" for details.", "invoke-rc.d: initscript php7.3-fpm, action \"restart\" failed.", "\u001b[0;1;31m*\u001b[0m php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager", "   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)", "   Active: \u001b[0;1;31mfailed\u001b[0m (Result: exit-code) since Sat 2020-08-15 00:44:20 UTC; 14ms ago", "     Docs: man:php-fpm7.3(8)", "  Process: 17430 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.3/fpm/pool.d/www.conf 73 (code=exited, status=0/SUCCESS)", "  Process: 17417 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf \u001b[0;1;31m(code=exited, status=78)\u001b[0m", " Main PID: 17417 (code=exited, status=78)", "", "Aug 15 00:44:20 local systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...", "Aug 15 00:44:20 local php-fpm7.3[17417]: [15-Aug-2020 00:44:20] ERROR: unable to bind listening socket for address '<IP_ADDRESS>:9000': Address already in use (98)", "Aug 15 00:44:20 local php-fpm7.3[17417]: [15-Aug-2020 00:44:20] ERROR: FPM initialization failed", "Aug 15 00:44:20 local systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mphp7.3-fpm.service: Main process exited, code=exited, status=78/n/a\u001b[0m", "Aug 15 00:44:20 local systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mphp7.3-fpm.service: Failed with result 'exit-code'.\u001b[0m", "Aug 15 00:44:20 local systemd[1]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mFailed to start The PHP 7.3 FastCGI Process Manager.\u001b[0m", "dpkg: error processing package php7.3-fpm (--configure):", " installed php7.3-fpm package post-installation script subprocess returned error exit status 1", "Processing triggers for php7.3-cli (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...", "Errors were encountered while processing:", " php7.3-fpm"]}

RUNNING HANDLER [geerlingguy.apache : restart apache] **************************

RUNNING HANDLER [geerlingguy.php : restart webserver] **************************

RUNNING HANDLER [geerlingguy.php : restart php-fpm] ****************************

PLAY RECAP *********************************************************************
kkonline                   : ok=145  changed=14   unreachable=0    failed=1    skipped=128  rescued=0    ignored=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I can get the build stood up by running vagrant reload --provision, but it stands up running PHP 7.4.9. This is true as well when I run vagrant halt followed by vagrant up, even though the config.yml file lists this:
php_version: "7.3"

To be sure I hadn't overlooked anything, I did the following:

Updated the config.yml file with the new additions to 6.0.0, double-checked all settings.
Updated Vagrant Box (2.0.10)
Updated Python (3.8.5)
Updated Ansible (2.9.11)
Updated Composer (1.10.10)
Updated VirtualBox (6.1.12)
Checked for updates to macOS(10.15.6)
Ran vagrant destroy followed by vagrant up

Ironically, the main reason I was updating Drupal VM to the latest was because of the PHP 7.4/7.3 issue I was experiencing in the older version.

Did find a workaround—in config.yml, changed the value in php_fpm_listen: "<IP_ADDRESS>:9000", to php_fpm_listen: "<IP_ADDRESS>:8000".
What's odd is that this only affects PHP 7.3 builds, not 7.4.

Can you run "systemctl status php7.3-fpm.service and see what errors it's saying are happening? Maybe there are two instances of php-fpm running or something strange like that. It could be a packaging issue with Ondrej's repos, or it could be a configuration issue caused by a change in config.yml.

Can you also check if you've overridden the php_mysql_package version in your configuration?

The default is set here: https://github.com/geerlingguy/ansible-role-php-mysql/blob/master/vars/Debian.yml#L2
And it looks like maybe you're installing two versions of the library (which installs two versions of PHP on the system). Also make sure you do a full vagrant destroy and rebuild, in case maybe you have an old Drupal VM installation that is getting extra PHP versions installed.

Thanks—
I ran systemctl status php7.3-fpm.service, which returned:
* php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor prese
   Active: active (running) since Thu 2020-08-20 02:53:43 UTC; 3 days ago
     Docs: man:php-fpm7.3(8)
  Process: 803 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php
 Main PID: 556 (php-fpm7.3)
   Status: "Processes active: 0, idle: 5, Requests: 325, slow: 0, Traffic: 0req/
    Tasks: 6 (limit: 2320)
   CGroup: /system.slice/php7.3-fpm.service
           |-  556 php-fpm: master process (/etc/php/7.3/fpm/php-fpm.conf)
           |-19583 php-fpm: pool www
           |-19584 php-fpm: pool www
           |-19585 php-fpm: pool www
           |-19586 php-fpm: pool www
           `-19588 php-fpm: pool www

I went ahead and reset to defaults in the config.yml file, and ran vagrant destroy and vagrant up
The build process got to this point and failed:
TASK [geerlingguy.php-mysql : Install PHP MySQL dependencies (Debian).] ********
fatal: [kkonline]: FAILED! => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"      install 'php7.3-mysql'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "rc": 100, "stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr_lines": ["E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following packages were automatically installed and are no longer required:\n  python-asn1crypto python-cffi-backend python-crypto python-cryptography\n  python-enum34 python-httplib2 python-idna python-ipaddress python-jinja2\n  python-markupsafe python-paramiko python-pkg-resources python-pyasn1\n  python-setuptools python-six python-yaml sshpass\nUse 'sudo apt autoremove' to remove them.\nThe following NEW packages will be installed:\n  php7.3-mysql\n0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.\nNeed to get 116 kB of archives.\nAfter this operation, 441 kB of additional disk space will be used.\nGet:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-mysql amd64 7.3.21-1+ubuntu18.04.1+deb.sury.org+1 [116 kB]\nFetched 116 kB in 0s (239 kB/s)\nSelecting previously unselected package php7.3-mysql.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 72783 files and directories currently installed.)\r\nPreparing to unpack .../php7.3-mysql_7.3.21-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...\r\nUnpacking php7.3-mysql (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...\r\nSetting up php7.3-mysql (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...\r\n\r\nCreating config file /etc/php/7.3/mods-available/mysqlnd.ini with new version\r\n\r\nCreating config file /etc/php/7.3/mods-available/mysqli.ini with new version\r\n\r\nCreating config file /etc/php/7.3/mods-available/pdo_mysql.ini with new version\r\nProcessing triggers for php7.3-fpm (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...\r\nJob for php7.3-fpm.service failed because the control process exited with error code.\r\nSee \"systemctl status php7.3-fpm.service\" and \"journalctl -xe\" for details.\r\ninvoke-rc.d: initscript php7.3-fpm, action \"restart\" failed.\r\n\u001b[0;1;31m*\u001b[0m php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager\r\n   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)\r\n   Active: \u001b[0;1;31mfailed\u001b[0m (Result: exit-code) since Sun 2020-08-23 23:08:52 UTC; 10ms ago\r\n     Docs: man:php-fpm7.3(8)\r\n  Process: 17523 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.3/fpm/pool.d/www.conf 73 (code=exited, status=0/SUCCESS)\r\n  Process: 17522 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf \u001b[0;1;31m(code=exited, status=78)\u001b[0m\r\n Main PID: 17522 (code=exited, status=78)\r\n\r\nAug 23 23:08:52 local systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...\r\nAug 23 23:08:52 local php-fpm7.3[17522]: [23-Aug-2020 23:08:52] ERROR: unable to bind listening socket for address '<IP_ADDRESS>:9000': Address already in use (98)\r\nAug 23 23:08:52 local php-fpm7.3[17522]: [23-Aug-2020 23:08:52] ERROR: FPM initialization failed\r\nAug 23 23:08:52 local systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mphp7.3-fpm.service: Main process exited, code=exited, status=78/n/a\u001b[0m\r\nAug 23 23:08:52 local systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mphp7.3-fpm.service: Failed with result 'exit-code'.\u001b[0m\r\nAug 23 23:08:52 local systemd[1]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mFailed to start The PHP 7.3 FastCGI Process Manager.\u001b[0m\r\ndpkg: error processing package php7.3-fpm (--configure):\r\n installed php7.3-fpm package post-installation script subprocess returned error exit status 1\r\nProcessing triggers for php7.3-cli (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...\r\nErrors were encountered while processing:\r\n php7.3-fpm\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following packages were automatically installed and are no longer required:", "  python-asn1crypto python-cffi-backend python-crypto python-cryptography", "  python-enum34 python-httplib2 python-idna python-ipaddress python-jinja2", "  python-markupsafe python-paramiko python-pkg-resources python-pyasn1", "  python-setuptools python-six python-yaml sshpass", "Use 'sudo apt autoremove' to remove them.", "The following NEW packages will be installed:", "  php7.3-mysql", "0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.", "Need to get 116 kB of archives.", "After this operation, 441 kB of additional disk space will be used.", "Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-mysql amd64 7.3.21-1+ubuntu18.04.1+deb.sury.org+1 [116 kB]", "Fetched 116 kB in 0s (239 kB/s)", "Selecting previously unselected package php7.3-mysql.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 72783 files and directories currently installed.)", "Preparing to unpack .../php7.3-mysql_7.3.21-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...", "Unpacking php7.3-mysql (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...", "Setting up php7.3-mysql (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...", "", "Creating config file /etc/php/7.3/mods-available/mysqlnd.ini with new version", "", "Creating config file /etc/php/7.3/mods-available/mysqli.ini with new version", "", "Creating config file /etc/php/7.3/mods-available/pdo_mysql.ini with new version", "Processing triggers for php7.3-fpm (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...", "Job for php7.3-fpm.service failed because the control process exited with error code.", "See \"systemctl status php7.3-fpm.service\" and \"journalctl -xe\" for details.", "invoke-rc.d: initscript php7.3-fpm, action \"restart\" failed.", "\u001b[0;1;31m*\u001b[0m php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager", "   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor preset: enabled)", "   Active: \u001b[0;1;31mfailed\u001b[0m (Result: exit-code) since Sun 2020-08-23 23:08:52 UTC; 10ms ago", "     Docs: man:php-fpm7.3(8)", "  Process: 17523 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.3/fpm/pool.d/www.conf 73 (code=exited, status=0/SUCCESS)", "  Process: 17522 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/php/7.3/fpm/php-fpm.conf \u001b[0;1;31m(code=exited, status=78)\u001b[0m", " Main PID: 17522 (code=exited, status=78)", "", "Aug 23 23:08:52 local systemd[1]: Starting The PHP 7.3 FastCGI Process Manager...", "Aug 23 23:08:52 local php-fpm7.3[17522]: [23-Aug-2020 23:08:52] ERROR: unable to bind listening socket for address '<IP_ADDRESS>:9000': Address already in use (98)", "Aug 23 23:08:52 local php-fpm7.3[17522]: [23-Aug-2020 23:08:52] ERROR: FPM initialization failed", "Aug 23 23:08:52 local systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mphp7.3-fpm.service: Main process exited, code=exited, status=78/n/a\u001b[0m", "Aug 23 23:08:52 local systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mphp7.3-fpm.service: Failed with result 'exit-code'.\u001b[0m", "Aug 23 23:08:52 local systemd[1]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mFailed to start The PHP 7.3 FastCGI Process Manager.\u001b[0m", "dpkg: error processing package php7.3-fpm (--configure):", " installed php7.3-fpm package post-installation script subprocess returned error exit status 1", "Processing triggers for php7.3-cli (7.3.21-1+ubuntu18.04.1+deb.sury.org+1) ...", "Errors were encountered while processing:", " php7.3-fpm"]}

RUNNING HANDLER [geerlingguy.apache : restart apache] **************************

RUNNING HANDLER [geerlingguy.php : restart webserver] **************************

RUNNING HANDLER [geerlingguy.php : restart php-fpm] ****************************

PLAY RECAP *********************************************************************
kkonline                   : ok=145  changed=14   unreachable=0    failed=1    skipped=128  rescued=0    ignored=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

I then, as a check, ran this again: vagrant@local:~$ systemctl status php7.3-fpm.service, which returned:
* php7.3-fpm.service - The PHP 7.3 FastCGI Process Manager
   Loaded: loaded (/lib/systemd/system/php7.3-fpm.service; enabled; vendor prese
   Active: failed (Result: exit-code) since Sun 2020-08-23 23:08:52 UTC; 28min a
     Docs: man:php-fpm7.3(8)
  Process: 17523 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php
  Process: 17522 ExecStart=/usr/sbin/php-fpm7.3 --nodaemonize --fpm-config /etc/
 Main PID: 17522 (code=exited, status=78)
lines 1-7/7 (END)

So, I reset the php_fpm_listen: "<IP_ADDRESS>:8000", and ran vagrant destroy and vagrant up, and the build is running OK.
Per the Ansible settings, where would this be modified? I have made no changes to DrupalVM code besides the config.yml, and cross-checked this against the new default.config.yml.

Hi All :)
I had a similar issue, for my Drupal 7 local environment I specified PHP 7.3, but provisioned was PHP 7.4.
I managed to fix the issue when I specified the box_version to 2.0.9.
config.vm.box_version = "2.0.9"

The version 2.10.0 has a problem with provisioned PHP 7.3.
Regards.

https://github.com/geerlingguy/ansible-role-php-versions/pull/51 should fix it.

If someone wants to patch it manually (or with composer-patches package) until there's a new release, here's a patch https://github.com/oxyc/drupal-vm/commit/cec3dd6487a7ab5f2b1d315044e512b3695070d1.patch

I did a workaround on my vagrant box to update the php version from 7.4 to 7.3. I manually changed the mapping like this:
cd /etc/alternatives/ ls -la | grep php (Check which version is mapped with php) sudo rm php sudo ln -s /usr/bin/php7.3 php (Add sym link for new version you need) sudo service apache2 restart
This fixed the php version for me to 7.3

@pranitjha Good that you found a solution. If you have to rebuild your VM though, will you have to repeat this process?

@charlieartist I did vagrant reload --provision and the changes didn't got reverted, so, It looks fine and I don't have to repeat the process.

@pranitjha Good. My real issues have come with major updates, when vagrant destroy followed by vagrant up is required. That can, at times, cause hours of aggravation.

Sorry about all this; I'm going to merge @oxyc's fix and that will be in the 6.0.1 version of Drupal VM. Leaving this open until I get the role tested, tagged, and merged.


Wrapping the lottie-player in a section tag makes it dissapperar

Wrapping the lottie-player in a section tag makes it dissapperar

To reproduce simply go to this page:
https://lottiefiles.com/interactivity
Replace the div with class md:w-1/2 text-center mx-auto  with a section tag and watch the animation disappear

The problem happens on wrodpress but is not really down to the section tag


Update release tests

Description

Cherry-pick of https://github.com/projectcalico/calico/pull/4122
Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit fc748250ddbee6756df096fe82ccfb97ce9d03cc
https://deploy-preview-4147--calico.netlify.app


fix: sign up problem

Related Issue
Closes: #618
Describe the changes you've made ✍

In UserRegistration.jsx,

a missing import is added.
the pin code is casted to number before sending it to the backend.

In .eslintrc.js

a property is added to avoid prop-type error from eslint

Additionally, I would like to mention that the documentation should be updated accordingly after adding new features ( e.g. pre-commit hooks, linting packages etc.) to avoid unexpected errors.

You say it, we do it.
New docs has been added, do raise an issue over it if something wrong is spotted


chore: Bump label-studio-converter version to 0.0.59

Hi @robot-ci-heartex!
This PR was created in response to a manual trigger of the release workflow here: https://github.com/HumanSignal/label-studio/actions/runs/10375063489.

We don't need this anymore; closing.


Release - more build targets

[ ]  macOS x86
[ ] macOS arm
[ ] windows arm

Maybe look into cross