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

ERROR Unable to create link - better error message #646

Open
ilbinek opened this issue Feb 6, 2024 · 3 comments
Open

ERROR Unable to create link - better error message #646

ilbinek opened this issue Feb 6, 2024 · 3 comments
Labels
bug Something isn't working need info

Comments

@ilbinek
Copy link

ilbinek commented Feb 6, 2024

When HEMTT fails to create a symlink to the arma folder, a generic error is shown.
Unable to create link: Nelze vytvo�it soubor, kter� ji� existuje. (pardon my Czech).

This was caused by there already being a %pathtoarma%/prefix/tag symlink. Deleting this symlink manually fixes the error, but it's required to look into HEMTT logs to find out what happened. A better error message would be nice.

Logs

2024-02-06T14:35:12.328920Z TRACE ThreadId(01) junction link "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Arma 3\\x\\tbd" => "E:\\arma\\tbd_addon\\.hemttout\\dev"
2024-02-06T14:35:12.336029Z TRACE ThreadId(01) directory symbolic link "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Arma 3\\x\\tbd" => "E:\\arma\\tbd_addon\\.hemttout\\dev"
2024-02-06T14:35:12.341714Z ERROR ThreadId(01) Unable to create link: Nelze vytvo�it soubor, kter� ji� existuje.
@BrettMayson BrettMayson added the bug Something isn't working label Feb 6, 2024
@BrettMayson
Copy link
Owner

did the link already exist from a using a previous tool, did you move the source files somewhere else, or did it just pop up while using hemtt as normal?

@ilbinek
Copy link
Author

ilbinek commented Feb 18, 2024

Can't say for sure, but my guess is that it was created by hemtt from different project with same prefix

@BrettMayson
Copy link
Owner

There's already a check to see if the link exists, this one may just need to wait until someone can reproduce it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need info
Projects
None yet
Development

No branches or pull requests

2 participants