public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
From: Hugo Varotto <hugov@tr.comm.mot.com>
To: sourcenav@sources.redhat.com
Subject: Printing XREF from SN 5.0
Date: Thu, 24 May 2001 08:13:00 -0000	[thread overview]
Message-ID: <3B0D2531.1DFAD35@tr.comm.mot.com> (raw)
In-Reply-To: <3B0B9C49.9F6D0F7F@T-Online.de>

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)

  reply	other threads:[~2001-05-24  8:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-23  4:19 printout Eckhard Fröbel
2001-05-24  8:13 ` Hugo Varotto [this message]
2001-05-24 12:15   ` Printing XREF from SN 5.0 Mo DeJong
2001-05-24 12:37     ` Mo DeJong
2001-05-24 13:40       ` Hugo Varotto
2001-05-24 13:49         ` Mo DeJong
2001-05-29 15:19           ` Hugo Varotto
2001-05-29 16:31             ` Helping new SN users (Re: Printing XREF from SN 5.0) Mo DeJong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B0D2531.1DFAD35@tr.comm.mot.com \
    --to=hugov@tr.comm.mot.com \
    --cc=sourcenav@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).