Install: Build: nightly-189 fails with PermissionError on work\exefs\mods #918

Open
opened 2026-11-15 20:37:52 +00:00 by guyguygasdjad · 0 comments

What you used

Longshot Builder (Windows)

Version

Build: nightly-189 fails with PermissionError on work\exefs\mods

Channel

Nightly

Where it stopped

Building the game

The error

Longshot Launcher nightly-87-32bf43fa (installed), building nightly-189-aa95d35f.
Windows 10.0.26300, x64; .NET 10.0.15.

The build stops at “Read the game files.” The traceback shows
make_game.py check_modules() at line 436 trying to open
work\exefs\mods as a file, but mods is a directory.

I can create files and folders inside mods in File Explorer. I tried
moving mods out of exefs and moving the generated work\exefs folder
aside, but the build still fails with the same error.

The launcher recognizes my .nup as supported (build e0f3ccfa).
Full “Show details” error and build log:
[Paste the complete details/log here]

Operating system and free space on the output drive

windows 11

Visual Studio or Build Tools version, and Windows SDK version

No response

Log

Longshot Launcher nightly-87-32bf43fa (installed), launcher channel nightly, builds from nightly
Microsoft Windows 10.0.26300, X64, .NET 10.0.15
network: git-cdn.magicbean.dev first, then git.magicbean.dev; proxy: none
what happened: the build stopped: The builder stopped on an error it did not expect: PermissionError: [Errno 13] Permission denied: '~\AppData\Local\LongshotLauncher\work\exefs\mods'. Please send the text under Show details to the Longshot issues page.

build: Update to nightly-189-aa95d35f (nightly)
PC: 15 GB, 16 threads, NVIDIA and AMD GPU
settings: memory automatic, workers automatic, DLSS off, FSR 4 off, XeSS off

build log, its last 200 lines:
Longshot Launcher nightly-87-32bf43fa: update to nightly-189-aa95d35f (nightly)
settings: memory automatic, workers automatic, English (US)
shader caches: kept where they are, in the build's own folder
the compiler: \AppData\Local\LongshotLauncher\toolchains\nightly-189-aa95d35f\LongshotBuilder\tools\llvm-mingw (no Visual Studio needed)
[Read the game files] Reading your game files
the game was read from this .nup before: reading it again is skipped
Traceback (most recent call last):
File "
\AppData\Local\LongshotLauncher\toolchains\nightly-189-aa95d35f\LongshotBuilder\tools\nx2\make_game.py", line 2660, in cli
main(a)
~~~~^^^
File "\AppData\Local\LongshotLauncher\toolchains\nightly-189-aa95d35f\LongshotBuilder\tools\nx2\make_game.py", line 2312, in main
check_modules(exefs)
~~~~~~~~~~~~~^^^^^^^
File "
\AppData\Local\LongshotLauncher\toolchains\nightly-189-aa95d35f\LongshotBuilder\tools\nx2\make_game.py", line 436, in check_modules
with open(os.path.join(exefs, name), "rb") as f:
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '~\AppData\Local\LongshotLauncher\work\exefs\mods'

error: The builder stopped on an error it did not expect: PermissionError: [Errno 13] Permission denied: '~\AppData\Local\LongshotLauncher\work\exefs\mods'. Please send the text under Show details to the Longshot issues page.

launcher log, its last 19 lines:
12:33:31.477 DNS git-cdn.magicbean.dev: 172.67.170.160, 104.21.55.71 (6 ms)
12:33:31.504 connect git-cdn.magicbean.dev 172.67.170.160:443: connected in 26 ms
12:33:31.634 GET https://git-cdn.magicbean.dev/api/v1/repos/MagicBeanDev/Longshot/releases?limit=50&page=1: HTTP 200, 185 ms
12:33:31.690 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.0.0-rc.4/SHA256SUMS: HTTP 200, 45 ms
12:33:31.691 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.0.0-rc.4/SHA256SUMS: 290 bytes in 0 ms
12:33:31.720 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.0.0-rc.4/SHA256SUMS.sig: HTTP 200, 28 ms
12:33:31.720 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.0.0-rc.4/SHA256SUMS.sig: 97 bytes in 0 ms
12:33:31.768 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-189-aa95d35f/SHA256SUMS: HTTP 200, 42 ms
12:33:31.775 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-189-aa95d35f/SHA256SUMS: 308 bytes in 6 ms
12:33:31.808 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-189-aa95d35f/SHA256SUMS.sig: HTTP 200, 33 ms
12:33:31.808 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-189-aa95d35f/SHA256SUMS.sig: 97 bytes in 0 ms
12:33:31.994 GET https://git-cdn.magicbean.dev/api/v1/repos/MagicBeanDev/LongshotLauncher/releases?limit=50&page=1: HTTP 200, 43 ms
12:33:32.033 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/nightly-87-32bf43fa/SHA256SUMS: HTTP 200, 38 ms
12:33:32.033 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/nightly-87-32bf43fa/SHA256SUMS: 372 bytes in 0 ms
12:33:32.075 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/nightly-87-32bf43fa/SHA256SUMS.sig: HTTP 200, 41 ms
12:33:32.075 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/nightly-87-32bf43fa/SHA256SUMS.sig: 97 bytes in 0 ms
12:33:32.077 update check: answered
12:33:33.846 game file check, The Legend of Zelda Ocarina of Time [0400486024DEC000][v1.1.1][Ounce].nup: Supported: This is the version Longshot supports (build e0f3ccfa).
12:33:34.807 game file check, The Legend of Zelda Ocarina of Time [0400486024DEC000][v1.1.1][Ounce].nup: Supported: This is the version Longshot supports (build e0f3ccfa).

Before you send it

  • It still fails on the newest release.
  • I searched the open issues for this error.
  • I'm not attaching game files or anything built from them.
### What you used Longshot Builder (Windows) ### Version Build: nightly-189 fails with PermissionError on work\exefs\mods ### Channel Nightly ### Where it stopped Building the game ### The error ```text Longshot Launcher nightly-87-32bf43fa (installed), building nightly-189-aa95d35f. Windows 10.0.26300, x64; .NET 10.0.15. The build stops at “Read the game files.” The traceback shows make_game.py check_modules() at line 436 trying to open work\exefs\mods as a file, but mods is a directory. I can create files and folders inside mods in File Explorer. I tried moving mods out of exefs and moving the generated work\exefs folder aside, but the build still fails with the same error. The launcher recognizes my .nup as supported (build e0f3ccfa). Full “Show details” error and build log: [Paste the complete details/log here] ``` ### Operating system and free space on the output drive windows 11 ### Visual Studio or Build Tools version, and Windows SDK version _No response_ ### Log Longshot Launcher nightly-87-32bf43fa (installed), launcher channel nightly, builds from nightly Microsoft Windows 10.0.26300, X64, .NET 10.0.15 network: git-cdn.magicbean.dev first, then git.magicbean.dev; proxy: none what happened: the build stopped: The builder stopped on an error it did not expect: PermissionError: [Errno 13] Permission denied: '~\\AppData\\Local\\LongshotLauncher\\work\\exefs\\mods'. Please send the text under Show details to the Longshot issues page. build: Update to nightly-189-aa95d35f (nightly) PC: 15 GB, 16 threads, NVIDIA and AMD GPU settings: memory automatic, workers automatic, DLSS off, FSR 4 off, XeSS off build log, its last 200 lines: Longshot Launcher nightly-87-32bf43fa: update to nightly-189-aa95d35f (nightly) settings: memory automatic, workers automatic, English (US) shader caches: kept where they are, in the build's own folder the compiler: ~\AppData\Local\LongshotLauncher\toolchains\nightly-189-aa95d35f\LongshotBuilder\tools\llvm-mingw (no Visual Studio needed) [Read the game files] Reading your game files the game was read from this .nup before: reading it again is skipped Traceback (most recent call last): File "~\AppData\Local\LongshotLauncher\toolchains\nightly-189-aa95d35f\LongshotBuilder\tools\nx2\make_game.py", line 2660, in cli main(a) ~~~~^^^ File "~\AppData\Local\LongshotLauncher\toolchains\nightly-189-aa95d35f\LongshotBuilder\tools\nx2\make_game.py", line 2312, in main check_modules(exefs) ~~~~~~~~~~~~~^^^^^^^ File "~\AppData\Local\LongshotLauncher\toolchains\nightly-189-aa95d35f\LongshotBuilder\tools\nx2\make_game.py", line 436, in check_modules with open(os.path.join(exefs, name), "rb") as f: ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: '~\\AppData\\Local\\LongshotLauncher\\work\\exefs\\mods' error: The builder stopped on an error it did not expect: PermissionError: [Errno 13] Permission denied: '~\\AppData\\Local\\LongshotLauncher\\work\\exefs\\mods'. Please send the text under Show details to the Longshot issues page. launcher log, its last 19 lines: 12:33:31.477 DNS git-cdn.magicbean.dev: 172.67.170.160, 104.21.55.71 (6 ms) 12:33:31.504 connect git-cdn.magicbean.dev 172.67.170.160:443: connected in 26 ms 12:33:31.634 GET https://git-cdn.magicbean.dev/api/v1/repos/MagicBeanDev/Longshot/releases?limit=50&page=1: HTTP 200, 185 ms 12:33:31.690 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.0.0-rc.4/SHA256SUMS: HTTP 200, 45 ms 12:33:31.691 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.0.0-rc.4/SHA256SUMS: 290 bytes in 0 ms 12:33:31.720 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.0.0-rc.4/SHA256SUMS.sig: HTTP 200, 28 ms 12:33:31.720 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/v3.0.0-rc.4/SHA256SUMS.sig: 97 bytes in 0 ms 12:33:31.768 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-189-aa95d35f/SHA256SUMS: HTTP 200, 42 ms 12:33:31.775 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-189-aa95d35f/SHA256SUMS: 308 bytes in 6 ms 12:33:31.808 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-189-aa95d35f/SHA256SUMS.sig: HTTP 200, 33 ms 12:33:31.808 GET https://git-cdn.magicbean.dev/MagicBeanDev/Longshot/releases/download/nightly-189-aa95d35f/SHA256SUMS.sig: 97 bytes in 0 ms 12:33:31.994 GET https://git-cdn.magicbean.dev/api/v1/repos/MagicBeanDev/LongshotLauncher/releases?limit=50&page=1: HTTP 200, 43 ms 12:33:32.033 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/nightly-87-32bf43fa/SHA256SUMS: HTTP 200, 38 ms 12:33:32.033 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/nightly-87-32bf43fa/SHA256SUMS: 372 bytes in 0 ms 12:33:32.075 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/nightly-87-32bf43fa/SHA256SUMS.sig: HTTP 200, 41 ms 12:33:32.075 GET https://git-cdn.magicbean.dev/MagicBeanDev/LongshotLauncher/releases/download/nightly-87-32bf43fa/SHA256SUMS.sig: 97 bytes in 0 ms 12:33:32.077 update check: answered 12:33:33.846 game file check, The Legend of Zelda Ocarina of Time [0400486024DEC000][v1.1.1][Ounce].nup: Supported: This is the version Longshot supports (build e0f3ccfa). 12:33:34.807 game file check, The Legend of Zelda Ocarina of Time [0400486024DEC000][v1.1.1][Ounce].nup: Supported: This is the version Longshot supports (build e0f3ccfa). ### Before you send it - [x] It still fails on the newest release. - [x] I searched the open issues for this error. - [x] I'm not attaching game files or anything built from them.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot#918
No description provided.