0

I am running this script nmrCube.tcl for generating 3D box from NMR data.

I initially had problem with Library before which is now sorted

While running the script I get this, (even though it is indeed there):

Error in startup script: couldn't read file "“./nmrCube.tcl”": no such file or directory
muru
  • 197,895
  • 55
  • 485
  • 740

1 Answers1

1

“” ... looks like copy pasted commands from a silly website that replaced "" with pretty quotes. Use "" instead.

muru
  • 197,895
  • 55
  • 485
  • 740
  • probably as they are part of the error message. But unsure how to get rid of them since I do ./nmrCube.tcl to execute the script Thanks – user5381305 Sep 27 '15 at 12:30
  • @user5381305 you are saying you run ./nmrCube.tcl, and it runs “./nmrCube.tcl”? – muru Sep 27 '15 at 12:31
  • @user5381305 then you'll have to fix that script somehow. Where did you get it from? – muru Sep 27 '15 at 12:35
  • from the developer of the program it starts like this: – user5381305 Sep 27 '15 at 12:36
  • !/bin/sh

    The next line restarts using nmrWish \

    exec nmrWish “$0” — “$@”

    set auto_path “[split $env(TCLPATH) :] $auto_path” set ARGV [concat $argv0 $argv] set ARGC [llength $ARGV]

    if {[info exists env(NMRTXT)]}
    { set tStr ” ($env(NMRTXT)/rgb.txt).” }
    else
    { set tStr “.”

    – user5381305 Sep 27 '15 at 12:36
  • Ok, just edit that file and replace every pretty quote you see with "". – muru Sep 27 '15 at 12:37
  • @user5381305 there are other Unicode characters in that script, like the dash instead of hyphens. Are you sure you didn't copy this from a website, even if it was the developer's website? – muru Sep 27 '15 at 13:23
  • yes it was copied from his website – user5381305 Sep 27 '15 at 13:26
  • @user5381305 sigh. Ask the dev to provide the script in plain text, then. Or look for a download link somewhere. Whatever CMS he's using has badly mangled the script. – muru Sep 27 '15 at 13:34