Describe the bug:
When opening a .pyc
script file after a fresh install of papyrus-lang, the output console reports the titular error message for Skyrim and Skyrim SE, but not Fallout 4.
To Reproduce:
Assumption is a typo in the language service script provided with the extension.
The paths for all three games appear to be correct, each game's unique CK is installed and updated, the ini files are all in place, the base scripts are extracted to their associated locations, and the .flg
files exist. I did notice that the Papyrus Compiler
folders appear to be lacking files compared to the Fallout 4 version, if that's relevant in any way.
VSC Output Logs:
{"compilerAssemblyPath":"f:\\Games\\steamapps\\common\\Fallout 4\\Papyrus Compiler",
"creationKitInstallPath":"f:\\Games\\steamapps\\common\\Fallout 4",
"relativeIniPaths":["CreationKit.ini","CreationKitCustom.ini"],
"flagsFileName":"Institute_Papyrus_Flags.flg",
"ambientProjectName":"Fallout 4 Creation Kit",
"defaultScriptSourceFolder":"\".\\Data\\Scripts\\Source\\User\"",
"defaultAdditionalImports":"\"$(source);.\\Data\\Scripts\\Source\\Base\""}
Starting language service...
Language service started.
[Info - 11:19:22 PM] Searching for Papyrus projects in c:\Users\bwfan\gitprojects\wrye-bash-grndbeef...
[Info - 11:19:22 PM] Found 0 project(s) in c:\Users\bwfan\gitprojects\wrye-bash-grndbeef:
[Info - 11:19:22 PM] Resolving script files for Fallout 4 Creation Kit...
{"compilerAssemblyPath":"F:\\Games\\steamapps\\common\\Skyrim Special Edition\\Papyrus Compiler",
"creationKitInstallPath":"F:\\Games\\steamapps\\common\\Skyrim Special Edition\\",
"relativeIniPaths":["CreationKit.ini","CreationKitCustom.ini"],
"flagsFileName":"TESV_Papyrus_Flags.flg",
"ambientProjectName":"Skyrim SE Creation Kit",
"defaultScriptSourceFolder":".\\Data\\Source\\Scripts\\"}
Error on language service pre-start: TypeError: Cannot read property 'toString' of undefined
{"compilerAssemblyPath":"F:\\Games\\steamapps\\common\\Skyrim\\Papyrus Compiler",
"creationKitInstallPath":"F:\\Games\\steamapps\\common\\Skyrim\\",
"relativeIniPaths":["SkyrimEditor.ini"],
"flagsFileName":"TESV_Papyrus_Flags.flg",
"ambientProjectName":"Skyrim Creation Kit",
"defaultScriptSourceFolder":"\"Data\\Scripts\\Source\""}
Error on language service pre-start: TypeError: Cannot read property 'toString' of undefined
Screenshots:
Fallout 4
Skyrim SE
Skyrim LE