No Video on iOS 13.1.3 using this plugin, but Camera-ffmpeg-omx works fine

Hi
My config.json works for "Camera-ffmpeg-omx" plugin fine, but when I enable Camera-ffmpeg plugin, it only displays the snapshot.  The video doesn't play.  I'm not sure what the issue is.
I'm running Homebridge on a Raspberry Pi 4 4GB.  The camera streams play fine in VLC.
Any help would be appreciated as I would like to be running Camera-ffmpeg.
Here's the config.json:
{
"bridge": {
"name": "Homebridge",
"username": "11:22:33:44:55:66",
"port": 51826,
"pin": "123-45-678"
},
"platforms": [
{
"name": "Config",
"platform": "config",
"port": 8080,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"sudo": true,
"log": {
"method": "systemd",
"service": "homebridge"
}
},
{
"platform": "Camera-ffmpeg",
"cameras": [
{
"name": "Nursery",
"firmwareRevision": "4.15.67",
"manufacturer": "Ubiquiti",
"model": "Unifi G3 Micro",
"serialNumber": "XXXX",
"videoConfig": {
"source": "-re -i rtsp://<IP_ADDRESS>:7447/41RWwUi45f0nedid",
"stillImageSource": "-i http://<IP_ADDRESS>/snap.jpeg",
"vcodec": "h264_omx",
"audio": false,
"maxStreams": 2,
"maxWidth":640 ,
"maxHeight": 480,
"packetSize": 188,
"maxBitrate": 200,
"maxFPS": 15,
"debug": true
}
},
{
"name": "Aubrey",
"firmwareRevision": "4.15.67",
"manufacturer": "Ubiquiti",
"model": "Unifi G3 Micro",
"serialNumber": "XXXX",
"videoConfig": {
"source": "-re -i rtsp://<IP_ADDRESS>:7447/FHFR76WsfU6hvgJx",
"stillImageSource": "-i http://<IP_ADDRESS>/snap.jpeg",
"vcodec": "h264_omx",
"audio": false,
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 480,
"maxFPS": 15,
"debug": true
}
},
{
"name": "Alexis",
"firmwareRevision": "4.15.67",
"manufacturer": "Ubiquiti",
"model": "Unifi G3 Micro",
"serialNumber": "XXXX",
"videoConfig": {
"source": "-re -i rtsp://<IP_ADDRESS>:7447/oyk5TICWD6WDI26o",
"vcodec": "h264_omx",
"stillImageSource": "-i http://<IP_ADDRESS>/snap.jpeg",
"audio": false,
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 480,
"maxFPS": 15,
"debug": true
}
},
{
"name": "Driveway",
"firmwareRevision": "4.15.67",
"manufacturer": "Ubiquiti",
"model": "Unifi G3 Micro",
"serialNumber": "XXXX",
"videoConfig": {
"source": "-re -i rtsp://<IP_ADDRESS>:7447/0XThDBMil7WMKPLw",
"vcodec": "h264_omx",
"stillImageSource": "-i http://<IP_ADDRESS>/snap.jpeg",
"audio": false,
"maxStreams": 2,
"maxWidth": 640,
"maxHeight": 480,
"maxFPS": 15,
"debug": true
}
}
]
}
],
"accessories": []
}
Here's the log for the Camera-ffmpeg-omx plugin which plays the video fine:

[10/20/2019, 21:19:58] Homebridge is running on port 51826.
[10/20/2019, 21:19:58] Nursery is running on port 40101.
[10/20/2019, 21:19:58] Please add [Nursery] manually in Home app. Setup Code: 123-45-678
[10/20/2019, 21:19:58] Aubrey is running on port 40733.
[10/20/2019, 21:19:58] Please add [Aubrey] manually in Home app. Setup Code: 123-45-678
[10/20/2019, 21:19:58] Alexis is running on port 34969.
[10/20/2019, 21:19:58] Please add [Alexis] manually in Home app. Setup Code: 123-45-678
[10/20/2019, 21:19:58] Driveway is running on port 45083.
[10/20/2019, 21:19:58] Please add [Driveway] manually in Home app. Setup Code: 123-45-678
[10/20/2019, 21:20:01] [Config] Homebridge Config UI X v4.6.2 is listening on :: port 8080
-re -i rtsp://<IP_ADDRESS>:7447/oyk5TICWD6WDI26o -threads 0 -vcodec h264_omx -an -pix_fmt yuv420p -r 30 -f rawvideo -tune zerolatency -vf scale=640:360 -b:v 132k -bufsize 132k -payload_type 99 -ssrc 1 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params ivzmyBuXHx2NjLC+3jCI/QbCXnC6nNwkkImuh/OA srtp://<IP_ADDRESS>:65130?rtcpport=65130&localrtcpport=65130&pkt_size=1378

Here's the log when attempting to view video on "Camera-ffmpeg" (this Plugin which only shows snapshots and no video):

[10/20/2019, 21:54:22] Homebridge is running on port 51826.
[10/20/2019, 21:54:22] Nursery is running on port 38083.
[10/20/2019, 21:54:22] Please add [Nursery] manually in Home app. Setup Code: 123-45-678
[10/20/2019, 21:54:22] Aubrey is running on port 46643.
[10/20/2019, 21:54:22] Please add [Aubrey] manually in Home app. Setup Code: 123-45-678
[10/20/2019, 21:54:22] Alexis is running on port 32931.
[10/20/2019, 21:54:22] Please add [Alexis] manually in Home app. Setup Code: 123-45-678
[10/20/2019, 21:54:22] Driveway is running on port 36895.
[10/20/2019, 21:54:22] Please add [Driveway] manually in Home app. Setup Code: 123-45-678
[10/20/2019, 21:54:25] [Config] Homebridge Config UI X v4.6.2 is listening on :: port 8080
root : TTY=pts/1 ; PWD=/home/pi/.homebridge ; USER=root ; COMMAND=/bin/journalctl -o cat -n 500 -f -u homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
[10/20/2019, 21:54:50] [Camera-ffmpeg] Snapshot from Nursery at 480x270
ffmpeg -i http://<IP_ADDRESS>/snap.jpeg -t 1 -s 480x270 -f image2 -
[10/20/2019, 21:54:50] [Camera-ffmpeg] Snapshot from Aubrey at 480x270
ffmpeg -i http://<IP_ADDRESS>/snap.jpeg -t 1 -s 480x270 -f image2 -
[10/20/2019, 21:54:50] [Camera-ffmpeg] Snapshot from Alexis at 480x270
ffmpeg -i http://<IP_ADDRESS>/snap.jpeg -t 1 -s 480x270 -f image2 -
[10/20/2019, 21:54:50] [Camera-ffmpeg] Snapshot from Driveway at 480x270
ffmpeg -i http://<IP_ADDRESS>/snap.jpeg -t 1 -s 480x270 -f image2 -
[10/20/2019, 21:54:54] [Camera-ffmpeg] Start streaming video from Alexis with 640x360@132kBit
ffmpeg -re -i rtsp://<IP_ADDRESS>:7447/oyk5TICWD6WDI26o -map 0:0 -vcodec h264_omx -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=640:360 -b:v 132k -bufsize 132k -maxrate 132k -payload_type 99 -ssrc 13667189 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 3B1Fjbcs5uNF1Co1rjGZVTZ3Z2iSmsr0+TKN7c8d srtp://<IP_ADDRESS>:64064?rtcpport=64064&localrtcpport=64064&pkt_size=1316 -loglevel debug
ffmpeg version N-95474-g31aafdac24 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8 (Raspbian 8.3.0-6+rpi1)
configuration: --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp
libavutil      56. 35.101 / 56. 35.101
libavcodec     58. 59.102 / 58. 59.102
libavformat    58. 33.100 / 58. 33.100
libavdevice    58.  9.100 / 58.  9.100
libavfilter     7. 63.100 /  7. 63.100
libswscale      5.  6.100 /  5.  6.100
libswresample   3.  6.100 /  3.  6.100
libpostproc    55.  6.100 / 55.  6.100
Splitting the commandline.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-i' ... matched as input url with argument 'rtsp://<IP_ADDRESS>:7447/oyk5TICWD6WDI26o'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'h264_omx'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '15'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option '-tune' ...
matched as AVOption 'tune' with argument 'zerolatency'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=640:360'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '132k'.
Reading option '-bufsize' ... matched as AVOption 'bufsize' with argument '132k'.
Reading option '-maxrate' ... matched as AVOption 'maxrate' with argument '132k'.
Reading option '-payload_type' ...
matched as AVOption 'payload_type' with argument '99'.
Reading option '-ssrc' ...
matched as AVOption 'ssrc' with argument '13667189'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-srtp_out_suite' ...
matched as AVOption 'srtp_out_suite' with argument 'AES_CM_128_HMAC_SHA1_80'.
Reading option '-srtp_out_params' ...
matched as AVOption 'srtp_out_params' with argument '3B1Fjbcs5uNF1Co1rjGZVTZ3Z2iSmsr0+TKN7c8d'.
Reading option 'srtp://<IP_ADDRESS>:64064?rtcpport=64064&localrtcpport=64064&pkt_size=1316' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url rtsp://<IP_ADDRESS>:7447/oyk5TICWD6WDI26o.
Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.

Parsing a group of options: output url srtp://<IP_ADDRESS>:64064?rtcpport=64064&localrtcpport=64064&pkt_size=1316.
Applying option map (set input stream mapping) with argument 0:0.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264_omx.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 15.
Applying option f (force format) with argument rawvideo.
Applying option vf (set video filters) with argument scale=640:360.
Applying option b:v (video bitrate (please use -b:v)) with argument 132k.
Applying option f (force format) with argument rtp.
Successfully parsed a group of options.
Opening an output file: srtp://<IP_ADDRESS>:64064?rtcpport=64064&localrtcpport=64064&pkt_size=1316.
Codec AVOption tune (Tune the encoding params (cf. x264 --fullhelp)) specified for output file #0 (srtp://<IP_ADDRESS>:64064?rtcpport=64064&localrtcpport=64064&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (srtp://<IP_ADDRESS>:64064?rtcpport=64064&localrtcpport=64064&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
[srtp @ 0x3663840] No default whitelist set
[rtp @ 0x3641210] No default whitelist set
[udp @ 0x36412e0] No default whitelist set
[udp @ 0x3641380] No default whitelist set
Successfully opened the file.
Stream mapping:
Stream #0:0 -> #0:0 (aac (native) -> pcm_mulaw (native))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
detected 4 logical cores
[graph_0_in_0_0 @ 0x35c7210] Setting 'time_base' to value '1/44100'
[graph_0_in_0_0 @ 0x35c7210] Setting 'sample_rate' to value '44100'
[graph_0_in_0_0 @ 0x35c7210] Setting 'sample_fmt' to value 'fltp'
[graph_0_in_0_0 @ 0x35c7210] Setting 'channel_layout' to value '0x4'
[graph_0_in_0_0 @ 0x35c7210] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x4
[format_out_0_0 @ 0x365e880] Setting 'sample_fmts' to value 's16'
[format_out_0_0 @ 0x365e880]
auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_0'
[AVFilterGraph @ 0x3675e50] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto_resampler_0 @ 0x3668bf0] [SWR @ 0x36763c0] Using fltp internally between filters
[auto_resampler_0 @ 0x3668bf0] ch:1 chl:mono fmt:fltp r:44100Hz -> ch:1 chl:mono fmt:s16 r:44100Hz
Output #0, rtp, to 'srtp://<IP_ADDRESS>:64064?rtcpport=64064&localrtcpport=64064&pkt_size=1316':
Metadata:
title           : FCECDAD90D59_2
encoder         : Lavf58.33.100
Stream #0:0, 0, 1/44100: Audio: pcm_mulaw, 44100 Hz, mono, s16, 352 kb/s
Metadata:
encoder         : Lavc58.59.102 pcm_mulaw
size=      23kB time=00:00:00.53 bitrate= 357.4kbits/s speed=1.05x
size=      45kB time=00:00:01.02 bitrate= 357.2kbits/s speed=1.01x
size=      66kB time=00:00:01.50 bitrate= 357.1kbits/s speed=0.998x
size=      88kB time=00:00:02.02 bitrate= 357.0kbits/s speed=   1x
size=     110kB time=00:00:02.53 bitrate= 357.0kbits/s speed=   1x
[rtsp @ 0x35c7640] max delay reached. need to consume packet
[rtsp @ 0x35c7640] RTP: missed 47 packets
size=     133kB time=00:00:04.13 bitrate= 262.7kbits/s speed=1.37x
size=     133kB time=00:00:04.13 bitrate= 262.7kbits/s speed=1.17x
size=     133kB time=00:00:04.13 bitrate= 262.7kbits/s speed=1.02x
[rtsp @ 0x35c7640] max delay reached. need to consume packet
[rtsp @ 0x35c7640] RTP: missed 3 packets
size=     148kB time=00:00:04.55 bitrate= 265.9kbits/s speed=   1x
size=     170kB time=00:00:05.06 bitrate= 275.2kbits/s speed=   1x
size=     192kB time=00:00:05.57 bitrate= 282.7kbits/s speed=   1x
size=     214kB time=00:00:06.06 bitrate= 288.6kbits/s speed=   1x
[rtsp @ 0x35c7640] max delay reached. need to consume packet
[rtsp @ 0x35c7640] RTP: missed 50 packets
size=     225kB time=00:00:07.47 bitrate= 246.1kbits/s speed=1.14x
size=     225kB time=00:00:07.47 bitrate= 246.1kbits/s speed=1.06x
size=     229kB time=00:00:07.56 bitrate= 247.5kbits/s speed=   1x
size=     251kB time=00:00:08.08 bitrate= 254.4kbits/s speed=   1x
size=     273kB time=00:00:08.59 bitrate= 260.5kbits/s speed=   1x
size=     295kB time=00:00:09.10 bitrate= 265.9kbits/s speed=   1x
[rtsp @ 0x35c7640]
max delay reached. need to consume packet
[rtsp @ 0x35c7640]
RTP: missed 45 packets
size=     317kB time=00:00:10.63 bitrate= 244.0kbits/s speed= 1.1x
size=     317kB time=00:00:10.63 bitrate= 244.0kbits/s speed=1.04x
size=     320kB time=00:00:10.70 bitrate= 244.7kbits/s speed=   1x
[rtsp @ 0x35c7640] max delay reached. need to consume packet
[rtsp @ 0x35c7640] RTP: missed 3 packets
size=     339kB time=00:00:11.21 bitrate= 247.6kbits/s speed=   1x
[rtsp @ 0x35c7640] max delay reached. need to consume packet
[rtsp @ 0x35c7640] RTP: missed 2 packets
size=     359kB time=00:00:11.72 bitrate= 251.0kbits/s speed=   1x
[rtsp @ 0x35c7640] max delay reached. need to consume packet
[rtsp @ 0x35c7640] RTP: missed 27 packets
size=     382kB time=00:00:12.23 bitrate= 255.4kbits/s speed=   1x
size=     404kB time=00:00:12.74 bitrate= 259.5kbits/s speed=   1x
[rtsp @ 0x35c7640] max delay reached. need to consume packet
[rtsp @ 0x35c7640] RTP: missed 48 packets
size=     409kB time=00:00:13.97 bitrate= 239.6kbits/s speed=1.06x
size=     409kB time=00:00:13.97 bitrate= 239.6kbits/s speed=1.02x
size=     421kB time=00:00:14.25 bitrate= 241.9kbits/s speed=   1x
[rtsp @ 0x35c7640] max delay reached. need to consume packet
[rtsp @ 0x35c7640] RTP: missed 2 packets
size=     440kB time=00:00:14.74 bitrate= 244.6kbits/s speed=   1x
[10/20/2019, 21:55:12] [Camera-ffmpeg] Snapshot from Alexis at 480x270
ffmpeg -i http://<IP_ADDRESS>/snap.jpeg -t 1 -s 480x270 -f image2 -
[10/20/2019, 21:55:12] [Camera-ffmpeg] Snapshot from Aubrey at 480x270
ffmpeg -i http://<IP_ADDRESS>/snap.jpeg -t 1 -s 480x270 -f image2 -
[10/20/2019, 21:55:12] [Camera-ffmpeg] Snapshot from Driveway at 480x270
ffmpeg -i http://<IP_ADDRESS>/snap.jpeg -t 1 -s 480x270 -f image2 -
[10/20/2019, 21:55:12] [Camera-ffmpeg] Snapshot from Nursery at 480x270
ffmpeg -i http://<IP_ADDRESS>/snap.jpeg -t 1 -s 480x270 -f image2 -
size=     462kB time=00:00:15.25 bitrate= 248.3kbits/s speed=   1x
size=     472kB time=00:00:15.46 bitrate= 249.8kbits/s speed=   1x
video:0kB audio:466kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.189478%
Input file #0 (rtsp://<IP_ADDRESS>:7447/oyk5TICWD6WDI26o):
Input stream #0:0 (audio): 466 packets read (83302 bytes); 466 frames decoded (477184 samples);
Input stream #0:1 (video): 31 packets read (79330 bytes);
Total: 497 packets (162632 bytes) demuxed
Output file #0 (srtp://<IP_ADDRESS>:64064?rtcpport=64064&localrtcpport=64064&pkt_size=1316):
Output stream #0:0 (audio): 466 frames encoded (477184 samples); 466 packets muxed (477184 bytes);
Total: 466 packets (477184 bytes) muxed
466 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x3640bf0] Statistics: 0 seeks, 469 writeouts
Exiting normally, received signal 15.
[10/20/2019, 21:55:12] [Camera-ffmpeg] Stopped streaming

Curious if you've encountered the same issue as me ...
Remove packetSize from your camera configuration. Your audio will probably go to hell, but I'm curious if you're able to connect to the video stream again.

@skpio
No change —
Still can’t stream the live feed. The snapshot still works though.

@phybersplice
Ah, rats. Our setup is a little different, but it was worth a shot. I also just noticed you only had packetSize on one of your cameras, which happened to be the only one I saw when I screamed past your configuration earlier.

Yeah.  That’s the only one I’ve tinkered with. It’s a pain to add the config to all 4 to only not have it work.  I’d rather find the sweet spot and apply the config across the three others.

Hi,
I've been using "homebridge-camera-ffmpeg-omx" plugin and ffmpeg compiled with OMX option.
All works fine (live video and still images).
Now I want to switch plugin to "homebridge-camera-ffmpeg", because of iOS 13 notification image workaround.
Problem is that live video doesn't work :(
In log file I'm getting:

Could not write header for output file #1 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 1:0 --

Here is full LOG with config:
`Config:
{
"name": "Pool",
"motion": true,
"videoConfig": {
"source": "-re -i rtsp://<IP_ADDRESS>/user=admin&password=&channel=1&stream=0.sdp?",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 30,
"vcodec": "h264_omx"
}
//////
DEBUG LOG file:
ffmpeg -re -i rtsp://<IP_ADDRESS>/user=admin&password=&channel=1&stream=0.sdp? -vcodec h264_omx -pix_fmt yuv420p -r 30 -f rawvideo undefined -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 59240 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params m0RjgcuE8E+UV1f2PLqxWvtpp+izBBxVig83dUPe srtp://<IP_ADDRESS>:52825?rtcpport=52825&localrtcpport=52825&pkt_size=1316 -loglevel debug
ffmpeg version N-94185-gca576833e4 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8 (Raspbian 8.3.0-6+rpi1)
configuration: --arch=armel --target-os=linux --enable-gpl --enable-omx --enable-omx-rpi --enable-nonfree
libavutil      56. 30.100 / 56. 30.100
libavcodec     58. 53.101 / 58. 53.101
libavformat    58. 28.101 / 58. 28.101
libavdevice    58.  7.100 / 58.  7.100
libavfilter     7. 56.101 /  7. 56.101
libswscale      5.  4.101 /  5.  4.101
libswresample   3.  4.100 /  3.  4.100
libpostproc    55.  4.100 / 55.  4.100
Splitting the commandline.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-i' ... matched as input url with argument 'rtsp://<IP_ADDRESS>/user=admin&password=&channel=1&stream=0.sdp?'.
Reading option '-vcodec' ...
matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'h264_omx'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '30'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option 'undefined' ... matched as output url.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=1280:720'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '299k'.
Reading option '-bufsize' ...
matched as AVOption 'bufsize' with argument '299k'.
Reading option '-maxrate' ...
matched as AVOption 'maxrate' with argument '299k'.
Reading option '-payload_type' ...
matched as AVOption 'payload_type' with argument '99'.
Reading option '-ssrc' ...
matched as AVOption 'ssrc' with argument '59240'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-srtp_out_suite' ...
matched as AVOption 'srtp_out_suite' with argument 'AES_CM_128_HMAC_SHA1_80'.
Reading option '-srtp_out_params' ...
matched as AVOption 'srtp_out_params' with argument 'm0RjgcuE8E+UV1f2PLqxWvtpp+izBBxVig83dUPe'.
Reading option 'srtp://<IP_ADDRESS>:52825?rtcpport=52825&localrtcpport=52825&pkt_size=1316' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url rtsp://<IP_ADDRESS>/user=admin&password=&channel=1&stream=0.sdp?.
Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.
Opening an input file: rtsp://<IP_ADDRESS>/user=admin&password=&channel=1&stream=0.sdp?.
[tcp @ 0x2caa620] No default whitelist set
[tcp @ 0x2caa620] Original list of addresses:
[tcp @ 0x2caa620] Address <IP_ADDRESS> port 554
[tcp @ 0x2caa620] Interleaved list of addresses:
[tcp @ 0x2caa620] Address <IP_ADDRESS> port 554
[tcp @ 0x2caa620] Starting connection attempt to <IP_ADDRESS> port 554
[tcp @ 0x2caa620] Successfully connected to <IP_ADDRESS> port 554
[rtsp @ 0x2ca8600] SDP:
v=0
o=-<PHONE_NUMBER>2388<PHONE_NUMBER>2388 IN IP4 <IP_ADDRESS>
s=RTSP Session
c=IN IP4 <IP_ADDRESS>
t=0 0
a=control:*
a=range:npt=0-
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=range:npt=0-
a=framerate:0S
a=fmtp:96 profile-level-id=42001f; packetization-mode=1; sprop-parameter-sets=Z0IAH5WoFAFuhAAAAwAEAAADAKIQ,aM48gA==
a=framerate:25
a=control:trackID=3
m=audio 0 RTP/AVP 8
a=control:trackID=4
Failed to parse interval end specification ''
[rtsp @ 0x2ca8600] video codec set to: h264
Failed to parse interval end specification ''
[rtsp @ 0x2ca8600] RTP Profile IDC: 42 Profile IOP: 0 Level: 1f
[rtsp @ 0x2ca8600] RTP Packetization Mode: 1
[rtsp @ 0x2ca8600] Extradata set to 0x2cabc18 (size: 33)
[rtp @ 0x2cace70] No default whitelist set
[udp @ 0x2cad430] No default whitelist set
[udp @ 0x2cad430] end receive buffer size reported is 131072
[udp @ 0x2cbd770] No default whitelist set
[udp @ 0x2cbd770] end receive buffer size reported is 131072
[rtsp @ 0x2ca8600] setting jitter buffer size to 500
[rtp @ 0x2ccdd10] No default whitelist set
[udp @ 0x2cce260] No default whitelist set
[udp @ 0x2cce260] end receive buffer size reported is 131072
[udp @ 0x2cde590] No default whitelist set
[udp @ 0x2cde590] end receive buffer size reported is 131072
[rtsp @ 0x2ca8600] setting jitter buffer size to 500
[rtsp @ 0x2ca8600] hello state=0
[h264 @ 0x2cab7c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x2cab7c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x2cab7c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x2cab7c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x2cab7c0] unknown SEI type 229
[h264 @ 0x2cab7c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x2cab7c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x2cab7c0] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x2cab7c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x2cab7c0] unknown SEI type 229
[h264 @ 0x2cab7c0] Format yuv420p chosen by get_format().
[h264 @ 0x2cab7c0] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 0x2cab7c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
Last message repeated 5 times

[rtsp @ 0x2ca8600] All info found
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from 'rtsp://<IP_ADDRESS>/user=admin&password=&channel=1&stream=0.sdp?':
Metadata:
title           : RTSP Session
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0, 28, 1/90000: Video: h264 (Baseline), 1 reference frame, yuv420p(progressive, left), 1280x720, 0/1, 20 fps, 25 tbr, 90k tbn, 40 tbc
Stream #0:1, 70, 1/8000: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
Successfully opened the file.
Parsing a group of options: output url undefined.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264_omx.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 30.
Applying option f (force format) with argument rawvideo.
Successfully parsed a group of options.
Opening an output file: undefined.
[file @ 0x2d2fd60] Setting default whitelist 'file,crypto'
Successfully opened the file.
Parsing a group of options: output url srtp://<IP_ADDRESS>:52825?rtcpport=52825&localrtcpport=52825&pkt_size=1316.
Applying option vf (set video filters) with argument scale=1280:720.
Applying option b:v (video bitrate (please use -b:v)) with argument 299k.
Applying option f (force format) with argument rtp.
Successfully parsed a group of options.
Opening an output file: srtp://<IP_ADDRESS>:52825?rtcpport=52825&localrtcpport=52825&pkt_size=1316.
[srtp @ 0x2d0bf70] No default whitelist set
[rtp @ 0x2d0be90] No default whitelist set
[udp @ 0x2de9b90] No default whitelist set
[udp @ 0x2de9c20] No default whitelist set
Successfully opened the file.
detected 4 logical cores
[h264 @ 0x2cfcda0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x2cfcda0] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_omx))
Stream #0:0 -> #1:0 (h264 (native) -> mpeg4 (native))
Stream #0:1 -> #1:1 (pcm_alaw (native) -> pcm_mulaw (native))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 25 times
[h264 @ 0x2cfcda0] nal_unit_type: 7(SPS), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[h264 @ 0x2cfcda0] nal_unit_type: 8(PPS), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 5 times
[h264 @ 0x2cfcda0] nal_unit_type: 6(SEI), nal_ref_idc: 0
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 39 times

[h264 @ 0x2cfcda0] nal_unit_type: 5(IDR), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 130 times

[h264 @ 0x2cfcda0] unknown SEI type 229
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 6 times

[h264 @ 0x2cfcda0] Format yuv420p chosen by get_format().
[h264 @ 0x2cfcda0] Reinit context to 1280x720, pix_fmt: yuv420p
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 64236 times

[h264 @ 0x2dd2540]
nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[graph_2_in_0_1 @ 0x2db7ff0] Setting 'time_base' to value '1/8000'
[graph_2_in_0_1 @ 0x2db7ff0] Setting 'sample_rate' to value '8000'
[graph_2_in_0_1 @ 0x2db7ff0] Setting 'sample_fmt' to value 's16'
[graph_2_in_0_1 @ 0x2db7ff0] Setting 'channel_layout' to value '0x4'
[graph_2_in_0_1 @ 0x2db7ff0] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:0x4
[format_out_1_1 @ 0x2d22760] Setting 'sample_fmts' to value 's16'
[AVFilterGraph @ 0x2cabc30] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 8 times

[h264 @ 0x2dd87c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 1 times

[h264 @ 0x2dcac50] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
Last message repeated 1 times

[h264 @ 0x2e3b190] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 3
[graph 0 input from stream 0:0 @ 0x2dda120] Setting 'video_size' to value '1280x720'
[graph 0 input from stream 0:0 @ 0x2dda120] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x2dda120] Setting 'time_base' to value '1/90000'
[graph 0 input from stream 0:0 @ 0x2dda120] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0x2dda120] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x2dda120] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 0x2dda120] w:1280 h:720 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x2dbbca0] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x2ca8460] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[h264_omx @ 0x2d06400] Using OMX.broadcom.video_encode
[h264_omx @ 0x2d06400] OMX state changed to 2
[h264_omx @ 0x2d06400] OMX state changed to 3
[h264_omx @ 0x2d06400] OMX port 201 settings changed
Output #0, rawvideo, to 'undefined':
Metadata:
title           : RTSP Session
encoder         : Lavf58.28.101
Stream #0:0, 0, 1/30: Video: h264 (h264_omx), 1 reference frame, yuv420p(left), 1280x720, 0/1, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
Metadata:
encoder         : Lavc58.53.101 h264_omx
*** 8 dup!
[Parsed_scale_0 @ 0x2fb9360] Setting 'w' to value '1280'
[Parsed_scale_0 @ 0x2fb9360] Setting 'h' to value '720'
[Parsed_scale_0 @ 0x2fb9360] Setting 'flags' to value 'bicubic'
[Parsed_scale_0 @ 0x2fb9360] w:1280 h:720 flags:'bicubic' interl:0
[graph 1 input from stream 0:0 @ 0x2fb95f0] Setting 'video_size' to value '1280x720'
[graph 1 input from stream 0:0 @ 0x2fb95f0] Setting 'pix_fmt' to value '0'
[graph 1 input from stream 0:0 @ 0x2fb95f0] Setting 'time_base' to value '1/90000'
[graph 1 input from stream 0:0 @ 0x2fb95f0] Setting 'pixel_aspect' to value '0/1'
[graph 1 input from stream 0:0 @ 0x2fb95f0] Setting 'sws_param' to value 'flags=2'
[graph 1 input from stream 0:0 @ 0x2fb95f0] Setting 'frame_rate' to value '25/1'
[graph 1 input from stream 0:0 @ 0x2fb95f0] w:1280 h:720 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x2fb94d0] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x2fb8e80] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[Parsed_scale_0 @ 0x2fb9360] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x4
[mpeg4 @ 0x2d0b040] impossible bitrate constraints, this will fail
[mpeg4 @ 0x2d0b040] intra_quant_bias = 0 inter_quant_bias = -64
[rtp @ 0x2d06790] Only one stream supported in the RTP muxer
Could not write header for output file #1 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 1:0 --
[AVIOContext @ 0x2e07170] Statistics: 0 seeks, 1 writeouts
[AVIOContext @ 0x2dea200] Statistics: 0 seeks, 0 writeouts
[h264_omx @ 0x2d06400] OMX state changed to 2
[h264_omx @ 0x2d06400] OMX state changed to 1
Conversion failed!
[10/23/2019, 10:28:14 PM] [Camera-ffmpeg] ERROR: FFmpeg exited with code 1`


fix Issue 17730 - move escapes scope variable in @safe code

needs to be annotated with return scope, so that the return value
lifetime depends on the argument's lifetime
cannot be tested because phobos doesn't yet work with DIP1000 and
also because of Issue 17932

Apparently dscanner dies because of return scope :/.


Any way to support links?

 It works when you do it correctly :)


Blank screen on open

i used this app for a while but today it just broke, tried reinstaling and that didnt help, by looking at google app store reviews, i see im not alone with this problem.
When i log in, all i see is just blank screen in all tabs.
My phone is pixel 4a if it matters.

Hey there, I just investigated the issue, Riot changed the API so the request returns a 400 status code.
Will finish the fix today, Play Store release should take about 12hrs to one day, you can grab the APK later in the releases

The Issue is resolved, needed to add some more headers to the shop requests
Release is pushed out on repo, Play Store update might take some more time

I have again this issue and my friends too so I don't think that my phone can someone check if I'm alone which this issue ?


Fix miscellaneous Sphinx warnings

Running sphinx-build (via the make targets at least) generates some minor warnings.
The PR fixes them, one per commit. Each warning is mentioned in the commit message.
Note: I couldn't find any contributing guideline, so indications are welcome.

@erwanthomas Thanks!
See my review. I'll merge after we refine the "computed epoch value".

@erwanthomas Great PR with a good commit message. Thank you.


Update dependencies and add read the docs

The package has had an update that is newer than these updates. Therefore, this PR is closed.


After you lookup a address at dwarf file and fail to get the symbol, you should try to lookup the address also at symtable . Beacuse  the executable file may link to a static library which has been strip debug info.

Thanks! In general I think the changes look good, but a few comments before I do a more thorough review:

Can you merge the fixes and style changes into the appropriate commits
having 1-4 listed in a commit message implies that there should really be four separate commits, can you split them up?
it's not entirely clear what all of these bullet points are fixing, so when you split them up can you add a comment explaining the purpose of the change?
Can you show some tests to make sure nothing broken? I know, we should have a better automated suite, but we don't yet :(

ping!

i can play with this code for a whole year!!

THIS AMAZING FIX SAVED MY LIFE!

zqxiaojin is the core coder whom we are looking for!!

Thank you so much for this patch!


These instructions don't work

The site seems to either have regressed to an older version of the doco or left out something, because when you follow the instructions as stated here on a brand new cluster you get an error on both helm list and helm install - see issue #346

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8a917974-7672-e4f9-ab5c-4a5bfeeca27d
Version Independent ID: be5c1091-0711-25c4-7555-e3534b3eba42
Content: Deploy containers with Helm in Kubernetes on Azure
Content Source: articles/aks/kubernetes-helm.md
Service: container-service
GitHub Login: @neilpeterson
Microsoft Alias: nepeters

@AronT-TLV - the issue that you have included (#346) does not appear related. Can you provide more information on the issue that you have encountered.
I am curious if the issue is related to this:
https://github.com/kubernetes/helm/pull/3990
Can you try deleting the tiller deployment:
kubectl delete deployment tiller-deploy --namespace kube-system

And then running helm init again with this command?
helm init --upgrade --service-account default

Does this fix up Helm for you?
Thanks

Yes exactly that fixes the problem, as noted in the cited ticket. The question is why doing helm init fails the first time
Get Outlook for iOShttps://aka.ms/o0ukef

From: Neil Peterson<EMAIL_ADDRESS>Sent: Sunday, May 13, 2018 7:50:20 PM
To: MicrosoftDocs/azure-docs
Cc: Aron T; Mention
Subject: Re: [MicrosoftDocs/azure-docs] These instructions don't work (#8526)
@AronT-TLVhttps://github.com/AronT-TLV - the issue that you have included (#346https://github.com/MicrosoftDocs/azure-docs/pull/346) does not appear related. Can you provide more information on the issue that you have encountered.
I am curious if the issue is related to this:
kubernetes/helm#3990https://github.com/kubernetes/helm/pull/3990
Can you try deleting the tiller deployment:
kubectl delete deployment tiller-deploy --namespace kube-system
And then running helm init again with this command?
helm init --upgrade --service-account default
Does this fix up Helm for you?
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/8526#issuecomment-388640382, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVGMY3B-TW5QxHS3Gfm_U_057db_sFoZks5tyGRMgaJpZM4T83jV.

This didn't fix it for me.  Neither did the patch fix I've seen floating around.
kubectl patch deployment tiller-deploy -n kube-system -p '{"spec": {"template": {"spec": {"automountServiceAccountToken": true}}}}'

I get further, but get...
Error: release ... failed: clusterroles.rbac.authorization.k8s.io "...-nginx-ingress" is forbidden: attempt to grant extra privileges

@kduenke - two unrelated events have broken two different steps in this doc.
Helm issue
First, an issue with Helm, which results in this message when running any chart in an AKS cluster.
Error: no available release name found

The fix is to delete the tiller deployment, and reinstall with:
kubectl delete deployment tiller-deploy --namespace kube-system

Updated NGINX ingress chart
Second, the default values in the NGINX ingress controller chart have been updated to assume an RBAC enabled cluster. As AKS is not RBAC enabled, the command needs to set RBAC related values to false.
The error when running the chart with the current command is as you have encountered.
Error: release cantankerous-salamander failed: clusterroles.rbac.authorization.k8s.io "cantankerous-salamander-nginx-ingress" is forbidden: attempt to grant extra privileges...

Instead, run this command:
helm install stable/nginx-ingress --set rbac.create=false --set rbac.createRole=false --set rbac.createClusterRole=false

Both of these updates have been merged into the documentation repo and should publish on Monday morning.
Thanks

Neil, I just saw your latest post.  I hadn't refreshed my page.  Am I going to have problems with the approach I took?

@kduenke - I spoke with the AKS team late last week about RBAC and was informed it is not enabled.
That said, I cannot explain your fix.
@slack - can you confirm that RBAC is not enabled / functioning in AKS clusters at this time?
Thanks

I've confirmed that RBAC is not yet enabled.
#please-close

@AronT-TLV
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Dropwizard mustache view response header

Hello!
When returning Mustache view response header is:
Content-Type: {text/html, q=1000}
Is there any way to tune this? I would like to return:
Content-Type: text/html; charset=UTF-8
and open it in a browser like a regular web page.

Using @Context HttpServletResponse response doesn't help:
Content-Type: {text/html, q=1000}; charset=UTF-8

@Produces("text/html; charset=UTF-8") hepled, thank you!


update torch 2.2+cu121

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (065eab1) 86.38% compared to head (be614e7) 86.26%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

...inity_emb/infinity_emb/transformer/acceleration.py
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #80      +/-   ##
==========================================
- Coverage   86.38%   86.26%   -0.13%
==========================================
  Files          27       27
  Lines        1249     1252       +3
==========================================
+ Hits         1079     1080       +1
- Misses        170      172       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: Unable resolve CasbinDbContext

Fixes: #46

@hanaimin plz review.

@hanaimin plz review.

I has tested. it's ok, thanks.


Error naming slots resources

Hi again Andy!!
I found and issue with the new functionality added to import app service slots, it seems to work well but when you write the name of the slot you don't write the app service's name so the output name of the slot is always the same for every app service, so after the first loop I got an error and its imposible to obtain the slots for every app service just I got just one app service completed, the importation ends normally but the output shows errors, when I look into the generated folder I saw the next files:
├── azurerm_app_service.yak__gx-yak-ms-accounting-firm.tf
├── azurerm_app_service.yak__gx-yak-ms-journal-entries.tf
├── azurerm_app_service.yak__gx-yak-ms-ledger-accounts.tf
├── azurerm_app_service.yak__gx-yak-ms-mig-coi.tf
├── azurerm_app_service.yak__gx-yak-ms-reports.tf
├── azurerm_app_service_slot.yak__dev.tf
├── azurerm_app_service_slot.yak__staging.tf
├── azurerm_app_service_slot.yak__test.tf

The correct name I think could be something like this:
├── azurerm_app_service.yak__gx-yak-ms-accounting-firm.tf
├── azurerm_app_service.yak__gx-yak-ms-journal-entries.tf
├── azurerm_app_service.yak__gx-yak-ms-ledger-accounts.tf
├── azurerm_app_service.yak__gx-yak-ms-mig-coi.tf
├── azurerm_app_service.yak__gx-yak-ms-reports.tf
├── azurerm_app_service_slot.yak__gx-yak-ms-accounting-firm_dev.tf
├── azurerm_app_service_slot.yak__gx-yak-ms-accounting-firm_staging.tf
├── azurerm_app_service_slot.yak__gx-yak-ms-accounting-firm_test.tf
├── azurerm_app_service.yak__gx-yak-ms-journal-entries_dev.tf
├── azurerm_app_service.yak__gx-yak-ms-journal-entries_staging.tf
├── azurerm_app_service.yak__gx-yak-ms-journal-entries_test.tf
├── azurerm_app_service.yak__gx-yak-ms-ledger-accounts_dev.tf
├── azurerm_app_service.yak__gx-yak-ms-ledger-accounts_staging.tf
├── azurerm_app_service.yak__gx-yak-ms-ledger-accounts_test.tf
...
...
...

Thanks - good spot - fix posted


What is this project in simple terms?

Why I am asking this here?
I am trying to organize the chaos of moving files while working on a zero budget movie. File formats, how they should be named, where should be placed, moved down the pipeline and versioned. From Blender work on movie pipelines I discovered Tears of Steel packed into DCP format, which seems to be used for delivering movies to cinemas. I got really excited, but I couldn't evaluate if the DCP format is suitable for iterative work on movies from like drafting a scenario to recombining the footage into actual screen picture. So I tried to ask people what Netflix production pipeline looks like (because it's like most digitally advanced movie "studio" with awesome open source contributions), but I have no contacts there and attempts to connect through LinkedIn were not successful (my profile building skills is a joke).
Where I found this project?
Then I discovered https://netflix.github.io/ and among links of various Netflix projects, this one looked like something related to movie creation pipeline.
"core constraints st2067-2:2013 " doesn't speak anything to me
I totally get the connection between Java, XML and PDF based standards in industrial software world. However, as a hacker I don't appreciate the appeal to authority and prefer to read why things are made certain way, instead of wandering through the jungles of nomenclature abbreviations and digits only to discover few weeks later that guys and girls forgot to define milliseconds to audio timestamps, and it is now impossible to sync files just based on standard meta data. I am not sure if this project is the right place to seek that wisdom, but I have to ask.
What problem does this project solve?
How efficient it solves it?
Are there any alternatives? (like in Blender world)
Thanks. Sorry if it sounds strange, rude, out of place and offtopic.

As indicated in the README, "Photon is a Java implementation of the Interoperable Master Format (IMF) standard." If you want to understand more about IMF I suggest you have a look at the resources at https://www.imfug.com/

@cconcolato thanks for the link. I haven't seen it. Sent #352 to add it to README.
This page https://comments.telestream.net/2016/02/overview-interoperable-master-format/ talks that IMF is evolution of DCP, which is the last mile problem, while I am more interested in exchanging WIP movie data. Found https://partnerhelp.netflixstudios.com/hc/en-us now reading if there is anything open source there.


feat(plugin-helper): move getUniqAttr from preset to plugin helper

Codecov Report

Merging #63 into master will not change coverage by %.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   93.33%   93.33%
=======================================
  Files          15       15
  Lines         510      510
  Branches      116      116
=======================================
  Hits          476      476
  Misses         28       28
  Partials        6        6

Impacted Files
Coverage Δ

packages/bbob-preset-html5/src/defaultTags.js
95.34% <ø> (-0.21%)
:arrow_down:

packages/bbob-plugin-helper/src/index.js
96.29% <100.00%> (+0.29%)
:arrow_up:

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 2cfe729...464c34c. Read the comment docs.


Expose slug to admin and don't change it automatically

As admins tweak the survey questions and answers, we change the slugs to match. Minor tweaks create problems matching old data with new data and present a moving target for custom styling/filtering.
Let's expose the slug to the user as an ID. When the admin edits the survey, the ID won't change. For major edits, they will hopefully notice the mismatch and manually edit the ID. If the ID is overly verbose, they can choose a new, short one.
We need to enforce uniqueness. I don't think we enforced uniqueness before, but duplicate slugs corresponded to identically worded questions. Now the user might accidentally reuse an ID for a different question, which we should prevent.
We also need to make sure the user-specified ID makes sense as an ID. The simplest thing to do is require something that could be a valid slug according to our current slug module. If the output of that module is a fixed point of its algorithm, then we're golden.

I was thinking about labeling the field "Name in database", "Column in database" (for questions), or "Value in database" -- that could hint at why it's there.

If we can avoid the word "database", I think it'll help. "Raw column ID", "Raw column name", "Column name", or similar are things that make sense if you're working with a spreadsheet or shapefile without our having to explicitly tie it to the notion of exports (since that makes it seem unimportant for non-export-oriented work).

Column name sounds good. I think people are more likely to understand that a database needs a consistent value / they want a consistent value in the database, vs the word "raw".


Add rule lint-quotes (DON'T MERGE)

config:

false - disable
true - only require qoutes for HTML attributes
"single" - always single quotes
"double" - always double quotes
["single", "avoidEscape"] - prefer single quotes unless there is an escape needed only to single quotes
["double", "avoidEscape"] - prefer double quotes unless there is an escape needed only to double quotes

todos:

[x] adding support for HTML attributes
[ ] adding support for HTMLBars helper attributes
[x] adding support for only requiring qoutes
[ ] adding README / and to blueprints
[ ] adding avoidEscape supports
[ ] adding avoidEscape to README

if i miss something, please tell me

I am very confused ;P, I don't see any changes....

😄  yep, it's a todo list for me that i'm working accordingly because it's more complicated rule than what i've used to. you must have an empty commit for open a PR ;-)
anyway, i'm on it

AHA! I see, ok. Thought Github was playing tricks on me 😝

I'm still working on some refactors so it may be a bit painful rebase wise but you may want to target https://github.com/rwjblue/ember-template-lint instead of this repo.

thanks… i'll start here and than when it'll ready i'l open PR there and close here

another thing that i've realized after starting working on this rule. that maybe we should need a rule to force quotes on HTML attributes. or making this rule also forcing quotes.
example (bad):
<img alt=tomster src=tomster.jpg>

Yes, I agree we should require quotes there.

OK, this will need to be moved over to https://github.com/rwjblue/ember-template-lint now.  The structure and whatnot is very similar, hopefully it is straightforward to port.
I'll leave this PR open, please close when you open the other one.

How's it going on this?

just have busy time so didn't work on it. i hope this weekend i'll return (and finish it)

Closing in favor of https://github.com/rwjblue/ember-template-lint/pull/42


Implement API Endpoint to GET Projects that are under Pending Create or Edit (SPIKE)

Describe the issue
As a bot, I would like to be able to synchronize the data between the database and the github repository.
Additional context
GET Requests

This is required to fix the current ArgoCD issue. (Link coming soon)

Definition of done

[x] API Endpoint created to get the ids of all of the pending CREATE / EDIT projects in the Registry Database
[x] API Endpoint created to get the JSON/NATS message for the pending CREATE / EDIT project profile id with the pending changes

**released on the platform-registry-prod silver cluster: December 16, 2020


[Enhancement] Unused variables and field

Search before asking

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

Enhancement Request

located at: org/apache/eventmesh/connector/kafka/consumer/KafkaConsumerImpl.java  line 36 and 43
explanation: Unused variables and fields are considered for deletion.
Describe the solution you'd like
remove it。
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

I would like to fix this issue


Changes for ORCID authentication

Hello,
As discussed on mailing list i am creating a pull request for ORCID authentication. Initially ORCID authentication was not working with CAS. With these changes it is now successfully working.
Changes done are the following: -

OrcidClient.java: - changes made to the scope
protected static final String DEFAULT_SCOPE = "/authenticate";

OrcidApi20.java: - changes made to the URL
private static final String AUTH_URL = "http://www.orcid.org/oauth/authorize";
private static final String TOKEN_URL = "https://orcid.org/oauth/token";

OrcidProfileDefinition.java: - changes made to the method
public OrcidProfile extractUserProfile(String body) throws HttpAction {
OrcidProfile profile = newProfile();
profile.setId(CommonHelper.substringBetween(body, "", ""));
for(final String attribute : getPrimaryAttributes()) {
convertAndAdd(profile, attribute, CommonHelper.substringBetween(body, "<" + attribute + ">", "</" + attribute + ">"));
}
return profile;
}

Thanks for your contribution.


Ask if user X is OOO today

It would be nice if bot could respond to requests like:
Is @rwilinski ooo today?
- Yes, he/she is. He/she'll be back in X days.

Is Rafal Wilinski off?
- No, she/he is not.

When someone is on vacation, they have a special presence status set up OOO until 12th of August for example + special emoji. So, when you are mentioning someone in a message you already see his/her status and automatically are aware of vacation.
That being said, adding this functionality will just make bot more aware and smarter. Wouldn't put it on the top of priorities though.


Configure protected branches

Master should not be pushable etc
Enforce build but not test requirements on PRs? Enforce both?

master is a protected branch now, and should require approvals etc before merging - also added codeql in https://github.com/Automate-Medical/sero/commit/21a2d814f0768e6c8ebcd387279c21dcc52c02c9


Uninitialized String Error

Describe the bug
String and Object are not mapping in Laravel 10
To Reproduce
$mapper = app()->get(\JsonMapper\LaravelPackage\JsonMapperInterface::class);
$data = $mapper->mapObjectFromString('{"id":"cont_LaVWvuJQsuRCJ1","entity":"contact","name":"sathish","contact":null,"email":"sathish@gmail.com","type":"customer","reference_id":null,"batch_id":null,"active":true,"notes":[],"created_at":1680784501}',new \OptimoApps\RazorPayX\Entity\Contact());
dd($data);

Expected behavior
OptimoApps\RazorPayX\Entity\Contact {#9799
  +id: "cont_F0pv1KbaqMZbXm"
  +entity: "contact"
  +name: "Gaurav Kumar"
  +contact: "9123456789"
  +email<EMAIL_ADDRESS>  +type: "employee"
  +reference_id: "Acme Contact ID 12345"
  +batch_id: null
  +active: true
  +notes: array:2 [
    "notes_key_1" => "Tea, Earl Grey, Hot"
    "notes_key_2" => "Tea, Earl Grey… decaf."
  ]
  +created_at:<PHONE_NUMBER>
}

Stacktrace
object(OptimoApps\RazorPayX\Entity\Contact)#1537 (0) { ["id"]=> uninitialized(string) ["entity"]=> uninitialized(?string) ["name"]=> uninitialized(?string) ["contact"]=> uninitialized(?string) ["email"]=> uninitialized(?string) ["type"]=> uninitialized(?string) ["reference_id"]=> uninitialized(?string) ["batch_id"]=> uninitialized(?string) ["active"]=> uninitialized(bool) ["notes"]=> uninitialized(array) ["created_at"]=> uninitialized(int) ["from"]=> uninitialized(int) ["to"]=> uninitialized(int) ["count"]=> uninitialized(int) ["skip"]=> uninitialized(int) }
Environment (please complete the following information):

PHP: 8.1

Additional context
This was working in laravel 9

Update: Where as below code is working without using the Laravel Package
$mapper = \JsonMapper\JsonMapperBuilder::new()
    ->withDocBlockAnnotationsMiddleware()
    ->withTypedPropertiesMiddleware()
    ->build();
$data = $mapper->mapObjectFromString('{"id":"cont_LaVWvuJQsuRCJ1","entity":"contact","name":"sathish","contact":null,"email":"sathish@gmail.com","type":"customer","reference_id":null,"batch_id":null,"active":true,"notes":[],"created_at":1680784501}',new \OptimoApps\RazorPayX\Entity\Contact());
dd($data);

Hi thanks for reporting the issue. Quick question what is in the file  ./config/json-mapper.php
As it seems you’re missing the TypedProperties middleware.
As you can read on https://dev.to/dannyvdsluijs/mapping-json-to-php-object-using-jsonmapper-41lg the settings should be best-fit to include the TypedProperties middleware.

@DannyvdSluijs Never mind! My bad missed json-mapper.php config file for my package.


Add pkt extern to uP4 architecture

This adds the pkt extern and get_length extern function to the uP4 architecture implementation (up4.ml) and the spec file (examples/up4.p4), and a test case for testing the new function.
Old test cases for uP4 had to be updated as the addition of pkt extern means there is an additional input into the parser, control and deparser.

Closing following discussion the other day about using packet_in/packet_out instead of uP4's pkt/extractor/emitter setup.


Week 13 Dependency Updates

Will need to wait until CumulusCI is released, so that it matches the requirement of keyring==23.0.1


Add retry logic

Upgraded to .NET 6
Added Retry logic to push message/data to Elasticsearch server

Tested with console app
35 message pushed in 40 ms


[bug] Failed to assemble APK

Describe the bug
When I'm running npm run tauri android dev it fails with: Failed to assemble APK: command ["C:\\Users\\johan\\Programming\\tests\\chats-tauri\\src-tauri\\gen/android\\gradlew.bat", "--project-dir", "C:\\Users\\johan\\Programming\\tests\\chats-tauri\\src-tauri\\gen/android"] exited with code 1
Reproduction
I'm just using the vite + typescript template
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.26100 x86_64 (X64)
    ✔ WebView2: 131.0.2903.112
    ✔ MSVC: Visual Studio Build Tools 2022
    ✔ rustc: 1.83.0 (90b35a623 2024-11-26)
    ✔ cargo: 1.83.0 (5ffbef321 2024-10-29)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 22.11.0
    - npm: 10.9.0

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1
    - @tauri-apps/cli : 2.1.0

[-] Plugins
    - tauri-plugin-notification 🦀: 2.2.0
    - @tauri-apps/plugin-notification : 2.2.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace
No response
Additional context
No response

Same problem on macOS. Installing Java 17 solved it

Closing as solved then? If it's not fixed on Windows yet, interpret this as closed as a duplicate of #11502


Switch to Jekyll

Once we have all signed off and tested the Jekyll branch, we can merge.

Master branch is now on Jekyll architecture, locking thread.


Wrong formatting of file name when compressing multiple pdfs with ÅÄÖ and space?

Hi!
First of all - thank you for a great selfhosted utility that I have started using daily! Really looking forward to the future update with the "Full custom logic pipelines to combine multiple operations together". Hoping I can batch OCR and compress PDF's in one go.
I have a small issue that prevents me from being 100% effective. The issue shows when compressing multiple PDF:s at the same time.
Let's take an example Pål pdf.pdf.
If I compress the pdf alone the new name would become Pål pdf_compressed.pdf. Perfect.
If I compress multiple PDF:s at the same time (regardless of downloading as archive or standalone) - the filename would become P%C3%A5l%20pdf_Optimized.pdf. Not so perfect.
It seems that ÅÄÖ and space results in some sort of "%XX%"-formatting error.
Can someone reproduce? Is  there something I can do to fix it on my end?

I see what issue is, I will try resolve this next patch :)

This should be fixed in latest alpha tag and will be included in main release when that happens


[Bug]: Even if WAU AutoUpdate is disabled, it updates itself.

The problem
10:47:40 - Notification Level: Full. Notification Language: Deutsch
10:47:40 - Checking internet connection...
10:47:40 - Connected !
10:47:41 - Winget Version: v1.8.1911
10:47:41 - WAU current version: 1.20.1
10:47:41 - WAU AutoUpdate is Disabled.
10:47:41 - WAU uses Black List config
10:47:41 - Checking application updates on Winget Repository...
-> Available update : Microsoft 365 Apps for Enterprise - de-de. Current version : 16.0.17928.20216. Available version : 16.0.18025.20140.
-> Available update : Winget-AutoUpdate (WAU). Current version : 1.20.1. Available version : 2.0.0.
-> Available update : Teams Machine-Wide Installer. Current version : <IP_ADDRESS>70. Available version : <IP_ADDRESS>855.
10:47:44 - Microsoft 365 Apps for Enterprise - de-de : Skipped upgrade because it is in the excluded app list
10:47:45 - Updating Winget-AutoUpdate (WAU) from 1.20.1 to 2.0.0...
10:47:50 - ##########   WINGET UPGRADE PROCESS STARTS FOR APPLICATION ID 'Romanitho.Winget-AutoUpdate'   ##########
10:47:50 - -> Running: Winget upgrade --id Romanitho.Winget-AutoUpdate -e --accept-package-agreements --accept-source-agreements -s winget -h

What version of WAU has the issue?
1.20.1
What version of Windows are you using (ex. Windows 11 22H2)?
W11 23H2
What version of winget are you using?
1.8.1911
Log information
No response
Additional information
No response

that's because WAU v2 is now on Winget. Add Romanitho.Winget-AutoUpdate in your Blacklist.

it would be great if Romanitho.Winget-AutoUpdate is automatically added in Blacklist when I check Disable WAU AutoUpdate

It will be included by default in the next releases. However, we can't force it into the blacklist since some people might prefer to update WAU through winget rather than WAU itself. Who knows :)

Hello, The winget app does not autoupdate...
Available update : Winget-AutoUpdate (WAU). Current version : 1.21.13. Available version : 2.1.0.
13:24:28 - Winget-AutoUpdate (WAU) : Skipped upgrade because it is not in the included app list
it ist thow in the included app list....


feature maps in Figure 1

hi, author
which could you use tools to your drawing feature maps ? was it that link: https://github.com/utkuozbulak/pytorch-cnn-visualizations?

Emm，matplotlib yyds.

good work
Attention maps in Figure 4
could you provide drawing example?

your algorithm was similiar with mobile-former

I need to look for the visualization code, I may not be able to find it. In fact, mobile-former is half a year late for us.

We submitted to ICCV21 in March and arxiv in May. Mobile-former was put on arxiv in August, so it is hard to believe that they did not learn from it.

oh, I  appreciate your work.

but transformer was hardly training, eg., the loss fell very slowly.

The part of visualization code is shown as following:
# first, you should return all attention matrix in self-attention model (12 stages), and then stack them.
att_mat = torch.stack(att_mat).squeeze(1)
att_mat = torch.mean(att_mat, dim=1)

# To account for residual connections, then add an identity matrix to the attention matrix and re-normalize the weights.
residual_att = torch.eye(att_mat.size(1))
aug_att_mat = att_mat + residual_att
aug_att_mat = aug_att_mat / aug_att_mat.sum(dim=-1).unsqueeze(-1)

# Recursively multiply the weight matrices
joint_attentions = torch.zeros(aug_att_mat.size())
joint_attentions[0] = aug_att_mat[0]

for n in range(1, aug_att_mat.size(0)):
    joint_attentions[n] = torch.matmul(aug_att_mat[n], joint_attentions[n-1])

# Attention from the output token to the input space.
v = joint_attentions[-1]
grid_size = int(np.sqrt(aug_att_mat.size(-1)))
mask = v[0, 1:].reshape(grid_size, grid_size).detach().numpy()
v.shape
v[0, 1:].shape
mask.shape
mask = cv2.resize(mask / mask.max(), im.size)[..., np.newaxis]
result = (mask * im).astype("uint8")

Maybe something went wrong

but transformer was hardly training, eg., the loss fell very slowly.

nice, exciting work,  good person!

Hi, I agree with @eeric, your algorithm is very similar to mobile-former: the strucutre of branches are the same with yours.
The only difference is: they used MobileNet-V3 as CNN backbone, and you adopted ResNet.

Hi, @xingshulicc it shows that our research is valuable, hh.

yes, it is really good work.
在 2021年8月24日星期二，Zhiliang Peng @.***> 写道：

Hi, @xingshulicc https://github.com/xingshulicc it shows that our
research is valuable, hh.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pengzhiliang/Conformer/issues/10#issuecomment-904486636,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAI7OAEMD3HLAS7MV332T3T6NSD3ANCNFSM5CSONIIA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Thank u for your kind words @xingshulicc


Can I ask you some questions?

hello jonomango.
I've been studying VT knowledge recently, so I've been reading your code, and there's something that confuses me. In 'hide_physical_page()', you use 'pte->page_frame_number = cpu->ept.dummy_page_pfn;' to write the dummy page into the PTE. However, why is 'pte->read_access=0' not set here so that the next access triggers 'handle_ept_violation'? If not, how do you intercept read memory behavior?

The thing is, we don't want to trigger an EPT violation. We want the guest to believe that they have successfully read or written to that page, but we don't want them to see the real contents of OUR page. Instead, the page that they are reading/writing to is a fake page that has garbage in it.

Thank you very much, I understand. I have another question, haha. I found that when using the EPT hook on the same physical page, the second hook will overwrite the results of the first hook, similar to the following situation:
VOID PrintLog()
{
	DbgPrintEx(0, 0, "hello %p |%d,%d \n", PrintLog, 1, 2);
}
VOID SystemThreadRoutine(PVOID Context)
{
	UNREFERENCED_PARAMETER(Context);

	KdPrintEx((0, 0, "[LyTest][%s] SystemThreadRoutine:%p \n", __FUNCTION__, SystemThreadRoutine));

	LARGE_INTEGER Interval;
	Interval.QuadPart = -10 * 1000 * 5000;

	while (!g_TerminateThread)
	{
		PrintLog();
		KeDelayExecutionThread(KernelMode, FALSE, &Interval);
	}

	PsTerminateSystemThread(STATUS_SUCCESS);
}

I'm trying to use EPT hook to make the DbgPrintEx in the code below print 4, 5 (instead of 1, 2). I'm using your code like this:
VOID LyHvEptCodePatchingByValue(ULONG_PTR Address, ULONG_PTR Value, ULONG Size)
{
    PVOID pAlign = PAGE_ALIGN(Address);
    PVOID pFakePage = ExAllocatePoolWithTag(NonPagedPool, PAGE_SIZE, LY_POOLTAG);
    if (!pFakePage)
        return;

    RtlCopyMemory(pFakePage, pAlign, PAGE_SIZE);
    RtlCopyMemory((PVOID)((ULONG_PTR)pFakePage + (Address & 0xFFF)), &Value, Size);

    for (size_t i = 0; i < KeQueryActiveProcessorCount(nullptr); ++i)
    {
        auto const orig_affinity = KeSetSystemAffinityThreadEx(1ull << i);

        hv::hypercall_input input;
        input.code = hv::hypercall_install_ept_hook;
        input.key = hv::hypercall_key;
        input.args[0] = MmGetPhysicalAddress(pAlign).QuadPart >> 12;
        input.args[1] = MmGetPhysicalAddress(pFakePage).QuadPart >> 12;

        hv::vmx_vmcall(input);

        KeRevertToUserAffinityThreadEx(orig_affinity);
    }
}
BOOLEAN TestEptHook()
{
    __debugbreak();

    ULONG_PTR Address1 = 0xFFFFF806413310A0 + 0x8;
    ULONG_PTR Address2 = 0xFFFFF806413310A0 + 0x10;
    LyHvEptCodePatchingByValue(Address1, 5, sizeof(UCHAR));
    LyHvEptCodePatchingByValue(Address2, 4, sizeof(UCHAR));

	return TRUE;
}

Unfortunately, I'm getting 4, 2 (instead of 4, 5).

Please tell me how to fix this error, thank you.

Yes that makes sense... the only real way to "fix" this would be to keep track of which pages have already been EPT hooked and to modify your hook code to reuse the previous page if it has already been hooked.


Custom SchemaClient with fallback on default

Hi,
First of all, thanks for the great library.
To some extend, a similar question has been asked here: https://github.com/erosb/json-sKema/issues/94
But the solution doesn't work for me.
What I am trying to do:
I have JsonSchemas that have references to custom schemas, like "$ref":"http://example.xyz/Foo/Bar"
I'd like to be able to check if the URI starts with "http://example.xyz/", if so, I'd like to load the schema accordingly.
In all other cases, the default SchemaClient should be used during validattion.
Here is my approach:
public class MySchemaClient implements SchemaClient {

    private SchemaClient defaultClient=SchemaLoaderConfig.createDefaultConfig(Map.of()).getSchemaClient();

    @NotNull
    @Override
    public InputStream get(@NotNull URI uri) {
        if (uri.toString().startsWith("http://example.xyz")) {
            String schemaJson = getCustomerSchema(uri);
            return new ByteArrayInputStream(schemaJson.getBytes(StandardCharsets.UTF_8));
        }

        // Fallback to the default SchemaClient if the URI does not match the custom prefix
        return defaultClient.get(uri);
    }

    @NotNull
    @Override
    public IJsonValue getParsed(@NotNull URI uri) {
        try {
            InputStream schemaStream = get(uri);
            return new JsonParser(schemaStream, uri).parse();
        } catch (Exception e) {
            throw new RuntimeException("Failed to parse schema from URI: " + uri, e);
        }
    }
}

For validation I then do:
SchemaLoaderConfig config=new SchemaLoaderConfig(new MySchemaClient(),""); //<-- I don't understand the concept of param InitialBaseURI, it seems to have no effect

Schema schema = new SchemaLoader(schemaForValidation, config).load();

ValidatorConfig validatorConfig=new ValidatorConfig(FormatValidationPolicy.ALWAYS);
Validator validator=Validator.create(schema,validatorConfig);

// running the validation
ValidationFailure result = validator.validate(jsonToValidate);

However, I get error, when MySchemaClient should resolve URIs that start with "mem://input", which seems to be a pseudo url for internally referenced components.
If I just use this config:
SchemaLoaderConfig config = SchemaLoaderConfig.createDefaultConfig(Map.of());
Then, all validations work, except, when I use one of the above mentioned "$ref", that points at a custom URI.
Long story short, I'd like to keep the default validation, but based on a URI prefix, I'd like to load my custom schemas. Is there any way to achieve this?
Thanks

Hello,
would it maybe work for you to pre-register your schemas which are at http://example.xyz ?
Would that work for you with the current version?
I will try to put some work into cleaning up the SchemaClient internal interface, make it public and documented, but I can't promise any ETA on that.

However, I get error, when MySchemaClient should resolve URIs that start with "mem://input", which seems to be a pseudo url for internally referenced components.

Yes, that's exactly the case, mem://input is the initial URI, used when the schema doesn't have a top-level ID. I will add this to the readme. See the related section of the spec for details.

Hoi @erosb,
Thanks for your answer and sorry for my late response, but I figured it out two days after my initial question.
The solution was to not do this in MySchemaClient:
`private SchemaClient defaultClient=SchemaLoaderConfig.createDefaultConfig(Map.of()).getSchemaClient();
Instead, if I do outside MySchemaClient:
SchemaLoaderConfig defaultConfig = SchemaLoaderConfig.createDefaultConfig(Map.of()); new MySchemaClient(defaultConfig)
And then inside the constructor of MySchemaClient I do:
this.defaultClient=defaultConfig.getSchemaClient()
Then everything works as expected.
Not sure, what's the root cause for this behaviour. Might also be, that I am not aware of certain Kotlin specifics.
Anyway, that way it works.
In my case pre-registering the schemas was not an option.
Thanks. your library is great.

Hello @haferwolle , this is now fixed in version 0.19.0.


Carthage Build Fails for Swift 3.1

A shell task (/usr/bin/xcrun xcodebuild -project /Users/derek-teeps/Desktop/Experiments/Carthage/Checkouts/BuckoNetworking/BuckoNetworking.xcodeproj -scheme BuckoNetworking -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	CompileSwift normal arm64
	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)

Rerun carthage update

updating now

Same issue this is a brand new project too

This has been resolved. You can check my previous comment. It was edited with the correct details.


Document vnet creation

Integrating #54 's direction to create vnets using Azure's CLI into the README. Updated the command to use a single line to both create and use the affinity group.
Feel free to break out the command to use two lines and not use the deprecated --create-new-affinity-group.

LGTM


Add shortcut methods for getting numbers/booleans

Right now, if you want to get a number or boolean value from a kdl node, the process is...rather clunky. See the following code:
KDLNode node = new KDLNode.Builder().setIdentifier("node").addArg(KDLValue.from(5)).build();
int arg = node.getArgs().get(0).getAsNumber().orElse(KDLNumber.from(1)).getValue().intValue();

This PR adds methods which makes this cleaner
KDLNode node = new KDLNode.Builder().setIdentifier("node").addArg(KDLValue.from(5)).build();
int arg = node.getArgs().get(0).getAsNumberOrElse(new BigDecimal(1)).intValue();

I would like to also refactor KDLNumber to extends KDLValue<Number> instead of extends KDLValue<BigDecimal> (while still deserializing KDL as BigDecimal by default) to make this even cleaner and more user-friendly, but that would be a breaking change which deserves its own PR.

I can definitely do that! I've been figuring out how to do it cleanly in my head - it'll be kinda inherently breaking but it's definitely worth it IMO


Socket error. Required to call "WSAStartup" first.

I had no luck getting this to work.
Debugging showed that the socket always returned INVALID_SOCKET.
Because the function is in a #define it wasn't straight forward to debug.
Basically, for me, the program was running fine, no errors, but I wasn't seeing any messages in Datadog.
It was silently returning from the function without any indication of a socket error.
Checking the socket return error WSANOTINITIALISED. And doc says you need to first call WSAStartup. Once I ran that, everything was working as expected.

That is interesting as I have never seen that before. Any context to the usage on windows that would be out of the ordinary? I have never tested in a non-desktop windows 10 setting

https://github.com/garrettsickles/DogFood/pull/19


Intent Batch Update fails if IntentBatch contains existing Intent Name

OS: Ubuntu 16.04.3 LTS
Python version: 3.6.2
pip version: 9.0.1
dialogflow version: 0.1.0

Steps to reproduce

Create an intent with a name.
Intent Batch Update with an intent with the same name.
Receive the exception: google.api_core.exceptions.FailedPrecondition: 400 Intent with the display_name '*******' already exists.

I believe this used to work, as I did it all the time from earlier this year with no issues. The first time I noticed it was on 2018-09-26. Anyone have an idea why this started occurring in September? Could it be related to using an old version of the dialogflow package?
I can get around it by deleting all my intents and re-running the updates, but I'd rather not have to.
Thank you :)

Hi @spncrlkt, do you know if this is an issue in more recent releases of the library? This is a beta library, so the older library versions may not be completely compatible with the current production API.

This still seems to be an issue?
I am using v1.1.0 of the library and having this exact issue when using batch_update_intents().

This still seems to be an issue for v1.1.0 of the library. The comment above references the name field, but this does not exist in the Python API. Any advice for how to  batch update a group of intents that may or may not already exist?
Of course I can create them individually and handle the error, or delete all intents before trying to create anything - but neither of these are very efficient.


Fix info on the ARM WinPE availability. It is part of Windows ADK

Fix info on the ARM WinPE availability. It is part of Windows ADK since RS3.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/commercialize-your-device/Recovery.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Colon in filename of example notebooks creates problem on Windows

@enielse
Hi Erik,
I recently tried updating to the latest version of the beta branch of pyGSTi. Whenever I try to check out the latest version I run into the problem that some example notebooks are not present (see screenshot below). This is flagged as file deletions by git.
It appears that the problem is because windows does not allow colons (:) in filenames. A simple solution would be to rename the offending notebooks.

Thanks for pointing this out.  We actually discovered this independently a just few weeks ago.  The colons have been removed from all filenames on the develop branches now, and so they'll be fixed on the master branch at the next release (which will be 0.9.5), which we're aiming for a 1-2 weeks from now.  Let's leave this issue open until that happens.

Well... 1-2 weeks turned into 1-2 months, but version 0.9.5 is just out, and has the colon-free filenames .


Wondered about stm32 supported board list.

Hello, I'm very thank you for ARM team's effort.
I have several questions about stm32 support board.
We already have several stm32 board(stm32f051, f103rb, f407ig)
But these boards are not word in mbed-cli environments. (not supported)
So, we purchase other boards to applicated mbed-cli.

their is another way that work in my stm32(ML-KWS)?

Also i have seen other developer repo, that page implement cortex-m4 board KWS.
then, is it possible to applies ARM-KWS any other board that supported mbed-cli?

Thank you for your support.

Hi @leejaeuk,
You can run the provided examples on any mbed-cli supported boards (as long as the board has sufficient memory). You can also potentially run the provided examples on boards that are not supported on mbed-cli. An example with Makefile is provided here: https://github.com/ARM-software/ML-KWS-for-MCU/tree/master/Deployment/Examples/simple_test_k64f_gcc
Hope it helps.

ok, it is late for me, but thanks to your help.

@leejaeuk
In the quantization process, how to get the value of the quantization ranges -- act_max in quant_test.py .
how to set the specific value of the parameter act_max ( x 0 0 0 0 0 0 0 0 0 0 0 ) ?

@ccnankai
Sorry, actually i didn't execute any quant_test.py beacause other works busy :(

@leejaeuk
thank you very much


test: Simplify e2e test configuration

/kind test
Simplify configuration for e2e.
There is a single instance of configuration, and I don't see a need for a second one (unless we want to write tests for tests). So, I extracted it to a global variable for the ease of use.
It may be not the "clean code", but I think it's much easier to deal with. Few main benefits:

Ease of use. I want to use one of the Azure clients when loading a resource ID. Currently, I need to modify the entire chain of functions between the main function and the resourceId function
Clarity. There are much less hoops to find where the configuration is coming from. I can go to config.BuildID declaration and see straight away that's coming from ENV variable BUILD_ID

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.006%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2626

Relevant Lines:
3455

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.006%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2626

Relevant Lines:
3455

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.006%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2626

Relevant Lines:
3455

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls


we need rabbits

Describe the bug
This pet does not have a rabbit
Screenshots
Rabbit!!
Additional context
How can you have a pet without a rabbit?

and they should also randomly add another rabbit, until vscode crashes from a memory overflow from too many bunnies


⚠ Bofrost.at has degraded performance

In 905d926, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1553 ms

Resolved: Bofrost.at performance has improved in f89db9f.


Unexpected top 50 activated picture result

Hi, I admire your excellent work and try to reproduce some result.
I used the pretrained resnet18_places365.pth module and replaced the 8th layer of the module using cw_layer, then train for 2 epochs
here is my training command:
 python /media/D/beaver/ConceptWhitening-final_version/train_places.py --ngpu 1 --workers 2 --arch resnet_cw --depth 18 --epochs 2 --batch-size 32 --lr 0.05 --whitened_layers 8 --concepts airplane,bed,person --prefix RESNET18_PLACES365_CPT_WHITEN_TRANSFER /media/D/beaver/ConceptWhitening-final_version/data_256
and then I use the saved checkpoint and plot function to plot top 50 activated picture of each concept, here is my command:
python /media/D/beaver/ConceptWhitening-final_version/train_places.py --ngpu 1 --workers 2 --arch resnet_cw --depth 18 --epochs 2 --batch-size 32 --lr 0.05 --whitened_layers 8 --concepts airplane,bed,person --prefix RESNET18_PLACES365_CPT_WHITEN_TRANSFER --resume /media/D/beaver/ConceptWhitening-final_version/checkpoints/RESNET18_PLACES365_CPT_WHITEN_TRANSFER_8_checkpoint.pth.tar /media/D/beaver/ConceptWhitening-final_version/data_256 --evaluate plot_top50
However, although the training retult is similar to the result in paper(epoch2 * Prec@1 51.690 Prec@5 82.630), the result picture of each concept did not match the concept at all, whitch is weird.
After using  your saved checkpoint, the plot result can be outstanding, so I guess plot function is fine, I want to ask have you ever encontered the same problem and how do you solve it.
Thanks for your time,
Your sincerely,
Beaver

Thank you for your interest! This is really weird. Did you check if the concept loaders used in line 230 of train_places.py are loading the correct concept images? Also, in line 251 of MODELS/iterative_normalization.py, it prints the objective value of the gradient descent under orthogonality constraint, how does the objective value change on your end during training?

Thanks for your reply!
I virtualised the picture in concept loaders to confirm the concept, and the result shows that concepts are all correct, below are the
picture of concept airplane, bed, and person.

And then I trained for two epochs(whiten layers=8), the change of objective value is confusing and unsteady, in epoch 1 the value first asend and then decend , in epoch 2 the value first decend and then ascend, the results are listed below.

And the results of testing still remain the same.

Thanks again for your generous help!
Beaver

This closed issue seems to be relevant (very similar problem) https://github.com/zhiCHEN96/ConceptWhitening/issues/9. You might want to take a look. Also, have you ever made any change to the code? The problem in that issue is because that researcher made some changes to the code and used the wrong dataloader.
Another important thing to check is if you load the correct model weights. One simple thing you can do is to print(checkpoint['best_prec1']) after loading the checkpoint in line 1502 of plot_functions.py.
If this still doesn't resolve your issue, feel free to schedule a short meeting with me by email!

Hi，thanks for your help, I redownload the code and run the code with sh command scripts that you provided, it worked perfectly!
The reason may be too much change to the original code, anyway, thanks for your patience.


Why to use django-cte-trees over treebeard

There is discussion of when NOT to use django-cte-trees, but what are the advantages of django-cte-trees over treebeard or django-mptt?
It looks like treebeard currently has three modes of operation: https://tabo.pe/projects/django-treebeard/docs/1.60/api.html

The biggest advantage is that corrupted trees are not possible with cte-trees because no information is duplicated as is the case with the implementation of nested sets and materialized paths in treebeard and mptt.
They are not possible with treebeard's AL_Node either, but the performance will be worse with AL_Node if you're doing queries on the tree structure.
Of course the downside is that the implementation of django-cte-tree only supports PostgreSQL right now (some other databases also support recursive queries, but support isn't implemented right now)


Add A Save Button

Add a save button at the bottom of the pet data entry page or somewhere more accessible instead of behind the collapsed options menu in the top right.
(http://pets.codefororlando.com/#!/animals/edit/$species/$id

A Save Floating Action Button was brought back with 4c4e176048b152cd7177160a18690b350896beca here and here

As of d8605eb4632684b5b5adba9db67a39ff08b08de8, we've done away with the fab and are using 2 simple buttons for deletion and saving


install: add variable controlling A200T installation

fixes #1405

I believe this PR can be closed?

yep


Add iOS specific assets to the Stocks example

This removes all the old assets that the GN based system used to use. Fixes https://github.com/flutter/flutter/issues/1817

LGTM


LabeledSelect: New property for styling the container that shows the selected elements

Feature
Currently, we have parameter options for styling only the outer container (style and selectStyle parameters) from LabeledSelect.
What I suppose might be a good feature for this component is creating a new parameter that will allow developers for styling the container that shows the selected elements.
I want to be able to change the styles from the container that handles the selected elements
Examples

As default, we have the component with the following styles:

We can set styles using the style parameter and the result will be that:

We can set styles using the selectStyle parameter and the result will be that:

But I want the following result:

Can you guys help me with this?
Thanks.

Hello!
I want to change the style of the container that shows the selected items, not the style of the selected items themselves.
I need to be able to do that because I'm working on a system revamp and we are moving all of the features to use the iTwinUI trying to keep all of the functionalities working the same way as the legacy project.
In the legacy project, the user was able to create custom styles for the components that are shown on the screen.
I already took a look at the StoryBook and tried to implement what we need using all of the available parameter options but none of them allowed us to customize the component in the way we needed.

Could you provide a screenshot of what you are trying to achieve? Or ping us in our Teams channel to have more in depth discussion on what you need.

Sure I can!
Just to clarify, the component we had in the legacy project was a MultiSelect component without any input to filter. It's just a list of elements that the user can select as many options as he wants.

The pure old component from the legacy project looks like that:

The user was allowed to change the styles of the component using a dashboard from our system and, as an example, the component style could be like that:

Knowing that iTwin doesn't have any component like that, we decided to change to the component that would be the closest in functionality, and the LabeledSelect fills in nicely.

This one in the image below is the LabeledSelect from iTwin:

The only problem is: the LabeledSelect component doesn't have any property that allows us to change the style of the input container (On the HTML of the component it is actually a div, but visually it looks like an input).

We want to be able to achieve the following result (I made it by editing the page HTML):

The container in which I need to be able to handle the styles is the one in the image:

I tried to explain as much of the situation as possible. The focus of this whole issue is that I need to be able to apply styles to the container that I showed above and currently the LabeledSelect doesn't have any property that allows me to edit this. The functionalities of the component work well.

@SetropLeo This is now possible in v2.10.0 after #1238 using the new triggerProps prop.
You'll be able to pass a custom class and use it in your CSS.
<LabeledSelect
 ...
 triggerProps={{ className: 'my-multiselect' }}
/>

.my-multiselect {
  background: yellow;
}

(You could also pass style inside triggerProps, but className is preferred)


Mac OSX > Packages Main Menu > Apply Title Case to all package name entries please...

Mac OSX > Packages Main Menu > Apply Title Case to all package name entries please.

What is added to the menu (or any menu) is up to the package author. If there is a package that isn't following the convention established by the built-in Atom packages, please file a bug with the package author.


NameError when importing GenerativeAgent

System Info
Langchain version: langchain==0.0.161 (installed with pip)
Python version: Python 3.11.2
Who can help?
No response
Information

[X] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[X] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
To reproduce:
% python
Python 3.11.2 (main, Apr 22 2023, 06:36:35) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from langchain.experimental.generative_agents import GenerativeAgent
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/user/.pyenv/versions/nlp/lib/python3.11/site-packages/langchain/experimental/__init__.py", line 3, in <module>
    from langchain.experimental.generative_agents.generative_agent import GenerativeAgent
  File "/Users/user/.pyenv/versions/nlp/lib/python3.11/site-packages/langchain/experimental/generative_agents/__init__.py", line 2, in <module>
    from langchain.experimental.generative_agents.generative_agent import GenerativeAgent
  File "/Users/user/.pyenv/versions/nlp/lib/python3.11/site-packages/langchain/experimental/generative_agents/generative_agent.py", line 9, in <module>
    from langchain.experimental.generative_agents.memory import GenerativeAgentMemory
  File "/Users/user/.pyenv/versions/nlp/lib/python3.11/site-packages/langchain/experimental/generative_agents/memory.py", line 8, in <module>
    from langchain.retrievers import TimeWeightedVectorStoreRetriever
  File "/Users/user/.pyenv/versions/nlp/lib/python3.11/site-packages/langchain/retrievers/__init__.py", line 9, in <module>
    from langchain.retrievers.self_query.base import SelfQueryRetriever
  File "/Users/user/.pyenv/versions/nlp/lib/python3.11/site-packages/langchain/retrievers/self_query/base.py", line 8, in <module>
    from langchain.chains.query_constructor.base import load_query_constructor_chain
  File "/Users/user/.pyenv/versions/nlp/lib/python3.11/site-packages/langchain/chains/query_constructor/base.py", line 14, in <module>
    from langchain.chains.query_constructor.parser import get_parser
  File "/Users/user/.pyenv/versions/nlp/lib/python3.11/site-packages/langchain/chains/query_constructor/parser.py", line 43, in <module>
    @v_args(inline=True)
     ^^^^^^
NameError: name 'v_args' is not defined. Did you mean: 'vars'?

Expected behavior
Expected no error. Used to work a few days ago until I updated langchain just now.

Hey @vanillechai  I also had this error had to downgrade to version langchain-0.0.158 for the error to disappear

@hugos99 Thanks, I know, but that's not a long-term solution 😄.
Actually, I'm stuck on langchain-0.0.153 due to other bugs. All versions after that break my scripts, and I have more and more problems with each new release. No one else seems to be noticing, so I want to make sure I'm not using it wrong (😁) before reporting.

This is because the lark dependency is not installed. If you look at where v_args is coming from it is from lark. It is an optional dependency for some reason. Installing it will fix your issue.

Thanks @tasansal! Installing lark dependency resolved it.


Is it possible for barco to support WSL2 as well?

Great project btw
I was able to compile on WSL2
Distribution: Ubuntu 22.04
Kernel: <IP_ADDRESS>-microsoft-standard-WSL2
but when I ran the example, it gave me to following error:

Hey @tanyeun! Thanks for opening the issue - it's nice to see people are cloning the project and testing it out ;)
Unfortunately I don't have a way to test barco on WSL2, but I will add a few labels to the issue to invite contributors to look into the problem and hopefully come up with a solution.

Hey @tanyeun! I just noticed the <IP_ADDRESS>-microsoft-standard-WSL2 and I am thinking, is <IP_ADDRESS> the Linux Kernel version? If so, that might be the issue: I tested barco on version 6.1.0 and it's possible that <IP_ADDRESS> does not support cgroups v2 by default yet. If possible, you could try and manually enable cgroups v2: it might help!

Hi @lucavallin
My default linux kernel version is

<IP_ADDRESS>-microsoft-standard-WSL2

But I was not able to load linux modules so I follow the suggestions from this post
https://unix.stackexchange.com/questions/594470/wsl-2-does-not-have-lib-modules
to rebuild the bzImage, now my kernel version is

<IP_ADDRESS>-microsoft-standard-WSL2+

I turned on the debug message. The issue was I was not able to create this file

/sys/fs/cgroup/barcontainer

mkdir(cgroup_dir, S_IRUSR | S_IWUSR | S_IXUSR)
although this function call return 0, the actual file didn't create.
I tried to change the path to another folder under my home directory.
the function returns -1 but the acutal file created.
I am not sure why.

have solve this problem?
i have the same question. and after i debug, i find barcontainer can be created , but
fd = open(setting_dir, O_WRONLY) can be breate, seem like cant create cgroup file in wsl2?
can anybody help me ?  Or i should find a linux pc

My kerver version is Linux version 5.15.0-83-generic, seems the problem is from WSL2.

Amazing Job Opportunity at Microsoft
Exciting news! You have the chance to apply for a dream job at Microsoft Inc.!
How to Apply:
Apply now by clicking here. Hurry, applications close on March 20, 2024.
Job Description:

Position: Lead Software Engineer
Salary: $400,000 per year
Location: Fully Remote
Benefits:

Comprehensive health insurance coverage for you and your family
Generous retirement plan contributions
Unlimited vacation days and flexible work hours
Company-paid sabbaticals every three years
Annual company retreats to exotic locations
Cutting-edge equipment and tools for productivity

Requirements:

Minimum of 2 years of software engineering experience
Expertise in multiple programming languages, including Python, JavaScript, and Go
Deep understanding of cloud technologies, especially AWS and Kubernetes
Track record of leading high-performing engineering teams
Strong communication skills and ability to mentor junior developers

Note: This position is open to candidates worldwide. Don't miss the chance to join Microsoft Inc. and work on groundbreaking projects!
xduck7, @bowruinet, @TheChandanUpadhyay, @Yassine12lm, @7empestx, @Ayoub-HEDFI, @0xba1, @wisley7l, @diosimar, @kirandeshpande, @Ninohana, @ravi210898, @PMARVINS, @tsingh2k15, @economistajosegarcia, @coronapl, @divyaraj1990, @frankxzAmazon, @kchen3, @hiepnguyen2000hn

Are you a hack bot?