Re: Problem with treeviewer

From: Germano Percossi <germano.percossi_at_roma2.infn.it>
Date: Fri, 21 Oct 2005 11:18:41 +0200


Luca Grandi wrote:
> Dear all, I have a problem with a macro. I would like to stress that as you
> will see by the following macro I am not a pro-user.
> The macro is
>

[cut]

> My problem is that if a executed the macro through the
>
> .x macro5_root_bk.C
>
> It opens a treeviewer window but as soon as I try to double click on a leaf
> I get the error
>
> *** Break *** bus error
>
> The same error is NOT obtained if instead of executing the hole macro a pass
> through command line interface the list of all the instructions contained in
> the function macro5_root_bk. In that case the double click works perfectly.
> Any help please?

Maybe the one you call "macro" is not so. A macro starts with "{": you have defined a C function instead. Leave the name of the file macro5_root_bk.C as it is but clear the line
void macro5_root_bk()
to use it as a macro.

If I'm wrong someone more expert will correct me.

Regards, Germano

P.S: maybe you have set the "Reply To" field to your own address, if this is the case
please leave it blank otherwise replies will go to you directly instead the ML (as it should be) Received on Fri Oct 21 2005 - 11:23:19 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET