HYSPLIT desk icon not working on Mac OS
-
- Posts: 6
- Joined: June 21st, 2020, 11:59 pm
- Registered HYSPLIT User: Yes
HYSPLIT desk icon not working on Mac OS
I have installed tcl/tk, imagemagic, and hystplit, but it is not working. After I click hysplit icon on the desktop, it shows a blank hysplit window. Anyone knows how to fix the installation? Thanks.
Qinjian
Qinjian
Re: HYSPLIT desk icon not working on Mac OS
Hi Quinjian,
If you right click on your desktop icon, you should see in the Preview window at the bottom of the window that pops up, something like this:
#!/bin/sh
cd ${HOME}/hysplit/working/guicode/hysplit.tcl &
with some more information below. This should be the shortcut to launching hysplit. If you do not see this, please be sure your hysplit folder is installed in your ${HOME} directory.
Thank you,
Allison
If you right click on your desktop icon, you should see in the Preview window at the bottom of the window that pops up, something like this:
#!/bin/sh
cd ${HOME}/hysplit/working/guicode/hysplit.tcl &
with some more information below. This should be the shortcut to launching hysplit. If you do not see this, please be sure your hysplit folder is installed in your ${HOME} directory.
Thank you,
Allison
-
- Posts: 6
- Joined: June 21st, 2020, 11:59 pm
- Registered HYSPLIT User: Yes
Re: HYSPLIT desk icon not working on Mac OS
Thank you, Allison. Here is what I get:
#!/bin/sh
cd ${HOME}/hysplit/working
../guicode/hysplit.tcl &
# closes all open terminals
# kill $(ps -p $(ps -p $PPID -o ppid=) -o ppid=)
# only closes this open terminal
osascript -e 'tell application "Terminal" to close first window' & exit
#!/bin/sh
cd ${HOME}/hysplit/working
../guicode/hysplit.tcl &
# closes all open terminals
# kill $(ps -p $(ps -p $PPID -o ppid=) -o ppid=)
# only closes this open terminal
osascript -e 'tell application "Terminal" to close first window' & exit
Re: HYSPLIT desk icon not working on Mac OS
Great.
Now please check to be sure your hysplit installation is installed in your ${HOME} directory. For me, my ${HOME} directory is /Users/aring/ and my hysplit folder is located here (/Users/aring/hysplit/). It may be that your desktop icon cannot find your hysplit installation.
Now please check to be sure your hysplit installation is installed in your ${HOME} directory. For me, my ${HOME} directory is /Users/aring/ and my hysplit folder is located here (/Users/aring/hysplit/). It may be that your desktop icon cannot find your hysplit installation.
-
- Posts: 6
- Joined: June 21st, 2020, 11:59 pm
- Registered HYSPLIT User: Yes
Re: HYSPLIT desk icon not working on Mac OS
My hysplit installed at "/Users/bingpu/hysplit".
I tried run "./hysplit.sh" from the directory of /Users/bingpu/hysplit/working and get the following error:
"31:49: execution error: Terminal got an error: Can’t get window 1. Invalid index. (-1719)"
I tried run "./hysplit.sh" from the directory of /Users/bingpu/hysplit/working and get the following error:
"31:49: execution error: Terminal got an error: Can’t get window 1. Invalid index. (-1719)"
Re: HYSPLIT desk icon not working on Mac OS
Ok, try running it from /Users/bingpu/hysplit/guicode in your terminal window. (Please let me know if you need help opening a terminal window)
In terminal, cd into the directory:
cd /Users/bingpu/hysplit/guicode
then type:
./hysplit.tcl
Does the gui pop up for you? If so, go with this method for now, and I will look into your error more closely.
What MacOS version are you using?
In terminal, cd into the directory:
cd /Users/bingpu/hysplit/guicode
then type:
./hysplit.tcl
Does the gui pop up for you? If so, go with this method for now, and I will look into your error more closely.
What MacOS version are you using?
-
- Posts: 6
- Joined: June 21st, 2020, 11:59 pm
- Registered HYSPLIT User: Yes
Re: HYSPLIT desk icon not working on Mac OS
~/hysplit/guicode >./hysplit.tcl
The above command pops up a window titled "Hysplit", but it is a blank window with no contents.
It's macOS Mojave Version 10.14.6.
The above command pops up a window titled "Hysplit", but it is a blank window with no contents.
It's macOS Mojave Version 10.14.6.
Re: HYSPLIT desk icon not working on Mac OS
Have you tried re-downloading the hysplit mac installation? It may be your download was corrupted and you are missing some files.
-
- Posts: 6
- Joined: June 21st, 2020, 11:59 pm
- Registered HYSPLIT User: Yes
Re: HYSPLIT desk icon not working on Mac OS
I just delete my old .dmg file and re-downloaded a new one and installed it, but it is still a blank GUI window. Not sure what's wrong.
Re: HYSPLIT desk icon not working on Mac OS
Hi Qinjian,
Can you please attach a screenshot of the hysplit.tcl window you are seeing?
Also, please be sure to delete all hysplit files (/Users/bingpu/hysplit/), not just the old dmg. We need to be sure all old hysplit files are removed before attempting a reinstall.
Thank you!
Can you please attach a screenshot of the hysplit.tcl window you are seeing?
Also, please be sure to delete all hysplit files (/Users/bingpu/hysplit/), not just the old dmg. We need to be sure all old hysplit files are removed before attempting a reinstall.
Thank you!