fail to run ./imagenet-camera googlenet on jetson nano

I follow the instruction step by step.
I can run the ./imagenet-console orange_0.jpg output_0.jpg command successfully.
I also build the my-recognition program and run the command ./my-recognition polar_bear.jpg successfully.
However,  when i try to run ./imagenet-camera googlenet , it fails.
My camera's information:
nocits@nocits-desktop:~/jetson-inference/build/aarch64/bin$ v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'RG10'
	Name        : 10-bit Bayer RGRG/GBGB
		Size: Discrete 3280x2464
			Interval: Discrete 0.048s (21.000 fps)
		Size: Discrete 3280x1848
			Interval: Discrete 0.036s (28.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.017s (60.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.017s (60.000 fps)

nocits@nocits-desktop:~/jetson-inference/build/aarch64/bin$ v4l2-ctl --list-devices --list-formats
vi-output, imx219 6-0010 (platform:54080000.vi:0):
	/dev/video0

ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'RG10'
	Name        : 10-bit Bayer RGRG/GBGB

Here is the information when i run ./imagenet-camera googlenet :
nocits@nocits-desktop:~/jetson-inference/build/aarch64/bin$ ./imagenet-camera googlenet
imagenet-camera
  args (2):  0 [./imagenet-camera]  1 [googlenet]

[gstreamer] initialized gstreamer, version <IP_ADDRESS>
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_NVCAMERA
[gstreamer] gstCamera pipeline string:
nvcamerasrc fpsRange="30.0 30.0" ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera failed to create pipeline
[gstreamer]    (no element "nvcamerasrc")
[gstreamer] failed to init gstCamera (GST_SOURCE_NVCAMERA)
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_NVARGUS
[gstreamer] gstCamera pipeline string:
nvarguscamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, framerate=30/1, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera successfully initialized with GST_SOURCE_NVARGUS

imagenet-camera:  successfully initialized video device
    width:  1280
   height:  720
    depth:  12 (bpp)

imageNet -- loading classification network model from:
         -- prototxt     networks/googlenet.prototxt
         -- model        networks/bvlc_googlenet.caffemodel
         -- class_labels networks/ilsvrc12_synset_words.txt
         -- input_blob   'data'
         -- output_blob  'prob'
         -- batch_size   2

[TRT]  TensorRT version 5.0.6
[TRT]  detected model format - caffe  (extension '.caffemodel')
[TRT]  desired precision specified for GPU: FASTEST
[TRT]  requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT]  native precisions detected for GPU:  FP32, FP16
[TRT]  selecting fastest native precision for GPU:  FP16
[TRT]  attempting to open engine cache file networks/bvlc_googlenet.caffemodel.2.1.GPU.FP16.engine
[TRT]  loading network profile from engine cache... networks/bvlc_googlenet.caffemodel.2.1.GPU.FP16.engine
[TRT]  device GPU, networks/bvlc_googlenet.caffemodel loaded
[TRT]  device GPU, CUDA engine context initialized with 2 bindings
[TRT]  binding -- index   0
               -- name    'data'
               -- type    FP32
               -- in/out  INPUT
               -- # dims  3
               -- dim #0  3 (CHANNEL)
               -- dim #1  224 (SPATIAL)
               -- dim #2  224 (SPATIAL)
[TRT]  binding -- index   1
               -- name    'prob'
               -- type    FP32
               -- in/out  OUTPUT
               -- # dims  3
               -- dim #0  1000 (CHANNEL)
               -- dim #1  1 (SPATIAL)
               -- dim #2  1 (SPATIAL)
[TRT]  binding to input 0 data  binding index:  0
[TRT]  binding to input 0 data  dims (b=2 c=3 h=224 w=224) size=1204224
[cuda]  cudaAllocMapped 1204224 bytes, CPU 0x100e30000 GPU 0x100e30000
[TRT]  binding to output 0 prob  binding index:  1
[TRT]  binding to output 0 prob  dims (b=2 c=1000 h=1 w=1) size=8000
[cuda]  cudaAllocMapped 8000 bytes, CPU 0x100f60000 GPU 0x100f60000
device GPU, networks/bvlc_googlenet.caffemodel initialized.
[TRT]  networks/bvlc_googlenet.caffemodel loaded
imageNet -- loaded 1000 class info entries
networks/bvlc_googlenet.caffemodel initialized.
default X screen 0:   2560 x 1440
[OpenGL]  glDisplay display window initialized
[OpenGL]   creating 1280x720 texture
loaded image  fontmapA.png  (256 x<PHONE_NUMBER> bytes
[cuda]  cudaAllocMapped 2097152 bytes, CPU 0x101060000 GPU 0x101060000
[cuda]  cudaAllocMapped 8192 bytes, CPU 0x100f62000 GPU 0x100f62000
[gstreamer] gstreamer transitioning pipeline to GST_STATE_PLAYING
[gstreamer] gstreamer changed state from NULL to READY ==> mysink
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter2
[gstreamer] gstreamer changed state from NULL to READY ==> nvvconv1
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter1
[gstreamer] gstreamer changed state from NULL to READY ==> nvarguscamerasrc0
[gstreamer] gstreamer changed state from NULL to READY ==> pipeline1
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter2
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvvconv1
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter1
[gstreamer] gstreamer stream status CREATE ==> src
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvarguscamerasrc0
[gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline1
[gstreamer] gstreamer stream status ENTER ==> src
[gstreamer] gstreamer msg new-clock ==> pipeline1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter2
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvvconv1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvarguscamerasrc0
[gstreamer] gstreamer msg stream-start ==> pipeline1
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:532 Failed to create CaptureSession

imagenet-camera:  camera open for streaming

imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
[cuda]   registered 14745600 byte openGL texture for interop access (1280x720)

imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193

imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193

imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193

imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193

imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193

imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
^Creceived SIGINT    ###### i type Ctrl-C here

imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193

imagenet-camera:  un-initializing video device
imagenet-camera:  video device has been un-initialized.
imagenet-camera:  this concludes the test of the video device.

Are you able to view the camera feed with nvgstcapture program?
From: z14git<EMAIL_ADDRESS>Sent: Wednesday, June 26, 2019 3:40 AM
To: dusty-nv/jetson-inference<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [dusty-nv/jetson-inference] fail to run ./imagenet-camera googlenet on jetson nano (#345)
I follow the instruction step by step.
I can run the ./imagenet-console orange_0.jpg output_0.jpg command successfully.
I also build the my-recognition program and run the command ./my-recognition polar_bear.jpg successfully.
However, when i try to run ./imagenet-camera googlenet , it fails.
My camera's information:
nocits@nocits-desktop:~/jetson-inference/build/aarch64/bin$ v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
    Index       : 0

    Type        : Video Capture

    Pixel Format: 'RG10'

    Name        : 10-bit Bayer RGRG/GBGB

           Size: Discrete 3280x2464

                   Interval: Discrete 0.048s (21.000 fps)

           Size: Discrete 3280x1848

                   Interval: Discrete 0.036s (28.000 fps)

           Size: Discrete 1920x1080

                   Interval: Discrete 0.033s (30.000 fps)

           Size: Discrete 1280x720

                   Interval: Discrete 0.017s (60.000 fps)

           Size: Discrete 1280x720

                   Interval: Discrete 0.017s (60.000 fps)

nocits@nocits-desktop:~/jetson-inference/build/aarch64/bin$ v4l2-ctl --list-devices --list-formats
vi-output, imx219 6-0010 (platform:54080000.vi:0):
    /dev/video0

ioctl: VIDIOC_ENUM_FMT
    Index       : 0

    Type        : Video Capture

    Pixel Format: 'RG10'

    Name        : 10-bit Bayer RGRG/GBGB

Here is the information when i run ./imagenet-camera googlenet :
nocits@nocits-desktop:~/jetson-inference/build/aarch64/bin$ ./imagenet-camera googlenet
imagenet-camera
args (2):  0 [./imagenet-camera]  1 [googlenet]
[gstreamer] initialized gstreamer, version <IP_ADDRESS>
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_NVCAMERA
[gstreamer] gstCamera pipeline string:
nvcamerasrc fpsRange="30.0 30.0" ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera failed to create pipeline
[gstreamer]    (no element "nvcamerasrc")
[gstreamer] failed to init gstCamera (GST_SOURCE_NVCAMERA)
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_NVARGUS
[gstreamer] gstCamera pipeline string:
nvarguscamerasrc ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, framerate=30/1, format=(string)NV12 ! nvvidconv flip-method=2 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera successfully initialized with GST_SOURCE_NVARGUS
imagenet-camera:  successfully initialized video device
width:  1280

height:  720
depth:  12 (bpp)

imageNet -- loading classification network model from:
     -- prototxt     networks/googlenet.prototxt

     -- model        networks/bvlc_googlenet.caffemodel

     -- class_labels networks/ilsvrc12_synset_words.txt

     -- input_blob   'data'

     -- output_blob  'prob'

     -- batch_size   2

[TRT]  TensorRT version 5.0.6
[TRT]  detected model format - caffe  (extension '.caffemodel')
[TRT]  desired precision specified for GPU: FASTEST
[TRT]  requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT]  native precisions detected for GPU:  FP32, FP16
[TRT]  selecting fastest native precision for GPU:  FP16
[TRT]  attempting to open engine cache file networks/bvlc_googlenet.caffemodel.2.1.GPU.FP16.engine
[TRT]  loading network profile from engine cache... networks/bvlc_googlenet.caffemodel.2.1.GPU.FP16.engine
[TRT]  device GPU, networks/bvlc_googlenet.caffemodel loaded
[TRT]  device GPU, CUDA engine context initialized with 2 bindings
[TRT]  binding -- index   0
           -- name    'data'

           -- type    FP32

           -- in/out  INPUT

           -- # dims  3

           -- dim #0  3 (CHANNEL)

           -- dim #1  224 (SPATIAL)

           -- dim #2  224 (SPATIAL)

[TRT]  binding -- index   1
           -- name    'prob'

           -- type    FP32

           -- in/out  OUTPUT

           -- # dims  3

           -- dim #0  1000 (CHANNEL)

           -- dim #1  1 (SPATIAL)

           -- dim #2  1 (SPATIAL)

[TRT]  binding to input 0 data  binding index:  0
[TRT]  binding to input 0 data  dims (b=2 c=3 h=224 w=224) size=1204224
[cuda]  cudaAllocMapped 1204224 bytes, CPU 0x100e30000 GPU 0x100e30000
[TRT]  binding to output 0 prob  binding index:  1
[TRT]  binding to output 0 prob  dims (b=2 c=1000 h=1 w=1) size=8000
[cuda]  cudaAllocMapped 8000 bytes, CPU 0x100f60000 GPU 0x100f60000
device GPU, networks/bvlc_googlenet.caffemodel initialized.
[TRT]  networks/bvlc_googlenet.caffemodel loaded
imageNet -- loaded 1000 class info entries
networks/bvlc_googlenet.caffemodel initialized.
default X screen 0:   2560 x 1440
[OpenGL]  glDisplay display window initialized
[OpenGL]   creating 1280x720 texture
loaded image  fontmapA.png  (256 x<PHONE_NUMBER> bytes
[cuda]  cudaAllocMapped 2097152 bytes, CPU 0x101060000 GPU 0x101060000
[cuda]  cudaAllocMapped 8192 bytes, CPU 0x100f62000 GPU 0x100f62000
[gstreamer] gstreamer transitioning pipeline to GST_STATE_PLAYING
[gstreamer] gstreamer changed state from NULL to READY ==> mysink
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter2
[gstreamer] gstreamer changed state from NULL to READY ==> nvvconv1
[gstreamer] gstreamer changed state from NULL to READY ==> capsfilter1
[gstreamer] gstreamer changed state from NULL to READY ==> nvarguscamerasrc0
[gstreamer] gstreamer changed state from NULL to READY ==> pipeline1
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter2
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvvconv1
[gstreamer] gstreamer changed state from READY to PAUSED ==> capsfilter1
[gstreamer] gstreamer stream status CREATE ==> src
[gstreamer] gstreamer changed state from READY to PAUSED ==> nvarguscamerasrc0
[gstreamer] gstreamer changed state from READY to PAUSED ==> pipeline1
[gstreamer] gstreamer stream status ENTER ==> src
[gstreamer] gstreamer msg new-clock ==> pipeline1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter2
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvvconv1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter1
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvarguscamerasrc0
[gstreamer] gstreamer msg stream-start ==> pipeline1
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:532 Failed to create CaptureSession
imagenet-camera:  camera open for streaming
imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
[cuda]   registered 14745600 byte openGL texture for interop access (1280x720)
imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
^Creceived SIGINT    ###### i type Ctrl-C here
imagenet-camera:  failed to capture frame
imagenet-camera:  failed to convert from NV12 to RGBA
[TRT]  imageNet::Classify( 0x(nil), 1280, 720 ) -> invalid parameters
[cuda]   cudaNormalizeRGBA((float4*)imgRGBA, make_float2(0.0f, 255.0f), (float4*)imgRGBA, make_float2(0.0f, 1.0f), camera->GetWidth(), camera->GetHeight())
[cuda]      invalid device pointer (error 17) (hex 0x11)
[cuda]      /home/nocits/jetson-inference/imagenet-camera/imagenet-camera.cpp:193
imagenet-camera:  un-initializing video device
imagenet-camera:  video device has been un-initialized.
imagenet-camera:  this concludes the test of the video device.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/345?email_source=notifications&email_token=ADVEGK62EITCBG6FUELWPY3P4MMMTA5CNFSM4H3PLRZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3XNLEA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADVEGK2DQGIECCSONPMOHA3P4MMMTANCNFSM4H3PLRZQ.

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

I can see the camera feed with nvgstcapture program.
Here is some inforamtion when i exec nvgstcapture program.
nocits@nocits-desktop:~$ nvgstcapture
Encoder null, cannot set bitrate!
Encoder Profile = High

##### i get rid of some usage information #####

bitrate = 4000000
Encoder Profile = High
Encoder control-rate = 1
Encoder EnableTwopassCBR = 0
** Message: 08:50:57.887: <main:4564> iterating capture loop ....
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
H264: Profile = 100, Level = 40
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3280 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3280 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0
   Camera mode  = 4
   Output Stream W = 1280 H = 720
   seconds to Run    = 0
   Frame Rate = 120.000005
GST_ARGUS: PowerService: requested_clock_Hz=2016000
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
q^C** Message: 08:51:29.847: <_intr_handler:4162> User Interrupted..

Terminating the camera pipeline ...
GST_ARGUS: Cleaning up
GST_ARGUS:
PowerServiceHwVic::cleanupResources
CONSUMER: Done Success
GST_ARGUS: Done Success
** Message: 08:51:30.391: <main:4574> Capture completed
** Message: 08:51:30.391: <main:4623> Camera application will now exit


Can you please provide some example of js files?

Please add some examples of js files, like fullmap.js

@BronzeCrab which JS files are you referring?

https://github.com/rochacbruno/Flask-GoogleMaps/blob/master/examples/templates/example_fullmap.html
here fullmap.js

@BronzeCrab that {{fullmap.js}} is a template tag which will render the JS content of https://github.com/rochacbruno/Flask-GoogleMaps/blob/master/flask_googlemaps/templates/googlemaps/gmapjs.html replacing variables with values provided in the fullmap view.

Ok, but I cant figure out how its working because you dont pass it like parameter in the view:
return render_template('example_fullmap.html', fullmap=fullmap)


ignore directory in url stucture (Route Groups)

Describe the feature
In Nuxt, when using pages its posible to ignore folder in the url of the app. This can be doen with a folder like (name), i think it would be nice to have this option in Nitro aswell.  For more info see the Nuxt docs
For example:
Directory: api/admin/(ignored)/test.get.ts URL: api/admin/test
Additional information

[ ] Would you be willing to help implement this feature?

It would be great if we could access groups from middleware. This way, we could create a (private) folder to easily protect routes within it.

This was just resolved with #1205 and #2664, and should be available with the next release.


About the Rust bindings

Hey @erthink,
I have made great progress on the mdbx Rust bindings today, it seems like every mdbx functions are detected, are correctly built, and the documentation is displayed for items that are documented with the doxygen syntax. 🎉
You can check that by first installing Rust, cloning the repo, and executing the following commands:
git clone https://github.com/Kerollmops/mdbx-rs.git
cd mdbx-rs/
cargo doc --open

However there is a little something that I would like to improve, most of the generated functions signatures do not see their comments displayed in the documentation, it is obviously because the comments are not in a valid doxygen format.
I would also like to fix the version use by the Rust binding, I would like the Rust binding major version number to follow the mdbx major one. And the git submodule to be a fixed tag too. I will do that in a future version that I will publish to the official Rust package repo.
Is there a way to ask make (or clang), to avoid creating all of the dSYM debug symblos? In Rust we have two ways of compiling a crate, with of without the debug symbols, I would like to be able to control that behavior.
PS: Would it be also possible to change the name displayed on the README? I would perfer you use Kerollmops instead of Clément Renault 😄 Thanks!

I looked more closely to the comment and documentation generation issue related to bindgen, and I found out that the documentation is produced only on comments starting with /** and not /*.
I will investigate.

@Kerollmops, it is not everything is clear with the code comments for autogeneration of documentation:

On the one hand, it it seems to be useful to use Doxygen/Javadoc format to automatically docs generation.
- On the other hand, this clogs the header file and makes it difficult to read comments with the API description.

I am of the opinion that Doxygen/Javadoc is useful for projects with a complex hierarchy of subdirectories and a large number of header files, i.e. when the API description is spread across several files and it is difficult to find anything.
In contrast, libmdbx has only single public header file that contains both the introductory documentation and the API description along with the declaration of structures and functions. Therefore, using Doxygen/Javadoc doesn't seem so necessary.
I asked several developers I know about what they would choose. Most would like to see both a clean h file and separate documentation with hyperlinks. So I haven't changed anything yet, but it's possible that the original decision should be reconsidered.

Hey @erthink,
I have made some progress on the mdbx-sys bindings today and made heed work correctly with it (at least the test I made) 🎉
But I have a big problem with the way mdbx compiles, currently the version of mdbx is based on the git branches and tags. Unfortunately cargo forces the repository to not depend on this kind of VCS tools, because of that I have made ugly workarounds to make that work.
I would like to know if there would be a better way of pre-computing the src/elements/version.c file and packing this in something like a tarball, it is probably what you meant by "amalgamated source code"?

Hi @Kerollmops,

I would like to know if there would be a better way of pre-computing the src/elements/version.c file and packing this in something like a tarball, it is probably what you meant by "amalgamated source code"?

The "amalgamated source code" is exactly for this, and covered by dist target in the GNUmakefile, i.e. make dist produced "amalgamated source", including tarball. I guess Build Scripts should be enough to call make dist from cargo.
I don't plan on moving away from the "git tags" approach. Because it brings together version with the digest of source code, including  "signed tags".
Currently make dist requires GNU versions of make, sed, and bash, but this is a minor flaw and I'm not sure if it should be fixed.
P.S.
Thank you for Rust bindings.

Hey,
I have made some experiments with the make dist rule on macos and it seems like some tar options are not supported on this OS.
I achieved to make it work by removing the --owner=0, and --group=0. The order of the options were also a problem so moved the -f - options at the front of the command. After these changes the build worked and a dist/ folder is available.
- tar -c --owner=0 --group=0 -C dist $(DIST_SRC) $(DIST_EXTRA) -f - | gzip -c > $@ \
+ tar -c -f - -C dist $(DIST_SRC) $(DIST_EXTRA) | gzip -c > $@ \

drwxr-xr-x    - clementrenault 31 mar 10:45 -- dist
.rw-r--r-- 9,8k clementrenault 31 mar 10:44 -- ├── CMakeLists.txt
.rw-r--r-- 5,6k clementrenault 31 mar 10:45 -- ├── GNUmakefile
.rw-r--r-- 2,2k clementrenault 31 mar 10:44 -- ├── LICENSE
.rw-r--r--  458 clementrenault 31 mar 10:44 -- ├── Makefile
drwxr-xr-x    - clementrenault 31 mar 10:44 -- ├── man1
.rw-r--r-- 2,6k clementrenault 31 mar 10:44 -- │  ├── mdbx_chk.1
.rw-r--r-- 1,8k clementrenault 31 mar 10:44 -- │  ├── mdbx_copy.1
.rw-r--r-- 2,5k clementrenault 31 mar 10:44 -- │  ├── mdbx_dump.1
.rw-r--r-- 3,0k clementrenault 31 mar 10:44 -- │  ├── mdbx_load.1
.rw-r--r-- 2,0k clementrenault 31 mar 10:44 -- │  └── mdbx_stat.1
.rw-r--r-- 918k clementrenault 31 mar 10:45 -- ├── mdbx.c
.rw-r--r-- 177k clementrenault 31 mar 10:45 -- ├── mdbx.h
.rw-r--r-- 159k clementrenault 31 mar 10:45 -- ├── mdbx_chk.c
.rw-r--r-- 115k clementrenault 31 mar 10:45 -- ├── mdbx_copy.c
.rw-r--r-- 121k clementrenault 31 mar 10:45 -- ├── mdbx_dump.c
.rw-r--r-- 128k clementrenault 31 mar 10:45 -- ├── mdbx_load.c
.rw-r--r-- 125k clementrenault 31 mar 10:45 -- ├── mdbx_stat.c
.rw-r--r--  27k clementrenault 31 mar 10:44 -- └── README.md

I will try to improve the Rust wrapper and make it work on all platforms by using this almagated source code. I also saw that you created an issue to expose this almagated folder in the assets in every releases, that's a good thing I think :)

Hey @erthink,
I have finally made it work really easily, the Rust crate do not depend on a git submodule but only on a raw copy of the generated dist folder.
I just have specified some correctness flags to gcc and some warnings popped up, do you think they are relevant at all?
warning: /.../mdbx-rs/mdbx-sys/libmdbx/mdbx.c:1213:18: warning: cast from function call of type 'pthread_t _Nonnull' (aka 'struct _opaque_pthread_t *') to non-matching type 'size_t' (aka 'unsigned long') [-Wbad-function-cast]
warning:   return (size_t)pthread_self();
warning:                  ^~~~~~~~~~~~~~
warning: /.../mdbx-rs/mdbx-sys/libmdbx/mdbx.c:21156:1: warning: missing field 'flags' initializer [-Wmissing-field-initializers]
warning: };
warning: ^
warning: 2 warnings generated.

These warnings are not dangerous, but they should still be fixed. Please create an issue.


Collaboration

Hi,
I am interested and enthusiastic about collaborating to further develop your repository and code, as this field deeply interests me. You can review my work and background on my homepage at sadegh-kalami.github.io.
I’m looking forward to the opportunity to contribute to an open-source repository that could benefit others. This could be a promising beginning for our mutual endeavors.
Best regards,
Kalami

That's great, what kind of collaboration do you like?

Hi, I am interested and enthusiastic about collaborating to further develop your repository and code, as this field deeply interests me. You can review my work and background on my homepage at sadegh-kalami.github.io.
I’m looking forward to the opportunity to contribute to an open-source repository that could benefit others. This could be a promising beginning for our mutual endeavors.
Best regards, Kalami

That's great, what kind of collaboration do you like?


Add a repeat type of 'group'

What is the context of this PR?
Adding a repeat type of group and the concept of group identifiers (which i've named group_instance_id).

By default group instances get a group_instance_id based on their group name and a UUID
Added a new repeating type group which repeats over a list of groups specified by their group_ids.  These group instances get the group_instance_id of the group instances they are repeating over
Added a context objects group_instances and group_instance_id which allows us to get at the answers from the group instances being repeated over
There is a new field on answers group_instance_id, which will show up in the payload

How to review
Run test_routing_repeat_until.json, enter yes when asked if there are any more people such that you enter at least 3 names.  See that you get asked the sex of each person, look in /dump/submission and have a look at the group_instance_id of each answer to see that the name and sex answers match up.
See also ONSdigital/eq-schema-validator#71

Oops, merging went a bit wrong

Try now

@kierenbeckett Needs rebasing now!

@MebinAbraham @benhowes All rebased and passing if you could re-review

@kierenbeckett This existing?
Not finding the group instance?

The question title uses a new context variable to get the name of the person in the repeating group instance.  I didn't worry about making it work for summaries as there's another card to sort that out.

The repeat type of group repeats over an arbitrary set of groups, there's no concept of a primary.  The limit should apply to the whole repeat, not individual groups within it.
The groups are repeated over in the order they are in the schema, so as primary-group is first it will always be included, it will be repeating-group that gets truncated (after 24).

@kierenbeckett When you dump the answer store, group_instance: 0 is skipped?
I might be wrong/confused, but have a look at this.
https://gist.github.com/MebinAbraham/191101326dd26eb8d983462091bc5eb0

@kierenbeckett Got clarification from Adam, not confused now. Working as expected. 👍
Can rebase btw.


Update tedious version to 1.12.2

Have verified that as of 1.12.2, NTLM auth is working again.

Thanks @arobson


Title Bar Overflows into Content

When resizing the Wiki screen, the title bar overlaps the content as shown below:

The URL is docs/home/issues/ovm-issues/eth0-has-wrong-mac-address-after-upgrade-to-ovms-3-2-6.html.

Updated docs/_sass/_page_title.scss to use min-height instead of height:


Dep 149

This PR is for reducing the number of AWS API calls per deployment from 1 call to every instance for every defined tag list to just 1 call per tag list.
A tag list in this case being
tag "web", :rake, :primary, :agent, :web, :app, :indexing, :unicorn, :db

right on :+1:

Tested on my laptop. Need to fork a jenkins job to test further.

You can test without forking a jenkins job.  Just create a branch in the deploy repo that updates the reference to this gem to pull from the new branch, and then specify the deploy repo branch in the 'DEPLOYMENT_BRANCH' field

@dangerp awesome! Will do and post results.

@billmoritz The aws-sdk gem 1.x support is totally deprecated at this point, we should endeavor to use this instead if we can : gem 'aws-sdk-v1' which maintains v1 backwards compatibility but is patched up

According to https://rubygems.org/gems/aws-sdk-v1
Version 1 of the AWS SDK for Ruby. Available as both aws-sdk and aws-sdk-v1. Use aws-sdk-v1 if you want to load v1 and v2 of the Ruby SDK in the same application.

@billmoritz agreed, let's stick with aws-sdk since we don't need to support both versions of the client, and both versions are equally patched up.

Great work @billmoritz, this looks awesome!

LGTM


Remove pre-processor duplication

It looks like the last instruction for the preprocess was pasted twice?
Awesome project!

Yes, true! Thank you for this.


5.0.0 release

🎉 NEW Major Version of infobip-api-python-client.
⚠ IMPORTANT NOTE: This release contains compile time breaking changes.

If you find out that something was not addressed properly, please submit an issue.
From this point onward Python 3.7 is no longer supported. The minimum supported version is Python 3.8 due to dependency updates.
Added

Most recent feature set for:

Infobip SMS API

Introduced /sms/3/messages (V3)  replacing the /sms/2/text/advanced (V2) and /sms/2/binary/advanced (V2) endpoints.
Introduced /sms/3/reports (V3) replacing /sms/1/reports (V1) endpoint.
Introduced /sms/3/logs (V3) replacing /sms/1/logs (V1) endpoint.

Infobip 2FA
Infobip Voice API

Support for:

Infobip Moments API.
Infobip Email API

calls.md which contains examples and explanations for the Calls API.
build.yml workflow to ensure project build and test integrity.
snyk.yml workflow, which serves the purpose of identifying and addressing dependency vulnerabilities in the project.
sonar.yml workflow to analyze the source code, enhancing code quality and maintainability.

Changed

Fixes and changes

Across all voice models, the 'applicationId' field has been removed and replaced with the platform field, as it better reflects the state of the endpoint.
Introduced the new sms_message class to replace sms_textual_message and sms_binary_message, providing a unified structure for SMS messaging.
Added a content field within sms_message to define the message content. This supports both textual and binary messages, which can be created using sms_text_content or sms_binary_content, respectively.
Unified request classes by replacing sms_advaned_textual_request and sms_advaned_binary_request with the new sms_request class.
Consolidated sending functions: use send_sms_messages instead of the send_sms_message and send_binary_sms_message functions.
Removed delivery time window configuration classes (sms_delivery_time_window, call_routing_allowed_time_window, calls_delivery_time_window, calls_time_window) in favor of a unified class: delivery_time_window
Removed delivery time configuration classes (sms_delivery_time_to, sms_delivery_time_from, calls_time_windows_point, call_routing_allowed_time_from, call_routing_allowed_time_to) in favor of a unified class: delivery_time
Removed URL options configuration class (sms_url_options) in favor of a unified class: url_options
Removed TurkeyIys options configuration class (sms_turkey_iys_options) in favor of a unified class: turkey_iys_options
Removed delivery day enumeration classes (sms_delivery_day, calls_delivery_day, call_routing_allowed_day) in favor of a unified class: delivery_day
Removed speed limit time unit enumeration class (sms_speed_limit_time_unit) in favor of a unified class: speed_limit_time_unit
Renamed class from calls_public_conference_recording to calls_conference_recording.
Renamed class from calls_pegasus_provider to calls_provider.
Renamed class from calls_pegasus_provider_trunk_type to calls_provider_trunk_type.

Security

Bumped werkzeug dependency from 2.1.2 to 3.0.3.
Bumped pytest-httpserver dependency from 1.0.4 to 1.0.8.
Bumped setuptools dependency to 72.1.0.

Removed

wheel dependency due to an upgrade of setuptools to version 72.0.1. As of setuptools version 70.1, it is no longer necessary to have wheel installed for functionality.

We'll address Sonar analysis in later phases. The most of the reported issues are related to the fact that the majority of the code is fully auto-generated from the OpenAPI specification which results in duplicated segments. We'll tweak the policies and make sure to handle all the possible readability issues.


Implement sealed virtual slot emission

Size on disk optimization that lets us avoid emitting certain interface implementing virtual slots in the vtable. Runtime already supports this, but the compiler needs to emit this.

Fadi implemented this.


context deadline exceeded during provisioning

Kubernetes 1.12 in Qiniu cloud internal object storage.

Fixed in https://github.com/juicedata/juicefs-csi-driver/commit/5a66084c4277255f8ceaec92eaa44ea543caba41


Support sparsity

in light of https://github.com/AKS1996/DiffOpt.jl/issues/31

tested differentiating simple LP - https://github.com/AKS1996/jump-gsoc-2020/blob/master/DiffOpt_time_benchmarking.ipynb
just adding support as basic SparseArrays reduced memory usage to a quarter
BenchmarkTools.Trial:
  memory estimate:  38.50 MiB
  allocs estimate:  229521
  --------------
  minimum time:     78.738 ms (2.75% GC)
  median time:      83.476 ms (5.46% GC)
  mean time:        84.282 ms (4.85% GC)
  maximum time:     94.965 ms (2.16% GC)
  --------------
  samples:          60
  evals/sample:     1

i know i've added [:, :] too may times. i'll try to see where is it redundant

@AKS1996 why close this one?

there's a lot of code that's outdated (removed coz of SCS or moved to MatOI). it'll be suitable to add sparsity support to MatOI too. Once DiffOpt builds w/o errors, I'll do memory benchmarking and open separate PRs to support sparsity

if you want, we can open this one too


Add [Coinbase Deposits coinbase.com] #exchange #memo-required GC5PFA…WGWCFS

Address: GC5PFAXPL3BYIRHLMUFD3E353DINA6A52DXJIXLKQEVO2GA7WFWGWCFS
Tags: exchange memo-required
Title: Coinbase Deposits  Domain: coinbase.com
Requested by @hectoruiz2012

Not seeing my assets in my coinbase account.  Memo is<PHONE_NUMBER>

Hello @hectoruiz2012
You will need to contact Coinbase support. Stellar Expert is just a Stellar blockchain explorer and cannot change any kind of transactions made between different accounts/wallets.
They most likely need to know the transaction IDs in question. You can find this by clicking on the operation number to the left of the listing on Stellar Expert. You should also cut and paste the URL to make it easier for them to review.
Looking Towards The Future With You,
Rob

Hello @hectoruiz2012
Please feel free to reopen this issue if you feel there is new information about this issue.
Looking Towards The Future With You,
Rob


Extend note refs to support queries

Context
Embeddable queries inside Dendron, kind of like roam queries
Proposal
Extend note refs with a query attribute. Use queries to create note references that can aggregate notes.
Additional syntax:

$.: get property from the note frontmatter

title: foo
area: health

$.area inside the foo note would resolve to health

Examples

eg: get all direct children of pro

((query: pro.*))

eg: get all direct children of pro where the area field is equal to the id

((query: pro.* where $.area = `$.id`))

eg: get the sumary field of all direct children of pro where the area field is equal to the id

((query: pro.* where $.area = `$.id` | select: '$.summary' ))

Would $.  also allow resolving to front-matter attributes of other pages?
I suspect the syntax there would be $<page.path>.<attribute>?

For simple substitution would the syntax be {{$.<variable>}}`` if used inline in a note, or $.`?


Godot Editor and game freezes when using .gdns file

Godot version: 3.2
OS/device including version: Ubuntu 19.10
Issue description: I'm trying to include this module TTSDriver.zip
The godot editor freezes when put in the background. Game also freeze when trying to quit with the close button.
Steps to reproduce: Include the file given in a project - run the app and try to quit it or put the godot editor in the background and come back to it
Code doesn't matter because even if I don't preload it the issue occures anyway
The module source
The problem goes away if i rename the TTSDriver.gdns to TTSDriver.gdns.back (but I can't use it anymore in the code ;-) )

The module appears to be fairly old, I'm not sure if it can work with Godot 3.2. Does it work in Godot 3.1.1 or 3.1.2?

The module appears to be fairly old, I'm not sure if it can work with Godot 3.2. Does it work in Godot 3.1.1 or 3.1.2? You can find old releases here.

The modules works. It does what it's supposed to be so yes, it's compatible.
The thing is that just import the gdns file in the res:// folder make the editor unstable ;-)

Try adding reloadable=false to the [general] section of libgdtts.gdnlib, or use more recent godot-cpp branch of the plugin.

With reloadable = false the editor crash only when I'm trying to exit the editor. =)


Trigger select

Hello, how do I trigger a checkbox?
My html is the ff:
<div class="list-checkbox">
    <input v-bind:value="ao.pk" type="checkbox" v-model="checkedAOs">
</div>

I tried checking the checkbox using:
  wrapper.first('.list-checkbox input').trigger('click')
The v-model should change but it doesn't. Any help on this?

Same problem with radio buttons.

@mgmalana It turns out you have to trigger change on the input element. Should work with select too.
const input = wrapper.find('#schedule-call-radio input')[1]
input.trigger('click')
const eventObject = new window.Event('change')
input.element.dispatchEvent(eventObject)

.trigger('change') isn't supported yet, but I bet it would be a quick fix.


Slot props are not properly typed

In the slot props, the values seem to be copied as they are instead of detecting their type. For example, I have the following snippet:

  <slot name="handle" toggle={selfControl.toggle}>
    <Button on:click={selfControl.toggle}>{label}</Button>
  </slot>

The generated .d.ts file contains the following:
// Props definition excluded
  export default class AccordionSection extends SvelteComponentTyped<
      AccordionSectionProps,
      {},
      {default: {}
;
handle: { toggle: {selfControl.toggle} }
;}
    > {}

(The formatting gets messed up if there is any error in the generation)
It also prints this error in the console:
SyntaxError: Property or signature expected. (26:20)
  24 |       {default: {}
  25 | ;
> 26 | handle: { toggle: {selfControl.toggle} }
     |                    ^
  27 | ;}
  28 |     > {}

A similar thing happens when forwarding the slots. We make use of slot forwarding as can be seen in all of the slots of this component. The generated .d.ts file has the following:
// Props definition excluded
  export default class Autocomplete extends SvelteComponentTyped<
      AutocompleteProps,
      {change: WindowEventMap["change"];},
      {["loading-options"]: { slot: loading-options }
;
["more-options"]: { loadMoreOptions: any }
;
["not-enough-input"]: { slot: not-enough-input }
;
["too-many-options"]: { slot: too-many-options }
;}
    > {}

As expected, it prints the following error:
SyntaxError: ';' expected. (38:44)
  36 |       AutocompleteProps,
  37 |       {change: WindowEventMap["change"];},
> 38 |       {["loading-options"]: { slot: loading-options }
     |                                            ^
  39 | ;
  40 | ["more-options"]: { loadMoreOptions: any }
  41 | ;

In this case, slot is not even a prop that this slot accepts.

This is one of the current limitations of the library.
You can manually type the slots by adding a JSDoc comment with the "@slot" tag:

  <slot name="handle" toggle={selfControl.toggle}>
    <Button on:click={selfControl.toggle}>{label}</Button>
  </slot>

This is one of the current limitations of the library.
You can manually type the slots by adding a JSDoc comment with the "@slot" tag:

  <slot name="handle" toggle={selfControl.toggle}>
    <Button on:click={selfControl.toggle}>{label}</Button>
  </slot>

Seems like I should have read the docs more carefully. Thank you for the help

Seems like I should have read the docs more carefully. Thank you for the help


[BugFix] Fix wrong subfields prune for Array type

Fixes #27345.
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[x] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 2 / 2 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/tree/PruneComplexTypeUtil.java
2
2
100.00%
[]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Api separation

Begin merging our api_separation work into dev
This impacts the following files:

app.py
app_config.py
cloud_api.py
pm.py
qt_plot.py
safety_main.py
safety_ui.py

this branch should be frozen until request has been approved, since this is a large merge.

As of the addition of the remaining routes, this branch is now "frozen" to commits


Is there implementation of FCN16s and FCN8s

Hi,
I can only find fcn32s implementation in VOC example, is there fcn16s and fcn8s implementation?
Thanks and Best Regards,

I am amazing there is still no implementation of them now...

Closed via #49 #47 #48


Update ruff to 0.2.1

Change Summary

Related issue number

Checklist

[ ] The pull request title is a good summary of the changes - it will be used in the changelog
[ ] Unit tests for the changes exist
[ ] Tests pass on CI
[ ] Documentation reflects the changes where applicable
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

A new PDM lockfile version is available, to avoid future conflicts you can run pdm self update so that it doesn't change the lockfile version again in pdm.lock

Please review

A new PDM lockfile version is available, to avoid future conflicts you can run pdm self update so that it doesn't change the lockfile version again in pdm.lock

@Viicos, finally did this 😆


Inventory Sorting (name, quantity, weight, sell value)

Added the ability to sort inventory on 'item-name', 'item-quantity', 'item-weight', and 'item-sell-value'.
Tested on NPC inventory, Loot/Merchant sheet, and PC inventory.
Only thing I'm unhappy with right now is changing quantity can shift the sort order. I think this is "ok", but would like feedback.
For the actual sorting, there is probably a better way to do it - currently iterating over the lists at least twice (sort, then forEach).
(Sort of based on request in: https://github.com/foundryvtt/pf2e/issues/1152)

I think this should probably be extended to show sort buttons on the sheets, but I think this is a decent stand-alone change so didn't attempt it yet.

Lots of things wrong with this one unfortunately.

No JQuery, we're swapping to raw DOM events
You don't need a bunch of events, datasets are a thing
Changing data and then refreshing the sheet and handling it during sheet rendering is a better approach if you're trying to do a permanent sort (which it looks like you're trying to do). If this is just a resort  that has to be done every so often though, I believe there's a built in foundry method for it.

Ah, good to know. I was basing it on other examples in the file.
Makes sense, I'm already using a data-set so can just leverage that.
I'll need to figure this out - new to how rendering the sheet works.

Examples of the UI here: https://imgur.com/a/TXOTwi7

@CarlosFdez - I wasn't able to figure out the re-sort method you mentioned. Any advice there would be appreciated.

Closing due to foundry sorting being replaced with system solution


ExpressRoutes: 'AzurePublicPeering' not supported but still appears in the list of supported values

https://github.com/Azure/azure-rest-api-specs/blob/master/specification/network/resource-manager/Microsoft.Network/stable/2018-02-01/expressRouteCircuit.json#L1450
Trying to actually create AzurePublicPeering settings now results in the following service error:
Public peering has been deprecated
If that is the case, why not remove it from the enum?  The change is no less breaking than the server error, but it seems odd to tell people "You can use this" and then when they do "Just kidding! You can't ever use this."

My understanding after communicating with the service team is that this value is only invalid for new peerings.  In order to support updating existing peerings (which is done with PUT), this value will needs to remain allowed.


Update TUF KMS key algorithm

Cosign requires ECDSA-p256 rather than p384.
Also adds protection against accidental deletion

Summary

Release Note

Documentation

Note the additional of the key version block, which will force a new key version to be created following the new template.


Please provide a document on migrating from Zookeeper to RaftKeeper.

Is the same as clickhouse mainsite doc?

@lhcg Here is the migration doc https://github.com/JDRaftKeeper/RaftKeeper/blob/master/docs%2Fmigrate-from-zookeeper.md

5.Translate Zookeeper data to RaftKeeper format and copy to other nodes.
[raft_node1]$ /path/to/RaftKeeper/raftkeeper converter --zookeeper-logs-dir /path_to_transfer_tmp_data_dir/log --zookeeper-snapshots-dir /path_to_transfer_tmp_data_dir/snapshot --output-dir /path_to_transfer_tmp_data_dir/output
[raft_node1]$ scp -r /path_to_transfer_tmp_data_dir/output root@raft_node2:/path_to_transfer_tmp_data_dir
[raft_node1]$ scp -r /path_to_transfer_tmp_data_dir/output root@raft_node3:/path_to_transfer_tmp_data_dir
6.Copy data to RaftKeeper data directory.
[raft_node1]$ cd /path/to/RaftKeeper && sh bin/stop.sh
[raft_node1]$ rm -rf data/* && mv /path_to_transfer_tmp_data_dir/output data/snapshot
[raft_node1]$ sh bin/start.sh
where is the /path/to/RaftKeeper/raftkeeper?
@nicelulu
I had download the file from release

/path/to/RaftKeeper/raftkeeper  is raftkeeper binary file.

if raft has more then 1 nodes, the script will exec each node?
@nicelulu

if raft has more then 1 nodes, the script will exec each node? @nicelulu

No, need to execute mv /path_to_transfer_tmp_data_dir/output data/snapshot on each node.

@lhcg You need to use the zookeeper client to verify whether the raftkeeper cluster is fine. And need to modify node1, node2, node3 to real raft node host or ip.


Remove description column from CSV report.

Removing 'description' column when user exports issues data on Tablero.

@enzoz Thanks for your contribution. =D


Added .pyc files to git's ignore list.

Also you should pull this.
Bisous.

Thanks, applied manually too.


Bump T1 dependencies

Updated: flake.lock
nix/t1/_sources/generated.json
nix/t1/_sources/generated.nix
nix/t1/t1.nix

Closed in favor of #573


Added new version with always serve flag

[Don't review Ignore this for now, creating for checking all the validations and breaking changes.]
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[X] new API version
[] update existing version for new feature
[X] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month. August 2022
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. August 2022
If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.

[X] SDK of .NET (need service team to ensure code readiness)
[X] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[X] PowerShell
[X ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following appy to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[X] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

I have updated the sdk generation related configuration in readme.md in your PR. Here, it's not required to pass .net and powershell ci check. Besides the sdk generation error, I think you need to check in the following checkbox in PR description because the PR has a new api version 2022-04-01.


null converts to Any

OpenAPI type null is converted to Python type Any, most likely here:
    elif schema.type is None or schema.type == "null":
        converted_type = pre_type + "Any" + post_type

In Fast API (probably among other sources), Foo | None is expressed as:
"anyOf": [
      {
        "$ref": "#/components/schemas/Foo"
      },
      {
        "type": "null"
      }
    ]

because of this issue, we end up with a generated type that uses Union[Foo | Any] instead of Union[Foo | None]
If this is intentional, I'd love to understand why so I can create a fix that doesn't break some implicit, non-obvious behavior.

For my usage, the fix in #53 works.

Fixed in #53


Implementation of the Custom Nodes used in PCM III

Thank you very much, I can use that as a base for a more general implementation! :-)

No problem, I'm glad I helped! ^^


Update task dependency engine with no direct dependency strategy

Changed

Renamed TaskDependencyEngine to CreateInstancesTaskDependencyEngine.
Updated CreateInstancesTaskDependencyEngine to no longer build dependencies based on direct dependency strategy.
Updated ContainerApi to no longer build a DirectTaskDependencyEngine.

Removed

Removed DirectTaskDependencyEngine

Codecov Report

Merging #104 (33f05d8) into master (e0af7b1) will increase coverage by 0.44%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #104      +/-   ##
==========================================
+ Coverage   95.56%   96.01%   +0.44%
==========================================
  Files          90       18      -72
  Lines        1421      251    -1170
  Branches      166       14     -152
==========================================
- Hits         1358      241    -1117
+ Misses         60       10      -50
+ Partials        3        0       -3

Flag
Coverage Δ

cuaktask
92.72% <ø> (ø)

iocuak
?

porygon
98.58% <ø> (ø)

porygon-typeorm
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...s/iocuak/src/container/modules/api/ContainerApi.ts

.../crud/modules/iocuak/TypeOrmReadContainerModule.ts

...s/cuaktask/ContainerModuleServiceImplementation.ts

...orm/src/crud/adapter/typeorm/FindTypeOrmAdapter.ts

.../crud/modules/iocuak/TypeOrmCrudContainerModule.ts

...rc/binding/utils/api/convertBindingToBindingApi.ts

packages/iocuak/src/task/utils/isTaskKind.ts

...uak/src/task/models/cuaktask/CreateInstanceTask.ts

...rud/modules/iocuak/TypeOrmCreateContainerModule.ts

.../src/task/modules/TaskBuilderWithNoDependencies.ts

... and 60 more

Continue to review full report at Codecov.

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


runtime: improve groovy dsl

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Camel-k-pr/9/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Camel-k-pr/10/


Handle incorrect ext_path units like MB and GB gracefully

Previously, supplying ext_path=5GB (note the B) would result in extstore being limited to 0 bytes due to the multiplier being initialized to 0 and never set.

merged for the next release finally. I also added another commit to fail if 0 bytes assigned and added some unit tests.
sorry for the long delay, I had to aggressively prioritize for a few weeks.

Released in 1.6.21


Methylation calling since nanopolish version 0.12.0

After version 0.12.0, when I try to run call-methylation on test data from the tutorial using command
nanopolish call-methylation -t 8 -r methylation_example/albacore_output.fastq -b output.sorted.bam -g methylation_example/reference.fasta -w "chr20:5,000,000-10,000,000" > methylation_calls.tsv
I get warnings like these:
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread<PHONE_NUMBER>77056:   #000: H5L.c line 813 in H5Lexists(): not a location     major: Invalid arguments to routine     minor: Inappropriate type   #001: H5Gloc.c line 253 in H5G_loc(): invalid object ID     major: Invalid arguments to routine     minor: Bad value [warning] fast5 file is unreadable and will be skipped: methylation_example/fast5_files//LomanLabz_PC_20161122_FNFAF01441_MN17024_sequencing_run_20161122_Human_Qiagen_1D_R9_4_81666_ch76_read1556_strand.fast5
and, as a result,
[post-run summary] total reads: 20626, unparseable: 0, qc fail: 6, could not calibrate: 3, no alignment: 90, bad fast5: 18573
If I run the exact same command, using nanopolish version 0.11.3, output will be
[bam process] iterating over region: chr20:5,000,000-10,000,000 [post-run summary] total reads: 19759, unparseable: 0, qc fail: 74, could not calibrate: 28, no alignment: 1828, bad fast5: 0

Hi,
I have tried this locally and it appears to be working as expected. Can you try to re-run the nanopolish index step, and if that doesn't work, try to re-build the program from scratch?
Jared

I think this is now fixed in v0.12.3.

Thanks! Now everything works.


update links in organ gallery page

Is this ready for merging @cqing5 ? Looks like just an updated google form link?

Yes it's ready for merging! It is just an updated link. Thanks!
Get Outlook for iOShttps://aka.ms/o0ukef

From: Bruce W. Herr II @.>
Sent: Monday, August 8, 2022 1:23:09 PM
To: hubmapconsortium/ccf @.>
Cc: Qing, Catherine Y @.>; Mention @.>
Subject: [External] Re: [hubmapconsortium/ccf] update links in organ gallery page (PR #35)
This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources.
Is this ready for merging @cqing5https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcqing5&data=05|01|cqing%40iu.edu|79ffcc889b14461abf7808da7962ab7e|1113be34aed14d00ab4bcdd02510be91|0|0|637955761934494751|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=CGHN9DBRhUcBWZHHkr9ger2PyVHcYmutd%2BoDF5eU%2BDo%3D&reserved=0 ? Looks like just an updated google form link?
—
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhubmapconsortium%2Fccf%2Fpull%2F35%23issuecomment-1208398744&data=05|01|cqing%40iu.edu|79ffcc889b14461abf7808da7962ab7e|1113be34aed14d00ab4bcdd02510be91|0|0|637955761934494751|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=aGrpF%2Bt2fslOBnWfxhCTKajg2%2BoCHEBJoq38cAMTVFA%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZVCQV466OIASRNJK5IUACDVYE673ANCNFSM55532NLQ&data=05|01|cqing%40iu.edu|79ffcc889b14461abf7808da7962ab7e|1113be34aed14d00ab4bcdd02510be91|0|0|637955761934494751|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=yPsy6M5mjYi9TDtltJtNJHdDM2LhvkOZe6X0jO%2FuSdc%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


使用createDiscreteApi创建全局消息后, 会产生2个app

Describe the bug
使用createDiscreteApi 后 查看到有多个app生成
Steps to reproduce

应该可以合成一个
Link to minimal reproduction
https://gitee.com/cooting/arlog
System Info
"naive-ui": "^2.39.0"
"vue": "^3.5.8",

Used Package Manager
pnpm
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

Provide a based on CodeSandbox or stackblitz `s Minimal  Reproducible Example
This seems unrelated to naive-ui, if confirmed there is a problem reopen


Some Xiaomi phone is not support.

FAQs

Overview
After check Don't ask again  and deny the permission,  then accept the permission by manual(in
phone's settings) is invalided.
Expected
The permission should be granted.
Actual
The permission is still denied.
Environment

Which library version are you using?
4.5.0
On which devices do you observe the issue?
Xiaomi 8 and MIUI 10.3.3

Reproducible steps
1.I check Don't ask again  and deny the permission.
2.Go Settings and accept the permission by manual.
3.Back to app, the permission is still denied.
Maybe it's Xiaomi system bug ?

We've dropped Xiaomi support from 4.2.0 because we heard in latest versions MIUI started to behave same as plain Android framework itself. Can you check how it goes without library?
https://github.com/permissions-dispatcher/PermissionsDispatcher/blob/master/CHANGELOG.md

It's phone's bug.Use ContextCompat.checkSelfPermission is still reproduce.

Thank you for the clarification. Crazy...


maestral: 1.5.3 -> 1.6.1

Description of changes
Upstream update.
There's a bit of noise from nixpkgs-fmt - apologies.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[X] Fits CONTRIBUTING.md.

It's auto-formatted by nixpkgs-fmt. It's not ideal.

It's not nice, I agree. But manually messing around with formatting isn't either. And especially since this will happen again the next time anyone edits this file.

It builds, but doesn't seem to play nicely with maestral-gui (maestral-qt) which is stuck at 1.5.3 until we have Qt6 available:
Traceback (most recent call last):
  File "/nix/store/f5w9rnr72my31nas8mvms0pqqvjzzx3q-maestral-qt-1.5.3/bin/.maestral_qt-wrapped", line 6, in <module>
    from maestral_qt.__main__ import main
  File "/nix/store/f5w9rnr72my31nas8mvms0pqqvjzzx3q-maestral-qt-1.5.3/lib/python3.9/site-packages/maestral_qt/__main__.py", line 7, in <module>
    from maestral_qt.main import run
  File "/nix/store/f5w9rnr72my31nas8mvms0pqqvjzzx3q-maestral-qt-1.5.3/lib/python3.9/site-packages/maestral_qt/main.py", line 37, in <module>
    from maestral.errors import KeyringAccessError
ModuleNotFoundError: No module named 'maestral.errors'

Crap, I only use the CLI version.
https://github.com/samschott/maestral/issues/655

Closing this for now until upstream adds back qt5 support to avoid breaking the GUI version.

@GrahamcOfBorg build maestral maestral-qt


New logo and homepage background image

A handful of front-end homepage design changes:

Adding a new logo to the navbar and homepage masthead
Adding a new background image to the homepage masthead
Adding a title to the homepage language section: "Start coding in your favorite language:"
Aligning the header navbar elements with the rest of the page

Preview:

This is great, thank you.


⚠ ZV800.com has degraded performance

In 52d4fcb, ZV800.com (https://www.zv800.com//) experienced degraded performance:

HTTP code: 200
Response time: 2230 ms

Resolved: ZV800.com performance has improved in dc2dc35 after 12 minutes.


[docs] Can't view docs in English

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
I am in Chinese environment, but I want to view docs in English.
When I browse https://mui.com/getting-started/installation/ for example, it will be redirected to https://mui.com/zh/getting-started/installation/. Even if I explicitly set language to English in settings.
Expected behavior 🤔
https://mui.com/* should be redirected to https://mui.com/zh/* at first.
After I set language to English, https://mui.com/* should not be redirected.
Steps to reproduce 🕹
Steps:

Context 🔦
N/A
Your environment 🌎
N/A

Can you view the docs on the website?? i can get to the docs page

+1

Hey! Thanks for reporting this. I'll be closing this one since it's a duplicate of #30816 and we already pushed a fix that will be up on next week's release, so I'll ask for just a bit of patience. In the meantime, you can follow the workaround described in https://github.com/mui/material-ui/issues/30816#issuecomment-1030847532.
Make sure to update to the latest version next week and this inconvenience should be resolved :)

+1


parallelization issues

Hello,
Wedrivers is having some problems with parallelization. This makes it unusable on Heroku CI and under Rails 6.
One of the threads downloads the driver while the others try to access the resource. Which leads to this error.
Error:
AuthenticationsTest#test_successful_login:
Zip::Error: File /home/circleci/.webdrivers/chromedriver_linux64.zip has zero size. Did you mean to pass the create flag?
    test/system/authentications_test.rb:7:in `block in <class:AuthenticationsTest>'

rails test test/system/authentications_test.rb:6

Error:
AuthenticationsTest#test_failed_login:
ChildProcess::LaunchError: Text file busy - /home/circleci/.webdrivers/chromedriver
    test/system/authentications_test.rb:14:in `block in <class:AuthenticationsTest>'

rails test test/system/authentications_test.rb:13

Traceback (most recent call last):
	13: from /home/circleci/doctopod/vendor/bundle/gems/minitest-5.11.3/lib/minitest.rb:63:in `block in autorun'
	12: from /home/circleci/doctopod/vendor/bundle/gems/minitest-5.11.3/lib/minitest.rb:133:in `run'
	11: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:70:in `start'
	10: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:70:in `map'
	 9: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:70:in `each'
	 8: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:70:in `times'
	 7: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:71:in `block in start'
	 6: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:71:in `fork'
	 5: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/platform.rb:150:in `block in exit_hook'
	 4: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/service.rb:105:in `stop'
	 3: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/service.rb:170:in `stop_server'
	 2: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/service.rb:180:in `process_exited?'
	 1: from /home/circleci/doctopod/vendor/bundle/gems/childprocess-1.0.1/lib/childprocess/unix/process.rb:31:in `exited?'
/home/circleci/doctopod/vendor/bundle/gems/childprocess-1.0.1/lib/childprocess/abstract_process.rb:188:in `assert_started': process not started (ChildProcess::Error)
	14: from /home/circleci/doctopod/vendor/bundle/gems/minitest-5.11.3/lib/minitest.rb:63:in `block in autorun'
	13: from /home/circleci/doctopod/vendor/bundle/gems/minitest-5.11.3/lib/minitest.rb:133:in `run'
	12: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:70:in `start'
	11: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:70:in `map'
	10: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:70:in `each'
	 9: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:70:in `times'
	 8: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:71:in `block in start'
	 7: from /home/circleci/doctopod/vendor/bundle/gems/activesupport-6.0.0.rc1/lib/active_support/testing/parallelization.rb:71:in `fork'
	 6: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/platform.rb:150:in `block in exit_hook'
	 5: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/service.rb:110:in `stop'
	 4: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/service.rb:110:in `ensure in stop'
	 3: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/service.rb:163:in `stop_process'
	 2: from /home/circleci/doctopod/vendor/bundle/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/service.rb:180:in `process_exited?'
	 1: from /home/circleci/doctopod/vendor/bundle/gems/childprocess-1.0.1/lib/childprocess/unix/process.rb:31:in `exited?'
/home/circleci/doctopod/vendor/bundle/gems/childprocess-1.0.1/lib/childprocess/abstract_process.rb:188:in `assert_started': process not started (ChildProcess::Error)

These are logs under Rails 6 and Circle CI. But I get the same result on Rails 5.2.3 with Heroku CI.
If you have any idea how we can handle this, I'm ready to work on it.
Thanks! Keep up the good work!

@beauraF When running under parallel_test we're able to solve this by downloading one driver per process....
require 'webdrivers'
Webdrivers::Chromedriver.version = '2.35'
Webdrivers.install_dir = File.expand_path('~/.webdrivers/' + ENV['TEST_ENV_NUMBER'].to_s)

I've just experienced the same problem. We have a Rails app that is started with foreman with web and worker processes. These hit the same empty zip file issue.
Some ideas to work around this could be:

Giving the zip a UUID based file name (or dealing with it as a temp file) so two processes can't be
Keeping the zip around afterwards rather than deleting it, so a second process decompressing it isn't fatal
Less nice, but could have a rake task that could be run before parallelisation to initialise webdrivers

Rake tasks are a good idea, regardless. I'll see if I can figure out how to add those intelligently.
As for collisions, I don't want to have someone running 30 tests in parallel that each download a new driver, regardless of how we would keep them from overwriting each other. I'm thinking maybe we can create a local file and use its timestamp to "lock" new downloads. It's also how I'm planning on implementing #29 so can probably pull double duty. We'll see what we can do.

just merged #84 which will address the immediate issue if not the underlying problem.

Awesome. It's a first step. Are you planning a release soon?

Yes, I'm loading up my old Windows machine to validate everything is working there first.

@beauraF @Govan @kevindew can you try 3.9 and set a cache value (recommended Webdrivers.cache_time = 86_400) and let me know if this is still an issue?

Same issue on my side: https://circleci.com/gh/beauraF/doctopod/57

@titusfortner If you need access to my project/my CI to perform tests. No worries, I can provide you an access. Just ask.

I just run Webdrivers::Chromedriver.update before fork

Yeah, I think that's going to need to be the provided solution, but we'll create some rake tasks in 4.0 to give people the option of doing it from command line instead of forcing everyone to execute it in their code.

Rake tasks have been merged with #117

Thanks for your work on this @titusfortner 👍

It wasn't quite clear to me what the fix was, so I'm just adding this here incase others have the same issue.
To fix this with, for example, Circle CI, I added a new run task before my system tests run to execute the rake tasks mentioned above to update the drivers.
- run:
    name: Run tests
    environment:
      - CIRCLE_TEST_REPORTS: test/reports/test
    command: bundle exec rails test
    when: always

# This is the new task, run before the system tests execute
- run:
    name: Extract browser
    command: bundle exec rake webdrivers:chromedriver:update
    when: always

- run:
    name: Run system tests
    environment:
      - CIRCLE_TEST_REPORTS: test/reports/system
    command: bundle exec rails test:system
    when: always

I'm still on Rails 5.2.3 using the parallel_tests gem and ran into the same problem. The only fix which worked for me is;
Webdrivers.install_dir = File.expand_path('~/.webdrivers/' + ENV['TEST_ENV_NUMBER'].to_s)

Webdrivers

@map7 Where did you place this line? Thanks,

@kevx86 I put it in the specs/rails_helper.rb and set environment variables in my .bashrc/.zshrc file


missing SimulatorConfig.profiler_data_path when runing offline.py

missing SimulatorConfig.profiler_data_path when runing offline.py

If your intention is merely to run offline.py, you can manually modify the class OfflineLLM in the /distserve/llm.py file by adding a SimulatorConfig instance and setting is_simulator_mode to False.
like this
       # modified
       simulator_config = SimulatorConfig(is_simulator_mode=False,
                                           profiler_data_path='',
                                           gpu_mem_size_gb=70)

        self.engine = LLMEngine(
            model_config,
            disagg_parallel_config,
            cache_config,
            context_sched_config,
            decoding_sched_config,
            simulator_config
        )

This bug has been fixed in PR(#11), please try again.

Closing this issue. Reopen it if you encountered any further issues.


Suggestion to add firt or any letter as shortcut to command id "editor.action.refactor

Hello good night.
On command id "editor.action.refactor" it shows a window to select several options to refactor my code. (I'm using java).
It's there a page to teach how to do it.
https://code.visualstudio.com/docs/java/java-editing#_refactoring-and-code-actions
I would like as user, to select one option with just one keyboard action (could be any or first letter of options) and dont have to press arrow down on keyboard a couple of times to select the option that I want.
*I would like to ask where I can see the code definition to command id "editor.action.refactor" to try to make a workaround to me?
Thanks.
I just love vscode.

@LoveraSantiago You can edit and set keybindings by pressing Ctrl+K then Ctrl+S (or Cmd+K then Cmd+S on mac). Here you can set the keybinding for editor.action.refactor by searching for it.
The default keybinding for editor.action.refactor is Ctrl+Shift+R  (same for both platforms) if you don't want to change the settings.

@sportshead  thank you.
As I could understand when I call the keybinding  Ctrl+Shift+R vscode runs the command "editor.action.refactor". Where I can see the code of this command, please?

This documentation describes how to configure keybindings for specific refactorings


Playlist support or liked songs [email request]

Ability to save songs to a playlist, custom playlist and managing them.

DONE


how to get version number useable?

I get error:

can I fix it?

I fixed it, but I think you should describe in readme choice branch rule instead of default rule.

thank you for your library.


Feature request: Cache the file for rake neo4j:install[community-latest]

In testing a generator generator, it became obvious that the Neo4j installer was being downloaded fresh each time.
Prefer if either it cached the file, or we could download manually then specify the installer file with the install command.
Code example
$ rake neo4j:install[community-latest]

Install Neo4j (development environment)...
Retrieving latest version...
Latest version is: 3.0.3
Fetching neo4j-community-3.0.3: |=======                                                                     |

Runtime information:
Neo4j database version: 3.0.3
neo4j gem version: gem 'neo4j', github: 'neo4jrb/neo4j', branch: 'rails5' (7.0.3)
neo4j-core gem version: 6.1.4

This would definitely be great.  I've been wanting this for a while.  It would need to cache based on the Neo4j version somehow, but I don't imagine that that would be difficult.


Getting crash on client.PGClient.makeMOTOPayment

Hi,
We are getting crash during payment. Here is the log. Please have a look.
log.txt

@visareshwar  - could you please also share the piece of code?

// Payment Mode : PAYMENT_MODE_CITRUS
@Override
public void onCirtusPayInitiated(PaymentOption paymentOption) {
    NestLog.d(TAG, "onCirtusPayInitiated(" + paymentOption + ")");
    CitrusClient client = CitrusClient.getInstance(this);
    PaymentType paymentType;
    try {
        paymentType = new PaymentType.PGPayment(mCitrusBill, paymentOption,
                new CitrusUser(mEmail, mPhone));
        client.pgPayment((PaymentType.PGPayment) paymentType, new CitrusCallBack());
    } catch (CitrusException | JSONException e) {
        e.printStackTrace();
    }
}

Heyy!! Any update on this issue. We are getting 2-3 crashes everyday.

We are using new card. Can you please let me know what all parameter we are missing.

@visareshwar  - you can check the doc at
https://github.com/citruspay/citrus-android-sdk/blob/master/docs/CC %2CDC %2CNB Direct Payment.md

looks no difference to me. Here is my code
         PaymentOption paymentOption = null;
           if (mIsDebitCard) {
                paymentOption = new DebitCardOption(name, number, cvv, month, year);
            } else if (mIsCreditCard){
                paymentOption = new CreditCardOption(name, number, cvv, month, year);
            }else if (mIsNetbanking){
                paymentOption = new NetbankingOption(mBankName, mBankCID);
            }
         if(paymentOption!=null){
          onCirtusPayInitiated(paymentOption);
         }

Code looks fine. Could you please tell me if its issue with card or netbanking?

I am not sure. We have released the app. So it can be card or netbanking,
Its sometimes issue.

@MangeshKadam !! any update on this issue?

will give you an update soon. checking on our end.

@visareshwar can you share the name of your app so that we can test on our end where the application is crashing?

Nestaway (com.nestaway.customerapp)

@visareshwar  Could you please ask your development team to test the app and let us know if its a netbanking or card issue. Not able t debug on our end.


Change allowSwipeToNext on the fly doesn't work

This is a (multiple allowed): bug

Swiper Version: Latest tag
Platform/Target and Browser Versions: Ionic 1.3, cordova 6, Chrome

What you did
I want to achieve the following:
A slider implemented using Swiper (http://idangero.us/swiper) should have 4 slides. But the last one shouldn't be reachable by swiping but only programmatically if some condition is fulfilled.
I thought I could retrieve activeIndex in the onSlideChangeStart() event and use that as condition for setting "allowSwipeToNext". But no success: It seems I can't change that option on the fly in an event.

There is a lockSwipeToNext() method to achieve this and it works


[WIP] Improving Key Management

Problem Summary
It is a common occurrence for users to lose access to their private keys after certain events that result in old keys being deleted and/or new keys being generated. The wallet does not do a good job of calling out these events and their implications. As a result, users often miss when their old keys are rendered invalid, and some may lose access to their account. Additionally, users are limited in the ways that they can view and control which keys have access to their account.
This problem is multidimensional and is perpetuated across the experience in various ways:
1. User fails to adequately secure their private key
During Onboarding, users may fail to secure their keys via their chosen recovery method, especially when using SMS and Email. Users that delete the original messages that contain their recovery links may not be able to recover their account.
2. Insufficient affordances and feedback around implications of switching between recovery methods
When switching recovery methods, users may not grok the implications of switching to a new recovery method. Typically, switching from one method to another results in the deletion of existing keys and the generation of new keys. Because of the existing ambiguity, users may assume that their old keys are still usable when they are in fact invalid.
3. Insufficient affordances around modifications to keys when viewing transactions and transaction history (ie activity)
The display of transaction details throughout the wallet is insufficient to allow the user to understand the impact of certain transactions and activity on their private keys. Whenever a transaction results in a change to a user's private key, this should be explicit and clear.
4. Users are unable to adequately track the history of changes to their keys
Users currently have no way to view the history of changes to their private keys. Account activity does not give sufficient insight into the history of changes, and the current implementation of activity in the wallet also restricts events to a very limited timeline. Users should be able to retrospectively review a history of changes to their private keys, and relevant metadata associated with those transactions.
5. Users are unable to adequately view and modify existing keys
Users in the wallet currently have no ability to view or remove existing keys from their account. While there should be sufficient barriers in place to prevent accidental and irreversible actions that may result in loss of access to an account, users should maintain an ability to view and remove existing/active keys.
6. Users incorrectly perceive recovery methods as a list of tasks to be ### completed.
It is common for users to perceive the list of recovery options as a checklist or "to-do" list. Users often think that they are meant to enable and complete as many options as possible in order to secure their account, when in fact, this increases the number of attack vectors. In reality, this list should be perceived as a list of options, where the user should have a single primary active method. Additionally, users who attempt to add multiple recovery methods will inevitably increase the frequency with which keys are deleted/generated.

From 5. we have to specify view and modify full access keys, as other keys (from a login to dApps) are listed in the authorized-apps page.
This opens an additional layer, which is understanding what is a wallet key and what is the difference between a full access key and an authorized app

@jimmy3dita valid. I think the right thing to do would be to allow the user to view and modify all keys in the same location within the wallet, but make a clear distinction between the nature of the keys (regular vs full-access), and to ensure that we are including a sufficient amount of friction in instances where a user attempt to remove a full-access key. Thoughts?

totally agree, I'd like to see something like the Danger Zone in GitHub, where you can't really delete anything without clicking multiple times and confirming.


add module weekly plan

Coverage increased (+0.03%) to 75.472% when pulling 5b2dfa019f613ce3f857a597716d3c88c6f3faf7 on indriHutabalian:dev into 548ae7e3c9ebdfe4ea4f843c88393b5397d440df on danliris:dev.


doc: add release notes for AKS Windows images with 2023.03B

What type of PR is this?
/kind doc

What this PR does / why we need it:
Add release notes for AKS Windows images with 2023.03B.
References: #2875

WS2019: March 14, 2023—KB5023702 (OS Build 17763.4131)
WS2022: March 14, 2023—KB5023705 (OS Build 20348.1607)

Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[x] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 77.017%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2091

Relevant Lines:
2715

💛  - Coveralls


Make the expriments reproducible

Feature description
For profiling, the testing problem set must be fixed (while being sufficiently large). It is hard to draw any conclusion based on the comparison on a changing set of problems.
Please, please, fix the "loading failure" problem of PyCutest before starting to make ANY comparison. It feels very frustrating for me to see that the comparison results are not reproducible/consistent due to loading failures of testing problems. If this is impossible due to defects of PyCutest, then turn to a different solution.
I do not want to encounter ever again loading failure problems in our later investigation, no matter on GitHub Actions or on local computers.
I do not want to encounter ever again the situation that "this comparison result is different from my last experiment, and I do not know/remember what happened". This has happened too many times in our previous investigations, and it is very annoying.
We have been working on this project for a sufficiently long time to avoid any non-reproducible experiments.
Thanks.
Proposed solution
No response
Considered alternatives
No response

The new version of the benchmarking script does not suffer from the problem we met before.
Cheers,
Tom.


cnf claim not validated when gateway cache is enabled

Description:
When the configuration for the certificate-bound access token is enabled and the correct transport certificate is sent in the request, it is correctly validated with the CNF claim in the access token.
When the same request is sent for the 2nd time, with a different transport certificate, the validation does not fail since the validation for checking the CNF claim with the certificate hash is skipped because the token is cached as a valid one.
Steps to reproduce:
Create an access token with a transport certificate with certificate bound access token enabled
Invoke an API resource endpoint with the valid transport certificate through
Invoke an API resource endpoint again with an invalid transport endpoint
Affected Product Version:

Environment details (with versions):

OS:
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

Fixed with https://github.com/wso2/carbon-apimgt/pull/11805


TypeError

When I was using longclip inference, I encountered an error TypeError: forward() missing 2 required positional arguments: 'text_short' and 'rank'.

we modify the forward function for adding short-text in training. You may refer to demo.py for usage.

Thank you


SARAALERT-1646: Combine advanced filters

Description
Jira Ticket: SARAALERT-1646
Instead of having separate filters for the same field that have different filter functionality, combine them to one and utilize the additionalFilterOption functionality.  This should be done for:

Address (domestic/foreign)

Combine these filters into a combination filter so that the user is still able to set both a domestic and foreign address in their filter if they choose to

Name (first/middle/last)

Combine these filters into a combination filter so that the user is still able to set a first, last, and middle name in their filter if they choose to

Telephone (exact match/contains)

Combine these filters to be the same format as the current "Close Contact with a Known Case ID" filter option that has a drop down for the exact match/contains options.

(Feature) Demo/Screenshots

Important Changes
Please list important files (meaning substantial or integral to the PR) along with a list of the general changes that should be highlighted for reviewers.
app/helpers/patient_query_helper.rb

replace old filter queries with new ones
remove lower sql function in queries because search is already case insensitive and this allows db to utilize indices if present

app/javascript/components/public_health/query/AdvancedFilter.js

add text option for combination filter

app/javascript/data/advancedFilterOptions.js

update filter options

app/javascript/tests/mocks/mockFilters.js, app/javascript/tests/public_health/query/AdvancedFilter.test.js, test/helpers/patient_query_helper_test.rb

update tests and fixtures

db/migrate/20211222192244_update_combined_advanced_filters.rb, db/schema.rb

migrate saved filters

Testing Recommendations
Please list any recommendations regarding what reviewers should test and if there is any specific guidance on how to test certain aspects of the PR. Be sure to mention edge cases that should be tried, particularly in the UI.
Checklists
Submitter:

[x] This PR describes why these changes were made.
[x] This PR is into the correct branch.
[x] This PR includes the correct JIRA ticket reference.
[x] Comment added to the relevant JIRA ticket(s) with a link to this PR
[x] Code diff has been reviewed (it does not contain: additional white space, not applicable code changes, debug statements, etc.)
[ ] If UI changes have been made, Chrome Dev Tools Lighthouse accessibility test has been executed to ensure no 508 issues were introduced.
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass (remember to update Gemfile when applicable)
[x] Test fixtures updated and documented as necessary

@tstrass :

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code
[ ] If applicable, you have tested changes against a large database, and considered possible performance regressions
[ ] Tested all recommendations listed in the "Testing Recommendations" section. The application behaves as expected with this PR.

@sgober :

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code
[ ] If applicable, you have tested changes against a large database, and considered possible performance regressions
[ ] Tested all recommendations listed in the "Testing Recommendations" section. The application behaves as expected with this PR.

@deastman :

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code
[ ] If applicable, you have tested changes against a large database, and considered possible performance regressions
[ ] Tested all recommendations listed in the "Testing Recommendations" section. The application behaves as expected with this PR.

Needs rebase

done