[Debichem-devel] Bug#1100686: /usr/bin/xcrysden: Cannot launch xcrysden

Visuwesh visuweshm at gmail.com
Mon Mar 17 10:02:09 GMT 2025


Package: xcrysden
Version: 1.6.2-4
Severity: important
File: /usr/bin/xcrysden

Dear Maintainer,

I cannot launch xcrysden (with or w/o args),

    % xcrysden

    +-----------------------------------------------------------------+
    |*****************************************************************|
    |*                                                               *|
    |*  XCrySDen -- (X-Window) CRYstalline Structures and DENsities  *|
    |*               =         ===         =              ===        *|
    |*---------------------------------------------------------------*|
    |*                                                               *|
    |*    Anton Kokalj (tone.kokalj at ijs.si)                          *|
    |*    Jozef Stefan Institute, Ljubljana, Slovenia                *|
    |*                                                               *|
    |*    Copyright (c) 1996--2019 by Anton Kokalj                   *|
    |*                                                               *|
    |*****************************************************************|
    +-----------------------------------------------------------------+

      Version: 1.6.2

      Please report bugs to: tone.kokalj at ijs.si


      TERMS OF USE:
      -------------
      XCRYSDEN is released under the GNU General Public License.

      Whenever graphics generated by XCRYSDEN are used in scientific
      publications, it shall be greatly appreciated to include an explicit
      reference. The preferred form is the following:

      [ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.
	    Code available from http://www.xcrysden.org/.

    XCRYSDEN_TOPDIR=/usr/share/xcrysden
    XCRYSDEN_SCRATCH=/tmp

    Running on platform : unix
       Operating system : Linux
    Package Ppmtompeg: /usr/bin/ppmtompeg
    Package Xwd: /usr/bin/xwd
    Executing: /usr/lib/xcrysden/ftnunit
    X Error of failed request: BadWindow (invalid Window parameter)
	Major opcode of failed request: 3
	ResourceID in failed request: 0xffffffff
	Serial number of failed request: 937
    X Error of failed request: BadWindow (invalid Window parameter)
	Major opcode of failed request: 3
	ResourceID in failed request: 0xffffffff
	Serial number of failed request: 939
    Error in startup script:
    Couldn't configure togl widget
	while executing
    "togl .mesa  -width          400  -height         400  -ident          .mesa  -rgba           $toglOpt(rgba)           -redsize        $toglOpt(redsize..."
	(procedure "PlaceGlobWin" line 107)
	invoked from within
    "PlaceGlobWin 0 [expr round(670 * $fac1)] [expr round(670 * $fac1)]"
	(procedure "ViewMol" line 25)
	invoked from within
    "ViewMol ."
	invoked from within
    "if { [llength $argv] > 2 } {
	parseComLinArg [lrange $argv 2 end]
    } else {
	ViewMol .
    }"
	(file "/usr/share/xcrysden/Tcl/xcInit.tcl" line 633)

The same error is shown if I launch the binary downloaded from
http://www.xcrysden.org/Download.html:

    % pwd
    /home/viz/tmp/xcrysden-1.6.2-bin-shared
    % ./xcrysden

    +-----------------------------------------------------------------+
    |*****************************************************************|
    |*                                                               *|
    |*  XCrySDen -- (X-Window) CRYstalline Structures and DENsities  *|
    |*               =         ===         =              ===        *|
    |*---------------------------------------------------------------*|
    |*                                                               *|
    |*    Anton Kokalj (tone.kokalj at ijs.si)                          *|
    |*    Jozef Stefan Institute, Ljubljana, Slovenia                *|
    |*                                                               *|
    |*    Copyright (c) 1996--2019 by Anton Kokalj                   *|
    |*                                                               *|
    |*****************************************************************|
    +-----------------------------------------------------------------+

      Version: 1.6.2

      Please report bugs to: tone.kokalj at ijs.si


      TERMS OF USE:
      -------------
      XCRYSDEN is released under the GNU General Public License.

      Whenever graphics generated by XCRYSDEN are used in scientific
      publications, it shall be greatly appreciated to include an explicit
      reference. The preferred form is the following:

      [ref] A. Kokalj, J. Mol. Graph. Model., Vol. 17, pp. 176-179, 1999.
	    Code available from http://www.xcrysden.org/.

    XCRYSDEN_TOPDIR=/home/viz/tmp/xcrysden-1.6.2-bin-shared
    XCRYSDEN_SCRATCH=/tmp

    Running on platform : unix
       Operating system : Linux
    Package Ppmtompeg: /usr/bin/ppmtompeg
    Package Xwd: /usr/bin/xwd
    Executing: /home/viz/tmp/xcrysden-1.6.2-bin-shared/bin/ftnunit
    X Error of failed request: BadWindow (invalid Window parameter)
	Major opcode of failed request: 3
	ResourceID in failed request: 0xffffffff
	Serial number of failed request: 933
    X Error of failed request: BadWindow (invalid Window parameter)
	Major opcode of failed request: 3
	ResourceID in failed request: 0xffffffff
	Serial number of failed request: 935
    Error in startup script:
    Couldn't configure togl widget
	while executing
    "togl .mesa  -width          400  -height         400  -ident          .mesa  -rgba           $toglOpt(rgba)           -redsize        $toglOpt(redsize..."
	(procedure "PlaceGlobWin" line 107)
	invoked from within
    "PlaceGlobWin 0 [expr round(670 * $fac1)] [expr round(670 * $fac1)]"
	(procedure "ViewMol" line 25)
	invoked from within
    "ViewMol ."
	invoked from within
    "if { [llength $argv] > 2 } {
	parseComLinArg [lrange $argv 2 end]
    } else {
	ViewMol .
    }"
	(file "/home/viz/tmp/xcrysden-1.6.2-bin-shared/Tcl/xcInit.tcl" line 633)

I'm using Xfce4 if it matters.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xcrysden depends on:
ii  bwidget                                          1.10.1-1
ii  gawk                                             1:5.2.1-2+b1
ii  graphicsmagick-imagemagick-compat [imagemagick]  1.4+really1.3.45-1
ii  libc6                                            2.40-7
ii  libfftw3-double3                                 3.3.10-2+b1
ii  libgfortran5                                     14.2.0-17
ii  libgl1                                           1.7.0-1+b2
ii  libgl2ps1.4                                      1.4.2+dfsg1-2
ii  libglu1-mesa [libglu1]                           9.0.2-1.1+b3
ii  libtcl8.6                                        8.6.16+dfsg-1
ii  libtk8.6                                         8.6.16-1
ii  libtogl2                                         2.0-3
ii  libx11-6                                         2:1.8.10-2
ii  openbabel                                        3.1.1+dfsg-11+b3
ii  xcrysden-data                                    1.6.2-4

xcrysden recommends no packages.

Versions of packages xcrysden suggests:
pn  gifsicle  <none>
pn  mencoder  <none>
ii  netpbm    2:11.09.02-2
ii  x11-apps  7.7+11+b1

-- no debconf information



More information about the Debichem-devel mailing list