This is very strange :)

Actually, the screenshot of step 4 is what happens after clicking in one of
the classes; 
This is the first thing that happens, and is exactly like yours 
http://tagus.inesc-id.pt/~pestrela/ns2/step4_very_start.PNG

I can only think of you to upgrade your TK version 
(I'm using 8.4.11, and the guide was made in linux using 8.4.5). You are
currently using 8.4.7.

test b) showed that nstk is processing the TK commands well. 
So, this should be a problem of some command contained in Mash inspector
itself. 
The problem is that MashInspector doesn’t run in wish because it lacks otcl.
(you could try to compile Mash itself, but it will not be easy).

Its probably faster to get a linux machine, patch it according to my guide,
and try the inspector; 
after that, you can evaluate the inspector's capabilities for yourself, and
decide if it is worth the effort to try to find the bug.

Pedro Estrela





-----Original Message-----
From: Andrés Emilio Arcia Moret [mailto:[EMAIL PROTECTED] 
Sent: quarta-feira, 7 de Fevereiro de 2007 21:36
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [ns] MASH Inspector (nstk?) problems

Hello,

So far I have done both tests that you requested and both have executed
neatly.

Answer for question a): yes it works.

http://webdelprofesor.ula.ve/ingenieria/amoret/question_a.png   

Answer for question b): yes it works for both. 

http://webdelprofesor.ula.ve/ingenieria/amoret/question_b.png  

However, I get this weird behavior for the MASH inspector. The inspector
shows up when called but once I try to roll down the scrollbar, the whole
thing hangs. Also, from the very beginning the inspector is not showing 
what it should (at least what you show at:
http://tagus.inesc-id.pt/~pestrela/ns2/step4.PNG). By the way, I tried one
script for testing scrollbars in nstk and worked well.

The result is at:

http://webdelprofesor.ula.ve/ingenieria/amoret/smashed_mash.png 

Thanks for your help.
On 2/7/07, Pedro Vale Estrela <[EMAIL PROTECTED]> wrote:

Hi

Regarding the nstk, what I've done is to clone the wish.c file from a very
recent TCL distribution (I guess the one that came with NS2.29 all in one),
and merged it with the NS2 code (tclappinit.cc ).

a) Can you run the TKcon console?
http://tagus.inesc-id.pt/~pestrela/ns2/step3.PNG

b) find any simple TK command that works in your "wish" version, and try it 
in nstk. Does it work?

(I've made nstk in a linux PC, running debian distribution and NS_all_in_one
2.29)

Other users that have successfully installed "nstk", please comment on this
topic! 

Pedro Vale Estrela


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On
Behalf
> Of Andrés Emilio Arcia Moret
> Sent: quarta-feira, 7 de Fevereiro de 2007 17:22
> To: [email protected]
> Subject: [ns] MASH Inspector (nstk?) problems 
>
>
> Hi everyone,
>
> I just did all the steps nicely explained in the Pedro Estrela's
> homepage to work with the debugger. All installation steps work well
> (show no error messages). However, when testing the MASH Inspector as 
> indicated, the MASH window starts "trembling" at the right border and
> couple of seconds later nstk hangs.
>
> I am using a MacBook Pro/OS X and ns-2.30.
>
> I guess is the wish version that the nstk takes by default, which is 
> not using plain X11 windows. So, I don't know how to generate an
> "nstk" with the X11 wish version. This is, at least, to see if the tk
> version is the one with the problem.
>
> Any help would be appreciated.
>
> --
> Andrés Arcia



-- 
--
Andrés Arcia 


Reply via email to