[xcrysden] Problems with XCrySDen, Cygwin, Tcl/Tk and X-Windows

Paul M. Grant xcrysden@democritos.it
Tue, 28 Nov 2006 19:12:47 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_0076_01C71321.313390E0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

To All:

 

Just about a year ago, there was a post on XCrySDen from Eunjung Ko entitled
"BadWindow problem" on 27 Nov 2005 as follows:

 

"I'm trying to run xcrysden in cygwin.

I believe that I installed Tcl/Tk correctly. It passed

the wish test.

On my XWIN_GL window, when I run xcrysden, the error

occurs as below.

On cygwin window,

winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow

<invalid Window parameter>

winMultiWindowXMsgProcErrorHandler - ERROR: BadWindow

<invalid Window parameter>

On my bash shell of XWIN_GL,

Running on platfor: cygwin

Executing:

/home/EKO/XCrySDen-1.4.1bin-shared/bin/ftnuit

***the hardware does not support the stereo***

/home/EKO/XCrySDen-1.4.1bin-shared/xcrysden: line 158:

3288 Segmentation fault (core dumped) exec wish

${XCRYSDEN_TOPDIR}/Tcl/xcInit.tcl $USE --

$XCRYSDEN_TOPDIR $XCRYSDEN_SCRATH $ARGS >/dev/null"

 

As far as I can determine from an XCrySDen archive search, this issue was
not addressed or answered.  I am experiencing exactly the same problem.  On
launching XCrySDen, three windows appear: 1) The XCrySDen open window, 2) an
xcrysden X-term session, and 3) an xcInit.tcl X-term session.  All three
persist for several seconds, disappear and the launching cygwin terminal and
the host multiwindow terminal display exactly the same messages above
received by Mr. Ko.

 

I suspect there may be a path-ing issue?

 

Regards, -Paul

 

Paul M. Grant, PhD

Principal, W2AGZ Technologies

Visiting Scholar, Applied Physics, Stanford University

EPRI Science Fellow (Retired)

IBM Research Staff Member Emeritus

 <mailto:w2agz@pacbell.net> w2agz@pacbell.net

 <http://www.w2agz.com/> http://www.w2agz.com

 

 

 


------=_NextPart_000_0076_01C71321.313390E0
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PlaceType"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PlaceName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Comic Sans MS";
	panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>To All:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Just about a year ago, there was a post on XCrySDen =
from Eunjung
Ko entitled &#8220;BadWindow problem&#8221; on 27 Nov 2005 as =
follows:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>&#8220;I'm trying to run xcrysden in =
cygwin.<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>I believe that I installed Tcl/Tk correctly. It =
passed<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>the wish test.<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>On my XWIN_GL window, when I run xcrysden, the =
error<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>occurs as below.<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>On cygwin window,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>winMultiWindowXMsgProcErrorHandler - ERROR: =
BadWindow<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>&lt;invalid Window =
parameter&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>winMultiWindowXMsgProcErrorHandler - ERROR: =
BadWindow<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>&lt;invalid Window =
parameter&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>On my bash shell of XWIN_GL,<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>Running on platfor: cygwin<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>Executing:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>/home/EKO/XCrySDen-1.4.1bin-shared/bin/ftnuit<o:p></o:p></sp=
an></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>***the hardware does not support the =
stereo***<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>/home/EKO/XCrySDen-1.4.1bin-shared/xcrysden: line =
158:<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>3288 Segmentation fault (core dumped) exec =
wish<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>${XCRYSDEN_TOPDIR}/Tcl/xcInit.tcl $USE =
--<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'>$XCRYSDEN_TOPDIR $XCRYSDEN_SCRATH $ARGS =
&gt;/dev/null&#8221;<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3D"Courier New"><span style=3D'font-size:9.5pt;font-family:"Courier =
New";
color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:9.5pt;font-family:Arial;color:black'>As far
as I can determine from an XCrySDen archive search, this issue was not
addressed or answered.&nbsp; I am experiencing exactly the same =
problem.&nbsp;
On launching XCrySDen, three windows appear: 1) The XCrySDen open =
window, 2) an
xcrysden X-term session, and 3) an xcInit.tcl X-term session. &nbsp;All =
three
persist for several seconds, disappear and the launching cygwin terminal =
and
the host multiwindow terminal display exactly the same messages above =
received
by Mr. Ko.<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:9.5pt;font-family:Arial;color:black'><o:p>&nbsp;</o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:9.5pt;font-family:Arial;color:black'>I
suspect there may be a path-ing issue?<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:9.5pt;font-family:Arial;color:black'><o:p>&nbsp;</o:p>=
</span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 =
color=3Dblack
face=3DArial><span =
style=3D'font-size:9.5pt;font-family:Arial;color:black'>Regards,
-Paul<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><strong><b><i><font size=3D4 face=3D"Comic Sans =
MS"><span
style=3D'font-size:13.5pt;font-family:"Comic Sans =
MS";font-style:italic'>Paul M.
Grant, PhD</span></font></i></b></strong><o:p></o:p></p>

<p class=3DMsoNormal><strong><b><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>Principal, W2AGZ =
Technologies</span></font></b></strong><o:p></o:p></p>

<p class=3DMsoNormal><strong><b><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>Visiting Scholar, Applied Physics, <st1:place =
w:st=3D"on"><st1:PlaceName
 w:st=3D"on">Stanford</st1:PlaceName> <st1:PlaceType =
w:st=3D"on">University</st1:PlaceType></st1:place></span></font></b></str=
ong><o:p></o:p></p>

<p class=3DMsoNormal><strong><b><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>EPRI Science Fellow =
(Retired)</span></font></b></strong><o:p></o:p></p>

<p class=3DMsoNormal><strong><b><font size=3D2 face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial'>IBM Research Staff Member =
Emeritus</span></font></b></strong><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a href=3D"mailto:w2agz@pacbell.net"><strong><b><font
color=3Dblack face=3DArial><span =
style=3D'font-family:Arial;color:windowtext;
text-decoration:none'>w2agz@pacbell.net</span></font></b></strong></a></s=
pan></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a href=3D"http://www.w2agz.com/"><strong><b><font
color=3Dblack face=3DArial><span =
style=3D'font-family:Arial;color:windowtext;
text-decoration:none'>http://www.w2agz.com</span></font></b></strong></a>=
</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0076_01C71321.313390E0--