VSD throwing fatal error at launch
search cancel

VSD throwing fatal error at launch

book

Article ID: 294413

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

When launching VSD, it throws the following FATAL error and doesn't start up:
Fatal error: could not read '~/.vsdrc' because:
wrong # args: should be "set varName ?newValue?"
Fatal error: could not read '~/.vsdrc' because:
wrong # args: should be "set varName ?newValue?"
errorInfo is
wrong # args: should be "set varName ?newValue?"
  while executing
"set vsd(lastdatadir) /Users/myhome/stats"
  (file "~/.vsdrc" line 46)
  invoked from within
"source $fileToSource"
  ("uplevel" body line 1)
  invoked from within
"uplevel #0 {source $fileToSource}"
Begin Tcl Call Stack
 ::fatalError at 2566 in /Users/myhome/vsd/bin/vsd
 ::sourceVsdHomeFile at 10207 in /Users/myhome/vsd/bin/vsd
 ::RunVSD at 10526 in /Users/myhome/bin/vsd
End Tcl Call Stack


Environment

Product Version: 9.10

Resolution

This issue could be a result of changing the VSD version used. Changing between, for example, the Linux VSD version and the MacOS version or if there is an issue with the working files that VSD creates while running. VSD creates the following 3 files in the $HOME directory:
 
  1. .vsdrc
  2. .vsdconfig
  3. .vsdtemplates
If these files do not exist when VSD is launched then VSD will create new files. To resolve the issue, the three .vsd* files can simply be deleted. Afterwards, VSD will launch correctly again.