Re: Error, DVSwitch.ini file not found.. But it's right there?!


Steve N4IRS
 

Show me the output of env and and the top 31 linies of dvswitch.sh

On 7/9/20 10:15 PM, w2jon@... wrote:
ls: DVSwitch.ini  MMDVM_Bridge  MMDVM_Bridge.ini  dvswitch.sh
I am running the .sh in the folder with the entire support cast

Test with the full path:

++ parseIniFile /usr/local/dvswitch-2019-03-16/opt/MMDVM_Bridge/DVSwitch.ini DSTAR TXPort
++ python -
+ _MBTX=
parseIniFile "$DVSWITCH_INI" "$_MODE" "RXPort"
++ parseIniFile /usr/local/dvswitch-2019-03-16/opt/MMDVM_Bridge/DVSwitch.ini DSTAR RXPort
++ python -
+ _MBRX=
+ '[' '!' -z ']'
+ echo 'Error, DVSwitch.ini file not found'
Error, DVSwitch.ini file not found
+ _ERRORCODE=-1
exit $_ERRORCODE
+ exit -1

Test with the symlink:
parseIniFile "$DVSWITCH_INI" "$_MODE" "TXPort"
++ parseIniFile /opt/MMDVM_Bridge/DVSwitch.ini DSTAR TXPort
++ python -
+ _MBTX=
parseIniFile "$DVSWITCH_INI" "$_MODE" "RXPort"
++ parseIniFile /opt/MMDVM_Bridge/DVSwitch.ini DSTAR RXPort
++ python -
+ _MBRX=
+ '[' '!' -z ']'
+ echo 'Error, DVSwitch.ini file not found'
Error, DVSwitch.ini file not found
+ _ERRORCODE=-1
exit $_ERRORCODE
+ exit -1
 

Join main@DVSwitch.groups.io to automatically receive all group messages.