audacity: 3.0.2 -> 3.1.3

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

https://bin.disroot.org/?6ef32d153f6cb2b3#4Y2jav5YWdBcwTZsuxA9FzGhcULDVy64S59ar3kA6T75

building '/nix/store/3iy5za6apc1pc3zf2yi756fbgs7kvssj-audacity-3.1.3.drv'...
unpacking sources
unpacking source archive /nix/store/ppc8m3hwj2nlk781kbgl1mlj42y0sbha-source
source root is source
patching sources
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/share/doc/Audacity -DCMAKE_INSTALL_INFODIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/include -DCMAKE_INSTALL_SBINDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/8d30avp4xj1w8krq7zax1mlxgs28663y-binutils-2.35.2/bin/ranlib -DCMAKE_AR=/nix/store/8d30avp4xj1w8krq7zax1mlxgs28663y-binutils-2.35.2/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/kqskyb8hii7glp5lr6lz43xfhrrb4m71-audacity-3.1.3 -Daudacity_use_ffmpeg=linked -DDISABLE_DYNAMIC_LOADING_FFMPEG=ON
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake-proxies/cmake-modules/conan.cmake:795 (message):
  Conan executable not found! Please install conan.
Call Stack (most recent call first):
  cmake-proxies/cmake-modules/conan.cmake:841 (conan_check)
  cmake-proxies/cmake-modules/AudacityDependencies.cmake:6 (conan_add_remote)
  CMakeLists.txt:175 (include)

-- Configuring incomplete, errors occurred!
See also "/build/source/build/CMakeFiles/CMakeOutput.log".
error: builder for '/nix/store/3iy5za6apc1pc3zf2yi756fbgs7kvssj-audacity-3.1.3.drv' failed with exit code 1;
       last 10 log lines:
       > CMake Error at cmake-proxies/cmake-modules/conan.cmake:795 (message):
       >   Conan executable not found! Please install conan.
       > Call Stack (most recent call first):
       >   cmake-proxies/cmake-modules/conan.cmake:841 (conan_check)
       >   cmake-proxies/cmake-modules/AudacityDependencies.cmake:6 (conan_add_remote)
       >   CMakeLists.txt:175 (include)
       >
       >
       > -- Configuring incomplete, errors occurred!
       > See also "/build/source/build/CMakeFiles/CMakeOutput.log".
       For full logs, run 'nix log /nix/store/3iy5za6apc1pc3zf2yi756fbgs7kvssj-audacity-3.1.3.drv'.

building '/nix/store/sf0y477p8j5985i5fafif24k9k0hj9ms-audacity-3.1.3.drv'...
unpacking sources
unpacking source archive /nix/store/ppc8m3hwj2nlk781kbgl1mlj42y0sbha-source
source root is source
patching sources
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/share/doc/Audacity -DCMAKE_INSTALL_INFODIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/include -DCMAKE_INSTALL_SBINDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/8d30avp4xj1w8krq7zax1mlxgs28663y-binutils-2.35.2/bin/ranlib -DCMAKE_AR=/nix/store/8d30avp4xj1w8krq7zax1mlxgs28663y-binutils-2.35.2/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/bksgla47kc0sg9ays01pl3vawah89zb2-audacity-3.1.3 -Daudacity_use_ffmpeg=loaded -DDISABLE_DYNAMIC_LOADING_FFMPEG=ON -Daudacity_conan_enabled=Off
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The ASM_NASM compiler identification is unknown
-- Didn't find assembler
-- Build Info:
--   Host System: Linux-5.10.81
--   Host System Name: Linux
--   Host System Processor: x86_64
--   Host System Version: 5.10.81
--   Host System Architecture: 64-bit
--
--   Compiler: /nix/store/7wn7xx8faqirzkvh5iwj26b024jzg09p-gcc-wrapper-10.3.0/bin/g++
--   Compiler Version: 10.3.0
--   Compiler Standard: 17
--   Compiler Standard Required: ON
--   Compiler Extensions:
--
--   Current Commit: unknown
--
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for __atomic_fetch_add_4 in atomic
-- Looking for __atomic_fetch_add_4 in atomic - found
-- Performing Test HAVE_MMX
-- Performing Test HAVE_MMX - Success
-- Performing Test HAVE_SSE
-- Performing Test HAVE_SSE - Success
-- Performing Test HAVE_SSE2
-- Performing Test HAVE_SSE2 - Success
-- Looking for 4 include files float.h, ..., string.h
-- Looking for 4 include files float.h, ..., string.h - found
-- Looking for assert.h
-- Looking for assert.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for fenv.h
-- Looking for fenv.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for byteswap.h
-- Looking for byteswap.h - found
-- Looking for memory.h
-- Looking for memory.h - found
-- Looking for stdbool.h
-- Looking for stdbool.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stdlib.h
-- Looking for stdlib.h - found
-- Looking for string.h
-- Looking for string.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for xmmintrin.h
-- Looking for xmmintrin.h - found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for bcopy
-- Looking for bcopy - found
-- Looking for fileno
-- Looking for fileno - found
-- Looking for flock
-- Looking for flock - found
-- Looking for fork
-- Looking for fork - found
-- Looking for fsync
-- Looking for fsync - found
-- Looking for ftruncate
-- Looking for ftruncate - found
-- Looking for getpagesize
-- Looking for getpagesize - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for gmtime
-- Looking for gmtime - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for lrint
-- Looking for lrint - found
-- Looking for lrintf
-- Looking for lrintf - found
-- Looking for lround
-- Looking for lround - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for memcpy
-- Looking for memcpy - found
-- Looking for memmove
-- Looking for memmove - found
-- Looking for mlock
-- Looking for mlock - found
-- Looking for pipe
-- Looking for pipe - found
-- Looking for posix_fadvise
-- Looking for posix_fadvise - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for strchr
-- Looking for strchr - found
-- Looking for waitpid
-- Looking for waitpid - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int8_t
-- Check size of int8_t - done
-- Check size of int16_t
-- Check size of int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of u_int16_t
-- Check size of u_int16_t - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of u_int32_t
-- Check size of u_int32_t - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of short
-- Check size of short - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of int
-- Check size of int - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of long
-- Check size of long - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Check size of float
-- Check size of float - done
-- Check size of double
-- Check size of double - done
-- Check size of long double
-- Check size of long double - done
-- Check size of loff_t
-- Check size of loff_t - done
-- Check size of off_t
-- Check size of off_t - done
-- Check size of off64_t
-- Check size of off64_t - failed
-- Check size of size_t
-- Check size of size_t - done
-- Check size of wchar_t
-- Check size of wchar_t - done
-- Check size of void*
-- Check size of void* - done
-- Found Python3: /nix/store/rppr9s436950i1dlzknbmz40m2xqqnxc-python3-3.9.9/bin/python3.9 (found version "3.9.9") found components: Interpreter
-- Checking for module 'zlib >= 1.2.11'
--   Found zlib , version 1.2.11
-- Using 'ZLIB' system library
-- Interface ZLIB::ZLIB:
        include:
        Libraries:
-- Checking for module 'expat >= 2.1.0'
--   Found expat , version 2.4.1
-- Using 'expat' system library
-- Interface expat::expat:
        include:
        Libraries:
wxWidgets_LIBRARIES=general;-L/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib;general;-pthread;general;-lwx_baseu-3.1;general;-lwx_gtk2u_core-3.1;general;-lwx_gtk2u_html-3.1;general;-lwx_gtk2u_qa-3.1;general;-lwx_baseu_xml-3.1;general;-lwx_baseu_net-3.1
wxWidgets_LIBRARY_DIRS=/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib
-- Using 'wxWidgets' system library
-- Checking for module 'lame >= 3.100'
--   No package 'lame' found
-- Using 'libmp3lame' system library
-- Checking for module 'id3tag >= 0.15.0b'
--   Found id3tag , version 0.15.1b
-- Using 'libid3tag' system library
-- Interface libid3tag::libid3tag:
        include:
        Libraries:
-- Checking for module 'mad >= 0.15.0b'
--   Found mad , version 0.15.1b
-- Using 'libmad' system library
-- Interface libmad::libmad:
        include:
        Libraries:
-- Using 'Ogg' system library
-- Using 'FLAC' system library
-- Using 'Opus' system library
-- Using 'Vorbis' system library
-- Using 'SndFile' system library
-- Using 'PortAudio' system library
-- Checking for module 'uuid'
--   Found uuid, version 2.37.2
-- Using 'libuuid' system library
-- Interface libuuid::libuuid:
        include:
        Libraries:
-- Using 'PortMidi' system library
-- ========== Configuring sqlite ==========
-- Using 'sqlite' local library
-- ========== Configuring vamp ==========
-- Using 'vamp' local library
-- ========== Configuring lv2 ==========
-- Using 'lv2' local library
-- Checking for module 'x11'
--   Found x11, version 1.7.2
-- Checking for module 'gtk+-2.0'
--   Found gtk+-2.0, version 2.24.33
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
-- Checking for module 'gtk+-3.0'
--   No package 'gtk+-3.0' found
-- Checking for module 'gtk+-x11-2.0'
--   Found gtk+-x11-2.0, version 2.24.33
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
-- Checking for module 'gtk+-x11-3.0'
--   No package 'gtk+-x11-3.0' found
-- Checking for module 'QtGui >= 4.4.0'
--   No package 'QtGui' found
-- Checking for module 'Qt5Widgets >= 5.1.0'
--   No package 'Qt5Widgets' found
-- ========== Configuring portsmf ==========
-- Using 'portsmf' local library
-- ========== Configuring sbsms ==========
-- Using 'sbsms' local library
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- ========== Configuring soundtouch ==========
-- Using 'soundtouch' local library
-- ========== Configuring twolame ==========
-- Using 'twolame' local library
wxWidgets_LIBRARIES=general;-L/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib;general;-pthread;general;-lwx_baseu-3.1;general;-lwx_gtk2u_core-3.1;general;-lwx_gtk2u_html-3.1;general;-lwx_gtk2u_qa-3.1;general;-lwx_baseu_xml-3.1;general;-lwx_baseu_net-3.1
wxWidgets_LIBRARY_DIRS=/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib
-- Found wxWidgets: general;-L/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib;general;-pthread;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_gtk2u_core-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_gtk2u_html-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_gtk2u_qa-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_baseu_xml-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_baseu_net-3.1.so (found version "3.1.3")
-- Trying to retrieve GTK version from general;-L/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib;general;-pthread;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_baseu-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_gtk2u_core-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_gtk2u_html-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_gtk2u_qa-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_baseu_xml-3.1.so;general;/nix/store/wpbpw1xnairqbhqf8kcx2png263dmd1w-wxwidgets-3.1.4/lib/libwx_baseu_net-3.1.so
-- Checking for module 'gtk+-2.0'
--   Found gtk+-2.0, version 2.24.33
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
Package fribidi was not found in the pkg-config search path.
Perhaps you should add the directory containing `fribidi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fribidi', required by 'pango', not found
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.70.1
-- Fixing up ZLib mess...
-- Found ZLIB: /nix/store/2ir9h7xny2jb5a7pl75mbn06ak069ccn-zlib-1.2.11/lib/libz.so (found version "1.2.11")
-- Looking for pa_jack.h
-- Looking for pa_jack.h - not found
-- Looking for pa_linux_alsa.h
-- Looking for pa_linux_alsa.h - found
-- ========== Configuring manual ==========
-- ========== Configuring images ==========
-- ========== Configuring lib-string-utils ==========
-- ========== Configuring lib-strings ==========
-- ========== Configuring lib-utility ==========
-- ========== Configuring lib-uuid ==========
-- ========== Configuring lib-components ==========
-- ========== Configuring lib-basic-ui ==========
-- ========== Configuring lib-exceptions ==========
-- ========== Configuring lib-preferences ==========
-- ========== Configuring soxr ==========
-- Using 'soxr' local library
-- Trying SIMD32 C flags:
-- Performing Test DETECT_SIMD32_C_FLAGS
-- Performing Test DETECT_SIMD32_C_FLAGS - Success
-- Found SIMD32:
-- ========== Configuring lib-math ==========
-- ========== Configuring lib-files ==========
-- ========== Configuring lib-registries ==========
-- ========== Configuring lib-xml ==========
-- ========== Configuring lib-audio-devices ==========
-- ========== Configuring lib-project ==========
-- ========== Configuring lib-screen-geometry ==========
-- ========== Configuring lib-project-rate ==========
-- ========== Configuring lib-ffmpeg-support ==========
-- ========== Configuring lib-theme ==========
-- ========== Configuring locale ==========
-- ========== Configuring Audacity ==========
CMake Error at src/CMakeLists.txt:41 (file):
  file problem touching file: /build/source/build/src/private/RevisionIdent.h

-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Using precompiled headers
-- ========== Configuring mod-script-pipe ==========
-- ========== Configuring mod-null ==========
-- ========== Configuring mod-nyq-bench ==========
-- ========== Configuring nyquist ==========
-- ========== Configuring plug-ins ==========
-- ========== Configuring minsrc ==========
-- Configuring incomplete, errors occurred!
See also "/build/source/build/CMakeFiles/CMakeOutput.log".
See also "/build/source/build/CMakeFiles/CMakeError.log".
error: builder for '/nix/store/sf0y477p8j5985i5fafif24k9k0hj9ms-audacity-3.1.3.drv' failed with exit code 1;

@leahneukirchen @veprbl any clue on that? i tried adding a variable, creating the directory in preBuild, ... to no avail.

and I packaged libsbsms_2_3_0, so if anyone has any clue on detaching libsbms from audacity, go ahead.

I'd go for
    "-DAUDACITY_REV_LONG=nixpkgs"
    "-DAUDACITY_REV_TIME=nixpkgs"

@veprbl that worked! thanks! now
this doesn't start
$ ./result/bin/audacity
./result/bin/audacity: error while loading shared libraries: lib-uuid.so: cannot open shared object file: No such file or directory

this one does, but has some issues like not finding ffmpeg...
$ ./result/audacity

(process:1087710): Gdk-CRITICAL **: 10:55:49.291: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(process:1087710): Gdk-CRITICAL **: 10:55:49.292: _gdk_pixmap_new: assertion '(drawable != NULL) || (depth != -1)' failed
./src/gtk/bitmap.cpp(827): assert ""IsOk()"" failed in ConvertToImage(): invalid bitmap
./src/common/image.cpp(2172): assert ""IsOk()"" failed in SetMaskColour(): invalid image
./src/common/image.cpp(2223): assert ""IsOk()"" failed in SetMask(): invalid image
./src/common/image.cpp(1853): assert ""IsOk()"" failed in GetWidth(): invalid image
./src/common/image.cpp(1860): assert ""IsOk()"" failed in GetHeight(): invalid image
./src/common/image.cpp(2112): assert ""IsOk()"" failed in GetAlpha(): invalid image
./src/common/image.cpp(2232): assert ""IsOk()"" failed in HasMask(): invalid image
./src/common/image.cpp(1986): assert ""IsOk()"" failed in GetData(): invalid image

(process:1087710): GdkPixbuf-CRITICAL **: 10:55:49.294: gdk_pixbuf_new_from_data: assertion 'data != NULL' failed

(process:1087710): Gdk-CRITICAL **: 10:55:49.294: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(process:1087710): Gdk-CRITICAL **: 10:55:49.294: IA__gdk_drawable_get_display: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(process:1087710): Gdk-CRITICAL **: 10:55:49.294: IA__gdk_cursor_new_from_pixbuf: assertion 'GDK_IS_DISPLAY (display)' failed

(process:1087710): GLib-GObject-CRITICAL **: 10:55:49.295: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

$ ./result/bin/audacity
./result/bin/audacity: error while loading shared libraries: lib-uuid.so: cannot open shared object file: No such file or directory

For that I'd look at the output of ldd ./result/bin/audacity

$ ./result/bin/audacity
./result/bin/audacity: error while loading shared libraries: lib-uuid.so: cannot open shared object file: No such file or directory

For that I'd look at the output of ldd ./result/bin/audacity

	lib-uuid.so => not found
	lib-screen-geometry.so => not found
	lib-project-rate.so => not found
	lib-ffmpeg-support.so => not found
	lib-theme.so => not found
	lib-audio-devices.so => not found
	lib-project.so => not found
	lib-registries.so => not found
	lib-xml.so => not found
	lib-string-utils.so => not found
	lib-math.so => not found
	lib-files.so => not found
	lib-exceptions.so => not found
	lib-preferences.so => not found
	lib-utility.so => not found
	lib-components.so => not found
	lib-basic-ui.so => not found
	lib-strings.so => not found

@Infinisil tested and works. thank you! just got some warnings. it is ready to be merged. cc @mweinelt @veprbl
$ ./result/bin/audacity

(process:23343): Gdk-CRITICAL **: 12:05:17.854: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(process:23343): Gdk-CRITICAL **: 12:05:17.855: _gdk_pixmap_new: assertion '(drawable != NULL) || (depth != -1)' failed
./src/gtk/bitmap.cpp(827): assert ""IsOk()"" failed in ConvertToImage(): invalid bitmap
./src/common/image.cpp(2172): assert ""IsOk()"" failed in SetMaskColour(): invalid image
./src/common/image.cpp(2223): assert ""IsOk()"" failed in SetMask(): invalid image
./src/common/image.cpp(1853): assert ""IsOk()"" failed in GetWidth(): invalid image
./src/common/image.cpp(1860): assert ""IsOk()"" failed in GetHeight(): invalid image
./src/common/image.cpp(2112): assert ""IsOk()"" failed in GetAlpha(): invalid image
./src/common/image.cpp(2232): assert ""IsOk()"" failed in HasMask(): invalid image
./src/common/image.cpp(1986): assert ""IsOk()"" failed in GetData(): invalid image

(process:23343): GdkPixbuf-CRITICAL **: 12:05:17.856: gdk_pixbuf_new_from_data: assertion 'data != NULL' failed

(process:23343): Gdk-CRITICAL **: 12:05:17.856: IA__gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed

(process:23343): Gdk-CRITICAL **: 12:05:17.856: IA__gdk_drawable_get_display: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(process:23343): Gdk-CRITICAL **: 12:05:17.856: IA__gdk_cursor_new_from_pixbuf: assertion 'GDK_IS_DISPLAY (display)' failed

(process:23343): GLib-GObject-CRITICAL **: 12:05:17.856: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

I'm working on fixing the darwin build, will --force-with-lease push when I got it working

I pushed some darwin fixes, but I couldn't continue due to the build requiring a more recent macOS version than my local MacBook Air supports. I can try to fix it some more if there's an error from CI, or it might just work :)

Hmm, I'm not sure what's up with the current darwin failure. Unless someone happens to know what the problem is and can fix it, I'm inclined to just merge it for now. There's a chance that the failure only happens in ofborg though, we don't really have a clear error message

@infinisil
for x86_64, seems related?

https://github.com/audacity/audacity/issues/2210
https://github.com/audacity/audacity/pull/2492

So I tried adding that commit as a patch to no avail. I just marked darwin as broken. I agree to merge.


esp_wifi_connect() fails at boot (IDFGH-5628)

We have a few systems in the field that are randomly failing esp_wifi_connect() (which is insidehttps://github.com/espressif/esp32-wifi-lib/tree/a037ea80b03b3253a17fb59ec63350720ee72ce8 so I cannot debug any more).
Unfrotunately, I don't have a way to reproduce and I don't have the exact return error (only "non zero").  All I know for now is that esp_wifi_connect() is not returning ESP_OK.
This happens on version 4.2.0. I will try and send the customer a version based on 4.3.
How should I aproach in debugging this issue? the devices connected to the network before (ehm... they got OTA'ed and then fail).
Sorry about the lack of details. I am also asking - what more details can I provide?

FYI, the example codes removed checking return value of  esp_wifi_connect()
https://github.com/espressif/esp-idf/commit/c260c223e979c2604806cb585064e4fcfe80fdba#diff-4de2b17b2c681cc1921bb3ebf820735f4fdbbde4da35790b99c5db9948bcf38f

Hi @DiegoActionItem , Can you provide some logs？

We are investigating other causes for this fault (a new internal version, with v4.4). I will re-open if this issue re-accurs.


Add Classifications tree.

Open source the implementation of classifications tree.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


enabling -USEALLAVAILABLECORES

can't get this to work -USEALLAVAILABLECORES
i have tried arkflag_useallavailablecores
ark_USEALLAVAILABLECORES
but says command not found?

https://github.com/FezVrasta/ark-server-tools#global-configuration
Try arkflag_USEALLAVAILABLECORES=true

hmm no errors let me check logs

hmmm [2016.07.09-14.34.33:040][  0]Commandline:  TheIsland?AllowFlyerCarryPVE=true?DifficultyOffset=4?EnableExtraStructurePreventionVolumes=true?ForceAllStructureLocking=true?GameModIds=679529026,670764308,658112994,695998908,670764308,510854250,668032387,719928795,536214294,708807240?MaxPlayers=70?Port=7777?PreventOfflinePvP=true?PreventOfflinePvPInterval=60.0?PvPDinoDecay=true?PvPStructureDecay=true?QueryPort=27015?RCONEnabled=True?RCONPort=32330?ServerAdminPassword=********?ServerPassword?ShowFloatingDamageText=true?bRawSockets?bUseVSync=1?lowmemory?usecache?listen -ForceAllowCaveFlyers -USEALLAVAILABLECORES [2016.07.09-14.34.33:040][  0]Full Startup: 84.77 seconds (BP compile: 0.00 seconds) [2016.07.09-14.34.33:040][  0]Number of cores 1 still only using 1 core

See https://forums.unrealengine.com/showthread.php?62272-Linux-Server-multi-core-thread-support
If Wildcard is doing everything on the game thread, then the game server will only ever use one core, and asking it to use multiple cores will do nothing.

I can confirm it does not work with servers, I tried it about 3 weeks ago,  no difference in behavior or cpu usage with approx 30 players online.  It's a client only option.

There is no way to run Linux ARK server on multicore sytem today? It use only 1 core (100% of one or equivalent 10-25% of all cores but not more than 100% of one....)


v0.14.0 removed datepickerConfig. Docs still has reference to it.

The angular bootstrap docs says:

Datepicker Settings
All settings can be provided as attributes in the datepicker or globally configured through the datepickerConfig.

Although in version 0.14.0 datepickerConfig is not available anymore.
Please see the error on devTools in this plunker:

Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:unpr] Unknown provider: datepickerConfig

I noticed <datepicker> still works, but it logs a warning "it's deprecated".
Do you intend to maintain backward compatibility with datepickerConfig also,
or the documentation is wrong and I must use the new uibDatepickerConfig ?

In this case, the documentation is wrong - we are using the uib prefix for all constants

@wesleycho, great! It's what I thought.

Just updated the live docs, should be fixed there.

Please see https://github.com/angular-ui/bootstrap/pull/4575#issuecomment-147211519


fix: support old Rust versions

While preparing to submit prqlr to CRAN, I noticed that prql-compiler 0.4.0 could not be built on older Rust versions.
The CRAN builders and the R-universe builders that emulate them do not yet support let-else on Linux because they use the distribution standard Rust.
Fortunately, there seemed to be quite a few things that needed to be changed, so I made the changes and am testing to see if the build succeeds by referencing this branch.
I do not want this branch merged because I think the developer experience will be degraded if let-else is not available.
I simply wanted to have the changes I made recorded in the form of a Pull Request.

I was quite excited when I discovered this syntactic sugar, because it simplified quite a few code blocks. But it's not a big burden to merge this, especially knowing that once CRAN builders & Debian support let-else, we can revert this commit by running clippy with this lint.
So if this is the only obstacle which blocks releasing to CRAN, we can merge and lower MSRV.
Btw, do you know which rust version are they using?

Thanks for the reply!
Sorry, I am not sure of the exact Rust version. Probably 1.63 on Debian (testing)?
R-universe is 1.61 on Ubuntu 22.04.
However, when I submitted prqlr a month ago (eitsupi/prqlr#26) and was rejected[^1], they were able to build prql-compiler v0.3.1 without any problems.
So I assume there are no other compatibility issues other than this.
[^1]: Because I violated the CRAN policy by writing the cargo cache to the builder's home directory. I've now fixed the Makefile to fix the problem.

If they are using 1.61 (May 2022) and let-else was released in 1.65 (November 2022), let's hope that in half a year, they will upgrade to 1.65.

For now, I pushed 996a783b56186c3711e065a5b347e6489155085e to be able to install from GitHub. This should at least make the R-universe build work.......

Ah, we are also using workspace inheritance quite a lot. @max-sixty are we willing to sacrifice it for support of 1.61.0?

Thanks to changes on this branch, the builds for R-universe (Rust 1.61 on ubuntu:jammy Docker container) succeeded.
https://eitsupi.r-universe.dev/ui#package:prqlr

The build for Windows failed, but this is the same as for prql-compiler 0.3.1 and has nothing to do with this issue (still unknown cause......).
Except that I'm not happy that the source code uses my fork's URL instead of this repository (the old Cargo seems to have no choice but to use my fork's URL to refer to commits on this PR......), so I figure maybe I can submit this to CRAN.
https://github.com/eitsupi/prqlr/blob/0a59c952c948fdfd824bdad18a9f3ecdae2413e0/src/rust/Cargo.toml#L13

I'm happy to extend our supported versions beyond n-1 going forward (defined here) — the new features are often nice, but not revolutionary...
Rolling back the workspace versioning would be quite a dreary task, so if we can avoid it, that would be very preferable. But if we really have to, 🫡 ! (and it's not difficult per se, would just be dreary work). Do we need to roll back to get this working or are we OK?
FWIW I've seen some vigorous debate in the rust about this; I can find the threads if anyone is interested (I remember @matklad giving some thoughtful commentary). Consensus seems to increasingly be that only supporting latest is reasonable, but by no means unanimous.
One issue to consider is that we are at the mercy of dependencies, and it's not considered a breaking change to increasing the min version. And we have no tests that we build at anything but the version in our rust-toolchain.toml. We could add a test for the version in our Cargo.toml — which is currently incorrect at 1.60. Would that be helpful?

cargo msrv tells me that:

our msrv is 1.65.0, because if let-else and workspace inheritance,
if we revert that, we could probably support 1.60.0

Our dependencies support is such:
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ 1.56.0 ┆ unsafe-libyaml, indexmap, sqlformat, pest_derive,     │
│        ┆ pest, once_cell, hashbrown, pest_generator, pest_meta │
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ 1.57.0 ┆ os_str_bytes                                          │
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ 1.58.0 ┆ serde_yaml                                            │
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ 1.60.0 ┆ prqlc, prql-compiler, clap_lex                        │
├╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ 1.64.0 ┆ clap, clap_derive                                     │
└────────┴───────────────────────────────────────────────────────┘

Fortunately, os_str_bytes, serde_yaml, clap_lex, clap & clap_derive are not dependencies of prql-compiler (but only the cli), so 1.56.0 is the minimum we could support.
As I said, I do think we could live a 6 months old Rust, if this means we can support CRAN.

Added to CI: https://github.com/PRQL/prql/pull/1566

So it sounds like there's some initial consensus on running at whatever CRAN allows. (And I'm guessing "upgrade rust" is not allowed in the build steps!)
Is there consensus on pausing upgrades and letting us catch up, rather than downgrading now?
@eitsupi are there any references we can link to for their policy?

Yeah, pause is ok too.
In this case this PR can remain until CRAN catches up to 1.65.0.

I really appreciate you considering this.

Rolling back the workspace versioning would be quite a dreary task, so if we can avoid it, that would be very preferable. But if we really have to, 🫡 ! (and it's not difficult per se, would just be dreary work). Do we need to roll back to get this working or are we OK?

If I understand correctly, this is not a problem when installing packages from crates.io, right?
If so, and if it is possible to install from crates.io, then installing from GitHub should not be a problem even if it does not work.

are there any references we can link to for their policy?

CRAN build machines can be found here. Linux machines are Fedora and Debian.
https://cran.r-project.org/web/checks/check_flavors.html
Fedora seems to be quickly getting Rust releases in, while Debian testing seems to be about 3 or 4 months behind.
https://src.fedoraproject.org/rpms/rust
https://tracker.debian.org/pkg/rustc
So perhaps a 4 month old version of Rust (3 releases ago?) would seem to be able to successfully build on the CRAN builder.
When I look into Ubuntu LTS, used on the R-universe, it appears to be lagging behind by up to 8 months, since it is only updated about once every 4 months and the release frequency is also about once every 4 months.
However, since R-universe is configured to replicate the CRAN builder as closely as possible, it is possible to negotiate to have the Rust installation method changed in the future to be closer to the Rust version on the CRAN builder.

So perhaps a 4 month old version of Rust (3 releases ago?) would seem to be able to successfully build on the CRAN builder.

Great, let's do that. So we'll be on 1.65 until 1.69 comes out, and which point we'll upgrade to 1.66

If I understand correctly, this is not a problem when installing packages from crates.io, right?

I think that's right. If so, we can release to CRAN by either a) merging this to roll back the if else or b) release this branch.
Then we have a month of manual oversight to avoid re-introducing any new language features before our rule catches up with 1.65 and we're on automated checks again.
Does that make sense to everyone?

I submitted prqlr that installs 2513cfe7e1929398ca935f88a1548492331d2273 (https://github.com/eitsupi/prqlr/blob/a76602e9809f9ffb6a04de87e359818e7680291c/src/rust/Cargo.toml#L14-L15) to CRAN this morning, and it appears to have been accepted!
The interval between submissions to CRAN should be no less than one month, so the next submission could coincide almost with the time when the Debian Rust version reaches 1.65.
So perhaps even without merging this branch, if the main stay with Rust 1.65, I can switch prqlr to installing from crates.io in the next CRAN release.

Super @eitsupi ! Thanks for pushing that through.
Let me know if there's anything I can do. You're welcome to leave the PR open or close it and then reopen if needed.

Can I keep this open until prqlr can switch to installing prql-compiler from crates.io?
I will not be submitting to CRAN for a while, but may do some works on this branch for builds on R-universe to keep up with the prql-compiler version upgrades.

Contrary to expectations, the Rust version of Debian testing is still 1.63!
It is almost a month since the last submission and I would like to submit a new prqlr, but obviously I need to update this branch and continue installing from this branch......

We'll freeze on 1.65 until it catches up! Even if it takes longer than we expected...

Thanks!
For now, I will submit prqlr 0.2.0 configured to install prql-compiler 0.5.1 from this branch.

prql 0.2.0 installs c9a123336417629ffda8b435a11110bf1180d42d is now on CRAN.

prqlr 0.3.0, based on cf4603d78bc471862379a8681ea6ade6accf45c6, is now on CRAN.

Hmmm......Due to the stuck Rust version of Debian, the time has come to update to 1.66 before it can be built on Debian default Rust....... (#2478)
It seems I still need to continue to maintain this branch to build prqlr.......

As long as Debian is slightly behind, happy to wait — we can push the requirement to latest+4!
If Debian is locked forever on 1.5x, then I guess we need to move on, but surely that's not the case?

Thanks!

If Debian is locked on 1.5x for a long time, then I guess we need to move on, but surely that's not the case?

Looking at https://tracker.debian.org/pkg/rustc, Debian testing's Rust version was bumped to 1.63 at 2022-12-13.
It has not been updated in the four months since then......
Debian experimental, which is upstream of testing (experimental -> unstable -> testing -> stable), is currently at 1.65 and work appears to be underway to update it to 1.66.
https://salsa.debian.org/rust-team/rust/-/merge_requests/24
I am not sure why no updates have come down from experimental to testing for such a long period.
Looking at the history, it seems that Rust 1.59 took 3 months to come down from experimental to testing. (2022-03-30 -> 2022-06-26)
experimental became 1.65 in March, so will testing become Rust 1.65 in June???

prqlr 0.4.0 which installs from prql-compiler 0.8.1 from a384174 was released on CRAN.

It appears that Debian's Rust upgrade process is underway.
Hopefully soon Debian testing will get rustc 1.65 and I can close this PR.......

https://tracker.debian.org/pkg/rustc

@eitsupi should we close this now?

I was thinking of waiting until prqlr 0.5.0 is released, but since I don't think it will probably be rejected because of the Rust version, I don't see a problem with closing this now.


Regions: An extension for saving and loading worlds

Regions will allow users to quickly and easily store level data.

Cancelled in favor of Structures.


⚠ Bofrost.es has degraded performance

In ccd4020, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1563 ms

Resolved: Bofrost.es performance has improved in d067d9e after 13 minutes.


Snapshots needs to be re-generated

It seems the Stax/Flex snapshots are not correct, as seens during speculos tests:
FAILED tests/test_pubkey_cmd.py::test_get_public_key_confirm_accepted[stax] - AssertionError: Screen does not match golden /home/runner/work/ledger-app-workflows/ledger-app-workflows/tests/snapshots-tmp/stax/test_get_public_key_confirm_accepted/00001.png.
FAILED tests/test_pubkey_cmd.py::test_get_public_key_confirm_refused[stax] - AssertionError: Screen does not match golden /home/runner/work/ledger-app-workflows/ledger-app-workflows/tests/snapshots-tmp/stax/test_get_public_key_confirm_refused/00001.png.

Closed by #72


Add Feature that makes the cap still give reward but exponentially less

The equation produced a exponential degrading curve that reduced income exponentially the factor controls the rate

Removed the double up!


Solve the problem that Span cannot be closed normally when Http.Client is a singleton

As the title says

Codecov Report

Merging #74 into master will decrease coverage by 2.53%.
The diff coverage is 63.15%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
- Coverage   69.79%   67.26%   -2.54%
==========================================
  Files          14       13       -1
  Lines         682      559     -123
==========================================
- Hits          476      376     -100
+ Misses        165      149      -16
+ Partials       41       34       -7

Impacted Files
Coverage Δ

span.go
100.00% <ø> (ø)

trace_opts.go
30.76% <0.00%> (-69.24%)
:arrow_down:

trace.go
78.35% <61.53%> (-4.99%)
:arrow_down:

plugins/http/client.go
48.78% <100.00%> (+2.94%)
:arrow_up:

plugins/http/server.go
50.00% <100.00%> (+3.84%)
:arrow_up:

sampler.go
100.00% <100.00%> (ø)

span_opts.go
100.00% <100.00%> (ø)

noop.go
66.66% <0.00%> (-19.05%)
:arrow_down:

propagation/propagation.go
62.50% <0.00%> (-3.54%)
:arrow_down:

reporter/grpc.go
59.41% <0.00%> (-1.93%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5ff73ea...e34f492. Read the comment docs.

@Matrix-K any update?

@Matrix-K We need your update, otherwise, we have to close this PR.


Specify algorithm for ed25519 key derivation

Given a random seed and and integer index i - specify an algorithm to create a unique derived private key in a deterministic manner per the BIP32 standard.

@ barakshani this is obviously based on what signatures we are going to use.

We also need to consider Julian's paper here. It will be great if we can get 1 recommendation from the research team after they debated this between them and reached a recommendation.

Implemented for the testnet timeframe. See: https://github.com/spacemeshos/ed25519/pull/4


Homebrewery is not printing  or saving to pdf properly.

I tried to test print a project I am working on and found that it will not properly print the page as it is displayed.  Upon playing with it, I  discovered that I was working at a 90% page size and when I changed the page size it distorted the page layout.  Despite the page layout getting distorted, table borders, descriptive text block borders, and areas of text are printing wrong and displaying wrong when saved to pdf.  However, when viewed at the homebrewery, the page looks just how I want.   I have included the html text from my project to see if it is something wrong with the code or if the website is experiencing bugs itself.  but looking at the display version of this report, I am not sure if that will help.

Gengolor

Druid 5
Guild Artisan
Firbolg
Neutral Good

Class / Level
Background
Race
Alignment

    17
   Armor         Class
      3
   Initiative
      30
    Speed
      3

Proviciency     Bonus

STRENGTH

Score
Modifier
Save

14
2
+2

DEXTERITY

Score
Modifier
Save

16
3
+3

CONSTITUTION

Score
Modifier
Save

15
2
+2

INTELLIGENCE

Score
Modifier
Save

14
5
+5

WIZDOM

Score
Modifier
Save

20
8
+8

CHARISMA

Score
Modifier
Save

11
0
+0

Armor

|Armor| AC |
|:---:|:------------|
| Studded Leather | 12+Dex Mod |

Shield
AC

Basic
+2

##      35
| Max HP |
|:---:|
|    |

#### Death Saves
| Pass | Fail |
|:-------:|:------------|
|  |  |
| O | O |
|  |  |
| O | O |
|  |  |
| O | O |
|  |  |

###   Hit Dice
##     5 d8

## Skills
| Proficiency | Stat Bonus | Skill | Stat |
|:-----------:|:----------:|:------|:----:|
|  | +3 | **Acrobatics** | DEX |
|  | +5 | **Animal Handling** | WIS |
|  | +2 | **Arcansa** | INT |
|  | +2 | **Athletics** | STR |
|  | +0 | **Deception** | CHA |
|  | +2 | **History** | INT |
| **O** | +8 | **Insight** | WIS |
|  | +0 | **Intimidation** | CHA |
|  | +2 | **Investigation** | INT |
|  | +5 | **Medicine** | WIS |
|  | +2 | **Nature** | INT |
| **O** | +8 | **Perception** | WIS |
|  | +0 | **Performance** | CHA |
| **O** | +3 | **Persuasion** | CHA |
|  | +2 | **Religion** | INT |
|  | +3 | **Sleight of Hand** | DEX |
|  | +3 | **Stealth** | DEX |
| **O** | +8 | **Survival** | WIS |

\page

Weapon Proficiencies

|  |
|:-------:|
| Club |
| Javelin |
| Scimitar |

Dagger

Mace

Sling

Dart

Quarter Staff

Spear

Weapons

Weapon
Atk Bonus
Damage
Type

Magic Scimitar
+6
1d6+2
Slashing

Sling
+6
1d4+3
Bludgeoning

Cross Bow
+3
1d8+3
Piercing

Same here pdf files have a white margin at the bottom of each page

By default, the background image is scaled to fit (IIRC) a US Letter page.
If you are instead printing to an A4 page, the dimensions are different and a white gap appears.
There is however a style snippet you can insert, it's on the "Print" menu (the one above the editor, next to Editor, PHB, and Tables)

This still happens with the "print" snippet

I unfortunately do not have "US letter page" as an option.

It seems in my particular case the height needs to be 297mm to remove the margin

Closing since there hasn't been a reply from the user for a while and it is assumed the problem was solved.
If you are still experiencing this issue, feel free to reopen and provide information, @Bsketchw


Can BaGet authenticate with S3 via IAM roles?

Is your feature request related to a problem? Please describe.
I do not want to use AccessKeys within AWS. I want to use assumed roles / instance profiles instead.
Describe the solution you'd like
The docs here: https://loic-sharma.github.io/BaGet/cloud/aws/ describe AccessKey and SecretKey.
A quick fix would be if the AccessKey and SecretKey are not specified, fall back to using the InstanceProfile keys: AccessKey SecretKey and Token in the S3 client credentials for the requests. These can be obtained via the FallbackCredentialsFactory.GetCredentials() which returns a AWSCredentials object containing the AccessKey, SecureSecretKey and Token.

The workaround that I've found was to create a "Baget" dummy account in AWS, with just the permissions to update s3 and use the accesKey and secretKey from that account.

Thanks for the suggestion! What do you think of adding a UseInstanceProfile config like:
{
   // ...

    "Storage": {
        "Type": "AwsS3",
        "Region": "us-west-1",
        "Bucket": "foo",
        "UseInstanceProfile": true
    },

   // ...
}

If UseInstanceProfile is true, BaGet uses FallbackCredentialsFactory.GetCredentials(). If UseInstanceProfile is false, BaGet will require an access key and secret key. Does this seem like a reasonable approach?

Yea this sounds perfect.
If the container uses the FallbackCredentialsFactory all you will need to do is make sure the task definition has a taskrole with access to the S3 bucket.

Just got this working locally with the FallbackCredentialsFactory, however I am concerned the temp credentials may expire. I know there is a way to use a client type that auto-refreshes the temp creds. Might need to use that instead. I will figure it out and send a PR eventually.
Also, how does one update the documentation? Is it part of the project?
Cheers

I have done the commit but will need to test it within AWS. Will send PR when ready...
https://github.com/richarddowner/BaGet/commit/61a999e46f129fcaa220e2ce702bca4d6e73bbea


How to hide header in modsec_audit log

We have token in header, when there have an error, all header print in log, So how to hide this ?

Try tuning with the SecAuditLogParts directive.
For straight usage questions, please use mod-security-users mailing list. Thanks!


Support serving multiple apps with different index files / paths

I'm submitting a ...  (check one with "x")
[X ] feature request

I had some time time to take a closer look on the multiple app support today.
I really like the idea of supporting more than one angular app in the same seed project as many projects share a common code base.
What I try to do now is serving my 2 apps in 2 different windows.
e.g. http://example.com/foo  and http://example.com/bar
Unfortunately the index.html gets modified so that SystemJS imports either foo or bar.
So that last app build wins.
What I would like to have are 2 index.html-files one for each app so that I can serve both at the same time listening on the same port.
My expected outcome for the build would be more similar to:
dist/
-dev/
--assets/
--css/
--foo/
--- index.html
--- foo.module.ts
--bar/
--- index.html
--- bar.module.ts
Same for the production build.
What do you think about this? I really don't get the idea why multiple apps are supported but you can only run at the same time.. especially for development it sucks.
On production I have proxy in front that could be configured, there it is less a problem.

Really good idea.

Yes, I like the idea too. @ZuSe at the moment I'm mostly busy with codelyzer. If you have some time it'll be awesome if you can open a PR. Let me know if you want to discuss the direction of the change.

@mgechev
I can take a look on it after I found a solution for my current problem.
Atm, am working on running the seed with Shared/WebWorkers, so that can run my app in multiple windows without having to bootstrap the whole app in every window. I would really appreciate your feedback on this if you have any experience or idea on that issue :)

@ZuSe let's chat about this on gitter. Would you ping me here?

Naive approach : You have the same assets, style, but different entry html files and modules. Why not having one entry file (index.html and app.component.ts) and let angular router with a specific config file loading the proper app ?
The is currently what we're doing in the company where I work.

@lifaon74 another alternative which is possible, is to have different production builds with the same index.html files but different bootstrap files.
I guess we can close this issue, although it's applicable in some cases.


Types of parameters 'action' and 'action' are incompatible.

Hi,
When combining multiple reducers in my Typescript + Redux app, TS throws the following:
test.ts:50:5 - error TS2322: Type 'Reducer<MemberState, InvalidateMembers>' is not assignable to type 'Reducer<MemberState, RootActions>'.
  Types of parameters 'action' and 'action' are incompatible.
    Type 'RootActions' is not assignable to type 'InvalidateMembers'.
      Type 'InvalidateCatgories' is not assignable to type 'InvalidateMembers'.

50     member: member,
       ~~~~~~

  test.ts:44:3
    44   member: MemberState;
         ~~~~~~
    The expected type comes from property 'member' which is declared here on type 'ReducersMapObject<RootState, RootActions>'

test.ts:51:5 - error TS2322: Type 'Reducer<CategoryState, InvalidateCatgories>' is not assignable to type 'Reducer<CategoryState, RootActions>'.
  Types of parameters 'action' and 'action' are incompatible.
    Type 'RootActions' is not assignable to type 'InvalidateCatgories'.
      Type 'InvalidateMembers' is not assignable to type 'InvalidateCatgories'.

51     category: category
       ~~~~~~~~

  test.ts:45:3
    45   category: CategoryState;
         ~~~~~~~~

Before posting here I have reproduced the same behaviour using the test included in this repo:
import { Reducer, Action, combineReducers } from 'redux';

type MemberState = {
  items: {};
};

interface InvalidateMembers {
  type: 'INVALIDATE_MEMBERS';
  name?: string;
}

const member: Reducer<MemberState, InvalidateMembers> = (state = {items: {}}, action) => {
  if (action.type === 'INVALIDATE_MEMBERS') {
    return state;
  }
  return state;
};

// ------------

interface CategoryState {
  items: {};
}

interface InvalidateCatgories {
  type: 'INVALIDATE_CATEGORIES';
  count?: number;
}

const category: Reducer<CategoryState, InvalidateCatgories> = (state = {items: {}}, action) => {
  if (action.type === 'INVALIDATE_CATEGORIES') {
    return state;
  }
  return state;
};

// ------ Store -------

// Union of all actions in the app.
type RootActions = InvalidateMembers | InvalidateCatgories;

interface RootState {
  member: MemberState;
  category: CategoryState;
}

// Combined reducer can be made to only accept known actions.
const store = combineReducers<RootState, RootActions>({
    member, // <-- line specified in the error
    category // <-- line specified in the error
  });

I have tried on Stackoverflow as well, but yet, no one had had any suggestion regarding what could I / be possibly wrong.

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!

With thiss effort you could answer the issue, and as I have mentioned, I came here after posting on other places, as a last hope. Sad that behind this library there's no human side.

@vedtam : we try to keep the issues list focused on actual bugs.  Also, anything filed here on the repo is probably only going to be seen by Tim and myself, whereas asking on SO or Reactiflux will result in a lot more people seeing it who can possibly help.
In addition, neither Tim nor I are TS users (and definitely not experts), so we can't offer help on this question anyway.

This is a breaking change introduced when you upgrade to Angular 8. As such there should be official support for this.

The problem is about the signature of ActionReducer
export interface ActionReducer<T, V extends Action = Action> {
(state: T | undefined, action: V): T;
}
As you can see it is either T or undefined. However in your reducer, state is probably defined as T only. And that causes a type issue.

@saimzishan every reducer has to accept a state that is undefined. It has to return something that is not undefined.


TSC open meeting, Thursday 14th February 2019

NOTE: This meeting is on Thursday at 9am - 10am PT, 5pm-6pm UTC
Zoom Meeting link: https://zoom.us/j/975841675
In order to give some more visibility into the topics we cover in the TSC meetings here is the planned agenda for the next meeting.  Hopefully this will allow people to plan to attend meetings for topics that they have an interest in.  And for folks who cannot attend they can comment on this issue prior to the meeting.  Feel free to suggest other potential agenda topics.
Proposed Agenda

Topic
Owner
Decision/NextStep

#1779 Add info.summary
@ioggstream
Updated, approved and to be merged

Progress on v3.1 #1466
@OAI/tsc
Specific topics to be discussed during following 4 TSC calls

Commit to non-spec 3.1 marketing issues (registry/pretty spec)
@MikeRalphson
as above

Discuss/merge @handrews / @vearutop schema fixes
@webron
to be discussed in 2 weeks

Open PRs
@OAI/tsc
General call in 3 weeks

Triage: Unanswered issues
@OAI/tsc
Ditto

Triage: Issues marked for Review
@OAI/tsc
Ditto

/cc @OAI/tsc Please add items as you see fit

Meeting recording: https://zoom.us/recording/share/VIl-M8DydtVTVC6j2oDXUeCMDguO_1LVMzTtpOVDb_-wIumekTziMw - thank you to everyone who was able to take part.


cbuild setup should also identify the compiler

The Problem To Be Solved
Reference Applications will not contain a compiler selection and are incomplete as layers are missing.
Suggest A Solution
To get the missing information, the IDE will issue the cbuild setup command.  This command should therefore deliver all missing information in one step.
This is an example project USB_Device.zip
cbuild setup USB_Device.csolution.yml --context-set --update-rte --packs
should update in *.cbuild-idx.yml:

select-compiler:
configurations:

cbuild list toolchains USB_Device.csolution.yml should output the same as csolution list toolchains (or this command should be removed).

Similarly to device or board selection, the compiler can be used for filtering candidate layers from packs.
Again for consistency, as already explained in https://github.com/Open-CMSIS-Pack/devtools/issues/1658#issuecomment-2243381108 for Pname, also the compiler should be selected before applying RTE Model conditions.

Thanks for the constructive feedback. I just try to streamline the project setup in an IDE.
None of the layer definitions has so far a dependency on a compiler or a processor core. They are all board specific.

verified, #1708 could improve user messaging


Update sources-dist-stable.json

updated knx adapter to version 1.0.45

RE-CHECK!

Automated adapter checker
ioBroker.knx

[ ] :heavy_exclamation_mark: [E021] "licenses" in package.json are depricated. Please use only "license": "NAME" field.
[ ] :heavy_exclamation_mark: [E150] No common.connectionType found in io-package.json
[ ] :heavy_exclamation_mark: [E152] No common.dataSource found in io-package.json
[ ] :heavy_exclamation_mark: [E124] Main file not found under URL: https://raw.githubusercontent.com/ioBroker/ioBroker.knx/master/knx.js
[ ] :heavy_exclamation_mark: [E504] "knx.js found in package.json, but not found as file
[ ] :heavy_exclamation_mark: [E301] Tests on Travis-ci.com are broken. Please fix.
[ ] :eyes: [W801] .npmignore not found

Add comment "RE-CHECK!" to start check anew


New theme is missing expertrec.js

Old theme
./source/conf.py:html_js_files = ['expertrec.js']

@tzach  Expertrec.js is now inlined in the theme's layout:

Old design: https://github.com/scylladb/sphinx-scylladb-theme/blob/branch-0.1/sphinx_scylladb_theme/static/expertrec.js
New design: https://github.com/scylladb/sphinx-scylladb-theme/blob/d2a771b3120a73553b5d560e088e8eb7c6fcf659/sphinx_scylladb_theme/layout.html#L139-L149

Please remove or comment out the following lines in scylla-monitoring conf.py:
# Add ExpertRec Search
html_js_files = ['expertrec.js']

I'm adding this detail in the upgrade guides.
Originally posted by @dgarcia360 in https://github.com/scylladb/scylla-monitoring/issues/1558#issuecomment-934157832

Thanks @dgarcia360 you can close this issue with a commit to the guide.


got 'leaf-error-middleware' exists and is not an empty directory (-4)

In Package.swift:
dependencies: [
    ...,
    .package(name: "LeafErrorMiddleware", url: "https://github.com/brokenhandsio/leaf-error-middleware.git", from: "2.0.0")
],
targets: [
    .target(name: "App", dependencies: [
        ...,
        "LeafErrorMiddleware"
    ]),
    ...,
]

but got
Showing Recent Messages
An unknown error occurred. '/Users/.../SourcePackages/checkouts/leaf-error-middleware' exists and is not an empty directory (-4)

And in '/Users/.../SourcePackages/checkouts', the leaf-error-middleware folder is indeed an empty folder.

@chocoford try doing a clean and rebuild. Is this from the command line? If so, removing the .build directory should fix it

@0xTim it is ok when running vapor build. But the message is from Xcode.
And I had just try to fix the problem by copy leaf-error-middleware from .build directory to my Xcode Derive Data path.
However, after fetching all packages, Xcode still show the message above and the copied leaf-error-middleware folder become empty again.

Yeah I wouldn't mess with Derived Data. I would delete your derived data, do a clean and delete the .swiftpm directory - that should fix the error

@0xTim Thanks. It has been solved. I will close the issue.


NODE-2678/3.5/read-preference-from-options

@reggi is this ready for review? There haven't been any reviewers added


Infer-out/Bugs.txt is returning a lot of special characters:

Not sure what I'm supposed to see from this report.
error: RESOURCE_LEAK
   resource of type java.io.FileInputStream acquired to inputStream by call to FileInputStream(...) at line 337 is not released after line 359
  357.           }
  358.           inputStream.close();
  359. >     }
  360.
  361.       /* Called in a separate thread context

Indeed, we don't want to include source excerpts in bugs.txt, much less with ANSI colour codes in them... I'll look into it, thanks!


fix calling link_with_query with path Symbol

duplicate, as independent test, one assertion of test_page_loads
fix resulting Error
fix additional bug in app/helpers/application_helper.rb
(change Numeric to Integer)

Coverage increased (+0.05%) to 83.58% when pulling 27e1690e18663da3a12e9d330c2242356a3f5ddb on JoeCohen:fix_path_as_Symbol into 33e4283f467dd8eb85ae69c91f5af0051683f4d2 on MushroomObserver:ror4.

This fixes two bugs which did not show up in the tests.
In order to work on a Error which did show up in the tests, I duplicated the problematic assertion and duplicated it in a stand-alone test.  That test then failed, but in a new mode:
app/helpers/application_helper.rb:124:in link_with_query was called with the link as a Symbol (rather than as a String or as a Hash of Controller:, Action:, Id:.
ObserverControllerTest#test_page_load_user_by_contribution:
ActionView::Template::Error: undefined method `show_user_path' for #<#<Class:0x000000060baaf8>:0x0000000665d370>
    app/helpers/application_helper.rb:124:in `link_with_query'
    app/views/image/_image_thumbnail.html.erb:11:in `_app_views_image__image_thumbnail_html_erb___2753962239459614944_50290100'
    app/helpers/application_helper.rb:1423:in `thumbnail'
    app/views/observer/users_by_contribution.html.erb:18:in `block in _app_views_observer_users_by_contribution_html_erb___3152215231590731906_53756640'
    app/views/observer/users_by_contribution.html.erb:13:in `_app_views_observer_users_by_contribution_html_erb___3152215231590731906_53756640'
    app/controllers/application_controller.rb:218:in `catch_errors'
    test/functional_test_case.rb:25:in `get'
    test/controller_extensions.rb:113:in `get_with_dump'
    test/controllers/observer_controller_test.rb:174:in `test_page_load_user_by_contribution'

I elected to fix this further up the chain, by changing a Symbol to a String.
There may be better/more elegant ways of dealing with this issue.  One is to change the symbol into the expected Hash.  There are several methods for which:
(1) the comments say that an expected parameter is a hash of Controller, Method, Id, but
(2) the argument is sometimes a String or Symbol.
This works if the String can be turned into a valid url with url_for.  But it will cause errors further down the chain if called with a Symbol.
Maybe a better way of dealing with this is to always call with the Hash.  (I'm sure there are other possibilities.)
I also noticed a use of "Numeric" to test whether an argument might be the id of an image.
    image = Image.find(image) if image.is_a?(Numeric)

which I changed to
    image = Image.find(image) if image.is_a?(Integer)

Thinking about this some more, I believe a better way to handle this wouls be:
    image = Image.find(image) unless image.is_a?(Image)

That's my code :)  And yes the last solution is the most elegant.  Go for
it!
Ray Suelzer
Mobile:<PHONE_NUMBER>
On Fri, Jan 30, 2015 at 9:30 AM, Joseph D. Cohen<EMAIL_ADDRESS>wrote:

This fixes two bugs which did not show up in the tests.
In order to work on a Error which did show up in the tests, I duplicated
the problematic assertion and duplicated it in a stand-alone test. That
test then failed, but in a new mode:
app/helpers/application_helper.rb:124:in link_with_query was called with
the link as a Symbol (rather than as a String or as a Hash of Controller:,
Action:, Id:.
ObserverControllerTest#test_page_load_user_by_contribution:
ActionView::Template::Error: undefined method show_user_path' for #<#<Class:0x000000060baaf8>:0x0000000665d370>     app/helpers/application_helper.rb:124:in link_with_query'
app/views/image/_image_thumbnail.html.erb:11:in _app_views_image__image_thumbnail_html_erb___2753962239459614944_50290100'     app/helpers/application_helper.rb:1423:in thumbnail'
app/views/observer/users_by_contribution.html.erb:18:in block in _app_views_observer_users_by_contribution_html_erb___3152215231590731906_53756640'     app/views/observer/users_by_contribution.html.erb:13:in _app_views_observer_users_by_contribution_html_erb___3152215231590731906_53756640'
app/controllers/application_controller.rb:218:in catch_errors'     test/functional_test_case.rb:25:in get'
test/controller_extensions.rb:113:in get_with_dump'     test/controllers/observer_controller_test.rb:174:in test_page_load_user_by_contribution'
I elected to fix this further up the chain, by changing a Symbol to a
String.
There may be better/more elegant ways of dealing with this issue. One is
to change the symbol into the expected Hash. There are several methods for
which:
(1) the comments say that an expected parameter is a hash of Controller,
Method, Id, but
(2) the argument is sometimes a String or Symbol.
This works if the String can be turned into a valid url with url_for. But
it will cause errors further down the chain if called with a Symbol.
Maybe a better way of dealing with this is to always call with the Hash.
(I'm sure there are other possibilities.)
I also noticed a use of "Numeric" to test whether an argument might be the
id of an image.
image = Image.find(image) if image.is_a?(Numeric)

which I changed to
image = Image.find(image) if image.is_a?(Integer)

Thinking about this some more, I believe a better way to handle this wouls
be:
image = Image.find(image) unless image.is_a?(Image)

--
Reply to this email directly or view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/41#issuecomment-72237948
.

By "last" solution do you mean
(a) image = Image.find(image) unless image.is_a?(Image)
or
(b) always calling with a Hash?

Sounds good to me, too.  One minor stylistic comment.  I prefer:
x = a ? b : c
over
a ? x = b : x = c
(line 1420 in new app_helper)
Makes it easier to tell you're assigning "link", and less ambiguous with resp. to operation precedence.

joe: (a)
jason: Yep. Makes sense.
Ray Suelzer
Mobile:<PHONE_NUMBER>
On Fri, Jan 30, 2015 at 10:05 AM, Jason Hollinger<EMAIL_ADDRESS>wrote:

Sounds good to me, too. One minor stylistic comment. I prefer:
x = a ? b : c
over
a ? x = b : x = c
(line 1420 in new app_helper)
Makes it easier to tell you're assigning "link", and less ambiguous with
resp. to operation precedence.
--
Reply to this email directly or view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/41#issuecomment-72243399
.

Thanks for the help.  I just pushed a commit with those changes.

Coverage increased (+0.05%) to 83.58% when pulling 0d61595c302ae4da832cd4fa9521c06193396e41 on JoeCohen:fix_path_as_Symbol into 33e4283f467dd8eb85ae69c91f5af0051683f4d2 on MushroomObserver:ror4.

Done!  I'm about to return to ror4 myself, too.
On Fri, Jan 30, 2015 at 10:37 AM, Joseph D. Cohen<EMAIL_ADDRESS>wrote:

Thanks for the help. I just pushed a commit with those changes.
—
Reply to this email directly or view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/41#issuecomment-72248210
.

I am working on the test errors like ActionView::Template::Error: no implicit conversion of Symbol into Integer
I now think my method of solving
undefined method `show_user_path' for #<#<Class:0x000000060baaf8>:0x0000000665d370>
    app/helpers/application_helper.rb:124:in `link_with_query'

was not the best.  It fixed one assertion in one test.  But there are other similar problems.
So I think I must make sure that params[:link] which is passed to various MO helpers is a Hash (of a type which the Rails helpers can turn into a url).

Yeah, I noticed those errors were still there.  Darn.  Might be a real pain
to catch all of those usages.  Maybe not.  (I'm not 100% certain I fully
understand the problem yet...)
I just fixed another enum error (already merged into ror4).  Will work on
the "undefined method where" next.  Down to 7 failures and 4 errors.
Pretty good!
-Jason
On Fri, Jan 30, 2015 at 12:22 PM, Joseph D. Cohen<EMAIL_ADDRESS>wrote:

I am working on the test errors like ActionView::Template::Error: no
implicit conversion of Symbol into Integer
I now think my method of solving
undefined method show_user_path' for #<#<Class:0x000000060baaf8>:0x0000000665d370>     app/helpers/application_helper.rb:124:in link_with_query'
was not the best. It fixed one assertion in one test. But there are other
similar problems.
So I think I must make sure that params[:link] which is passed to various
MO helpers is a Hash (of a type which the Rails helpers can turn into a
url).
—
Reply to this email directly or view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/41#issuecomment-72264388
.

Example:
ApplicationController#add_query_params
  def add_query_param(params, query=nil)
    if browser.bot?
      # do nothing
    elsif query
      query.save if !query.id
      params[:q] = query.id.alphabetize
    elsif @query_params
      params[:q] = @query_params[:q]
    end
    params
  end

If params is a string (e.g. "show_observation"), this will throw an error when it gets to params[:q]=.
This can happen, for instance, if a view gives wrong arguments, e.g., app/views/species_list/show_species_list.html.erb, says:
<%= if observation.thumb_image_id
          thumbnail(observation.thumb_image, :border => 0,
            :link => :show_observation, :obs => observation.id,
            :votes => true)
         end %>

Eventually there is a call to
app/helpers/application_helper.rb#ink_with_query, and then to
app/controllers/application_controller#add_query_param
which chokes as described above.
If I change the template to make the link a hash :link => :show_observation, link: { action: :show_observation }, MO is happy.

PS:  I'm thinking that the issues are probably all in newer templates, so I may be able to find all of them.

What confuses me is why this ever worked.  But, regardless, if there prove
to be prohibitively many places to change -- it might affect things other
than thumbnail, e.g. tabs, which may be much harder to search for -- you
might also just add a line at the top of add_query_params:
params = { :action => params } if params.is_a?(Symbol)
Rails does this sort of thing all over the place in their code, so we'd at
least be in good company... :)
-Jason
On Fri, Jan 30, 2015 at 12:52 PM, Joseph D. Cohen<EMAIL_ADDRESS>wrote:

PS: I'm thinking that the issues are probably all in newer templates, so I
may be able to find all of them.
—
Reply to this email directly or view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/41#issuecomment-72268339
.

Thanks for the suggestion.  I'll see what I can do to find the places to change.


RCTRealtimeMessagingIOS.js: Module does not exist

I am getting this error when try to test the package.
I have:
	"react": "~15.4.0-rc.4",
	"react-native": "0.38.0",
	"react-native-realtimemessaging-ios": "^1.0.16"

Also the README says: Drag RCTRealtimeMessaging.js to the root of your project.
But there is no RCTRealtimeMessaging.js

I t would be great to install this package using:
react-native link

Hi jsappme, are o still having problems installing the SDK? witch version of react-native cli do you have?

react-native-cli: 1.2.0
react-native: 0.38.0
yes I cannot make it work
On Mon, Nov 28, 2016 at 5:26 AM, João Caixinha<EMAIL_ADDRESS>wrote:

Hi jsappme, are o still having problems installing the SDK? witch version
of react-native cli do you have?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/realtime-framework/RCTRealtimeMessagingIOS/issues/13#issuecomment-263247857,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM0R9fP-oi6wd-q4uOpHiC-kWUuMTd0Uks5rCrp3gaJpZM4K8w_C
.

--
Hervé Fulchiron
JSapp.me

Hi, we tested the installation with react-native-cli 1.0.0 and react-native 0.38.0, it worked fine, then we update react-native-cli to the lasted version 1.3.0 and it worked also fine.
I thing you are missing same step in the process.
After you install the library npm install --save react-native-realtimemessaging-ios on project dir, can you see it on {PROJECT_DIR}/node_modules/react-native-realtimemessaging-ios?

I understand what was my problem, I called the package this way:
import realtime from 'react-native-realtimemessaging-ios'
instead of:
import realtime from './RCTRealtimeMessagingIOS';

Let us know if you have any more trouble. Check the example at the end of the readme file.

do you think it's possible to have one node package to cover ios and android?

its on our roadmap

that's great. any idea when?


Missing launch files for custom robot cell example

https://docs.universal-robots.com/Universal_Robots_ROS_Documentation/doc/ur_tutorials/my_robot_cell/doc/assemble_urdf.html
This has you create a custom robot cell description and then calls a launch file that does not exist.
It looks like maybe it expects launch files to be called from somewhere, or a ros package template to be cloned?
Either stepping back to link to creating the ros package and providing the launch file (so that it will build correctly) or linking to a repo that can be cloned would be helpful here.

Adding a link to the respective package (https://github.com/UniversalRobots/Universal_Robots_ROS2_Tutorials/blob/main/my_robot_cell/my_robot_cell_description/) would probably be very beneficial, yes!
Thank you for that hint.


Move swipe event to item-options

Short description of what this resolves:
Update document
Changes proposed in this pull request:

Ionic Version: 1.x / 2.x / 3.x
Fixes: #

Thanks! 👍


propTypes / getPropTypes evaluation

At the time propTypes probably aren't evaluated anymore (remember me to introduce unit testing).
This is due to getPropTypes getting called after the meta-constructor's super call, which makes React evaluate the propTypes before they're even set.

Related thread on StackOverflow: http://stackoverflow.com/a/22986568/217782

Hey this seems to work with the default React.Component. At least with Babel.

class Foo extends React.Component {
	static get propTypes () {
		return {
			bar: React.PropTypes.number
		};
	}
	render () {
		return
Hello
;
	}
}

<Foo bar="string" />;

Thanks! I will try to build on that ;)

I couldn't inject anything useful through static methods. So either the user makes his propTypes and defaultProps function static which makes it impossible to mutate it to include the mixins values, and which is another change from the original createClass function, or the wrapper class reproduces the props check & merging functionality of the React.Component class.
In 1.2.0 it does the latter.
I'm not sure if it's optimal, but I'll look into it.


feat: enable @typescript-eslint/prefer-optional-chain

Overview

Enables the @typescript-eslint/prefer-optional-chain in our lint config.

Not marking as breaking because I like it and I'll send a corresponding monolith PR. 🤘
PR Checklist

~[ ] Related to designs:~
[x] Related to JIRA ticket: WEB-2
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/eslint-config@5.2.0-alpha.b52d78.0@codecademy/gamut-kit@0.4.9-alpha.b52d78.0@codecademy/gamut-labs@19.1.0-alpha.b52d78.0@codecademy/gamut@34.1.0-alpha.b52d78.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60be09986deb9545dd6ad4e3--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/eslint-config@5.2.0-alpha.955bcc.0@codecademy/gamut-kit@0.4.21-alpha.955bcc.0@codecademy/gamut-labs@19.5.0-alpha.955bcc.0@codecademy/gamut@34.6.0-alpha.955bcc.0<EMAIL_ADDRESS>
📬Published Alpha Packages:@codecademy/eslint-config@5.2.0-alpha.e8984b.0@codecademy/gamut-kit@0.4.22-alpha.e8984b.0@codecademy/gamut-labs@19.5.0-alpha.e8984b.0@codecademy/gamut@34.6.0-alpha.e8984b.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60c397025108f80d9f3ffcf9--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/eslint-config@5.2.0-alpha.0d72ca.0@codecademy/gamut-kit@0.4.22-alpha.0d72ca.0@codecademy/gamut-labs@19.5.0-alpha.0d72ca.0@codecademy/gamut@34.6.0-alpha.0d72ca.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60c39a6b5538530f9f6f7b51--gamut-preview.netlify.appDeploy Logs


xtask: use derive-based command lines

Switch to using the derive(Parser) pattern in xtask. This makes this code substantially more tidy and, I think, easier to maintain and reason about.
Also add support for locking the Cargo.lock file on a variety of commands, add a subcommand to expand macros, add the ability to give number of CPUs and RAM size when running qemu, and clean up creation of command lines.
Signed-off-by: Dan Cross<EMAIL_ADDRESS>

Thanks. Yeah, I wasn't sure about the intermediate struct, but I came down on the side you mentioned above of keeping it small.
I believe adding the expected behavior for enum is on the list of things to do in Clap this year, so hopefully it will be temporary.


Spyder Crashes During Object Inspection

From<EMAIL_ADDRESS>on 2013-11-23T09:34:37Z
Spyder Version:  2.3.0beta1 (3296: rf449690aa597 )
Python Version:  2.7.5
Qt Version    :  4.8.4, PySide 1.2.1 on Windows
IPython >=0.13  :  1.1.0 (OK)
pyflakes >=0.5.0:  0.5.0 (OK)
pep8 >=0.6      :  1.4 (OK)
rope >=0.9.2    :  0.9.4 (OK)
sphinx >=0.6.6  :  1.1.3 (OK)
matplotlib >=1.0:  1.3.1 (OK)
sympy >=0.7.0   :  0.7.3 (OK)
pylint >=0.25   :  None (NOK)
Also tested with Qt Version :  4.8.5, PyQt4 (API v2) 4.10.3 on Windows
What steps will reproduce the problem?

Open Spyder from a --reset using bootstrap.py.
Type "import subprocess; subprocess.check_output" in temp.py.
Hit Ctrl+I to bring up documentation.
Switch the Source type to Console, and then back to Editor.
The app crashes with the report below.

If I inspect something on the Console before completing step 4, the app does not crash.  I also cannot find another docstring that causes this.
Problem signature:
Problem Event Name:	APPCRASH
Application Name:	python.exe
Application Version:	<IP_ADDRESS>
Application Timestamp:	51d1bf64
Fault Module Name:	QtWebKit4.dll
Fault Module Version:	<IP_ADDRESS>
Fault Module Timestamp:	50c4ff1a
Exception Code:	c0000005
Exception Offset:	0077332b
OS Version:	6.1.76<IP_ADDRESS>.768.3
Locale ID:	1033
Additional Information 1:	0a9e
Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
Additional Information 3:	0a9e
Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1652

From ccordoba12 on 2015-01-01T15:34:59Z
I hope you've found how to fix this one by now :-)
Status: WontFix


use in chrome , show this message  'exports is not defined'

what  happen maybe  this ?
I use that
<script src="./base64.js"></script>
<script>
    Base64.encode('text')
</script>

I could not reproduce your error.


gdal 0.17 tracker

We should probably put out another release, given the recently-added support for GDAL 3.8 and other improvements.
My wishlist, after skimming the open issues, but by no means definitive:

[ ] #483
[x] #495
[x] #477 - let's settle for Ubuntu LTS-1
[x] #432
[x] #427
[x] #494

Stretch goal:

[x] #485
[x] #496

@lnicola I'd suggest us not including #483 in this release. We have lots of nice new features already, and that one feels like it needs some design/debate. Thoughts?

Maybe we should wrap up https://github.com/georust/gdal/pull/493 and add it to the release?

Seems doable, but I don't really feel like messing around with VS (last time I tried to install the DDK and it was awful).


only added responsiveness for mobile view

Great work @garvpatidar04 ! Thanks for contributing.

I am glad that I could contribute.


Publish server container images with semver

Feature
Is your feature request related to a problem? Please describe.
Docker doesn't check if tags have changed when running. This makes using "latest" problematic since you likely aren't actually on the latest.
Describe the solution you'd like
Similar to our NPM packages we should publish our docker images with a semver. and also update the ranges during publish. This is the common practice on Docker Hub.
For instance - if we just published routerlicoius at 1.2.3
We'd update routerlicoius:1, routerlicious:1.2, and routerlcious:1.2.3
The containers themselves would follow the semver as far as breaking changes go.
Then in our base docker-compose files we could reference either the major or major/minor pair. And rev this whenever a new service version is available.

@tanviraumi , @anthony-murphy , can you please triage? We either need a plan to make it happen or punt - no need to keep old issues around.

@curtisman I believe some of this already happens today. We do publish images with build numbers. Although we may not patch older versions?

Correct.  We are tagging images with version number and latest.
But I didn't follow the recommendation above for the floating tag for major an major.minor.
We can probably close this for now unless there is a demand for it.


add query parameter to Opaque on //

path beginning with // it must set the query parameter to opaque.
Otherwise the parameter will get lost in the process.
Thanks for contributing to gorouter. To speed up the process of reviewing your pull request please provide us with:
A short explanation of the proposed change:
Setting the query parameter in the URL.Opaque inside Director of Reverseproxy so that those will not getting lost in the process.
An explanation of the use cases your change solves
Someone hits gorouter with test.io//something?q=something than target of that should receive the complete information including the query parameter so that service can decide how to handle that.
Instructions to functionally test the behavior change using operator interfaces (BOSH manifest, logs, curl, and metrics)
start gorouter, start a test service, register that service and than call it.
Expected result after the change
curl 'my_first_url.localhost.routing.cf-app.com:8081/internal/status?q=hi' ends up at test service with q=hi
Current result before the change
curl 'my_first_url.localhost.routing.cf-app.com:8081/internal/status?q=hi' ends ends up at test service without q=hi

[X] I have viewed signed and have submitted the Contributor License Agreement

[X] I have made this pull request to the master branch

[X] I have run all the unit tests using bin/test

[ ] I have run CF Acceptance Tests on bosh lite

Hello @shalako is there anything I can do to speed things up, like changing something or so?

Hi @nichtsfrei ,
We verified that this is a valid bug and query parameters are lost when preceded by a // anywhere in the URL. If you could make a PR for this, we would be happy to review and accept help.
Regards,
Shubha

Hi @shubhaat ,
sorry I'm a bit confused this is the pr for the fix.
By adding  + target.URL.Query().Encode() to target.URL.Opaque the query parameter will not be lost anymore.
Regards,
Philipp

@nichtsfrei Thanks for your contribution, your PR is merge now.
@nhsieh & Nino


New syntax for actions

Hi, this implements a new syntax for actions which looks like this:
const store = {
  actions: {
    // Set state multiple times in an action, e.g. for loading indicator
    doSomething: async ({ state, setState }, user) => {
      // Set state using setState
      setState({ loading: true })
      const response = await fetch('https://" + state.remote + "/users/' + user)
      const body = await response.json()
      // Set state by returning new state
      return {
        loading: false,
        user: { avatar: body.avatar_url }
      }
    }
  }
}

I'm not sure if this is the best syntax, but I'm also missing way how to set state, or call action from async action.

@saintego What changes would you like to see? Since we are now using my fork of this library in an app, I will continue to maintain it if this library goes in a completely different direction. Would love you input.

I think it's reasonable to call multiple actions from within the components (vs inside the actions).
creating a middleware allows you to do async actions, then using self.setState.
But I get why the confusion, since actions are not required to be pure.

+1 for this.
Still can't find a way to run setState for example to show loading on actions.

@didierfranc I've checked in on the current status of react-waterfall, and I'm going to respectfully stay with the direction I took it in in my fork.
I want to make it its own repo, so that we aren't always requiring some fork of mine. Would you like some kind of acknowledgement in this repo?
I might just stay with the name react-stateful to differentiate it from the current state of react-waterfall. Is this all OK with you?


Lost in how the add-on works

I have setup the configuration parameters in the add-on such as:

sensor returning PV power production
sensor with load power
inverter brand/ model
solar panels brand/ model
setup the day-ahead + publish data automations
update config.yaml with the shell command

And when accessing the user interface, none of the options returns a value
I get this in the logs, which I'm not able to understand:
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/usr/local/lib/python3.9/dist-packages/emhass/web_server.py", line 135, in action_call
    input_data_dict = set_input_data_dict(config_path, str(data_path), costfun,
  File "/usr/local/lib/python3.9/dist-packages/emhass/command_line.py", line 70, in set_input_data_dict
    rh.get_data(days_list, var_list,
  File "/usr/local/lib/python3.9/dist-packages/emhass/retrieve_hass.py", line 144, in get_data
    self.df_final = pd.concat([self.df_final, df_day], axis=0)
UnboundLocalError: local variable 'df_day' referenced before assignment
[2023-02-11 14:09:05,328] INFO in command_line: Setting up needed data
[2023-02-11 14:09:05,341] INFO in forecast: Retrieving weather forecast data using method = scrapper
[2023-02-11 14:09:06,368] INFO in command_line: Setting up needed data
[2023-02-11 14:09:06,381] INFO in web_server:  >> Publishing data...
[2023-02-11 14:09:06,381] INFO in command_line: Publishing data to HASS instance
[2023-02-11 14:09:06,383] ERROR in command_line: File not found error, run an optimization task first.
[2023-02-11 14:09:06,384] ERROR in app: Exception on /action/publish-data [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/usr/local/lib/python3.9/dist-packages/emhass/web_server.py", line 139, in action_call
    _ = publish_data(input_data_dict, app.logger)
  File "/usr/local/lib/python3.9/dist-packages/emhass/command_line.py", line 290, in publish_data
    idx_closest = opt_res_latest.index.get_indexer([now_precise], method='nearest')[0]
UnboundLocalError: local variable 'opt_res_latest' referenced before assignment
[2023-02-11 14:09:12,936] INFO in forecast: Retrieving data from hass for load forecast using method = naive
[2023-02-11 14:09:12,940] INFO in retrieve_hass: Retrieve hass get data method initiated...
[2023-02-11 14:09:13,012] ERROR in retrieve_hass: The retrieved JSON is empty, check that correct day or variable names are passed
[2023-02-11 14:09:13,013] ERROR in retrieve_hass: Either the names of the passed variables are not correct or days_to_retrieve is larger than the recorded history of your sensor (check your recorder settings)
[2023-02-11 14:09:13,014] ERROR in app: Exception on /action/dayahead-optim [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/usr/local/lib/python3.9/dist-packages/emhass/web_server.py", line 135, in action_call
    input_data_dict = set_input_data_dict(config_path, str(data_path), costfun,
  File "/usr/local/lib/python3.9/dist-packages/emhass/command_line.py", line 83, in set_input_data_dict
    P_load_forecast = fcst.get_load_forecast(method=optim_conf['load_forecast_method'])
  File "/usr/local/lib/python3.9/dist-packages/emhass/forecast.py", line 538, in get_load_forecast
    rh.get_data(days_list, var_list)
  File "/usr/local/lib/python3.9/dist-packages/emhass/retrieve_hass.py", line 144, in get_data
    self.df_final = pd.concat([self.df_final, df_day], axis=0)
UnboundLocalError: local variable 'df_day' referenced before assignment
[2023-02-11 14:10:00,550] INFO in command_line: Setting up needed data
[2023-02-11 14:10:00,563] INFO in web_server:  >> Publishing data...
[2023-02-11 14:10:00,563] INFO in command_line: Publishing data to HASS instance
[2023-02-11 14:10:00,564] ERROR in command_line: File not found error, run an optimization task first.
[2023-02-11 14:10:00,566] ERROR in app: Exception on /action/publish-data [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/usr/local/lib/python3.9/dist-packages/emhass/web_server.py", line 139, in action_call
    _ = publish_data(input_data_dict, app.logger)
  File "/usr/local/lib/python3.9/dist-packages/emhass/command_line.py", line 290, in publish_data
    idx_closest = opt_res_latest.index.get_indexer([now_precise], method='nearest')[0]
UnboundLocalError: local variable 'opt_res_latest' referenced before assignment
[2023-02-11 14:13:53,649] INFO in web_server: EMHASS server online, serving index.html...
[2023-02-11 14:13:53,672] WARNING in web_server: The data container dictionary is empty... Please launch an optimization task
[2023-02-11 14:13:54,959] INFO in command_line: Setting up needed data
[2023-02-11 14:13:54,973] INFO in retrieve_hass: Retrieve hass get data method initiated...
[2023-02-11 14:13:55,045] ERROR in retrieve_hass: The retrieved JSON is empty, check that correct day or variable names are passed
[2023-02-11 14:13:55,046] ERROR in retrieve_hass: Either the names of the passed variables are not correct or days_to_retrieve is larger than the recorded history of your sensor (check your recorder settings)
[2023-02-11 14:13:55,047] ERROR in app: Exception on /action/perfect-optim [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.9/dist-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/usr/local/lib/python3.9/dist-packages/emhass/web_server.py", line 135, in action_call
    input_data_dict = set_input_data_dict(config_path, str(data_path), costfun,
  File "/usr/local/lib/python3.9/dist-packages/emhass/command_line.py", line 70, in set_input_data_dict
    rh.get_data(days_list, var_list,
  File "/usr/local/lib/python3.9/dist-packages/emhass/retrieve_hass.py", line 144, in get_data
    self.df_final = pd.concat([self.df_final, df_day], axis=0)
UnboundLocalError: local variable 'df_day' referenced before assignment

Half of your error messages are from trying to publish data before a correct optimization call.
When you call the optimization the messages to understand are these:
ERROR in retrieve_hass: The retrieved JSON is empty, check that correct day or variable names are passed
[2023-02-11 14:13:55,046] ERROR in retrieve_hass: Either the names of the passed variables are not correct or days_to_retrieve is larger than the recorded history of your sensor (check your recorder settings)
So check that. The names of your sensors and that you have enough data.
Otherwise there is a problem with your configuration. Share it to debug it and state some info about your system: type of HA install, your machine arch, etc

Thank you for the prompt reply.
I installed EMHASS 3 days ago on a fresh RPI3B+ HA Home Assistant Supervised where I only enabled my PV production sensor and Energy consumption sensor (without discounting the deferrable load as I'm still looking into which appliance to "trigger" the optimization result (hope this makes sense).
In the meanwhile I see that my PV sensor stopped sending results (claiming too many API queries, after which I adjusted the poll from 60 to 120 seconds).
So it may be that I just don't have enough data to publish the optimization results so will give it a couple more days and check again :)

Ok it may be that. Also as you are using the supervisor then leave the hass_url and long_lived_token parameters to empty.

Feel free to reopen if this wasn't solved with the proposed solution