This is the mail archive of the
sourcenav@sources.redhat.com
mailing list for the Source Navigator.
Printing XREF from SN 5.0
- To: sourcenav at sources dot redhat dot com
- Subject: Printing XREF from SN 5.0
- From: Hugo Varotto <hugov at tr dot comm dot mot dot com>
- Date: Thu, 24 May 2001 10:13:53 -0500
- Organization: Motorola Inc.
- References: <3B0B9C49.9F6D0F7F@T-Online.de>
- Reply-To: Hugo dot Varotto at motorola dot com
Hello,
I downloaded the binary version of Sn 5.0 for sun-sparc, and I'm having problem
printing from inside SN. Specifically, every time that I select the print option
( either from iside the editor, xref, etc ), a big dialog window pops up that
says:
Bad option "on_close" should be one of ..."
and it gives a very long list of window names, properties, etc.
I cannot even get to the print option dialog.
Strangely, this works great if I use 4.52
So, I'm puzzled by this, and I was planning on getting the source code and take
a chance on it, but before I was wondering if somebody else is having the same
problem and how did you solve. If that's not the case, could somebody point to
the possible reason of this happening. Lastly ( and I believe I need the input
from a SN developer ), which function/module should I look at to figure out
what's going on ?
I'm not the same one having this problem, 3 other co-workers are having the same
problem.
I also downloaded the snapshot from April and I'm still having the same problem.
However, I'm able to print source-code, just not XREFs.
I tried to compare the files between 4.52 and 5.0 but they're completely
different.
I'm running Source Navigator on a Sun Sparc Ultra 10 under Solaris 2.6
Finally, thanks to all the Source Navigator developers, this is an incredible
tool !
Hugo
PS: I'm attaching the trace of the bug in case somebody knows what the problem
might be
( I'm not an expert in TCL ).
bad option "on_close": should be one of...
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog
CalcPostScriptPages factor
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog CheckTakeFocus
window
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog PopModalStack
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog
PrintPostScriptPages
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog PushModalStack
window
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog TopModalStack
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog __grid ?arg arg
...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog activate
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog aspect ?arg arg
...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog bind_tk ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog centerOnScreen
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog cget option
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog client ?arg arg
...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog colormapwindows
?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog command ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog component
?name? ?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog config ?option?
?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog config_tk ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog configure
?option? ?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog deactivate ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog deiconify
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog focus_tk ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog focusmodel ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog frame_tk
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog geometry ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog grab ?arg arg
...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog group ?arg arg
...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog iconify
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog iconposition
?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog icontwindow
?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog isa className
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog itk_component
option ?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog itk_initialize
?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog itk_option
option ?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog maxsize ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog minsize ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog move_to_mouse
?swap?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog
overrideredirect ?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog pageformat fmt
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog positionfrom
?arg arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog
postscript_parameters
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog printit
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog protocol ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog raise ?arg arg
...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog resizable ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog sizefrom ?arg
arg ...?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog state
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog take_focus
?wdg?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog title ?argl?
?umlaut_map?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog transient
?window?
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog window_name
.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog withdraw
while executing
"${this} on_close "$itk_component(hull).actionframe.button_0 invoke""
while constructing object
"::.multiwindow-1.nbook.nbframe.xref.paned.xref.xref.print_dialog" in
::PrintDialog::constructor (body line 17)
invoked from within
"PrintDialog $this.print_dialog -canvas ${can} -leader ${topw} -modality
application -file [file join $sn_options(profile_dir) xref.ps"
(object "::.multiwindow-1.nbook.nbframe.xref.paned.xref.xref" method
"::XRef&::print" body line 10)
invoked from within
"${ActiveWidget} print"
(object "::.multiwindow-1" method "::MultiWindow&::file_print" body line 2)
invoked from within
"::.multiwindow-1 file_print"
(in namespace inscope "::MultiWindow&" script line 1)
invoked from within
"namespace inscope ::MultiWindow& {::.multiwindow-1 file_print}"
invoked from within
".multiwindow-1.#multiwindow-1#menu.#multiwindow-1#menu#file invoke active"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke active]"
(procedure "tkMenuInvoke" line 29)
invoked from within
"tkMenuInvoke .multiwindow-1.#multiwindow-1#menu.#multiwindow-1#menu#file 1
"
(command bound to event)