View Issue Details

IDProjectCategoryView StatusLast Update
0000446easycwmpQuestionpublic2022-11-24 11:30
Reporterharipriya Assigned To 
PriorityurgentSeveritytrivialReproducibilityalways
Status newResolutionopen 
Summary0000446: I can't get the value of the device..i have used command "bash /usr/sbin/easycwmp -–json get value Device"..
Descriptionroot@8746--SW--C:/opt/dev/easycwmp# bash /usr/sbin/easycwmp -–json get value Device
USAGE: /usr/sbin/easycwmp command [parameter] [values]
command:
  get [value|notification|name]
  set [value|notification]
  apply [value|notification|object|service]
  add [object]
  delete [object]
  download
  upload
  factory_reset
  reboot
  inform [parameter|device_id]
  --json-input
invalid action '-–json'
root@8746--SW--C:/opt/dev/easycwmp#
root@8746--SW--C:/opt/dev/easycwmp# bash /usr/sbin/easycwmp get value Device
root@8746--SW--C:/opt/dev/easycwmp#
I have checked the script also

Steps To Reproduceroot@8746--SW--C:/opt/dev/easycwmp/ext/openwrt/scripts# sh +x easycwmp.sh
USAGE: easycwmp.sh command [parameter] [values]
command:
  get [value|notification|name]
  set [value|notification]
  apply [value|notification|object|service]
  add [object]
  delete [object]
  download
  upload
  factory_reset
  reboot
  inform [parameter|device_id]
  --json-input
invalid action ''
root@8746--SW--C:/opt/dev/easycwmp/ext/openwrt/scripts# bash -x easycwmp.sh
+ . /lib/functions.sh
++ N='
'
++ _C=0
++ NO_EXPORT=1
++ LOAD_STATE=1
++ LIST_SEP=' '
++ reset_cb
++ '[' -z '' -a -f /lib/config/uci.sh ']'
++ . /lib/config/uci.sh
+++ CONFIG_APPEND=
+ . /usr/share/libubox/jshn.sh
+ . /usr/share/easycwmp/defaults
+ UCI_GET='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ get'
+ UCI_SET='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ set'
+ UCI_SHOW='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ show'
+ UCI_COMMIT='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ commit'
+ UCI_ADD='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ add'
+ UCI_DELETE='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ delete'
+ UCI_ADD_LIST='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ add_list'
+ UCI_DEL_LIST='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ del_list'
+ UCI_REVERT='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ revert'
+ UCI_CHANGES='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ changes'
+ UCI_BATCH='/sbin/uci -q -c /opt/dev/easycwmp/ext/openwrt/config/ batch'
+ DOWNLOAD_DIR=/tmp/easycwmp_download
+ EASYCWMP_PROMPT='easycwmp>'
+ set_fault_tmp_file=/tmp/.easycwmp_set_fault_tmp
+ apply_service_tmp_file=/tmp/.easycwmp_apply_service
+ set_command_tmp_file=/tmp/.easycwmp_set_command_tmp
+ FUNCTION_PATH=/usr/share/easycwmp/functions
+ NOTIF_PARAM_VALUES=/tmp/.easycwmp_notif_param_value
+ easycwmp_config_changed=
+ uci_change_packages=
+ uci_change_services=
+ g_fault_code=
+ prefix_list=
+ entry_execute_method_list=
+ entry_execute_method_list_forcedinform=
+ entry_method_root=
+ g_entry_param=
+ g_entry_method=
+ g_entry_arg=
+ E_REQUEST_DENIED=1
+ E_INTERNAL_ERROR=2
+ E_INVALID_ARGUMENTS=3
+ E_RESOURCES_EXCEEDED=4
+ E_INVALID_PARAMETER_NAME=5
+ E_INVALID_PARAMETER_TYPE=6
+ E_INVALID_PARAMETER_VALUE=7
+ E_NON_WRITABLE_PARAMETER=8
+ E_NOTIFICATION_REJECTED=9
+ E_DOWNLOAD_FAILURE=10
+ E_UPLOAD_FAILURE=11
+ E_FILE_TRANSFER_AUTHENTICATION_FAILURE=12
+ E_FILE_TRANSFER_UNSUPPORTED_PROTOCOL=13
+ E_DOWNLOAD_FAIL_MULTICAST_GROUP=14
+ E_DOWNLOAD_FAIL_CONTACT_SERVER=15
+ E_DOWNLOAD_FAIL_ACCESS_FILE=16
+ E_DOWNLOAD_FAIL_COMPLETE_DOWNLOAD=17
+ E_DOWNLOAD_FAIL_FILE_CORRUPTED=18
+ E_DOWNLOAD_FAIL_FILE_AUTHENTICATION=19
+ __arg1=
+ __arg2=
+ __arg3=
+ __arg4=
+ __arg5=
+ case "$1" in
+ easycwmp_usage easycwmp.sh
+ cat
USAGE: easycwmp.sh command [parameter] [values]
command:
  get [value|notification|name]
  set [value|notification]
  apply [value|notification|object|service]
  add [object]
  delete [object]
  download
  upload
  factory_reset
  reboot
  inform [parameter|device_id]
  --json-input
+ '[' -z '' ']'
+ echo invalid action ''\'''\'''
invalid action ''
+ exit 1
root@8746--SW--C:/opt/dev/easycwmp/ext/openwrt/scripts#

Additional Informationkindly resolve the issue
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-11-24 11:30 haripriya New Issue