Ethereal-dev: Re: [Ethereal-dev] asn1 dissector and default.tt

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 8 Jan 2004 10:31:24 -0800
On Thu, Jan 08, 2004 at 10:56:03AM -0700, Greg Morris wrote:
> If I install to a different location then c:\program files\Ethereal on
> Win32 then I get a console window opened when I launch ethereal
> indicating that it cannot load c:\program
> files\ethereal\asn1\default.tt.
> 
> I look at my preferences and sure enough the path is there for the
> option ASN.1 type table file:

Yes, but it's probably the path for the default installation directory.

Change it to replace "c:\Program Files\Ethereal" with the directory into
which you installed it.  It looks as if it should provide the right path
if you don't have a preferences file, but if you already have a
preferences file with the default path in it, it won't override it.

> I look on a Win32 machine that doesn't exibit this behavior and the
> path is the same. I look at this directory and there is no asn1
> directory and no default.tt file. 

We don't supply one.

> What is the purpose of this setting?

To let you specify a file generated by Snacc for an ASN.1-based
protocol.

> If I blank out the entry it still doesn't elliminate the problem.

I'd say that's a bug.  If the pathname is blank, it should assume you
don't have a .tt file for it to read.

We should also make that, rather than "{installation
directory}/default.tt", be the default.