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

Wiki folder missing folder cause crash #784

Open
tuntematonjr opened this issue Oct 7, 2024 · 7 comments
Open

Wiki folder missing folder cause crash #784

tuntematonjr opened this issue Oct 7, 2024 · 7 comments

Comments

@tuntematonjr
Copy link

tuntematonjr commented Oct 7, 2024

Tools (complete and add to the following information):

  • HEMTT: 1.13.0
  • Operating System: Windows 10

Description:

When using hemtt launch, an error occurs if certain files are deleted from the %LOCALAPPDATA%\acemod\arma3-wiki folder. This affects all mods, which were previously built successfully. Deleting the entire folder, however, forces HEMTT to redownload the necessary files, resolving the issue.

ERROR panicked at C:\Users\runneradmin/.cargo\registry\src\index.crates.io-6f17d22bba15001f\arma3-wiki-0.3.2\src/lib.rs:137:89:
called `Result::unwrap()` on an `Err` value: Os { code: 3, kind: NotFound, message: "Määritettyä polkua ei löydy." }

"Määritettyä polkua ei löydy." means "The specified path cannot be found."

Steps to reproduce:

  1. Attempt to use hemtt launch with any mod.
  2. Delete files from the commands folder inside %LOCALAPPDATA%\acemod\arma3-wiki.
  3. Attempt to use hemtt launch again.

Expected behavior:
HEMTT should function normally or rebuild the missing files after deletion of specific files.

Logs:
latest.log

Additional context:
i tried to reinstall hemtt and it did not help.

@tuntematonjr tuntematonjr added the bug Something isn't working label Oct 7, 2024
@tuntematonjr
Copy link
Author

I did some testing, and it seems that deleting the %LOCALAPPDATA%\acemod folder fixes the issue.

It appears that I can delete all the files from the commands folder (which just causes random build errors due to missing commands), but if I delete the folder itself, I get the error. It looks like everything except for the last-update.timestamp file can be deleted until hemtt redownloads everything.

@tuntematonjr tuntematonjr changed the title Crash on dev/build/launch/release/wiki commands Wiki folder missing folder cause crash Oct 7, 2024
@BrettMayson
Copy link
Owner

Why are you deleting files in there?

@BrettMayson BrettMayson added need info and removed bug Something isn't working labels Oct 9, 2024
@tuntematonjr
Copy link
Author

The log file mentioned something about the wiki, so I found that folder. I’ve also seen VS Code giving some errors, not sure if that’s related, but it was my only lead, so I gave it a shot to fix the issue.

I’m not sure why it broke in the first place, i touched it after I started getting errors.

@BrettMayson
Copy link
Owner

What was the problem you were trying to fix by deleting files in that folder?

@tuntematonjr
Copy link
Author

I got the same error mentioned in the original post, and the log file is from the first time I encountered it. Deleting the entire folder fixed it, but I wanted to test what specifically caused the error.

It gave me the same error with all the commands hemtt run dev/build/launch/release/wiki

@BrettMayson
Copy link
Owner

Ah ok, it wasn't clear that you encountered the error before you deleted some of the files manually, which made this a very weird issue to report

@tuntematonjr
Copy link
Author

Oh yeah, seems like I deleted that part when I edited the post. Sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants