[xcrysden] BadWindow error when launching newly installed xcrysden

Hideyuki KAMISAKA kami at chem.s.u-tokyo.ac.jp
Thu Nov 6 04:59:55 CET 2014


Dear Tone,

Here is the Togl settings in our site.

I had commented out several flags as I wrote you in the previous e-mail,
but now one of my colleague have updated the Tcl scripts
so that the change from the original would be minimum.
He says that the ‘-accum false’ was the only essential modification,
which disables the anti-aliasing on the screen.

Let me ask you one simple question, if possible.
Are these flags added intentionally by yourself for specific purposes,
or did you just quote them from other sample code?

Regards,

Hideyuki KAMISAKA

・Viewer.tcl

        set mesaWid [togl .mesa \
                         -width          400 \
                         -height         400 \
                         -ident          .mesa \
                         -rgba           true  \
                         -redsize        1     \
                         -greensize      1     \
                         -bluesize       1     \
                         -double         true  \
                         -depth          true  \
                         -depthsize      1     \
                         -alpha          false \
                         -alphasize      1     \
                         -stencil        false \
                         -stencilsize    1     \
                         -auxbuffers     0     \
                         -overlay        false \
                         -stereo         $stereo \
                         -time           100   \
                         -accum          false  \
                         -accumredsize   1     \
                         -accumgreensize 1     \
                         -accumbluesize  1     \
                         -accumalphasize 1     ]


・fs/FS_Main.tcl

            set fs($spin,$i,togl) [togl $togl \
                    -ident  $togl \
                    -rgba           true  \
                    -redsize        1     \
                    -greensize      1     \
                    -bluesize       1     \
                    -double         true  \
                    -depth          true  \
                    -depthsize      1     \
                    -alpha          false \
                    -alphasize      1     \
                    -stencil        false \
                    -stencilsize    1     \
                    -auxbuffers     0     \
                    -overlay        false \
                    -stereo         false \
                    -time           100   \
                    -accum          false \
                    -accumredsize   1     \
                    -accumgreensize 1     \
                    -accumbluesize  1     \
                    -accumalphasize 1     ]

・fs/FS_Multi.tcl

    set fs($spin,$i,togl) [togl $togl \
                               -ident  $togl \
                               -rgba           true  \
                               -redsize        1     \
                               -greensize      1     \
                               -bluesize       1     \
                               -double         true  \
                               -depth          true  \
                               -depthsize      1     \
                               -alpha          false \
                               -alphasize      1     \
                               -stencil        false \
                               -stencilsize    1     \
                               -auxbuffers     0     \
                               -overlay        false \
                               -stereo         false \
                               -time           100   \
                               -accum          false \
                               -accumredsize   1     \
                               -accumgreensize 1     \
                               -accumbluesize  1     \
                               -accumalphasize 1     ]

2014-11-05 23:08 GMT+09:00 Tone Kokalj <tone.kokalj at ijs.si>:
> On Wed, 2014-10-29 at 10:52 +0900, Hideyuki KAMISAKA wrote:
>> Dear Dan,
>>
>> Did you try to fix the problem by modifying
>> the Togl options in xcrysden-1.5.60/Tcl/Viewer.tcl
>> and xcrysden-1.5.60/Tcl/fs/FS_{Main,Multi}.tcl ?
>>
>> We have compiled xcrysden-1.5.53 on CentOS 5.7 successfully.
>> No special installation of additional middleware was needed.
>> The "-accum*" and ‘-stereo’, '-time' options in Togl was the key in our case.
>
> This sounds interesting!
>
> Would you please send me the respective modification that runs in your
> case.
>
> Regards,
> --
> Anton Kokalj
> J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
> (tel: +386-1-477-3523 // fax:+386-1-477-3822)
>
> Please, if possible, avoid sending me Word or PowerPoint attachments.
> See:  http://www.gnu.org/philosophy/no-word-attachments.html
>
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden



-- 
Hideyuki KAMISAKA

Solid State Chemistry Laboratory,
Department of Chemistry, School of Science,
The University of Tokyo
7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033, Japan
E-mail: kami at chem.s.u-tokyo.ac.jp
TEL/FAX: 03-5841-4354


More information about the XCrySDen mailing list