Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HeyRed.Mime.MagicException: Could not find any valid magic files! on Windows Server 2012 R2 when program is on path with ů #54

Open
janseris opened this issue Feb 27, 2024 · 0 comments

Comments

@janseris
Copy link

janseris commented Feb 27, 2024

Hi, on Windows 11 on two machines and Microsoft Windows Server 2019 Standard
10.0.17763 N/A Build 17763, it works fine.
However on Windows Server 2012 R2, it reports:

HeyRed.Mime.MagicException: Could not find any valid magic files!

I did not install anything manual on the Windows 11 machines.
The application is distributed using MSI installer x64.

Magic files are present (I cut the folder path to show relative path):

obrazek

Do you please have any idea why?

Edit: I noticed that if I change instalation path to C:/ instead of C:/Program Files/path with spaces and symbols like ů, it works correctly.
Edit2: removing the symbol ů from path helped. It works correctly on newer machines, though, regardless of path.

@janseris janseris changed the title HeyRed.Mime.MagicException: Could not find any valid magic files! on Windows Server 2012 R2 HeyRed.Mime.MagicException: Could not find any valid magic files! on Windows Server 2012 R2 when program is on path with ů Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant