Bug#600420: Error in tcl code to display slicer website
Steve M. Robbins
smr at debian.org
Sun Oct 17 00:56:16 UTC 2010
Package: slicer
Version: 3.6.0~svn13936-1
Severity: normal
I clicked on the website URL (http://www.slicer.org) displayed
in the "Welcome & About" module box. This brought up a dialog
saying that I need to set the path to Firefox. Once I click
"OK", the following error is dumped to the console:
ERROR: In /build/buildd-kwwidgets_1.0.0~cvs20100630-1-amd64-Dc38BM/kwwidgets-1.0.0~cvs20100630/vtkKWTkUtilities.cxx, line 230
vtkSlicerApplication (0x1bb9fe0):
Script:
if { "http://www.slicer.org" != "" } {
if { $::tcl_platform(os) == "Darwin" } {
#--- on mac you can easily open in any browser,
#--- but bookmarks will only be saved in Firefox Bookmark file format.
#--- so to use the bookmarks, you'll have to use firefox later....
exec open http://www.slicer.org
} else {
set browser [ $::slicer3::Application GetWebBrowser ]
if { ![file executable $browser] } {
set dialog [vtkKWMessageDialog New]
$dialog SetParent [$::slicer3::ApplicationGUI GetMainSlicerWindow]
$dialog SetStyleToMessage
$dialog SetText "Please use the following dialog to set the path to the Firefox Browser and then re-run your query."
$dialog Create
$dialog Invoke
$dialog Delete
set window [$::slicer3::ApplicationGUI GetMainSlicerWindow]
set interface [$window GetApplicationSettingsInterface]
$interface Show
set manager [$interface GetUserInterfaceManager]
$manager RaiseSection 0 "Slicer Settings"
return
} else {
#--- For Windows or Linux builds:
exec $browser -new-tab http://www.slicer.org &
}
}
}
Returned Error on line 1:
Stack trace:
wrong # args: should be "place option|pathName args"
while executing
"place forget"
("eval" body line 1)
invoked from within
"eval place forget [place slaves .vtkSlicerWindow2.vtkKWMessageDialog15.vtkKWFrame0.vtkKWFrame4]"
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages slicer depends on:
ii itcl3 3.4~b1-2 [incr Tcl] OOP extension for Tcl -
ii iwidgets4 4.0.1-5 [incr Widgets] Tk-based widget col
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libfreetype6 2.4.2-2 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.5-4 GCC support library
ii libgdcm2.0 2.0.16-2 Grassroots DICOM runtime libraries
ii libgl1-mesa-glx [ 7.7.1-4 A free implementation of the OpenG
ii libinsighttoolkit 3.18.0-4 Image processing toolkit for regis
ii libkwwidgets1.0.1 1.0.0~cvs20100630-1 Cross-Platform GUI Toolkit - runti
ii libopenigtlink1 1.0.0~svn6270-1 Open IGT Link is a simple network
ii libpython2.6 2.6.6-6 Shared Python runtime library (ver
ii libslicer3 3.6.0~svn13936-1 software package for visualization
ii libstdc++6 4.4.5-4 The GNU Standard C++ Library v3
ii libtiff5 4.0.0~beta6-3 Tag Image File Format (TIFF) libra
ii libvtk5.6 5.6.0-2 Visualization Toolkit - A high lev
ii python-numpy 1:1.4.1-5 Numerical Python adds a fast array
ii slicer-data 3.6.0~svn13936-1 software package for visualization
ii tcl-vtk 5.6.0-2 Tcl bindings for VTK
ii tcl8.5 8.5.8-2 Tcl (the Tool Command Language) v8
ii tcl8.5-kwwidgets 1.0.0~cvs20090825-4+b3 Cross-Platform GUI Toolkit - TCL/T
ii tcllib 1.12-dfsg-2 the Standard Tcl Library
slicer recommends no packages.
slicer suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list