Error"gst-stream-error-quark. while running deepstream_test_1_usb.py in jetson nano?

while running the deepstream_test_1_usb.py,I got an error like this:
Error: gst-stream-error-quark: Internal data stream error. (1): gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstNvArgusCameraSrc:nv-arguscamerasrc: streaming stopped, reason not-linked (-1)
I am using csi camera .So I only changed sink as filesink and also source as nvarguscamerasrc.Then I tried to run the below command and it works.But I still get the above error(Error"gst-stream-error-quark…)
gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink

How can we solve this problem?

I am using :
cuda 10.2
jetson nano
deepstream 5.0
jetpack 4.4
TensorRT 7.1.13
python 3.6
ubuntu 18.04
gstreamer 1.14.5

Hi,
You may do the customization based on
deepstream_python_apps/deepstream_test_1_usb.py at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub

To replace v4l2src with

nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=_WIDTH_,height=_HEIGHT_,format=NV12,bufapi-version=true'