Guy, this one piqued my curiosity, and since I have MSVC 6.0 and Win2k...
I have checked this out on our WIN2K machines here. Both workstation and
server machines have
HOMEDRIVE=D:
HOMEPATH=\
The workstation has Ethereal loaded, and it works fine.
Win2k does work with paths of the form
//cbtusa\macvol\users\jgaskill/.ethereal/.
Ethereal 0.8.20 does work if I change my HOMEDRIVE/HOMEPATH to:
HOMEDRIVE=//
HOMEPATH=diana\scratch
Note that APPDATA and USERPROFILE are not used in 0.8.20, and do not appear
to be used in Jeanne's case. They are used in the latest nightly builds.
I have investigated the calls that loading and saving dfilters uses, and I
can not get it to fail with EINVAL. See the attachment for the code I used.
This smells like a clue, to me. Most of the failures are ENOENT or EEXIST,
as you might expect.
rename() fails EINVAL if the new name contains invalid characters.
".ethereal" starts with a period and is nine characters long, I can imagine
it being an invalid name on some exotic fileservers, but I wouldn't bet on
it.
----------------------------------------------
Jeanne, is the machine "cbtusa" a server? What operating system does it run?
Can you create a directory ".ethereal" on it? (I think you have said that
you have done so already.)
A workaround would be to set HOMEDRIVE and HOMEPATH to something more normal
before starting ethereal. For example, a .bat file, or just typing to a
command prompt as follows:
set HOMEDRIVE=C:
set HOMEPATH=\
ethereal
So long as the variables are not changed for Win2k as a whole this should
not have any consiquences.
I hope this was of some use. Tomorrow, how to suck eggs.
-----Original Message-----
From: Guy Harris [mailto:guy@xxxxxxxxxx]
Sent: 07 November 2001 23:30
To: jeanne_gaskill@xxxxxxxxxxxxxx
Cc: ethereal-users@xxxxxxxxxxxx
Subject: Re: [Ethereal-users] Error when opening Ethereal
> How about on the Win 98 machine?
I don't have a Windows 98 machine at home or at work.
It might work. No guarantees.
> Could you include
> a printout of the contents of the \appdata\ethereal folder.
No, because the contents depend on what's been saved. That folder is a
subdirectory of your profile directory; it's *not* a directory that's part
of the Ethereal installation. Ethereal is supposed to create it if it needs
to save something in it and it doesn't already exist - and it did so on my
NT 4.0 partition at home. Something about W2K is getting in the way on my
work machine, although the code looks as if it should work correctly.
I.e., it's not "C:\APPDATA\Ethereal", or "C:\Program
Files\Ethereal\APPDATA\Ethereal", it's "C:\Documents and Settings\{your
login name}\Application Data\Ethereal", or something like that.
_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users
Attachment:
test.cpp
Description: Binary data