Container won't locate Forge server jar

Describe the problem
When starting a new image for FTB Plexiglass modpack following error acours:
[init] ERROR unable to locate the installed forge server jar
When check the folder the "forge-installer" is missing, butt adding the correct one (forge-1.18.2-40.1.52-installer) manually does not change anything.
Container definition
TYPE=FTBA
FTB_MODPACK_ID=96
MAX_TICK_TIME=-1
MEMORY=6G
EULA=TRUE
ENABLE_RCON=true
RCON_PORT=25575
RCON_PASSWORD=minecraft
LEVEL_TYPE=DEFAULT
SERVER_PORT=25565
ONLINE_MODE=TRUE
SERVER_NAME=Takkis server
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
UID=1000
GID=1000
VERSION=1.18.2
FORGEVERSION=RECOMMENDED
SPONGEBRANCH=STABLE
SPONGEVERSION=
FABRICVERSION=LATEST
LEVEL=world
PVP=true
DIFFICULTY=easy
ENABLE_AUTOPAUSE=false
AUTOPAUSE_TIMEOUT_EST=3600
AUTOPAUSE_TIMEOUT_KN=120
AUTOPAUSE_TIMEOUT_INIT=600
AUTOPAUSE_PERIOD=10
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
JAVA_VERSION=jdk-17.0.3+7
JAVA_HOME=/opt/java/openjdk

Container logs
init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 11 1000 1000 4096 Jun 30 19:39 /data'
[init] Resolved version given 1.18.2 into 1.18.2
[init] Resolving type given FTBA
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
[init] FTB modpack ID 96, version ID 2226 is ready to go
[init] ERROR unable to locate the installed forge server jar
forge-1.18.2-40.1.52-installer.jar **(This line only appear if you add the file manualy)**

minecraft_server.1.18.2.jar

Here are complete logs after restart, funny enough it seams to download the forge package and then delete right before outputting error.
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/policy/limited/exempt_local.policy -> jre/jdk-17.0.2+8-jre/conf/security/policy/limited/exempt_local.policy
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/policy/unlimited/default_local.policy -> jre/jdk-17.0.2+8-jre/conf/security/policy/unlimited/default_local.policy
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/policy/unlimited/default_US_export.policy -> jre/jdk-17.0.2+8-jre/conf/security/policy/unlimited/default_US_export.policy
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/policy/README.txt -> jre/jdk-17.0.2+8-jre/conf/security/policy/README.txt
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/java.security -> jre/jdk-17.0.2+8-jre/conf/security/java.security
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/security/java.policy -> jre/jdk-17.0.2+8-jre/conf/security/java.policy
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/logging.properties -> jre/jdk-17.0.2+8-jre/conf/logging.properties
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/conf/sound.properties -> jre/jdk-17.0.2+8-jre/conf/sound.properties
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libzip.so -> jre/jdk-17.0.2+8-jre/lib/libzip.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/psfontj2d.properties -> jre/jdk-17.0.2+8-jre/lib/psfontj2d.properties
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjimage.so -> jre/jdk-17.0.2+8-jre/lib/libjimage.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/jrt-fs.jar -> jre/jdk-17.0.2+8-jre/lib/jrt-fs.jar
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libj2pcsc.so -> jre/jdk-17.0.2+8-jre/lib/libj2pcsc.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/librmi.so -> jre/jdk-17.0.2+8-jre/lib/librmi.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libawt_headless.so -> jre/jdk-17.0.2+8-jre/lib/libawt_headless.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libfontmanager.so -> jre/jdk-17.0.2+8-jre/lib/libfontmanager.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjsvml.so -> jre/jdk-17.0.2+8-jre/lib/libjsvml.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libsyslookup.so -> jre/jdk-17.0.2+8-jre/lib/libsyslookup.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjavajpeg.so -> jre/jdk-17.0.2+8-jre/lib/libjavajpeg.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libj2gss.so -> jre/jdk-17.0.2+8-jre/lib/libj2gss.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libmanagement_ext.so -> jre/jdk-17.0.2+8-jre/lib/libmanagement_ext.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libsplashscreen.so -> jre/jdk-17.0.2+8-jre/lib/libsplashscreen.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjsound.so -> jre/jdk-17.0.2+8-jre/lib/libjsound.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/liblcms.so -> jre/jdk-17.0.2+8-jre/lib/liblcms.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/psfont.properties.ja -> jre/jdk-17.0.2+8-jre/lib/psfont.properties.ja
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libsctp.so -> jre/jdk-17.0.2+8-jre/lib/libsctp.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/tzdb.dat -> jre/jdk-17.0.2+8-jre/lib/tzdb.dat
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libmanagement_agent.so -> jre/jdk-17.0.2+8-jre/lib/libmanagement_agent.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/jexec -> jre/jdk-17.0.2+8-jre/lib/jexec
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libverify.so -> jre/jdk-17.0.2+8-jre/lib/libverify.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjawt.so -> jre/jdk-17.0.2+8-jre/lib/libjawt.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libdt_socket.so -> jre/jdk-17.0.2+8-jre/lib/libdt_socket.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libnio.so -> jre/jdk-17.0.2+8-jre/lib/libnio.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjsig.so -> jre/jdk-17.0.2+8-jre/lib/libjsig.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/classlist -> jre/jdk-17.0.2+8-jre/lib/classlist
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/libjli.so -> jre/jdk-17.0.2+8-jre/lib/libjli.so
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/server/classes.jsa -> jre/jdk-17.0.2+8-jre/lib/server/classes.jsa
2022/06/30 20:00:11 Extracting jdk-17.0.2+8-jre/lib/server/libjvm.so -> jre/jdk-17.0.2+8-jre/lib/server/libjvm.so
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/server/libjsig.so -> jre/jdk-17.0.2+8-jre/lib/server/libjsig.so
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/server/classes_nocoops.jsa -> jre/jdk-17.0.2+8-jre/lib/server/classes_nocoops.jsa
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/security/blocked.certs -> jre/jdk-17.0.2+8-jre/lib/security/blocked.certs
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/security/cacerts -> jre/jdk-17.0.2+8-jre/lib/security/cacerts
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/security/public_suffix_list.dat -> jre/jdk-17.0.2+8-jre/lib/security/public_suffix_list.dat
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/security/default.policy -> jre/jdk-17.0.2+8-jre/lib/security/default.policy
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/jvm.cfg -> jre/jdk-17.0.2+8-jre/lib/jvm.cfg
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/libawt.so -> jre/jdk-17.0.2+8-jre/lib/libawt.so
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/jspawnhelper -> jre/jdk-17.0.2+8-jre/lib/jspawnhelper
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/libj2pkcs11.so -> jre/jdk-17.0.2+8-jre/lib/libj2pkcs11.so
2022/06/30 20:00:12 Extracting jdk-17.0.2+8-jre/lib/modules -> jre/jdk-17.0.2+8-jre/lib/modules
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libnet.so -> jre/jdk-17.0.2+8-jre/lib/libnet.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libextnet.so -> jre/jdk-17.0.2+8-jre/lib/libextnet.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libprefs.so -> jre/jdk-17.0.2+8-jre/lib/libprefs.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libjdwp.so -> jre/jdk-17.0.2+8-jre/lib/libjdwp.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libjaas.so -> jre/jdk-17.0.2+8-jre/lib/libjaas.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libmanagement.so -> jre/jdk-17.0.2+8-jre/lib/libmanagement.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/jfr/default.jfc -> jre/jdk-17.0.2+8-jre/lib/jfr/default.jfc
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/jfr/profile.jfc -> jre/jdk-17.0.2+8-jre/lib/jfr/profile.jfc
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libjava.so -> jre/jdk-17.0.2+8-jre/lib/libjava.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libinstrument.so -> jre/jdk-17.0.2+8-jre/lib/libinstrument.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libmlib_image.so -> jre/jdk-17.0.2+8-jre/lib/libmlib_image.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/lib/libawt_xawt.so -> jre/jdk-17.0.2+8-jre/lib/libawt_xawt.so
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/NOTICE -> jre/jdk-17.0.2+8-jre/NOTICE
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/keytool -> jre/jdk-17.0.2+8-jre/bin/keytool
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/jrunscript -> jre/jdk-17.0.2+8-jre/bin/jrunscript
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/rmiregistry -> jre/jdk-17.0.2+8-jre/bin/rmiregistry
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/jfr -> jre/jdk-17.0.2+8-jre/bin/jfr
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/bin/java -> jre/jdk-17.0.2+8-jre/bin/java
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/release -> jre/jdk-17.0.2+8-jre/release
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/jdk.dynalink/dynalink.md -> jre/jdk-17.0.2+8-jre/legal/jdk.dynalink/dynalink.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml.crypto/santuario.md -> jre/jdk-17.0.2+8-jre/legal/java.xml.crypto/santuario.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/unicode.md -> jre/jdk-17.0.2+8-jre/legal/java.base/unicode.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/aes.md -> jre/jdk-17.0.2+8-jre/legal/java.base/aes.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/c-libutl.md -> jre/jdk-17.0.2+8-jre/legal/java.base/c-libutl.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/LICENSE -> jre/jdk-17.0.2+8-jre/legal/java.base/LICENSE
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/public_suffix.md -> jre/jdk-17.0.2+8-jre/legal/java.base/public_suffix.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/asm.md -> jre/jdk-17.0.2+8-jre/legal/java.base/asm.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/ASSEMBLY_EXCEPTION -> jre/jdk-17.0.2+8-jre/legal/java.base/ASSEMBLY_EXCEPTION
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/icu.md -> jre/jdk-17.0.2+8-jre/legal/java.base/icu.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/cldr.md -> jre/jdk-17.0.2+8-jre/legal/java.base/cldr.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.base/ADDITIONAL_LICENSE_INFO -> jre/jdk-17.0.2+8-jre/legal/java.base/ADDITIONAL_LICENSE_INFO
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.smartcardio/pcsclite.md -> jre/jdk-17.0.2+8-jre/legal/java.smartcardio/pcsclite.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/jdk.crypto.cryptoki/pkcs11wrapper.md -> jre/jdk-17.0.2+8-jre/legal/jdk.crypto.cryptoki/pkcs11wrapper.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md -> jre/jdk-17.0.2+8-jre/legal/jdk.crypto.cryptoki/pkcs11cryptotoken.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/jdk.localedata/thaidict.md -> jre/jdk-17.0.2+8-jre/legal/jdk.localedata/thaidict.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/colorimaging.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/colorimaging.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/mesa3d.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/mesa3d.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/giflib.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/giflib.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/harfbuzz.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/harfbuzz.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/lcms.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/lcms.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/jpeg.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/jpeg.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/xwd.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/xwd.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.desktop/libpng.md -> jre/jdk-17.0.2+8-jre/legal/java.desktop/libpng.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/xerces.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/xerces.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/jcup.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/jcup.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/dom.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/dom.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/xalan.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/xalan.md
2022/06/30 20:00:13 Extracting jdk-17.0.2+8-jre/legal/java.xml/bcel.md -> jre/jdk-17.0.2+8-jre/legal/java.xml/bcel.md
2022/06/30 20:00:17 Installed!
[init] ERROR unable to locate the installed forge server jar
minecraft_server.1.18.2.jar

Running the ftb server manually with there own server installer works fine, even after that the docker container says it cant find the forge installed server

You might need to set that one up as a generic pack like https://github.com/itzg/docker-minecraft-server/blob/master/examples/docker-compose-generic-pack-atm7.yml

This either yielded the same error or i misunderstood what im supposed to do.
Im not sure i sett it up correctly as i used the setup executable from FTB, witch isint a .zip
What zip to use for this modpack I'm not sure, is it the forge server zip?
Here are my ENV:
TYPE=FORGE
MAX_TICK_TIME=-1
MEMORY=6G
EULA=TRUE
ENABLE_RCON=true
RCON_PORT=25575
RCON_PASSWORD=minecraft
LEVEL_TYPE=DEFAULT
SERVER_PORT=25565
ONLINE_MODE=TRUE
SERVER_NAME=Takkis server
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
UID=1000
GID=1000
VERSION=1.18.2
FORGEVERSION=RECOMMENDED
SPONGEBRANCH=STABLE
SPONGEVERSION=
FABRICVERSION=LATEST
LEVEL=world
PVP=true
DIFFICULTY=easy
ENABLE_AUTOPAUSE=false
AUTOPAUSE_TIMEOUT_EST=3600
AUTOPAUSE_TIMEOUT_KN=120
AUTOPAUSE_TIMEOUT_INIT=600
AUTOPAUSE_PERIOD=10
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
JAVA_VERSION=jdk-17.0.3+7
JAVA_HOME=/opt/java/openjdk
GENERIC_PACK=serverinstall_96_2226

FTB sure makes things difficult in the spirit of trying to simplify things. Yeah, rather than offer a plain old zip file they only let you download their proprietary installer binary 😒
Meanwhile, I don't know what's wrong with that modpack in the first place since they bundled the Java runtime. It probably violates some redistribution licenses.

...actually, I wasn't able to recreate the problem. This started fine for me:
version: '3.8'

services:
  mc:
    image: itzg/minecraft-server
    environment:
      EULA: "true"
      TYPE: FTBA
      FTB_MODPACK_ID: "96"
    volumes:
      - data:/data

volumes:
  data: {}

Creating a new directory and using that in volumes instead seams to have solved the issue. Why this is i don't know.
Running it on /home/USER/servers/mcPlexi does not work, while /home/USER/servers/mcPlexi2 works perfectly...
Guessing it's not the image's fault.

I'm having the same issue, ARM, docker-compose.
Logs, docker-compose.yml, and data directory contents after up: https://gist.github.com/jtrenaud1s/28020eba3476ff28b35f5c51830b4b4c

Hello,
I think the issue is happen when the run script is not used (like when set `` to false) and this is due to -maxdepth 2 here
https://github.com/itzg/docker-minecraft-server/blob/c83705157ca47a6900917cab9463bcadc9bfda42/scripts/start-deployCF#L125
This limit should be up to 6 for allow find jar file in ./libraries/net/minecraftforge/forge/mcVersion-forgeVersion/forge-...

This is still an issue. When using https://www.curseforge.com/minecraft/modpacks/all-the-mods-7/download/3949730 as a CF_SERVER_MOD, the command:
find "${FTB_BASE_DIR}" -maxdepth 2 -type f \( -path "/libraries/*" -o -path "/mods/*" \) -prune -o -name "forge*.jar" -not -name "forge*installer.jar" -print

returns no results.
Changing it like so yields the following:
$ find -maxdepth 6 -type f \( -path "/libraries/*" -o -path "/mods/*" \) -prune -o -name "forge*.jar" -not -name "forge*installer.jar" -print
./libraries/net/minecraftforge/forge/1.18.2-40.1.68/forge-1.18.2-40.1.68-server.jar
./libraries/net/minecraftforge/forge/1.18.2-40.1.68/forge-1.18.2-40.1.68-universal.jar
./libraries/net/minecraftforge/forgespi/4.0.15-4.x/forgespi-4.0.15-4.x.jar

It does seem odd that multiple results are returned.
I think the query to find the forge jar needs a little work.

I was able to get All the Mods 7 0.4.29 (try to help anyone searching) working with the following environment:
TYPE=FORGE
VERSION=1.18.2
FORGEVERSION=40.1.68
GENERIC_PACK=/modpacks/atm7/0.4.29.zip

as alluded to in https://github.com/itzg/docker-minecraft-server/issues/1582#issuecomment-1171637383


No call count reset

Call count is not reset anymore on returns/throws
Fixes note35/sinon#32
Fixes note35/sinon#35

I will review most of this PR after I merge previous one.
One question I can mention in advance is about lots similar code in stub.py and Wrapper.py.
For example:
__get_matching_indices @ stub.py and __get_call_indices @ Wrapper.py
The difference of them is with or without conditions.
Do you plan to refactor them in the future?
I do believe it's necessary to do. But based on my memory, it may not be an easy because the passing arguments of *args and **kwargs.

Hi jonathan,
I need your help for fixing the conflict of this PR!
--Kir

Hi Kir,
I thought I had fixed all the conflicts on Friday. I will investigate.
--Jonathan

Hi Kir,
I rebased on top of the current note35:master and that seems to have fixed the merge conflicts.
--Jonathan

Hi Kir, you asked:

One question I can mention in advance is about lots similar code in stub.py and Wrapper.py.

I think perhaps this was an error in Github's algorithm for showing file changes. What happened is that I moved the functions from Wrapper.py to stub.py. After rebasing, I think the change is more clear now in Github,
I think it makes more sense for the functions that calculate what return value the stub should return are in stub.py rather than the spy wrapper. If you disagree, I can move them back to Wrapper.py.
--Jonathan

I think it makes more sense for the functions that calculate what return value the stub should return are in stub.py rather than the spy wrapper. If you disagree, I can move them back to Wrapper.py.

Sorry for the delay review, I thought about this change for few days to figure out whether this change is proper or not, I can accept your offer. My previous design had a big problem, the Wrapper shouldn't contain non-general function.


Update CI and related files to match module template

auto-changelog is missing, causing CI to fail. Will address that in a future PR.


Rewrite into Squid

https://github.com/subsquid/statemine-assets
https://github.com/subsquid/squid-template

🔝


Validate parameters and throw errors

To assist developers, the library should throw descriptive errors if it receives invalid parameters.

We should also throw a descriptive error if a callback function gives an index that doesn't correspond to an entry in a texture array.


feat: CE-1261-add-warning-message-to-user-attempting-to-edit-the-outcome-or-outcome-date-in-a-hwc-file

This PR is to address an issue when users edit outcome details after public reports have been published by showing a warning message.
Description
Please provide a summary of the change and the issue fixed. Please include relevant context. List dependency changes.
Fixes # (CE-1261)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Add an animal outcome to a HWC complaint.
Click the Edit button and select new outcome or outcome date. Check if the warning message is displayed. Click No on the modal, check if the changes your have made are rolled back.
Select new outcome or outcome date again. When the modal is displayed click Yes, check if your changes are preserved.

Checklist

[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

@dmitri-korin-bcps @nayr974  - It looks like this branch was created off of Kodiak bear so it's not able to be rebased cleanly to release/0.6.9.
Please create a new branch for this change off release/0.6.9 and either cherry pick the commits from this branch, or manually apply them.

@afwilcox @nayr974 I created a new PR https://github.com/bcgov/nr-compliance-enforcement/pull/800 with "release/0.6.9" as a target branch. The current PR and the corresponding branch will be deleted.


chore(deps): march monthly dependabot

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@677ce1c). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #50   +/-   ##
=======================================
  Coverage        ?   75.75%
=======================================
  Files           ?        6
  Lines           ?      330
  Branches        ?       61
=======================================
  Hits            ?      250
  Misses          ?       61
  Partials        ?       19

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 677ce1c...934c65b. Read the comment docs.


Cloning a TextVectorization Layer with Split Function Doesn't Work

System information.
Please see the Google Colab notebook. The TensorFlow version is 2.15.0.
Describe the problem.
Cloning a TextVectorization layer with a split function results in
TypeError: Could not parse config: <function pipe_split_fn at 0x7d103d1f7640>
Describe the expected behavior.
It should successfully clone the TextVectorization layer.
Standalone code to reproduce the issue.
https://colab.research.google.com/drive/1tIS0Ynjck80kKGWv1tTQ6oCc8Nj1xnNa?usp=sharing
I originally reported the issue here.

Inspecting the code for TextVectorization (https://github.com/keras-team/keras/blob/master/keras/layers/preprocessing/text_vectorization.py#L491) and deserialize_keras_object (https://github.com/keras-team/keras/blob/master/keras/saving/serialization_lib.py#L392), I see that there is no way the proper logic for deserializing the split function will run. The deserialization code looks for if module_objects is not None:, but TextVectorization.from_config() doesn't pass a module_objects parameter to deserialize_keras_object, so that code block doesn't execute.
As a workaround, I extended the tf.keras.layers.TextVectorization class with:
class PatchedTextVectorization(tf.keras.layers.TextVectorization):

  @classmethod
  def from_config(cls, config):
    if not isinstance(config["standardize"], str):
      config["standardize"] = tf.keras.saving.deserialize_keras_object(config["standardize"])
    if not isinstance(config["split"], str):
      config["split"] = tf.keras.saving.deserialize_keras_object(config["split"], module_objects = [])

    return cls(**config)

Cloning an instance of PatchedTextVectorization constructed with the split function works fine. You can see I shoehorned module_objects = [] into its invocation of tf.keras.saving.deserialize_keras_object.

@sachinprasadhs,
I was able to reproduce the issue on tensorflow v2.14, v2.15. Kindly find the gist of it here.

@rlcauvin , From TensorFlow 2.16, Keras 3 will be the backend for tf.keras, I see this is working fine with Keras 3, that should fix your issue, is there any specific reason you're using tf.keras with 2.15?
You can use tensorflow 2.15 and Keras 3 as well.
install tensorflow first and then install keras 3.

Thank you, @sachinprasadhs. Using !pip install -U keras to install Keras 3 worked. However, I want to use tensorflow_decision_forests. Unfortunately, import tensorflow_decision_forests as tfdf results in the error below. Please see the modified Google Colab notebook for the full code.
[/usr/local/lib/python3.10/dist-packages/tensorflow_decision_forests/keras/core.py](https://localhost:8080/#) in <module>
     75   # tf>1.12
---> 76   import keras.src.engine.data_adapter as data_adapter
     77 except ImportError:

ModuleNotFoundError: No module named 'keras.src.engine'

During handling of the above exception, another exception occurred:

ModuleNotFoundError                       Traceback (most recent call last)
3 frames
[<ipython-input-3-b4486e63aff0>](https://localhost:8080/#) in <cell line: 1>()
----> 1 import tensorflow_decision_forests as tfdf
      2 import tensorflow as tf
      3 from typing import Text

[/usr/local/lib/python3.10/dist-packages/tensorflow_decision_forests/__init__.py](https://localhost:8080/#) in <module>
     62 check_version.check_version(__version__, compatible_tf_versions)
     63
---> 64 from tensorflow_decision_forests import keras
     65 from tensorflow_decision_forests.component import py_tree
     66 from tensorflow_decision_forests.component.builder import builder

[/usr/local/lib/python3.10/dist-packages/tensorflow_decision_forests/keras/__init__.py](https://localhost:8080/#) in <module>
     51 from typing import Callable, List
     52
---> 53 from tensorflow_decision_forests.keras import core
     54 from tensorflow_decision_forests.keras import wrappers
     55

[/usr/local/lib/python3.10/dist-packages/tensorflow_decision_forests/keras/core.py](https://localhost:8080/#) in <module>
     77 except ImportError:
     78   # tf<=1.12
---> 79   import keras.engine.data_adapter as data_adapter
     80 get_data_handler = data_adapter.get_data_handler
     81

ModuleNotFoundError: No module named 'keras.engine'

Fixed in this commit! Thank you, closing this issue.


Property:objectQuantityType

Definition
The type of collection object that is being quantified.

Existing property

Existing class

Existing property identifier

Format
Text

Required
Yes

Repeatable
no

Constraints
Controlled vocabulary

Examples
Organism; Curatorial object; Lot; Imaged object; Type specimen

Notes

This term name doesn't make sense. The definition objectQuantityType is similar to objectType. Clearly this does not refer to a "type" of "objectQuantity", or does it?

Deprecated in favour of MeasurementOrFact class


[IMP] Use specific python version for a set of hooks

Pin the python version per Odoo version.
e.g.: as each local environment can be different, force the python version to avoid problems with incompatible hooks versions
@sbidoul

This is a bit problematic, as each Linux distribution may come with a different Python version pre-installed. What if you have Python 3.9 and is compatible, and you force 3.8? Do you have to install (and may get SO conflicts) to get Python 3.8 to run it? I understand that the goal is to avoid the problem if pre-commit for that version doesn't work for example for Python 3.10, but the ideal things is to have a supported Python versions interval. What I don't know is how to perform that.

I think most experienced Odoo devs know how to simultaneously have multiple versions of Python installed on their machine. This shouldn't be a concern for them.
The tricky bit is that lesser-experienced devs may not, and this creates a huge barrier to entry. For me, this barrier to entry makes this PR a non-starter, even though I've often wanted to make the same PR.
The way I am currently circumventing this problem is by installing pre-commit in my Odoo virtual environment, which uses a compatible version of Python. This isn't perfect, because when you switch a repo's branch to a different Odoo version, you may be using the wrong virtual environment's pre-commit.
@yajo may want to add this to #175 again.

One example: ruff only supports target version >= 3.7. However, Odoo 13 ran on python 3.6. So we cannot use ruff for formatting an Odoo 13 codebase.
Just an example; Ruff didn't exist back then, and i's done in Rust. But anyway I mean that this is something that sooner or later had to happen... At some point, the old pinned pre-commit deps won't be able to run on more modern python interpreters. Another option is to update them, so they do run on them. But even these deps usually deprecate support for deprecated python interpreter versions.
Yes, #175 is the definitive solution, so I won't block or push any other solution here 😁

This is a bit problematic, as each Linux distribution may come with a different Python version pre-installed. What if you have Python 3.9 and is compatible, and you force 3.8? Do you have to install (and may get SO conflicts) to get Python 3.8 to run it? I understand that the goal is to avoid the problem if pre-commit for that version doesn't work for example for Python 3.10, but the ideal things is to have a supported Python versions interval. What I don't know is how to perform that.

@pedrobaeza The problem is that a version of a hook can work for a set of python versions and not another one. So, if you have python3.12 (my case) installed, you should use python3.12 for pre-commit install. In this case, flake8 breaks and does not work.
Maybe exploring ruff should be great as it would require just one hook. I suppose the PR's curve on v13 branches will decrease and we can live with pre-commit on those repos.


Remove requirement to set up dylib

Setting up a crate as a dylib can break compilation in certain situations when it's not actually used as a dylib, especially on windows - leading to a "too many symbols" error. In Crossroad Blues I worked around it by creating a separate crate that was a dylib, and imported the game crate which only existed as an rlib.
For the CLI, it would be useful if we could avoid the need for that extra crate.

The solution I had set up doesn't work well with cross-compilation, so I'm going to aim for a different solution - possibly adding a "setup" command that sets up the extra crate and stuff like that....

Found a different solution by creating a temporary Cargo.toml with dylib when compiling/running via the CLI, and reverting to the original when the run is done. This prevents the compilation issues that can occur when you have dylib set on the crate but not used as part of the compilation itself...


Bug Report - Deploy-Private-DNS-Zones does not deploy DNS records for database.windows.net

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform: 1.6.1
azure provider: 3.81.0
module: 5.0.2
Description
Describe the bug
Similar to Azure/Enterprise-Scale#1479 and Azure/terraform-azurerm-caf-enterprise-scale#863, the Deploy-Private-DNS-Zones policy initiative does not include a policy for Azure SQL private endpoints. I'm not sure if this is because there is no predefined policy for this as far as I can tell (based upon https://learn.microsoft.com/en-us/azure/networking/policy-reference).
Steps to Reproduce

Deploy CAF module, with Corp Archetype
Create Azure SQL database to subscription under Corp Management group. Add Private Endpoint.
No record created in the privatelink.database.windows.net private DNS Zone in the connectivity subscription

Investigating the issue, may need to rely on some additional work we have in the backlog. Will keep you posted.

@rozkurt please investigate.

Hi, this is the same issue as issue 1408 It would be really great to add this resource and/or add documentation how to manage private DNS zones for resources where the policies are missing!

Waiting on this PR to be merged to enable custom assignment of Private DNS Zones: https://github.com/Azure/Enterprise-Scale/pull/1618

We're live with a lot of changes and enhancements. You should be able to create an assignment using our new generic Private DNS Zone policy if we're not doing it by default : https://www.azadvertizer.net/azpolicyadvertizer/Deploy-Private-DNS-Generic.html

We've published an updated version of generic Private DNS Zones policy linked above. Assuming this addresses your requirement.
Closing the issue as the generic policy should address the need. Feel free to open again if needed.


Frame dropping on scroll with iOS local build

Hi team,
Today I noticed significant frame dropping with the scrolling behaviour on one of the SingleChildScrollViews on my local build when I compared it to the AppStore build. For the record, I just cloned the repo, sorted out the signing and built the app in release mode, so this cannot be a result of implementation changes.
App store build
https://github.com/gskinnerTeam/flutter-wonderous-app/assets/77198675/d0fdf166-7380-469a-abd9-46f52a9da5cf
Local build
https://github.com/gskinnerTeam/flutter-wonderous-app/assets/77198675/42e09cf8-79d8-40c3-bca8-23aed26b8000
I am under the impression that Impeller does all shader compilation at build time, and that it is not required to pre-compile shaders, but the difference in performance leaves me quite perplexed and I am wondering if this is still required. Otherwise, I can't think ogofany other potential differences in the two builds that would result in the scrolling lag.
Any ideas?

Closing this issue as it is being amply discussed in the Flutter repo, i.e. https://github.com/flutter/flutter/issues/134309. For me, downgrading to Flutter 3.13.2 resolved this, as it appears that 2.13.3 regressed around this issue.

This issue is being amply discussed in the Flutter repo, i.e. https://github.com/flutter/flutter/issues/134309. For me, downgrading to Flutter 3.13.2 resolved this, as it appears that 2.13.3 regressed around this issue. As far as I'm concerned this can be closed

This issue is being amply discussed in the Flutter repo, i.e. flutter/flutter#134309. For me, downgrading to Flutter 3.13.2 resolved this, as it appears that 2.13.3 regressed around this issue. Closing


Retrieve version from debug.BuildInfo

When users install kubecfg from sources with go install the resulting binary doesn't know which version it has:
$ go install<EMAIL_ADDRESS>$ kubecfg version
kubecfg version: (dev build)
jsonnet version: v0.19.1
client-go version: v0.0.0-master+$Format:%H$

This is annoying especially when users check the version of the kubecfg tool with automated scripts.
The go toolchain knows how to provide the version number of all the modules, including the main module, but we're not making use of this (because kubecfg predates go modules).
See demo in https://github.com/mkmik/gomodver/blob/bbc9aabfd4778b7ff5f19259d4595c75d0e03d67/main.go#L10

I manually checked it worked after tagging:
$ go install<EMAIL_ADDRESS>$ ~/go/bin/kubecfg version
kubecfg version: v0.28.1
jsonnet version: v0.19.1
client-go version: v0.0.0-master+$Format:%H$


Corrupted box, recovering backup file

Getting "Corrupted box, recovering backup file" error in log and not getting any saved values after upgrading getx.

Me to...

Me to...

I use dart GetStorage().read() before dart GetStorage.init()

OK so I guess I know why I faced it.
Basically I made different boxes/containers like GetStorage('box1') and GetStorage('box2') but was only initializing the GetStorage.init().
Now I'm using only single container with no container name and it's working fine.

I too keep getting this error in the console when I restart the app. Is anyone still looking at this issue?

It's been more than a year and this issue is still open

I was getting the error by doing:
await GetStorage.init();
final box = GetStorage('label');

But after I resolved after changing to:
await GetStorage.init('label');
final box = GetStorage('label');

OK so I guess I know why I faced it. Basically I made different boxes/containers like GetStorage('box1') and GetStorage('box2') but was only initializing the GetStorage.init(). Now I'm using only single container with no container name and it's working fine.

Really thank you, it works :)

I solved it. The reason is that WidgetsFlutterBinding.ensureInitialized() is called in GetStorage.init(). If you also call WidgetsFlutterBinding.ensureInitialized() in the main function, this error will occur when the app restarts


Register root build as included build so that it can be addressed

This is a follow up to: #15011
If the root build is included by a child, it should be in the list of included builds.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test this

Sorry some internal error occurs, please contact the administrator @blindpirate

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle clean

@bot-gradle test QFL

OK, I've already triggered QuickFeedbackLinux build for you.

@bot-gradle test QFL

OK, I've already cancelled the old build and triggered a new QuickFeedbackLinux build for you.


Add // operation to Vector3

Changes
Added documentation for Vector3 // number
Added documentation for Vector3 // Vector3
Checks
By submitting your pull request for review, you agree to the following:

[x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
[x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
[x] To the best of my knowledge, all proposed changes are accurate.

Thanks a bunch @HiddenKaiser -- didn't realize floor division even worked here. I think we can use clearer language on all of the math operations (and remove the duplicate table up top), so I'm just going to merge your PR and then make some additional changes in a subsequent PR. Thanks again!


[WFCORE-3762] Actually create the response warning; the previous fix …

…would never actually do that.
Make the level WARNING not INFO as by default INFO is not sent to the user, making this pointless.
Also, avoid repeated response warnings from different steps for the same end user op.
Second shot at https://issues.jboss.org/browse/WFCORE-3762

Core - Full Integration Build 7306 outcome was UNKNOWN using a merge of 10f481b407bf46f1f1a7772b028c19d9b2617493
Summary: Canceled (Tests passed: 683, ignored: 42; exit code 137 (new)) Build time: 00:04:19


Optimization  optimize Incremental statistics collection and statistics cleaning

Incremental collection statistics optimization and statistics cleaning optimization.
TODO:

When these relevant pr's are presented and the statistical information document is completed, the p0 test with complete statistical information will be specially supplemented~
Remove support for statistics partition collection in the future..

Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run p0

run clickbench

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.57 seconds
stream load tsv:          445 seconds loaded<PHONE_NUMBER>9 Bytes, about 160 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230414011929_clickbench_pr_128828.html

run buildall

run buildall

Further modifications and discussions are needed for this PR before it could be merged

I have removed the code that is not part of this pr~

run buildall

run buildall

run p0

run clickbench

Wait until the sampling statistics pr are comerged before modifying

run buildall

run clickbench

run buildall

run buildall

run clickbench


Improve rajesh9050 behavior

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

changing validations.py

ok


Lab 5: Use HELP and TYPE in custom metrics

We should add HELP and TYPE in custom metrics lab.

As described in the best practices, we should use HELP and TYPE when creating our custom metrics.

Take input from here:
https://autsoft.net/defining-custom-metrics-in-a-spring-boot-application-using-micrometer/


NullReferenceException on iOS startup for TrackShellNavigatedEvents

I'm getting a null reference exception when calling CrossNewRelic.Current.TrackShellNavigatedEvents() on iOS
Seems the same thing was reported here:
https://forum.newrelic.com/s/hubtopic/aAXPh0000002GOrOAM/mobile-xamarin-issue-track-events
code is called from:
AppLifecycle.AddiOS(iOS => iOS.WillFinishLaunching((_,__) => {
StartNewRelic();
return false;
}));
Your Environment
latest Visual Studio 17.11.5
nuget version 1.1.4

@InquisitorJax where are you calling this ? it should called after you created AppShell for the App.

I just followed the documentation that shows it being added along with the HandleUncaughtException call in the WillFinishLuanching method.
I guess this is too soon since the app shell hasn't been assigned yet when this iOS event occurs.
I moved it to after AppShell is assigned to MainPage, and that seems to work fine.


Fix historical JNSQ sunflares

Historical component of Galileo88/JNSQ#27.

Can't download 5GB of mods :open_mouth:
353577 [1] FATAL CKAN.NetKAN.Program (null) - Disk full. Path /tmp/CdFileMgr/cff610ac-d1c6-46.tmp
Build step 'Execute shell' marked build as failure


Allow console.error() in HTMLViews

[x] I confirm I have restarted NotePlan and this problem still persists.
[x] Is this a repeatable problem?

When developing more advanced (and more useful) plugins using HTMLViews like Dashboard the only logging option we have is console.log(). Which isn't amazing, but is OK.
But now we're making more use of the React framework, we've hit a problem. It generates console.error() messages which are (we think) currently getting swallowed up by NP and not copied into the logs. This is making development harder and slower than usual.
We want to have the ability to use console.error (and while we're at it console.info), as third party frameworks expect.
Is there anything fundamentally stopping this?

Implemented, we can test in the next alpha (not yet uploaded).


ZF3 component compatibility (follow-up to #31)

Follow-up to #31.
TODO:

[x] Exposed to zend-component-installer as module (ZF\DoctrineQueryBuilder)
[x] composer scripts
[x] short array notation everywhere
[x] set minimum supported PHP version to 5.6
[x] Update ZF\Doctrine\QueryBuilder\Module:

Remove direct interface implementations (these will be phased out of ModuleManager and pushed to the appropriate components in the near future) it is not clear if these interfaces will be phased out
[x] Remove getAutoloaderConfig() implementation

[x] use ::class notation everywhere
[x] convert all invokables to aliases+factories
[x] update composer.json to tagged latest version of dependencies
[x] add phpcs.xml rules to follow those in zf-apigility and zf-apigility-admin, and run across code base
[x] added new factories

[x] Query\Provider\DefaultOdmFactory
[x] Query\Provider\DefaultOrmFactory

[x] added tests for classes:

[x] Query\Provider\DefaultOdm
[x] Query\Provider\DefaultOdmFactory
[x] Query\Provider\DefaultOrm
[x] Query\Provider\DefaultOrmFactory

Changes Unknown when pulling efb3d43fd16817b4d6eb30948c8da823c70e2cf1 on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling ed28887babe6ab89a6e64e5c2922ec3671e1cb6c on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling a216deff6df12d2ba72fdb85e0fce9f285f38182 on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling e0bfd7bbdce953602beaf2209586cfe5650447c8 on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling e0bfd7bbdce953602beaf2209586cfe5650447c8 on webimpress:feature/zf3compat into ** on zfcampus:master**.

I tested latest version from your branch - it seems all works (I tested only ORM filters/order).
But I found some other issue, I created issue - https://github.com/zfcampus/zf-apigility-doctrine/issues/278

Changes Unknown when pulling 0fc9076563ddac820f777a184d784a1e58693c00 on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling 6ecced5c4cb05765c5ed0c65bddd5e2e189a5aa9 on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling 8c59f2924e2d6a99cf339d1a7721f7d02d9249b1 on webimpress:feature/zf3compat into ** on zfcampus:master**.

@zfcampus/doctrine ready to review and tests ! :)

ping @jguittard @weierophinney

Changes Unknown when pulling 2a82f8f3130197056b9adfc8a992444a5ed58ff4 on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling 5c5a3240271b8b2d31897fb8bfb23c1952a0cb55 on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling e49949e19638cec84aa66b55cf6c1ba285ffcdc8 on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling d0d22390f0ae7053478d5fedc446b6df9b45894e on webimpress:feature/zf3compat into ** on zfcampus:master**.

Changes Unknown when pulling 71effda717cd9673f5499b5fbcccb6f60a3e5d73 on webimpress:feature/zf3compat into ** on zfcampus:develop**.

@webimpress Can you update packagist for the 1.5.0 tag?


Disable log invalidation time

We can disable the logging in PL/pgSQL and enable at plpython level.
This will help having a custom logging format and destination. The problem of having the logging inside PL/pgSQL is the postgresql raise context which can be too verbose for some types of write operations.
https://github.com/CartoDB/cartodb/pull/6141
/cc @rochoa @zenitraM @rafatower @javisantana

OK from my side.

:+1:

merging...

We closed this PR by mistake


Add type to all internal button elements

Description
Several Primer UI elements use the <button> element as part of rendering, such as Tab nav. Buttons without a type tag automatically default to type="submit" (MDN docs). If there's a form tag containing any Primer components that render buttons, interacting with the element will trigger the form submission action. This is surprising and undesirable, especially when the component doesn't make sense as a submission button.
(xref: https://github.com/github/internal-statuspage/pull/4091, https://github.com/github/incident-lifecycle/issues/737)
Steps to reproduce
I had some trouble setting up the latest version of primer on CodeSandbox (it complains about missing files from @oddbird/popover-polyfill, despite adding it as a dependency). Here's a minimum example that demonstrates the issue:
import { TabPanels } from "@primer/react";

function handleSubmit(event: React.FormEvent<HTMLFormElement>) {
  event.preventDefault();
  console.log("form submitted");
}

export default function App() {
  return (
    <form onSubmit={handleSubmit}>
      <TabPanels aria-label="Select a tab" id="tab-panels" defaultTabIndex={0}>
        <TabPanels.Tab>Tab 1</TabPanels.Tab>
        <TabPanels.Tab>Tab 2</TabPanels.Tab>
        <TabPanels.Tab>Tab 3</TabPanels.Tab>
        <TabPanels.Panel>Panel 1</TabPanels.Panel>
        <TabPanels.Panel>Panel 2</TabPanels.Panel>
        <TabPanels.Panel>Panel 3</TabPanels.Panel>
      </TabPanels>
    </form>
  );
}

Clicking each of the tabs will cause form submitted to be printed to the console, because each tab renders a button without a type attribute.
My opinion (not that anyone asked for it): it would be best to avoid unspecified type attributes for buttons with a linting check, like with https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/button-has-type.md
Version
v36.27.0
Browser
Chrome, Safari, Firefox, Edge, iOS Safari

Looks like public Button components have default types (https://github.com/primer/react/issues/2806, https://github.com/primer/react/issues/3730), but internal uses of button elements may be missing a type. I agree that a linting rule here would be a good idea.

Hi there! 👋
I believe this is unique to TabPanels as it is using: https://github.com/github/tab-container-element under the hood and I believe that is not adding the appropriate type attribute here.
I believe with the rule enabled we will get tests flagged but there shouldn't be any button elements without an explicit type (but will double check 👀)

Hi all! Opened up a PR here for this: https://github.com/primer/react/pull/4970
I enabled the rule that was mentioned above (react/button-has-type) and addressed the errors that came up. Unfortunately, these were in test files and it seems like components like TabPanels (now UnderlinePanels) are not being caught by this since this is an interop point with a custom element.
I updated the component specifically in that PR and will see if there is something we can do to help prevent this from happening in these kinds of scenarios in the future 🤔
Also wanted to leave a note that the experimental TabPanels component is being removed in favor of UnderlinePanels! Let me know if you any questions about that 👍

I think this should've gotten closed by https://github.com/primer/react/pull/4970. Please reopen or respond if there's more to discuss here. Thanks all!


Run out of Memory for Chapt. 10 with Feature_extraction

I am sorry to open this issue because while running the feature_exact.py file from Chapt. 10, I have encountered  the problem of running out of memory. I observed that my RAM increases from 10G to 25 G then an error raised  RuntimeError: Couldn't open shared file mapping: <torch_17120_2057656553>, error code: <1455> at C:\Anaconda2\conda-bld\pytorch_1519496000060\work\torch\lib\TH\THAllocator.c:157
I have tried to use gc.collect and delete "imgs" and "features", but the memory use still gets increased.
I am using pytorch 0.3.1 in windows from @peterjc123.

@jizongFox Have you solved your problem while update Torch to 0.4.0?

@ROCKBOOM I fixed the bugs found and made them adapted to pytorch-0.4.0 windows edition. You can see my repo if you want.

thank you so much！


TaxonomyDeleteEntityLinkMutation

Definition
Message (TypeScript definition)
interface Message {
  type: "TaxonomyDeleteEntityLinkMutation",
  payload: Payload
}

interface Payload {
  entityIds: number[]
  taxonomyTermId: number
}

Output (TypeScript definition)
interface Output {
  success: boolean
}

Description what happens in the database layer
Deletes a link in the table term_taxonomy_entity.
Necessary checks / possible errors

[x] entityIds belong each to an entity
[x] taxonomyTermId belongs to a taxonomy term
[x] there is a link between them
[x] Create necessary events

[ ] entityIds belong each to an entity
[ ] taxonomyTermId belongs to a taxonomy term

I'm not sure if we need these checks (at least not as extra verifications), since if the ids are already in the table they exist and belong to entities and taxonomies.

Do you think we need to reorder the positions of the remaining linked entities? Let's say, if we have the folllowing table
+-----+-----------+------------------+----------+
| id  | entity_id | term_taxonomy_id | position |
+-----+-----------+------------------+----------+
| 319 |      2131 |                7 |        1 |
| 345 |      2183 |                7 |        2 |
| 346 |      2185 |                7 |        3 |
+-----+-----------+------------------+----------+

And we delete 345. Should the table stay like that (ugly, but doesn't actually matter)
+-----+-----------+------------------+----------+
| id  | entity_id | term_taxonomy_id | position |
+-----+-----------+------------------+----------+
| 319 |      2131 |                7 |        1 |
| 346 |      2185 |                7 |        3 |
+-----+-----------+------------------+----------+

Or like that (pretty, but it would need more code for something maybe useless) :
+-----+-----------+------------------+----------+
| id  | entity_id | term_taxonomy_id | position |
+-----+-----------+------------------+----------+
| 319 |      2131 |                7 |        1 |
| 346 |      2185 |                7 |        2 |
+-----+-----------+------------------+----------+

Do you think we need to reorder the positions of the remaining linked entities?

Not necessary

@hugotiburtino With "there is a link between them" you already have tested " entityIds belong each to an entity" and "taxonomyTermId belongs to a taxonomy term" -> just add tests for both cases

Closed in https://github.com/serlo/serlo.org-database-layer/pull/222


fixing second incorrect link name

PR #3470 only fixed one of the instances on that topic
/cc @carolinacmoravia @rpetrusha

I'll leave this to you to merge, @mairaw.


Remove overinstalling the timer kamelet

port https://github.com/apache/camel-k/pull/3496 to 1.9

Shouldn't we update this as well before merging?


import torch (was missing)

torch was not imported so chunk did not work.

Thanks, I really appreciate this pull request @howtodowtle! 😊


EthStorage Devs Meeting #87 Agenda

Meeting Info

July 02, 2024, 11:00 UTC+8
Duration: 60 minutes
Meeting link
Anyone can comment on the agenda where they would like this to be discussed.

Agenda

Protocol/App/Research progress
BD/Marketing progress

Public testnet campaign: application: 5728 => 5935; submission: 644 => 703; passed: 312 => 346
Storage contract

https://github.com/ethstorage/storage-contracts-v1/pull/96
https://github.com/ethstorage/storage-contracts-v1/pull/97

ES on L2

es-geth full node sync, block explorer
TODO

Uploading test - BLOB cache
New shard

Created devnet_new_node.md
Researching blob challenge extension.

Review implementation and testing of pevm.

https://github.com/ethstorage/es-node/pull/291

support cancelling tx

https://github.com/ethstorage/es-node/pull/300

test to do

https://github.com/ethstorage/es-node/issues/298

https://github.com/ethstorage/es-node/issues/155#issuecomment-2196088258

https://github.com/iden3/go-rapidsnark/issues/18
replace or support both?

https://github.com/ethstorage/es-node/issues/205

web3:// official website is online.
Fix ethstorage-sdk sepc related comments.
Implement ethstorage-sdk according to the latest sepc.

1 ethcc side event prepare (7/8-7/12), we did not got the main event speaking opportunity this time
2 quarkchain new layer2 website
3 ens partnership plan

Research on potential large preimage issue of fault proof
Integration with zkWasm batcher
Gas report of op fault proof

Investigation: https://github.com/ethstorage/es-node/issues/176, risc zero trusted setup, p0tion)
items:

[ ] Code change:

[ ] Change and test p0tion for ethstorage
[ ] merge privacy-scaling-explorations/p0tion latest change to our repository

[x] Setup ceremony and resolve issues

[x] Build & deployment:

yarn firebase login --no-localhost
AWS: remove .terraform folder under backend/aws/ to reduce deploy size
Firebase 9.20 has bug

[x] Authentication:

Enable compute API
Call signInToFirebase error FirebaseError: Firebase: Error (auth/account-exists-with-different-credential)
Function v1 and v2 using different roles

[x] Process:

[x] Missing Firestore index
[x] Verification failure
[x] Upload pot larger than 21 would upload fail as its size is 4.5G

[ ] Doc

[ ] https://docs.google.com/document/d/1WxZmFbFINaEdXk1Mjh58XsvWhJsl6VSsdfSBSj5sXz8/edit
[ ] tutorials:  https://github.com/ethstorage/p0tion/pull/1

[x] Integration with [blob_poseidon_2.circom] (https://github.com/ethstorage/zk-decoder/blob/52f538629440fc97dc931e04fdf81dc2362491ae/circom/circuits/blob_poseidon_2.circom)

performance:

PTau 20: AX101 10 minutes, local machine 18 minutes (4+ minutes on firebase function)
PTau 22: AX101 15 minutes, local machine 30- minutes (9+ minutes on firebase function)

[ ] setup UI: setup https
[x] Setup Product environment

es-node sepolia: run node to repro issue

Public testnet

Writing the draft of WSC
Preparing web3:// intensive learning

Develop multi-section dispute game feature

Bugfix: Added _attackbranch logic to the _verifyExecBisectionRoot  function
Bugfix: Added _attackbranch logic to the stepV2 function


VolumetricFog memory leak fix

Fixes a memory leak on clients and prevents a crash from deleting a RTT target while it's still registered with the GFX device.

Ah, nice!


Add biking for transfer interpolation

add biking as an option and increase transfer time
https://github.com/bikehopper/graphhopper/blob/442e66afc140df551b55774c1d20f57f673ce9f3/reader-gtfs/src/main/java/com/graphhopper/gtfs/GraphHopperGtfs.java#L106

closing in favor of #56


328 conditional impact model display

fixes #328
refactors some param evaluation logic to be centralised in route guard.

fixes an issue where you couldn't navigate directly to the projections page

Apologies if ive misunderstood, but Maauritania > Calcium shows projection pane with n/a, while Mauritania > Copper hides the projection page. Should it not show the pane if all data is n/a?

@Fuhji
It works off the "isInImpact" flag in the micronutrient data.  I think johann put in additional code to show "n/a" when the data should be there but wasn't (I'd have said "missing"/"unknown"/"error" would be more appropriate).
Looks like the data is inconsistent in this specific case, but the UI is responding correctly imo.


[Bug] Get exception message even though functionsWorkerEnabled is set correctly when starting the function

Search before asking

[X] I searched in the issues and found nothing similar.

Version
<IP_ADDRESS>
ps: streamnative/sn-pulsar:<IP_ADDRESS>
Minimal reproduce step
Try to use the example function:
bin/pulsar-admin functions create \
   --function-config-file examples/example-function-config.yaml \
   --jar examples/api-examples.jar

What did you expect to see?
The function successfully created
What did you see instead?
It returns the message:
Pulsar Function Worker is not enabled, probably functionsWorkerEnabled is set to false

Anything else?
The functionsWorkerEnabled in standalone.conf has been set to true, and this is confirmed in the log when Pulsar starts.
This doesn't look like a configuration issue, what could be the reason for this, is there any more information I can provide?
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Standalone server need to keep the function server started, please check the startup log or the args -nfw=false


Difference between doc and other tests when linking to external libraries on macOS

Hi,
This question is inspired by the discussion here, and I’ll use the blas-sys crate as an example. The crate has two simple tests in the tests directory, whose sole purpose is to ensure that the crate links properly to the external BLAS library of choice. One of such external BLAS libraries is the one provided by the netlib-src crate, and it can be activated in blas-sys by the netlib feature.
The test suite of blas-sys with netlib activated can be run as follows:
git clone https://github.com/stainless-steel/blas-sys && cd blas-sys
cargo test --no-default-features --features=netlib

On macOS 10.12.3, one gets the following output:
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running target/debug/deps/blas_sys-110baa22f9ad9905

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured

     Running target/debug/deps/lib-1e3e8ab0d0ecd80d

running 2 tests
test link_c ... ok
test link_fortran ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured

   Doc-tests blas-sys
dyld: Symbol not found: _appleblas_i16gemm
  Referenced from: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
  Expected in: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/libBLAS.dylib
 in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
error: process didn't exit successfully: `rustdoc --test /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/src/lib.rs --crate-name blas_sys -L dependency=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps -L /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib --cfg feature="netlib" --cfg feature="netlib-src" --extern blas_sys=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libblas_sys-6bb82d972bc0e371.rlib --extern libc=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/liblibc-5dc7b85e748840b4.rlib --extern netlib_src=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libnetlib_src-2c69d716003ea8dc.rlib` (signal: 6, SIGABRT: process abort signal)

To learn more, run the command again with --verbose.

It can be seen that the two tests in tests have successfully passed. However, testing the documentation (there are no actual tests in the documentation) has failed complaining about some linking-related problem. The conclusion is that there is a certain difference between the way Cargo runs doc tests and the way Cargo runs other tests. This difference perhaps shouldn’t exist.
It’s worth mentioning that the above scenario seems to work find on Travis CI; see here. Their version of macOS is 10.11.6. However, there’s also an indication that the problem is present in 10.11.6 as well.
I would be grateful for any feedback. Thank you!
Regards,
Ivan
$ cargo --version
cargo 0.18.0-nightly (5db6d64 2017-03-03)
$ rustc --version
rustc 1.17.0-nightly (b1e31766d 2017-03-03)

Ah sorry I don't know much about what's going on here unfortunately. Do these error messages look familiar to you? Anything to help prod in the right direction?
If all else fails you can always specify doctest = false in Cargo.toml as well to disable doctests entirely.

It’s interesting that when I run it with --verbose, I can see the exact command being executed after “Running”:
$ cargo test --verbose --no-default-features --features=netlib
       Fresh gcc v0.3.43
       Fresh libc v0.2.21
       Fresh cmake v0.1.21
       Fresh netlib-src v0.6.0
       Fresh blas-sys v0.6.6 (file:///Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys)
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/blas_sys-110baa22f9ad9905`

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured

     Running `/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/lib-1e3e8ab0d0ecd80d`

running 2 tests
test link_fortran ... ok
test link_c ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured

   Doc-tests blas-sys
     Running `rustdoc --test /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/src/lib.rs --crate-name blas_sys -L dependency=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps -L /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib --cfg 'feature="netlib-src"' --cfg 'feature="netlib"' --extern blas_sys=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libblas_sys-6bb82d972bc0e371.rlib --extern libc=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/liblibc-5dc7b85e748840b4.rlib --extern netlib_src=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libnetlib_src-2c69d716003ea8dc.rlib`
dyld: Symbol not found: _appleblas_i16gemm
  Referenced from: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
  Expected in: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/libBLAS.dylib
 in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
error: process didn't exit successfully: `rustdoc --test /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/src/lib.rs --crate-name blas_sys -L dependency=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps -L /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib --cfg feature="netlib-src" --cfg feature="netlib" --extern blas_sys=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libblas_sys-6bb82d972bc0e371.rlib --extern libc=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/liblibc-5dc7b85e748840b4.rlib --extern netlib_src=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libnetlib_src-2c69d716003ea8dc.rlib` (signal: 6, SIGABRT: process abort signal)

Caused by:
  process didn't exit successfully: `rustdoc --test /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/src/lib.rs --crate-name blas_sys -L dependency=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps -L /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib --cfg feature="netlib-src" --cfg feature="netlib" --extern blas_sys=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libblas_sys-6bb82d972bc0e371.rlib --extern libc=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/liblibc-5dc7b85e748840b4.rlib --extern netlib_src=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libnetlib_src-2c69d716003ea8dc.rlib` (signal: 6, SIGABRT: process abort signal)

If I copy and paste that command into the terminal, it finishes without any errors:
$ rustdoc --test /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/src/lib.rs --crate-name blas_sys -L dependency=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps -L /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib --cfg 'feature="netlib-src"' --cfg 'feature="netlib"' --extern blas_sys=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libblas_sys-6bb82d972bc0e371.rlib --extern libc=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/liblibc-5dc7b85e748840b4.rlib --extern netlib_src=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/libnetlib_src-2c69d716003ea8dc.rlib

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured

It looks like Cargo modifies the environment in a way that makes it crash.

Yeah this is likely related to Cargo's handling of DYLD_LIBRARY_PATH, but I don't quite know precisely how :(

I’ve found a way to call rustdoc manually and make it fail with the same error as the one Cargo encounters when it runs rustdoc internally as part of cargo test. Here is a little script:
#!/bin/bash

function join { local IFS="$1"; shift; echo "$*"; }

code="/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys"
toolchain="/Users/Ivan/.rustup/toolchains/nightly-x86_64-apple-darwin"
paths=(
    "${code}/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib" # <-- 1
    "${code}/target/debug"
    "${code}/target/debug/deps"
    "${toolchain}/lib"
)
paths=$(join : "${paths[@]}")

DYLD_LIBRARY_PATH="${paths}" rustdoc \
  --test ${code}/src/lib.rs \
  --crate-name blas_sys \
  -L dependency=${code}/target/debug/deps \
  -L ${code}/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib \ # <-- 2
  --cfg 'feature="netlib"' \
  --cfg 'feature="netlib-src"' \
  --extern blas_sys=${code}/target/debug/deps/libblas_sys-6bb82d972bc0e371.rlib \
  --extern libc=${code}/target/debug/deps/liblibc-5dc7b85e748840b4.rlib \
  --extern netlib_src=${code}/target/debug/deps/libnetlib_src-2c69d716003ea8dc.rlib

The last command is the same as the one reported by cargo test --verbose; I just made it look a bit more legible. The paths variable contains what the non-doc tests—which finish successfully—see when they are being run via cargo test. I suppose rustdoc sees the same paths when run under cargo test. If the line marked by <-- 1 is removed, the command finishes successfully; otherwise, it fails with the same error as before:
dyld: Symbol not found: _appleblas_i16gemm
  Referenced from: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
  Expected in: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/libBLAS.dylib
 in /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib

That path marked by <-- 1 is where the libraries compiled by netlib-src are located. I guess rustdoc can find them without any environment variable set beforehand via the argument on the line marked by <-- 2. However, if both <-- 1 and <-- 2 are removed, rustdoc still finishes successfully. Probably it’s because there’s no actual code in the doc tests, or it links to the system libraries somehow instead of the ones compiled by netlib-src.

@AlexCrichton, do you know if it’s possible to get one’s hands on the binaries that rustdoc compiles and executes internally? Maybe what they link to can shed some light on the issue.

do you know if it’s possible to get one’s hands on the binaries that rustdoc compiles and executes internally?

Would putting something like
println!("{}", ::std::env::current_exe());
::std::thread::sleap_ms(100000);

in doctest do the trick?

@matklad, the thing is they don’t even get to be executed; they cannot be run.

@IvanUkhov that sounds quite fishy! I would expect the opposite, the removal of <-- 1 to cause a failure, not to cause the test to succeed.
Are you sure that you're compiled against the local version and not a system version?
Unfortunately there's not a great way to inspect the binaries before rustdoc runs them :(

You could maybe use gdb to freeze rustdoc though before it deletes directories?

@AlexCrichton, yeah, I know it’s strange that it’s the other way around for rustdoc. However, it works exactly as one would expect with the binary for non-documentation tests: if you run it without <-- 1, it cannot start due to missing libraries (the ones in out/lib), and if you run it with <-- 1, it works perfectly. Something is really special about the binaries produced by rustdoc or the environment in which they are executed.

FWIW rustdoc's handling of doctest is all here, maybe that'll help out?

@AlexCrichton, I think that code is irrelevant as there are no actual tests in the documentation of blas-sys. Now I started to wonder about what is actually being executed by rustdoc. According to the code you mentioned, if I’m not mistaken, rustdoc creates a separate binary for each of the tests that it’s able to find. If there is nothing to run, where does it actually fail?

wut
Wow I've been totally misreading this...
rustdoc failed to load? What in the world is rustdoc loading accidentally?!

Er wait yeah now hang, on, none of this is making sense!
The error indicates that rustdoc is the one that can't start. Rustdoc is indeed dynamically linked but to rustc libs, and cargo isn't tampering with that path. What in the world?!
@IvanUkhov what are the contents of "${code}/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib"?

$ ls -l target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/
total 24560
drwxr-xr-x  5 Ivan  staff      170 Mar 13 19:58 cmake
-rwxr-xr-x  1 Ivan  staff   582864 Mar 17 18:33 libblas.3.6.1.dylib
lrwxr-xr-x  1 Ivan  staff       19 Mar 13 19:58 libblas.3.dylib -> libblas.3.6.1.dylib
lrwxr-xr-x  1 Ivan  staff       15 Mar 13 19:58 libblas.dylib -> libblas.3.dylib
-rwxr-xr-x  1 Ivan  staff   195784 Mar 17 18:33 libcblas.dylib
-rwxr-xr-x  1 Ivan  staff  8198832 Mar 17 18:33 liblapack.3.6.1.dylib
lrwxr-xr-x  1 Ivan  staff       21 Mar 13 19:58 liblapack.3.dylib -> liblapack.3.6.1.dylib
lrwxr-xr-x  1 Ivan  staff       17 Mar 13 19:58 liblapack.dylib -> liblapack.3.dylib
-rwxr-xr-x  1 Ivan  staff  3096096 Mar 17 18:33 liblapacke.dylib
-rwxr-xr-x  1 Ivan  staff   479032 Mar 17 18:33 libtmglib.dylib
drwxr-xr-x  6 Ivan  staff      204 Mar 13 19:58 pkgconfig

Yeah rustdoc shouldn't be linking to any of those.
Can you poke around with some of the DYLD_PRINT_* variables and see if that turns up anything? It'd be great to understand what is leading rustdoc to this error.

DYLD_PRINT_ENV=1:
...
DYLD_LIBRARY_PATH=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib:/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug:/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps:/Users/Ivan/.rustup/toolchains/nightly-x86_64-apple-darwin/lib
CARGO_HOME=/Users/Ivan/.cargo
RUST_RECURSION_COUNT=1
RUSTUP_TOOLCHAIN=nightly-x86_64-apple-darwin
RUSTUP_HOME=/Users/Ivan/.rustup
CARGO_MANIFEST_DIR=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys
CARGO_PKG_AUTHORS=Andrew Straw <strawman@astraw.com>:Corey Richardson <corey@octayn.net>:Ivan Ukhov <ivan.ukhov@gmail.com>:bluss
CARGO=/Users/Ivan/.rustup/toolchains/nightly-x86_64-apple-darwin/bin/cargo
CARGO_PKG_NAME=blas-sys
CARGO_PKG_VERSION_PRE=
CARGO_PKG_HOMEPAGE=https://github.com/stainless-steel/blas-sys
CARGO_PKG_DESCRIPTION=The package provides bindings to the Basic Linear Algebra Subprograms.
 And this only happens when running rustdoc. In particular, it doesn’t happen when running the tests in tests.

With those other tests, DYLD_PRINT_LIBRARIES=1 gives the following:
dyld: loaded: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/deps/blas_sys-110baa22f9ad9905
dyld: loaded: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/libblas.3.dylib
dyld: loaded: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/liblapack.3.dylib
dyld: loaded: /Users/Ivan/Work/Homebrew/opt/gcc/lib/gcc/6/libgfortran.3.dylib
dyld: loaded: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/libcblas.dylib
dyld: loaded: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/liblapacke.dylib
dyld: loaded: /Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib/libtmglib.dylib
dyld: loaded: /usr/lib/libSystem.B.dylib
dyld: loaded: /Users/Ivan/Work/Homebrew/lib/gcc/6/libgcc_s.1.dylib
dyld: loaded: /Users/Ivan/Work/Homebrew/opt/gcc/lib/gcc/6/libquadmath.0.dylib
dyld: loaded: /usr/lib/system/libcache.dylib
dyld: loaded: /usr/lib/system/libcommonCrypto.dylib
dyld: loaded: /usr/lib/system/libcompiler_rt.dylib
dyld: loaded: /usr/lib/system/libcopyfile.dylib
dyld: loaded: /usr/lib/system/libcorecrypto.dylib
dyld: loaded: /usr/lib/system/libdispatch.dylib
dyld: loaded: /usr/lib/system/libdyld.dylib
dyld: loaded: /usr/lib/system/libkeymgr.dylib
dyld: loaded: /usr/lib/system/liblaunch.dylib
dyld: loaded: /usr/lib/system/libmacho.dylib
dyld: loaded: /usr/lib/system/libquarantine.dylib
dyld: loaded: /usr/lib/system/libremovefile.dylib
dyld: loaded: /usr/lib/system/libsystem_asl.dylib
dyld: loaded: /usr/lib/system/libsystem_blocks.dylib
dyld: loaded: /usr/lib/system/libsystem_c.dylib
dyld: loaded: /usr/lib/system/libsystem_configuration.dylib
dyld: loaded: /usr/lib/system/libsystem_coreservices.dylib
dyld: loaded: /usr/lib/system/libsystem_coretls.dylib
dyld: loaded: /usr/lib/system/libsystem_dnssd.dylib
dyld: loaded: /usr/lib/system/libsystem_info.dylib
dyld: loaded: /usr/lib/system/libsystem_kernel.dylib
dyld: loaded: /usr/lib/system/libsystem_m.dylib
dyld: loaded: /usr/lib/system/libsystem_malloc.dylib
dyld: loaded: /usr/lib/system/libsystem_network.dylib
dyld: loaded: /usr/lib/system/libsystem_networkextension.dylib
dyld: loaded: /usr/lib/system/libsystem_notify.dylib
dyld: loaded: /usr/lib/system/libsystem_platform.dylib
dyld: loaded: /usr/lib/system/libsystem_pthread.dylib
dyld: loaded: /usr/lib/system/libsystem_sandbox.dylib
dyld: loaded: /usr/lib/system/libsystem_secinit.dylib
dyld: loaded: /usr/lib/system/libsystem_symptoms.dylib
dyld: loaded: /usr/lib/system/libsystem_trace.dylib
dyld: loaded: /usr/lib/system/libunwind.dylib
dyld: loaded: /usr/lib/system/libxpc.dylib
dyld: loaded: /usr/lib/libobjc.A.dylib
dyld: loaded: /usr/lib/libauto.dylib
dyld: loaded: /usr/lib/libc++abi.dylib
dyld: loaded: /usr/lib/libc++.1.dylib

It can be seen that vecLib.framework is not loaded in this case.

Hm what I'm curious about is why rustdoc loads vecLib.framework. We definitely don't directly depend on that!

 So it seems to be orthogonal to Cargo.
Here is a Python script to help to find vecLib.framework in the dependency graph of rustdoc:
import subprocess
import sys

where = sys.argv[1]
what = sys.argv[2]

def walk(path, seen=[]):
    seen.append(path)
    process = subprocess.Popen(['otool', '-L', path], stdout=subprocess.PIPE)
    for line in process.stdout:
        line = line.decode('utf-8')
        if '(' not in line:
            continue
        new_path = line.strip().split(' ')[0]
        if new_path in seen:
            continue
        if what in new_path:
            return [new_path]
        result = walk(new_path)
        if len(result) == 0:
            continue
        result.insert(0, path)
        return result
    return []

for path in walk(where):
    print(path)

I get the following output:
$ python3 script.py `which rustdoc` BLAS
/Users/Ivan/.cargo/bin/rustdoc
/usr/lib/libcurl.4.dylib
/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
/System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon
/System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
/System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib

The conclusion is that rustdoc picks it up via libcurl.dylib, and it’s inevitable, I guess. It seems netlib-src won’t be able to work properly whenever vecLib.framework is also present.

And the plot thickens!
So rustdoc itself doesn't actually link to libcurl at all, but the rustup version of rustdoc does.
Given that, do these all fail in a similar fashion?
export DYLD_LIBRARY_PATH=/Users/Ivan/Documents/Work/Code/github.com/stainless-steel/blas-sys/target/debug/build/netlib-src-da4bf3f3106af0b5/out/lib

rustup --version
cargo --version
$absolute_path_to/cargo --version
rustc --version # rustup shim
rustdoc --version # rustup shim

# this should work
$absolute_path_to/rustdoc --version

This may end up just meaning that we need to statically link to libcurl instead of dynamically linking it on OSX

When called from ~/.cargo/bin, rustup, cargo, rustc, and rustdoc fail with that same exception. When called from ~/.rustup/toolchains/nightly-x86_64-apple-darwin/bin, cargo fails as before, and rustc and rustdoc work fine.
I suppose it’s entirely my problem, and I should fix it in netlib-src (for instance, by renaming the libraries whose names might clash with the names of those installed in the system). The way you link to libcurl shouldn’t be changed. Why should it? It won’t solve the problem. There is always the possibility that an application depending on netlib-src will want to link to something that depends on that Apple’s framework in one way or another.

Yeah it's true that renaming your local libraries should fix this issue (to avoid conflicts with system libs).
I think it'd also be fixed if we compiled our own version though because libcurl requires this lib (it appears) transitively through /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP, and we definitely don't need LDAP support in Cargo/rustup :)

@AlexCrichton, thanks for your guidance! It was very valuable.


Increase the number of decimals in the portfolio

please increase the number of decimals in the portfolio, 2 decimals for crypto prices is too low, I'm expecting at least 4 to 6 decimals, is it possible to list the price also for the tokens, only ADA has the unit price now, other tokens have only the % of variation

Tickets: YV-93 & YV-94


On-cluster build: Implement build Task that doesn't require privileged cluster permissions or root

Builpacks taks update: https://github.com/tektoncd/catalog/pull/959


CONCAT should preserve langMatches semantics

As an extension of #1168, it would be nice to make this work with subtags, so that langMatches semantics is upheld. Eg
concat("foo"@en-US,"bar"@en-GB) -> "foobar"@en
concat("foo"@en-Latn-US,"bar"@en-US) -> "foobar"@en-US  # because Latn is default for en

What other string functions should do the same goodness?


Graphical Favorite list

Allow the game list to set and view favorites.
The X button on the input controller was defined as an optional button to allow for toggling a game as a favorite or not a favorite on the detailed game list.

Using NES simple theme as an example, if you add / mod the following lines in your \themes\simple\nes.theme.xml you will see "Favorite: YES" or "Favorite: NO" underneath Times Played.  Adding a game to favorites is as simple as selecting it and hitting X, likewise removing it from favorites s just another hit of X.
Add under entry for "md_playcount"
	<text name="md_lbl_favorite">
		<pos>0.177 0.53</pos>
	</text>

	<text name="md_favorite">
		<pos>0.31 0.53</pos>
	</text>

Also, change formatVersion from 3 to 4

Themes that are not updated will not display the Favorite Yes / No tag, and cannot be set as a favorite game, so if you don't want to mess with some systems of having favorites or not then you don't have to update the theme on them, and you wont see anything weird.  This of course wouldn't matter if all the simple themes got updated of course and was included in the install.
Added an item in the Options menu to only show favorites, which is persistent among all platforms and restarts

Setting the option to On will hide all games not marked as favorites.  Off will show all favorites.
If you have no favorites, it will show all game regardless if the option is on or off.

Sounds like a very good idea to me  :)

I thought about implementing this by myself, and luckily, found this pull request first. Obviously, I think this is a very good idea, though I would have taken a slightly different approach; I'd not made an option to hide the non-favoured, but to list the favorites on the top of the game list. Seing your approach, I think both would make sense also in combination, so I'd suggest making it a 3-state toggle: none, favorite, top-favorite, where the top favorites are always shown on top of the list. Would you like to extend your pull request accordingly?

@McNetic In this case, you should also watch this : https://github.com/Aloshi/EmulationStation/pull/344

Hey !
I just wanted to let you know, I took your PR and ran away with it here: https://github.com/zigurana/EmulationStation/tree/UI_modes_Kiosk_Kid_Full
See also: http://blog.petrockblock.com/forums/topic/kid-friendly-retropiees-ui-modes-favorites-hiding-items-s-testers-wanted/


bpf: encap: endianness cleanups

Some innocent cleanups to what the encap code expects in terms of endianness. I stumbled over that misplaced bpf_htonl() a while ago, this should make it easier to understand what's going on.

/test

/test-1.16-4.19


Support reading QR with LNURL Fallback Scheme defined in LUDS-01

Galoy has added LNURL Fallback Scheme  to Bitcoin Beach Wallet's static Paycode QR - context.
Testing various Lightning Wallets, I noticed that Phoenix cannot read the LNURL correctly. You can test for yourself here by scanning with Phoenix Wallet.
The QR encodes the following:
https://pay.bbw.sv/IDEASARELIKEFLAMES?LIGHTNING=LNURL1DP68GURN8GHJ7URP0YHXYCNH9EEHVTEWWAJKCMPDDDHX7AMW9AKXUATJD3CZ76TYV4SHXCTJV4KXJ6M9VEKXZMT9WVFEEZHA
Upon scanning in Phoenix, I get an "Invalid data. Please try again" error message, see screenshot.

The bug has been fixed, and the fix will be available in the next (major) app release: v1.6.0


MINCO vs B-splines

Dear Dr Wang,
GCopter is an amazing traj opt framework that allows efficient opt of control points and knot placements simultaneously.
Your wonderful thesis gives detailed explanation of gcopter and its applications.
I'd like to learn more about the minco traj representation, esp. regarding its comparison to the traditional b-splines.
The below pics are from your thesis,

There are two points that are baffling to me.

Why do the spatial temporal parameters of B-splines highly coupled compared to Bezier curves and MINCO?
for instance, for the 4th order B spline, p(t) = f(c_i-3, c_i-2, c_i-1, c_i, t_i-3, t_i-2, t_i-1, t_i, t_i+1, t_i+2, t_i+3, t_i+4, t), where t is in [t_i, t_i+1), ie, p(t) = f(c_i-3, c_i-2, c_i-1, c_i, T_i-3, T_i-2, T_i-1, T_i, T_i+1, T_i+2, T_i+3, T_i+4, t - t_i), where T_i = t_i - t_i-1.
Therefore, for a constraint W(c, T), we can efficiently compute its derivatives relative to the control points c_i and the time segments T_i by taking advantage of the B splines' local support property.
The derivative computation for the B splines apparently is less involved than the derivations given in your thesis, eg, eq 3-84 and 3-93.
Let's look at eq 3-93. The main complexity comes from G_i which is from solving M G = dK/dc.
I think solving this equation causes G_i to be dependent on time segments other than T_i, may be all the way from T_1 to T_M.
In contrast, the derivative of a B spline relative to time is only dependent on finite time segments, 8 for the above 4th order case, T_i-3,  up to T_i+4.
In this sense, the spatial temporal coupling of MINCO is higher than B-splines.
Please correct me if I am wrong. I know that often times I am wrong.

What is exactly the 凸包保守度？I know that B splines enjoy the convex hull property as explained in the ego planner paper, but the conservativeness of the convex hull sounds hard to understand to me.

Hi, old self, regarding question 2, please refer to fig 1 of this paper.


failed to solve: process "/bin/sh -c go install github.com/anyproto/any-sync-tools/anyconf@latest" did not complete successfully: exit code: 1

Have you read a contributing guide?

[X] I have read CONTRIBUTING.md
[X] I have searched the existing issues and didn't find any that were similar
[X] I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior
root@server:/home/qusay/any-sync-dockercompose-main# make star
make: *** No rule to make target 'star'.  Stop.
root@server:/home/qusay/any-sync-dockercompose-main# make start
docker build -t generateconfig -f Dockerfile-generateconfig .
[+] Building 23.8s (14/18)                                                                                docker:default
 => [internal] load build definition from Dockerfile-generateconfig                                                              0.0s
 => => transferring dockerfile: 640B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/alpine:3.18.4                                                                 2.0s
 => [internal] load metadata for docker.io/library/golang:1.21.6-alpine3.19                                                      2.0s
 => [generator 1/6] FROM docker.io/library/golang:1.21.6-alpine3.19@sha256:a6a7f1fcf12f5efa9e04b1e75020931a616cd707f14f62ab5262  0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 689B                                                                                0.0s
 => CACHED [stage-1 1/7] FROM docker.io/library/alpine:3.18.4@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc  0.0s
 => CACHED [generator 2/6] RUN apk add --no-cache bash yq                                                                        0.0s
 => ERROR [generator 3/6] RUN go install github.com/anyproto/any-sync-tools/anyconf@latest                                      21.8s
 => [stage-1 2/7] RUN apk add --no-cache bash yq perl python3 py3-yaml                                                           8.6s
 => [stage-1 3/7] WORKDIR /opt/processing                                                                                0.0s
 => [stage-1 4/7] COPY docker-generateconfig/etc/ tmp-etc/                                                                       0.0s
 => [stage-1 5/7] COPY --chmod=777 docker-generateconfig/processing.sh .                                                         0.0s
 => [stage-1 6/7] COPY --chmod=777 docker-generateconfig/setListenIp.py .                                                        0.0s
------
 > [generator 3/6] RUN go install github.com/anyproto/any-sync-tools/anyconf@latest:
21.76 go: github.com/anyproto/any-sync-tools/anyconf@latest: module github.com/anyproto/any-sync-tools/anyconf: Get "https://proxy.golang.org/github.com/anyproto/any-sync-tools/anyconf/@v/list": dial tcp <IP_ADDRESS>:443: connect: connection refused
------
Dockerfile-generateconfig:3
--------------------
   1 |     FROM golang:1.21.6-alpine3.19 as generator
   2 |     RUN apk add --no-cache bash yq
   3 | >>> RUN go install github.com/anyproto/any-sync-tools/anyconf@latest
   4 |     WORKDIR /opt/generateconfig
   5 |     COPY --chmod=777 docker-generateconfig/generate_config.sh .env .
--------------------
ERROR: failed to solve: process "/bin/sh -c go install github.com/anyproto/any-sync-tools/anyconf@latest" did not complete successfully: exit code: 1
make: *** [Makefile:5: generate_config] Error 1

Expected Behavior
Normal execution
Steps To Reproduce

apt update
install Docker
make start

Environment
DISTRIB_RELEASE=23.04
DISTRIB_CODENAME=lunar
DISTRIB_DESCRIPTION="Ubuntu 23.04"
PRETTY_NAME="Ubuntu 23.04"
NAME="Ubuntu"
VERSION_ID="23.04"
VERSION="23.04 (Lunar Lobster)"
VERSION_CODENAME=lunar
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=lunar
LOGO=ubuntu-logo

Anything else?
No response

It looks like you have a network problem, causing you to be unable to get a response from "https://proxy.golang.org/github.com/anyproto/any-sync-tools/anyconf/@v/list"

Try running the command on your Ubuntu:  curl https://proxy.golang.org . You shouldn't get any errors
Restart the Docker daemon, in some cases this helps: systemctl restart docker

Determined, it is a network problem, our country does not allow access to this IP, may be...


6f4eaf7a: queryUsersOfPermission(uint8) error

I was able to add the create permission to address c522a28a1d9709bd451b651376a23134b83a529.
And it works but when I look the permission using queryPermission

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_call",
"params":[{"to":"0x00000000000000000000000000000000013241a4",
"data":"0x54ad6352000000000000000000000000c522a28a1d9709bd451b651376a23134b83a5296"}, "0x6"],"id":2}' <IP_ADDRESS>:1337 | jq

it returns
{
  "jsonrpc": "2.0",
  "id": 2,
  "result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}

Think it means the address does not have the privilege to read nor create, it is a mistake or bug?

Could you paste the transaction receipt?


Define explicit names

Also with regard to the documentation, I wanted us to record the explicit identifiers for once. I myself still get confused about what is meant by what.
A: Bed / Row ?
B: Garden / Bed ?
C (Everything around) : Companie  / Garden ?
If there are other terms that need to be defined now, I would say that will also be clarified here.

Good idea, I created an Issue for the documentation #101, where we should write down the term definitions.

@jarkenau  For unclear definitions, I would still open a separate issue and also discuss the current definitions in this issue here.

@gwoeckner Do you have a clear definition for us? 😄

@jarkenau Do we then wait until #101  is completed to add the definitions?

You can contribute to the documentation when ever you want.

Documentation updated. 👍🏻


Setting Highest Quality or 1080p on downloads not working as it should

Hi, using latest 1.6.0 windows x64. Setting downloads to highest quality or 1080p results in all videos downloaded at 720p even though 1080p is available for that particular course (Not available for all courses)

Can you link me to any such free course so that I can reproduce this issue.

It's not easy to find a free course with 1080p videos...will try

Hi, found a course with 1080p videos, "The Essentials of Acoustic Guitar Strumming Patterns", https://www.udemy.com/strumming-mastery/learn/v4/content. Setting to highest or 1080p Will result in the correct download of 1080p videos. I can only reproduce the issue on paid courses. On those courses, I could use IDM to download 1080p version but now i get an error, "the server replies you don't have permission to download file", I guess they have change permissions on files.

Alright. Thanks for reporting.
I will see if I have a paid course which supports 1080p and try to reproduce the issue on those course.

Hello @FaisalUmair  I'm facing the same issue.
I have bought this -> https://www.udemy.com/course/modern-javascript/ course and I can watch it in 1080p but I can't download the course in 1080p using Udeler. It gets downloaded in 720p.
Here is a screenshot - http://prntscr.com/pfb1jz
If you can solve this issue that will be huge help mate!
Anyway, you've done great work on this project already. Thank you so much.

Yes.  I have the same issue.  It only download 720p, regardless of settings.  Video is available in 1080p.

I have the same issue too.
tried Auto, 1080p, Highest always get 720p.

Yes I have the similar issue.
I am not sure whether this post will help you find the solution?
https://medium.com/@s_54260/how-to-udemy-always-watch-videos-at-1080p-resolution-20d8f73ffaf1
Please help us on this issue, as downloading at 1080p will def make life easier as the video will become way more clearer to see.
Thank you!

Same issue here, any updates?

same here (Mac) - no option to get 1080p

Same here (Mac) - I had updated the setting to download 1080p but no luck. Video course available to watch with 1080p resolution

me too……how to download 1080p……


feat: Add put and delete methods

Any thoughts on this?

Somehow this slipped through my net! Looks good, merging now.