Page 1 of 1

./hysplit4.tcl

Posted: November 9th, 2018, 1:34 am
by FumiHori
I've finished to install Hysplit
But when I typed ./hysplit4.tcl working directory, I got an error message that says
wish: xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == (unsigned int)dpy->request' failed.
What can I do?

Re: ./hysplit4.tcl

Posted: November 9th, 2018, 4:20 pm
by ariel.stein
If you are in the working directory, you should create a soft link
ln -s ../guicode/hysplit4.tcl .
so when you type ./hysplit4.tcl the GUI will open.

Re: ./hysplit4.tcl

Posted: November 12th, 2018, 4:04 am
by FumiHori
Thank you so much for your reply.
In the hysplit4.tcl, execute "wish" which linked Tk. But in my execution environment, execute wish which linked anaconda3.
I changed the sentence 'exec wish "$0" "$@" ' to exec tk full path/wish < "$0" "$@" '.
And HYSPLIT4 worked.

But I still got a warning message from HYSPLIT4 that says
"can't read "0": no such variable"
The hysplit4 script need what shell script ,bash, csh, tcsh, ...etc ?

Re: ./hysplit4.tcl

Posted: November 13th, 2018, 4:05 pm
by ariel.stein
The hysplit graphical user interface uses tcl.