Skip to content

buildPaths error building included file #641

@loumizhu

Description

@loumizhu

For troubleshooting assistance, refer to the troubleshooting guide

Description

When opening any ahk v1 file , output shows a lot of buildPaths errors

2025-04-03T09:25:18.658Z buildPaths error building c:\portable_apps\my_scripts\autohotkey\RM2module\c:\portable_apps\my_scripts\autohotkey\RM2module\RM2module.ahk
2025-04-03T09:25:18.659Z cannot open file:///c%3A/portable_apps/my_scripts/autohotkey/RM2module/c%3A/portable_apps/my_scripts/autohotkey/RM2module/RM2module.ahk%09%09%3B%20by%20Learning%20one. Detail: Unable to read file 'c:\portable_apps\my_scripts\autohotkey\RM2module\c:\portable_apps\my_scripts\autohotkey\RM2module\RM2module.ahk ; by Learning one' (Error: Unable to resolve nonexistent file 'c:\portable_apps\my_scripts\autohotkey\RM2module\c:\portable_apps\my_scripts\autohotkey\RM2module\RM2module.ahk ; by Learning one')

2025-04-03T09:30:29.817Z buildPaths error building C:\portable_apps\my_scripts\autohotkey\RM2module\Ahk_Script\Quick_Scripts\Lib\Faster_Script_-Optimize_Speed_To_MAX.ahk
2025-04-03T09:30:29.817Z cannot open file:///c%3A/portable_apps/my_scripts/autohotkey/RM2module/Ahk_Script/Quick_Scripts/Lib/Faster_Script
-Optimize_Speed_To_MAX.ahk. Detail: Unable to read file 'c:\portable_apps\my_scripts\autohotkey\RM2module\Ahk_Script\Quick_Scripts\Lib\Faster_Script-Optimize_Speed_To_MAX.ahk' (Error: Unable to resolve nonexistent file 'c:\portable_apps\my_scripts\autohotkey\RM2module\Ahk_Script\Quick_Scripts\Lib\Faster_Script-_Optimize_Speed_To_MAX.ahk')

this included file is is located here
#Include, %A_AhkPath%..\Lib\Faster_Script_-_Optimize_Speed_To_MAX.ahk

but it looks for in
c:\portable_apps\my_scripts\autohotkey\RM2module\Ahk_Script\

and it looks a lot of file in that folder, although It's not special

Reproduction steps

Steps to reproduce the behavior:

  1. Open any Ahk file in vscode
  2. wait a little bit, and a wall of errors appears in output
  3. while the output errors are pouring, Can't write anything

Expected behavior

Nothing in the ouput

Additional context

it happened like yesterday, and it seems like the update broke it
I checked the interpreter in on v1 (as shown in status bar) and tried defining it manually ctlk+k m
I tried a full uninstall - reinstall

Metadata

Metadata

Assignees

Labels

bugsomething isn't workinghygieneengineering hygiene, best practices, internal dev loop, etc.

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions