[Bug 52958] New: vague error messaged "File not found" and "Invalid name"

WineHQ Bugzilla wine-bugs at winehq.org
Thu May 5 08:55:10 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52958

            Bug ID: 52958
           Summary: vague error messaged "File not found" and "Invalid
                    name"
           Product: Wine
           Version: 4.0.3
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: martijn at bytehazard.com
      Distribution: ---

Please add a more descriptive error message for the following errors:

"File not found"
[ OK ]

and

"Invalid name"
[ OK ]

Both with 'stop' icon, and shown 10 times in succession.

I *think* they are triggered via "ShellExecute" in my own VB6 legacy
application.
Sorry I can't be more specific than that because the errors are so vague.

For example, it would be tremendously helpful *which* file is not found
(Wine/OS executable/dll file, the targeted command/executable, the file passed
to targeted command/executable, or if it is an error triggered by the
potentially launched application or Wine/OS?

Same for "invalid name". Invalid name what? Name of executable? Drive letter?
Drive mapping? Folder name? File name? Extension name? Application name? OS
name?

The only hint I have is that this message dialogue is Wine styled and thus not
something triggered outside Wine environment. Maybe they are not even related
to ShellExecute.

I'm aware this is probably the most useless bug report ever, I just want to
encourage any developer who is reading this to write more useful error messages
in the future. It has cost both of us more time to write/read this ticket than
to improve the code that displays these errors. And I'm nowhere near finding a
solution for my problem after hours and hours...

No hard feelings, I absolutely love Wine! Thanks for your efforts!

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list