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

There is a probability of reporting errors for all strings. #1681

Open
WhiteElephant-abc opened this issue Dec 23, 2024 · 5 comments
Open

There is a probability of reporting errors for all strings. #1681

WhiteElephant-abc opened this issue Dec 23, 2024 · 5 comments

Comments

@WhiteElephant-abc
Copy link

DHP:v4.4.0
VScode:1.96.2

@misode
Copy link
Member

misode commented Dec 23, 2024

Could you share a screenshot of the errors you are experiencing, or explain how to reproduce your issues?

@WhiteElephant-abc
Copy link
Author

Image
Image
Image
Image
Image
This is a new computer. The old computer used to have this problem too, but it somehow got fixed later.

@misode
Copy link
Member

misode commented Dec 23, 2024

Thanks for the info! Could you press Ctrl+Shift+P, run Spyglass: Show Output and share that log here?

@WhiteElephant-abc
Copy link
Author

[Info - 13:32:46] [onInitialize] processId = 6544
[Info - 13:32:46] [onInitialize] clientInfo = {"name":"Visual Studio Code","version":"1.96.2"}
[Info - 13:32:46] [onInitialize] initializationOptions = {"inDevelopmentMode":false,"gameVersion":"Auto"}
[Error - 13:32:46] [loadLocale] Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\locales\zh.js' imported from c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:940:10)
at defaultResolve (node:internal/modules/esm/resolve:1176:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleLoader.import (node:internal/modules/esm/loader:472:34)
at defaultImportModuleDynamicallyForScript (node:internal/modules/esm/utils:227:31)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:249:12)
at VT (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:51:17167) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///c:/Users/xiang/.vscode/extensions/spgoding.datapack-language-server-4.4.0/dist/locales/zh.js'
}
[Info - 13:32:46] [Project] [init] cacheRoot = file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/
[Info - 13:32:46] [Project] [init] projectRoots = file:///d%3A/GitHub%20Desktop/datapackets-functions-LIB/ file:///d%3A/GitHub%20Desktop/iron-block-elevator/ file:///d%3A/GitHub%20Desktop/SetBlock-TNT/
[Info - 13:32:46] [CacheService#load] symbolCachePath = file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/symbols/ebf9e0c51a4cecd9d1246c11437231e75621bad4.json.gz
[Info - 13:32:46] [Profiler: cache#load] Done: Read File in 75.7322 ms
[Info - 13:32:46] [Profiler: cache#load] Done: Link Symbols in 37.66399999999999 ms
[Info - 13:32:46] [Profiler: cache#load] == Summary ==
[Info - 13:32:46] [Profiler: cache#load] Read File - 75.7322 ms
[Info - 13:32:46] [Profiler: cache#load] Link Symbols - 37.66399999999999 ms
[Info - 13:32:46] [Profiler: cache#load] Total - 113.3962 ms
[Info - 13:32:46] [Profiler: project#init] Done: Load Cache in 184.98870000000002 ms
[Info - 13:32:46] [Profiler: project#init] Done: Load Config in 4.706699999999955 ms
[Error - 13:32:46] [Downloader] [mc-je/versions.json.gz.commit-sha] Downloading https://api.github.com/repos/misode/mcmeta/git/refs/heads/summary Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1076:8)
at ssl.onhandshakedone (node:_tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Info - 13:32:47] [Downloader] [mc-je/versions.json.gz] Downloaded from https://raw.githubusercontent.com/misode/mcmeta/summary/versions/data.json.gz
[Info - 13:32:47] [je.initialize] Found a valid pack.mcmeta file:///d%3A/GitHub%20Desktop/datapackets-functions-LIB/pack.mcmeta, using data pack format 48 to select version 1.21.1
[Error - 13:32:47] [Downloader] [mc-je/1.21.1/blocks.json.gz.commit-sha] Downloading https://api.github.com/repos/misode/mcmeta/git/refs/tags/1.21.1-summary Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1076:8)
at ssl.onhandshakedone (node:_tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Info - 13:32:48] [Downloader] [mc-je/1.21.1/blocks.json.gz] Downloaded from https://raw.githubusercontent.com/misode/mcmeta/1.21.1-summary/blocks/data.json.gz
[Error - 13:32:48] [Downloader] [mc-je/1.21.1/commands.json.gz.commit-sha] Downloading https://api.github.com/repos/misode/mcmeta/git/refs/tags/1.21.1-summary Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1076:8)
at ssl.onhandshakedone (node:_tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Info - 13:32:48] [Downloader] [mc-je/1.21.1/commands.json.gz] Downloaded from https://raw.githubusercontent.com/misode/mcmeta/1.21.1-summary/commands/data.json.gz
[Error - 13:32:48] [Downloader] [mc-je/1.21.1/registries.json.gz.commit-sha] Downloading https://api.github.com/repos/misode/mcmeta/git/refs/tags/1.21.1-summary Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1076:8)
at ssl.onhandshakedone (node:_tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Info - 13:32:49] [Downloader] [mc-je/1.21.1/registries.json.gz] Downloaded from https://raw.githubusercontent.com/misode/mcmeta/1.21.1-summary/registries/data.json.gz
[Info - 13:32:49] [Profiler: project#init] Done: Initialize in 2462.3609 ms
[Info - 13:32:49] [Profiler: project#init] == Summary ==
[Info - 13:32:49] [Profiler: project#init] Load Cache - 184.98870000000002 ms
[Info - 13:32:49] [Profiler: project#init] Load Config - 4.706699999999955 ms
[Info - 13:32:49] [Profiler: project#init] Initialize - 2462.3609 ms
[Info - 13:32:49] [Profiler: project#init] Total - 2652.0563 ms
[Error - 13:32:49] [Downloader] [mc-je/1.21.1/mcmeta.tar.gz.commit-sha] Downloading https://api.github.com/repos/misode/mcmeta/git/refs/tags/1.21.1-data Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1076:8)
at ssl.onhandshakedone (node:_tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Error - 13:32:49] [Downloader] [mc-je/1.21.1/mcmeta.tar.gz] Downloading https://api.github.com/repos/misode/mcmeta/tarball/refs/tags/1.21.1-data Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:tls_wrap:1076:8)
at ssl.onhandshakedone (node:tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Error - 13:32:49] [Downloader] [mc-je/1.21.1/mcmeta.tar.gz] Fallback: loading cached file file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/1.21.1/mcmeta.tar.gz Error: ENOENT: no such file or directory, open 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta.tar.gz'
at async open (node:internal/fs/promises:641:25)
at async Object.readFile (node:internal/fs/promises:1258:14)
at async x0.download (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:393)
at async u
(c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:112:7137)
at async a
(c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:112:7346)
at async t (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:14415)
at async r (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:14758)
at async Promise.all (index 0)
at async i (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:15530)
at async Eo.ready (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:16811) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta.tar.gz'
}
[Info - 13:32:49] [Project] [getDependencies] Executed provider “@vanilla-datapack”
[Error - 13:32:49] [Downloader] [mc-je/1.21.1/mcmeta-assets.tar.gz.commit-sha] Downloading https://api.github.com/repos/misode/mcmeta/git/refs/tags/1.21.1-assets-tiny Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1076:8)
at ssl.onhandshakedone (node:_tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Error - 13:32:49] [Downloader] [mc-je/1.21.1/mcmeta-assets.tar.gz] Downloading https://api.github.com/repos/misode/mcmeta/tarball/refs/tags/1.21.1-assets-tiny Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:tls_wrap:1076:8)
at ssl.onhandshakedone (node:tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Error - 13:32:49] [Downloader] [mc-je/1.21.1/mcmeta-assets.tar.gz] Fallback: loading cached file file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/1.21.1/mcmeta-assets.tar.gz Error: ENOENT: no such file or directory, open 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta-assets.tar.gz'
at async open (node:internal/fs/promises:641:25)
at async Object.readFile (node:internal/fs/promises:1258:14)
at async x0.download (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:393)
at async u
(c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:112:7137)
at async c
(c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:112:7529)
at async t (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:14415)
at async r (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:14758)
at async Promise.all (index 0)
at async i (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:15530)
at async Eo.ready (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:16811) {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta-assets.tar.gz'
}
[Info - 13:32:49] [Project] [getDependencies] Executed provider “@vanilla-resourcepack”
[Error - 13:32:49] [Downloader] [mc-je/vanilla-mcdoc.tar.gz.commit-sha] Downloading https://api.github.com/repos/SpyglassMC/vanilla-mcdoc/git/refs/heads/main Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1076:8)
at ssl.onhandshakedone (node:_tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Error - 13:32:49] [Downloader] [mc-je/vanilla-mcdoc.tar.gz] Downloading https://api.github.com/repos/SpyglassMC/vanilla-mcdoc/tarball/refs/heads/main Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1677:34)
at TLSSocket.emit (node:events:518:28)
at TLSSocket._finishInit (node:_tls_wrap:1076:8)
at ssl.onhandshakedone (node:tls_wrap:862:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
[Error - 13:32:49] [Downloader] [mc-je/vanilla-mcdoc.tar.gz] Fallback: loading cached file file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/vanilla-mcdoc.tar.gz Error: ENOENT: no such file or directory, open 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\vanilla-mcdoc.tar.gz'
at async open (node:internal/fs/promises:641:25)
at async Object.readFile (node:internal/fs/promises:1258:14)
at async x0.download (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:393)
at async l
(c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:112:7802)
at async t (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:14415)
at async r (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:14758)
at async Promise.all (index 0)
at async i (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:15530)
at async Eo.ready (c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:69:16811)
at async c:\Users\xiang.vscode\extensions\spgoding.datapack-language-server-4.4.0\dist\server.js:128:25908 {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\vanilla-mcdoc.tar.gz'
}
[Info - 13:32:49] [Project] [getDependencies] Executed provider “@vanilla-mcdoc”
[Error - 13:32:49] [FileUriSupporter#create] Bad dependency file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/1.21.1/mcmeta.tar.gz [Error: ENOENT: no such file or directory, stat 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta.tar.gz'] {
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta.tar.gz'
}
[Error - 13:32:49] [FileUriSupporter#create] Bad dependency file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/1.21.1/mcmeta-assets.tar.gz [Error: ENOENT: no such file or directory, stat 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta-assets.tar.gz'] {
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta-assets.tar.gz'
}
[Error - 13:32:49] [FileUriSupporter#create] Bad dependency file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/vanilla-mcdoc.tar.gz [Error: ENOENT: no such file or directory, stat 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\vanilla-mcdoc.tar.gz'] {
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\vanilla-mcdoc.tar.gz'
}
[Error - 13:32:49] [SpyglassUriSupporter#create] Bad dependency file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/1.21.1/mcmeta.tar.gz [Error: ENOENT: no such file or directory, stat 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta.tar.gz'] {
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta.tar.gz'
}
[Error - 13:32:49] [SpyglassUriSupporter#create] Bad dependency file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/1.21.1/mcmeta-assets.tar.gz [Error: ENOENT: no such file or directory, stat 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta-assets.tar.gz'] {
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\1.21.1\mcmeta-assets.tar.gz'
}
[Error - 13:32:49] [SpyglassUriSupporter#create] Bad dependency file:///C:/Users/xiang/AppData/Local/spyglassmc-nodejs/Cache/downloader/mc-je/vanilla-mcdoc.tar.gz [Error: ENOENT: no such file or directory, stat 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\vanilla-mcdoc.tar.gz'] {
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'C:\Users\xiang\AppData\Local\spyglassmc-nodejs\Cache\downloader\mc-je\vanilla-mcdoc.tar.gz'
}
[Info - 13:32:49] [Profiler: project#ready] Done: List URIs in 368.1866 ms
[Info - 13:32:49] [SymbolRegistrar] Skipped “mcmeta-summary” thanks to cache undefined_v3
[Info - 13:32:49] [Profiler: project#ready] Done: Register Symbols in 0.09799999999995634 ms
[Info - 13:32:49] [Profiler: project#ready] Done: Pop Errors in 1.3150000000000546 ms
[Info - 13:32:49] [Profiler: project#ready] Done: Validate Cache in 214.60460000000012 ms
[Info - 13:32:49] [Profiler: project#ready] Done: Bind URIs in 0.03199999999969805 ms
[Info - 13:32:49] [Profiler: project#ready] Done: Sort URIs in 0.06480000000010477 ms
[Info - 13:32:49] [Profiler: project#ready#bind] == Summary ==
[Info - 13:32:49] [Profiler: project#ready#bind] Total tasks: 2 done in 4.434600000000046 ms
[Info - 13:32:49] [Profiler: project#ready#bind] Min/Avg/Max: 0.8337000000001353 / 2.217300000000023 / 3.6008999999999105 ms
[Info - 13:32:49] [Profiler: project#ready#bind] Top 2 task(s):
[Info - 13:32:49] [Profiler: project#ready#bind] file:///d:/GitHub%20Desktop/datapackets-functions-LIB/pack.png - 3.6008999999999105 ms (81.20010823974819%)
[Info - 13:32:49] [Profiler: project#ready#bind] file:///d:/GitHub%20Desktop/SetBlock-TNT/pack.png - 0.8337000000001353 ms (18.799891760251807%)
[Info - 13:32:49] [Profiler: project#ready] Done: Bind Files in 4.678699999999935 ms
[Info - 13:32:49] [Profiler: project#ready] == Summary ==
[Info - 13:32:49] [Profiler: project#ready] List URIs - 368.1866 ms
[Info - 13:32:49] [Profiler: project#ready] Register Symbols - 0.09799999999995634 ms
[Info - 13:32:49] [Profiler: project#ready] Pop Errors - 1.3150000000000546 ms
[Info - 13:32:49] [Profiler: project#ready] Validate Cache - 214.60460000000012 ms
[Info - 13:32:49] [Profiler: project#ready] Bind URIs - 0.03199999999969805 ms
[Info - 13:32:49] [Profiler: project#ready] Sort URIs - 0.06480000000010477 ms
[Info - 13:32:49] [Profiler: project#ready] Bind Files - 4.678699999999935 ms
[Info - 13:32:49] [Profiler: project#ready] Total - 588.9796999999999 ms
[Warn - 13:32:52] Tried to access unknown reference ::java::server::util::text::Text
[Warn - 13:32:52] Tried to access unknown reference ::java::server::util::text::Text
[Warn - 13:32:52] Tried to access unknown reference ::java::server::util::text::Text
[Warn - 13:32:52] Tried to access unknown reference ::java::server::util::text::Text
[Warn - 13:32:52] Tried to access unknown reference ::java::server::util::text::Text
[Warn - 13:32:52] Tried to access unknown reference ::java::server::util::text::Text

@WhiteElephant-abc
Copy link
Author

Image
These are all the plugins I use.

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

No branches or pull requests

2 participants