Giter VIP home page Giter VIP logo

Comments (7)

carsakiller avatar carsakiller commented on June 24, 2024

The logs you provided are for the language server. Can you provide the addon manager log? There should be a little notepad icon in the bottom right of the addon manager to open the latest log file.
image

from lua-language-server.

ThePython10110 avatar ThePython10110 commented on June 24, 2024

The button doesn't work, and after using Everything to search my computer, all the addon manager log files I could find were completely empty.

from lua-language-server.

carsakiller avatar carsakiller commented on June 24, 2024

Does the output window for Lua Addon Manager contain anything?
image

from lua-language-server.

carsakiller avatar carsakiller commented on June 24, 2024

Or is there an error for the addon manager in the console of the webview dev tools?
image

from lua-language-server.

ThePython10110 avatar ThePython10110 commented on June 24, 2024
RangeError: Invalid array length
	at String.repeat (c:\Users\Nolan\.vscode\extensions\searking.preview-vscode-2.3.3\dist\extension\node\extension.js:2:386177)
	at padText (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\out\addon_manager\services\string.service.js:11:25)
	at Printf.template (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\out\addon_manager\services\logging.service.js:60:55)
	at Printf.transform (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\logform\printf.js:11:26)
	at Format.transform (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\logform\combine.js:20:24)
	at DerivedLogger._transform (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\winston\lib\winston\logger.js:313:29)
	at Transform._read (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_transform.js:166:10)
	at Transform._write (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_transform.js:155:83)
	at doWrite (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_writable.js:390:139)
	at writeOrBuffer (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_writable.js:381:5)
	at Writable.write (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\readable-stream\lib\_stream_writable.js:302:11)
	at DerivedLogger.value (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\winston\lib\winston\logger.js:67:18)
	at DerivedLogger.<computed> [as verbose] (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\node_modules\winston\lib\winston\create-logger.js:81:14)
	at a.value (c:\Users\Nolan\.vscode\extensions\sumneko.lua-3.8.3-win32-x64\client\out\addon_manager\panels\WebVue.js:227:27)
	at o.y (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:660)
	at o.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:877)
	at w.$onMessage (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:145:14048)
	at c.S (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:5505)
	at c.Q (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:5271)
	at c.M (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:4361)
	at c.L (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:3579)
	at a.value (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:2227)
	at o.y (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:660)
	at o.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:877)
	at u.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:107:14175)
	at a.value (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:176:8023)
	at o.y (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:660)
	at o.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:82:877)
	at u.fire (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:107:14175)
	at MessagePortMain.<anonymous> (c:\Users\Nolan\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:176:6303)
	at MessagePortMain.emit (node:events:517:28)
	at MessagePortMain.emit (node:domain:489:12)
	at MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:2285)
	at Object.topLevelDomainCallback (node:domain:161:15)
	at Object.callbackTrampoline (node:internal/async_hooks:128:24)

from lua-language-server.

carsakiller avatar carsakiller commented on June 24, 2024

Well this is an odd one. I'm not sure what is truly causing the problem, as the stack trace you provided points to a different extension (searking.preview-vscode-2.3.3) and then a string padding function that is called by a log function call.

I have a few guesses as to what it could be.

  1. Try disabling the searking.preview-vscode-2.3.3 extension, reloading the window, and then giving the addon manager a shot. It is at the top of the stack trace for some reason and may somehow be responsible. Perhaps it is mistaking the addon manager webview as one of its own?

  2. Git is unable to reach GitHub and the LLS-Addons repo. Try a manual git clone to make sure it can be done.

  3. It could be a permissions issue. The addon manager creates a directory at %appdata%/Code/User/globalStorage/sumneko.lua/addonManager to install addons into. If it cannot read and write into this directory, the addon manager would cease to work. The error should clearly state this is the issue, but perhaps for some reason this is not the case.

  4. Something has corrupted in a really ugly way and just completely removing %appdata%/Code/User/globalStorage/sumneko.lua/addonManager may fix it.

from lua-language-server.

ThePython10110 avatar ThePython10110 commented on June 24, 2024

Disabling the preview extension seems to have worked.

from lua-language-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.