OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000450OMNeT++runtime / Tkenvpublic2011-11-21 10:072011-12-15 14:06
Reportermichael 
Assigned Toandras 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.2 
Target VersionFixed in Version4.2.1 
Summary0000450: Can not start any GUI simulation on linux (Tkenv: bad option "iconphoto")
DescriptionOMNeT++ Discrete Event Simulation (C) 1992-2011 Andras Varga, OpenSim Ltd.
Version: 4.2, build: 111116-7631e2d, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
Setting up Tkenv...
Loading NED files from ..: 23
Loading NED files from ../../src: 78
Loading NED files from ../../tests: 46

End.

<!> Tkenv: bad option "iconphoto": must be aspect, attributes, client, colormapwindows, command, deiconify, focusmodel, frame, geometry, grid, group, iconbitmap, iconify, iconmask, iconname, iconposition, iconwindow, maxsize, minsize, overrideredirect, positionfrom, protocol, resizable, sizefrom, stackorder, state, title, transient, or withdraw
.

Simulation terminated with exit code: 1
Additional InformationIt is a RHEL4 64-bit on windows there are no problem with the simulation!?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000606)
andras (administrator)
2011-11-21 11:10

Which RHEL version? More important, what is the Tcl/Tk version?
(0000615)
michael (reporter)
2011-11-21 12:44

RHEL4: is version 4

>uname -a
Linux compute-0-12.local 2.6.9-55.0.2.ELsmp 0000001 SMP Tue Jun 12 17:58:20 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

>type tclsh
tclsh is /usr/bin/tclsh
>tclsh
% puts $tcl_version
8.4
% info patchlevel
8.4.7
(0000619)
michael (reporter)
2011-11-21 13:34

it is RHEL 4.3
(0000631)
andras (administrator)
2011-11-21 23:28

Thanks! Version comparison was implemented wrong in tkenv/main.tcl, fixed.

Workaround: find the following lines in main.tcl, around line 121, and remove them:

        # On linux, 8.4.19 was tested and known to be working.
        if {[is_tk_at_least "8.4.19"]} {
            wm iconphoto . -default $iconphoto_other
            wm iconphoto . $iconphoto_main
        }

- Issue History
Date Modified Username Field Change
2011-11-21 10:07 michael New Issue
2011-11-21 11:10 andras Note Added: 0000606
2011-11-21 12:44 michael Note Added: 0000615
2011-11-21 13:34 michael Note Added: 0000619
2011-11-21 23:28 andras Note Added: 0000631
2011-11-21 23:29 andras Status new => resolved
2011-11-21 23:29 andras Fixed in Version => 4.3b1
2011-11-21 23:29 andras Resolution open => fixed
2011-11-21 23:29 andras Assigned To => andras
2011-12-15 14:06 rhornig Fixed in Version 4.3b1 => 4.2.1


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker