Mike Hearn wrote:
Christian Neumair <[EMAIL PROTECTED]> writes:A user often doesn't understand what that means. A proper error message should be, at the very least, something like the following:
That reminds me of asking for nicer, GUI-driven error handling:
touch mustardandwiener.exe &&
wine mustardandwiener.exe
returns
wine: cannot determine executable type for L"H:\\Desktop\\test.exe"
which is neither verbose enough nor user friendly, because it is simply
printed at a terminal. Modern desktop environments usually launch wine
from their file manager, i.e. without terminals.
Well, as to the contents of the message itself, I don't know how it
could be improved. You asked Wine to run an empty file and it said it
can't figure out what kind of executable it is: why is this a problem?
Wine cannot run "H:\Desktop\test.exe". It is not in a format Wine understands.
Also, maybe we need a new debug level for that (above ERR and FIXME), which is "Human readable messages". The message as it is is perfectly understandable to programmers, but not to users. Even if it was, these messages are usually surrounded by hundred of messages that the user have no use in seeing. We should be able to let the user see only the messages that are relevant to them.
Shachar
-- Shachar Shemesh Lingnu Open Source Consulting ltd. http://www.lingnu.com/