public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* printout
@ 2001-05-23  4:19 Eckhard Fröbel
  2001-05-24  8:13 ` Printing XREF from SN 5.0 Hugo Varotto
  0 siblings, 1 reply; 8+ messages in thread
From: Eckhard Fröbel @ 2001-05-23  4:19 UTC (permalink / raw)
  To: sourcenav

Dear Sirs,
The printouts out of my source navigator 4.5.1 are very very small. Can
you help?
(Windows ME, HP Deskjet 880C, Stand alone system, no network)
Best regards
Eckhard

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Printing XREF from SN 5.0
  2001-05-23  4:19 printout Eckhard Fröbel
@ 2001-05-24  8:13 ` Hugo Varotto
  2001-05-24 12:15   ` Mo DeJong
  0 siblings, 1 reply; 8+ messages in thread
From: Hugo Varotto @ 2001-05-24  8:13 UTC (permalink / raw)
  To: sourcenav

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)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Printing XREF from SN 5.0
  2001-05-24  8:13 ` Printing XREF from SN 5.0 Hugo Varotto
@ 2001-05-24 12:15   ` Mo DeJong
  2001-05-24 12:37     ` Mo DeJong
  0 siblings, 1 reply; 8+ messages in thread
From: Mo DeJong @ 2001-05-24 12:15 UTC (permalink / raw)
  To: Hugo.Varotto; +Cc: sourcenav

On Thu, 24 May 2001, Hugo Varotto wrote:

> Hello,

Hi.
 
> 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 ..."

That is PR 38, it slipped by in the 5.0 release.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=38&database=sourcenav&return_url=http%3A%2F%2Fsources.redhat.com%2Fcgi-bin%2Fgnatsweb.pl%3Fdatabase%3Dsourcenav%3Bcmd%3Dsubmit%2520query%3Bcategory%3Dall%3Bseverity%3Dall%3Bpriority%3Dall%3Bresponsible%3Dall%3Bstate%3Dall%3Bclass%3Dall%3Bsynopsis%3D%3Bmultitext%3D%3Bcolumns%3Dcategory%3Bcolumns%3Dconfidential%3Bcolumns%3Dstate%3Bcolumns%3Dclass%3Bcolumns%3Dseverity%3Bcolumns%3Dresponsible%3Bcolumns%3Dsubmitter_id%3Bcolumns%3Dsynopsis%3Bsortby%3DSubmitter-Id%3B.cgifields%3Dcolumns%3B.cgifields%3Doriginatedbyme%3B.cgifields%3Dignoreclosed

> 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 ?

There is a patch for the problem in the PR report.

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Printing XREF from SN 5.0
  2001-05-24 12:15   ` Mo DeJong
@ 2001-05-24 12:37     ` Mo DeJong
  2001-05-24 13:40       ` Hugo Varotto
  0 siblings, 1 reply; 8+ messages in thread
From: Mo DeJong @ 2001-05-24 12:37 UTC (permalink / raw)
  To: sourcenav

On Thu, 24 May 2001, Mo DeJong wrote:

> On Thu, 24 May 2001, Hugo Varotto wrote:
> 
> > Hello,
> 
> Hi.
>  
> > 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 ..."
> 
> That is PR 38, it slipped by in the 5.0 release.
> 
> http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=38&database=sourcenav&return_url=http%3A%2F%2Fsources.redhat.com%2Fcgi-bin%2Fgnatsweb.pl%3Fdatabase%3Dsourcenav%3Bcmd%3Dsubmit%2520query%3Bcategory%3Dall%3Bseverity%3Dall%3Bpriority%3Dall%3Bresponsible%3Dall%3Bstate%3Dall%3Bclass%3Dall%3Bsynopsis%3D%3Bmultitext%3D%3Bcolumns%3Dcategory%3Bcolumns%3Dconfidential%3Bcolumns%3Dstate%3Bcolumns%3Dclass%3Bcolumns%3Dseverity%3Bcolumns%3Dresponsible%3Bcolumns%3Dsubmitter_id%3Bcolumns%3Dsynopsis%3Bsortby%3DSubmitter-Id%3B.cgifields%3Dcolumns%3B.cgifields%3Doriginatedbyme%3B.cgifields%3Dignoreclosed

Woops, sorry about that huge URL. This one is a bit smaller.

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=38&database=sourcenav

Mo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Printing XREF from SN 5.0
  2001-05-24 12:37     ` Mo DeJong
@ 2001-05-24 13:40       ` Hugo Varotto
  2001-05-24 13:49         ` Mo DeJong
  0 siblings, 1 reply; 8+ messages in thread
From: Hugo Varotto @ 2001-05-24 13:40 UTC (permalink / raw)
  To: Mo DeJong; +Cc: sourcenav

Thanks for your very fast answer. This definitely solves the problem. 

Are there any plans on putting it in a new release or snapshot ?  I see that the
snapshot is from sometime in april, and the fix was created in May 14. I assume
that maybe all UNIX users are having this same problem ?

Thanks again !

Hugo



Mo DeJong wrote:
> 
> On Thu, 24 May 2001, Mo DeJong wrote:
> 
> > On Thu, 24 May 2001, Hugo Varotto wrote:
> >
> > > Hello,
> >
> > Hi.
> >
> > > 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 ..."
> >
> > That is PR 38, it slipped by in the 5.0 release.
> >
> > http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=38&database=sourcenav&return_url=http%3A%2F%2Fsources.redhat.com%2Fcgi-bin%2Fgnatsweb.pl%3Fdatabase%3Dsourcenav%3Bcmd%3Dsubmit%2520query%3Bcategory%3Dall%3Bseverity%3Dall%3Bpriority%3Dall%3Bresponsible%3Dall%3Bstate%3Dall%3Bclass%3Dall%3Bsynopsis%3D%3Bmultitext%3D%3Bcolumns%3Dcategory%3Bcolumns%3Dconfidential%3Bcolumns%3Dstate%3Bcolumns%3Dclass%3Bcolumns%3Dseverity%3Bcolumns%3Dresponsible%3Bcolumns%3Dsubmitter_id%3Bcolumns%3Dsynopsis%3Bsortby%3DSubmitter-Id%3B.cgifields%3Dcolumns%3B.cgifields%3Doriginatedbyme%3B.cgifields%3Dignoreclosed
> 
> Woops, sorry about that huge URL. This one is a bit smaller.
> 
> http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=38&database=sourcenav
> 
> Mo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Printing XREF from SN 5.0
  2001-05-24 13:40       ` Hugo Varotto
@ 2001-05-24 13:49         ` Mo DeJong
  2001-05-29 15:19           ` Hugo Varotto
  0 siblings, 1 reply; 8+ messages in thread
From: Mo DeJong @ 2001-05-24 13:49 UTC (permalink / raw)
  To: sourcenav

On Thu, 24 May 2001, Hugo Varotto wrote:
 
> Thanks for your very fast answer. This definitely solves the problem. 
> 
> Are there any plans on putting it in a new release or snapshot ?

Well yes, but we are kind of busy with the Tcl/Tk 8.3 and
Itcl 3.2 upgrade right now.

> I see that the snapshot is from sometime in april, and the
> fix was created in May 14. I assume
> that maybe all UNIX users are having this same problem ?

Yup.

Hey, if you are interested in helping speed up the
release process, we could really use some help writing up
some README files. What we really need to do is
create a good snavigator/README file and then
create a source -> tar file script that will
copy the correct README files into the toplevel
directory of the release .tar file.

Mo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Printing XREF from SN 5.0
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Hugo Varotto @ 2001-05-29 15:19 UTC (permalink / raw)
  To: Mo DeJong; +Cc: sourcenav

Hi Mo,

could you please expand a little bit what you need with respect to the README
files ? I'm not an expert writing documentation neiter an expert in Source
Navigator, but I'll try to help as much as I can.

Hugo


Mo DeJong wrote:
> 
> On Thu, 24 May 2001, Hugo Varotto wrote:
> 
> > Thanks for your very fast answer. This definitely solves the problem.
> >
> > Are there any plans on putting it in a new release or snapshot ?
> 
> Well yes, but we are kind of busy with the Tcl/Tk 8.3 and
> Itcl 3.2 upgrade right now.
> 
> > I see that the snapshot is from sometime in april, and the
> > fix was created in May 14. I assume
> > that maybe all UNIX users are having this same problem ?
> 
> Yup.
> 
> Hey, if you are interested in helping speed up the
> release process, we could really use some help writing up
> some README files. What we really need to do is
> create a good snavigator/README file and then
> create a source -> tar file script that will
> copy the correct README files into the toplevel
> directory of the release .tar file.
> 
> Mo

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Helping new SN users (Re: Printing XREF from SN 5.0)
  2001-05-29 15:19           ` Hugo Varotto
@ 2001-05-29 16:31             ` Mo DeJong
  0 siblings, 0 replies; 8+ messages in thread
From: Mo DeJong @ 2001-05-29 16:31 UTC (permalink / raw)
  To: sourcenav

On Tue, 29 May 2001, Hugo Varotto wrote:

> Hi Mo,

Hi Hugo.
 
> could you please expand a little bit what you need with respect to the README
> files ? I'm not an expert writing documentation neiter an expert in Source
> Navigator, but I'll try to help as much as I can.
> 
> Hugo

For one thing, we want to try to stick to existing best practices.

ftp://ftp.gnu.org/pub/gnu/standards/standards.text

I would think a README and INSTALL file at the very least.
There is already a toplevel README but it does not help
much. What we want it a README that tells people a bit
about Source-Navigator, what it does, why it is useful,
and where to find info about how to build and INSTALL it.

The goal of these initial help files is simply to help
people get started. We don't want people to give up
without even trying simply because they don't know
where to get started (sadly, this is a real problem).

Of course, if you want to know what types of getting
started questions folks are likely to ask, just
go to the source.

http://sources.redhat.com/ml/sourcenav/

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-05-29 16:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-23  4:19 printout Eckhard Fröbel
2001-05-24  8:13 ` Printing XREF from SN 5.0 Hugo Varotto
2001-05-24 12:15   ` 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

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).