When a user tries to start launcher81 running HP-UX 11i, he receives the message "Application initialization failed: this isn't a Tk application".

--------------------------------------------------------------
ERROR MESSAGE RECEIVED:
Application initialization failed: this isn't a Tk application
couldn't connect to display "RACIWI2118.na.modine.com:0.0"

The ANSYS Launcher could not be started.

The most likely reason is that your DISPLAY environment
variable is either not set (i.e. issue setenv DISPLAY
dev:0.0 where dev is your device name) or is set to a
device that is not accepting the connection.

--------------------------------------------------------------

The launcher81 run with the sh -x option set will list the information below:

: sh -x ./launcher81
+ revn=81
+ ansinstalldir=/ansys_inc/v81
+ WHICHANSCRIPT=launcher
+ export WHICHANSCRIPT

*
*
*

+ [ -z ]
+ setenv JAVAHELP81 1
+ [ -x /ansys_inc/v81/commonfiles/Tcl/bin/hppa8000-64/wish ]
+ /ansys_inc/v81/commonfiles/Tcl/bin/hppa8000-64/wish
+ echo exit 3
Application initialization failed: this isn't a Tk applicationcouldn't
connect to display ":0.0"
+ stat=0
+ [ 0 -eq 3 ]
+ echo

+ echo The ANSYS Launcher could not be started.
The ANSYS Launcher could not be started.
+ echo

+ echoThe most likely reason is that your DISPLAY environment
The most likely reason is that your DISPLAY environment
+ echo variable is either not set (i.e. issue setenv DISPLAY
variable is either not set (i.e. issue setenv DISPLAY
+ echo dev:0.0 where dev is your device name) or is set to a
dev:0.0 where dev is your device name) or is set to a
+ echo device that is not accepting the connection.
device that is not accepting the connection.
+ echo

+ exit 0

Why do I get this error when trying to start launcher81?


This was a problem with the way "WISH" was built.
Some modifications were made and the new version of wish is attached to this solution.
Replace the existing file with the one attached to this solution to resolve the problem.

NOTE: This solution is only valid for ANSYS 8.1. A similar problem in ANSYS 9.0 is documented in solution #379795.





Show Form
No comments yet. Be the first to add a comment!