You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The super weird part is that if I run the exact same command a second time, it puts the cache file in the working directory (--cache-path .), as I would expect it to.
Also if I give it a name (--cache-path ./cachetest.cache) it will always on first run put a igir.cache file in my home directory, and then a second run it will put a igir.cache in the working directory. Which is to say, it's ignoring the filename I am specifying. But maybe that's expected, not sure.
Actually, I just deleted both cache files (home directory and in my working directory of /home/pcx/Desktop/test) and then ran this command:
npx --yes igir@latest move zip test --dat "https://raw.githubusercontent.com/libretro/FBNeo/master/dats/FinalBurn%20Neo%20(ClrMame%20Pro%20XML%2C%20Arcade%20only).dat" --input . --output . --no-bios --no-device --cache-path /home/pcx/Desktop/cachetest.cache -vvv
First time running it, it makes igir.cache in my home directory, second time it's created in my working directory (???), third time and more it doesn't make any other files. The /home/pcx/Desktop/cachetest.cache is never created. I am very confused on how it made one in my working directory when I never specified it in the command...
Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
emmercm
added
bug
A confirmed issues that needs fixing
and removed
potential-bug
A potential issue that needs confirmation and/or triage
labels
May 22, 2024
Definitely a bug. It's still writing zero-byte cache files to the old directories even if a custom path is provided. It's how I was testing what path is writable (#1060).
Separately, the path provided should be a file rather than a directory, so . doesn't make sense, but I can add detection for that.
Paste the command
Describe the bug
I could just be doing something wrong, but when I try to use the new
--cache-path
option, the trace log saysOr
But then the cache file still ends up in my home directory instead of where I want it.
Expected behavior
For the cache file to be created where
--cache-path
points to.Debug logs
output.log
DAT(s) used
No response
igir version
2.7.0
Node.js version
v22.2.0
Operating system
Arch Linux
Additional context
The super weird part is that if I run the exact same command a second time, it puts the cache file in the working directory (
--cache-path .
), as I would expect it to.Also if I give it a name (
--cache-path ./cachetest.cache
) it will always on first run put aigir.cache
file in my home directory, and then a second run it will put aigir.cache
in the working directory. Which is to say, it's ignoring the filename I am specifying. But maybe that's expected, not sure.Actually, I just deleted both cache files (home directory and in my working directory of
/home/pcx/Desktop/test
) and then ran this command:First time running it, it makes
igir.cache
in my home directory, second time it's created in my working directory (???), third time and more it doesn't make any other files. The/home/pcx/Desktop/cachetest.cache
is never created. I am very confused on how it made one in my working directory when I never specified it in the command...Any help would be appreciated!
The text was updated successfully, but these errors were encountered: