Installing Mac VSCode extensions now failing with error: Corrupt ZIP: end of central directory record signature not found - visual-studio-code

After upgrading work Mac to Big Sur, now unable to install any VS Code extensions, where I was able to before. The error message that I am receiving is the following:
[2021-08-18 14:04:53.663] [renderer1] [error] ["validating: Corrupt ZIP: end of central directory record signature not found"," at x.downloadInstallableExtension (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:54:201021)"," at async x.installGalleryExtension (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:54:197524)"," at async vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:54:194563"]
I have looked at several stack overflow threads like this one:
Error "end of central directory record signature not found" while installing ionide-fsharp in vscode
I can confirm the following:
My company runs a corporate transparent proxy, so I do not have to enter a proxy in the settings. I've confirmed that I do not have this set.
I have followed the instructions to download and install the vsix file manually
Downloading looks to be successful, the python extension is 16.5 MB
The installation portion of the downloaded file fails with the same error
Confirmed that I do not have a disk space issues as someone mentioned in the above thread
I have reinstalled VSCode per these instructions: How to completely uninstall vscode on mac
I've attempted installations of VSCode 1.59 (original version) and 1.58.2, same errors
Any suggestions on where to go from here? I'm not able to install this locally, and can't seem to figure out what may be causing the issue.
I have confirmed with other team members that they're not running into my issue, and they have successfully upgraded to Big Sur. I don't think that's the cause, but that's the only change to my workstation that I can think of.

This worked for me:
Try downloading the vsix file of the extension from its github release page (make sure the extension version is compatible with your vscode version)
Disable your internet connection and install the vsix file via vscode.

Related

esp-idf build fails with "fatal error: esp_wifi.h: No such file or directory"

I am a student who has gotten a part time job embedded system programming. I am given a program the company uses, and asked to understand it. This is a working program. Therefore, the project can be built and flashed on ESP32 by the developers with no problem. So, the code and CMake files should have no issues. However, I cannot build the program either with VSCode extension nor with idf.py. In fact, I cannot build esp-idf examples from the official website, either.
Note: I am new to StackOverflow as well as to ESP32, so sorry if I made any mistakes here. If this post is problematic in any way, please inform me.
The error message from the terminal is shown here
I was initially using VSCode on Windows 10 (Windows is not activated). At first, ESP extension was completely failing to start the building process because it could not locate the tools. I was getting "could not be located" errors for all the tools. Below is a list of what I did in this setting:
I had v5.0.0 for esp-idf downloaded from Espressif server. I deleted it and tried v4.3.3 and then I tried to download from Github server. I downloaded the requirements for idf.py scripting environment and completed the settings for it as described by the Espressif's documentation.
I manually set the environment variables for IDF_PATH and PATH for both the user and for the system.
After 2, the initial error was gone. Unfortunately, I had a new error which indicated that ".elf" file for the project output could not be found. I do not exactly recall the error but if it is integral to the problem's solution I can try to replicate this issue.
I tried to delete and reinstall VSCode. I tried running VSCode with admin authority.
I tried changing the IDF_TOOLS_PATH in the VSCode esp-idf extension configurations from ".espressif" to "esp\esp-idf".
At this point, I moved to try to build the project on Ubuntu 22.04.1 LTS:
In Ubuntu, I got the fatal error: esp_event.h: No such file or directory error.
It does not seem to be a common issue and I could not find much about it online.
I followed the Linux setup steps in the documentation. It said that only step 1 (Downloading the prerequisites) was necessary for the VSCode extension.
I decided to try the "master branch" from esp-idf configurations as well. After I downloaded the master branch, the error changed to the current version: 'fatal error: esp_wifi.h: No such file or directory'
I also tried the idf.py in Ubuntu but I got the same error.
Both in Ubuntu and in Windows, the Doctor Command returns nothing. It does not even open the terminal or any window. I am not sure what it should return but some online discussions were asking about its return so I wanted to note it here.
Edit: When I tried the examples on Ubuntu, they actually build just fine. Doctor Command also works with examples.
However, the main code has still issues. Initially, I assumed I made some mistakes with esp-idf configurations. But, perhaps that was not the case.
I had the same problem and ended up editing my project's CMakeLists.txt. When I added "esp_wifi" to the "REQUIRES" list, it worked for me:
idf_component_register(
SRCS "main.c"
INCLUDE_DIRS res
EMBED_FILES res/settings.html
REQUIRES esp_wifi
)

A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found

I tried internet search on this issue and it is very common with many suggestions. The problem started with an update to VS2019 in which I paused because my projects in VSCode were breaking.I did a system restore and when I tried to start VSCode I got a message saying my installation was corrupt. So I reinstalled to the latest version and now get this error.
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found...
I found 3 extensions that needed updating so I do so but did not fix this problem. Do not know if I need to update the .Net Core since it looks like a version mismatch. It seems these updates are wreckless since they always cause thing to go wrong.s
If you are facing this problem, it means you are using Windows.
This official microsoft live share github page explains how to fix the issue: https://github.com/MicrosoftDocs/live-share/issues/102
Especially, check out this comment: https://github.com/MicrosoftDocs/live-share/issues/102#issuecomment-366509735
make vscode is up to date
uninstall live share from vscode
close vscode completely
restart vscode as administrator
reinstall live share
I should add:
close completely vscode and restart it

Doxygen - unable to load isutils.dll

I'm installing Doxygen on Windows 8.1 64 bit. At the end of installation, it throws up "unable to load isutils.dll" followed by an unable to set PATH error. I'm not bothered about the PATH error, I presume that is just a case of manually adding "C:\Program Files\doxygen\bin" to the PATH but what is the isutils.dll error about and how do I fix it?
Edited to add this:
I don't know if this is related or not but when I run the Doxygen wizard after installation and click the Select... button for scan/store directory, the application permanently shows the busy icon and stops responding, I have to break out of it using Task Manager.
I got a response on the Doxygen mailing list from Dimitri van Heesch, the developer of Doxygen. He said that this appeared to be a glitch in the installer script which he has fixed. I downloaded the new version and it installed with no issues.

Upgrade bugzilla on local machine (3.4.x to 4.2.x)

I've installed bugzilla Win32InstallPackages
https://wiki.mozilla.org/Bugzilla:Win32InstallPackages
its pretty easy, just download Bugzilla-Setup-3.4.8.exe file, follow steps and keep pressing Next button. It installs everything (Apache, MySql, Perl, Bugzilla) and works perfect. Just start using bugzilla through this url localhost
Now I want to upgrade this with some stable latest release which is 4.4. I am using Bazaar repository to download at my local PC from here http://bzr.mozilla.org/bugzilla/4.4/
Bazaar explorer creates trunk folder inside C:\Bugzilla\trunk and downloaded all source code inside the trunk directory.
When I've copied all the files from trunk folder and replaced with existing files at C:\Bugzilla\ then it doesn't work.
Now I am getting following error message when I am trying to open bugzilla by writing localhost/ into address bar.
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin#example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Could you please help me how to upgrade bugzilla on my local machine ?
There are upgrade instructions that can be followed. Also check your apache logs to find out what the 500 error is really about.

Nuget 1.5 -> 16 install issue

I am running VS2010 Ultimate, I used to have VS Web Dev 2010 Express with Nuget before: I uninstalled it before installing Ultimate.
In admin mode I uninstalled Nuget 1.5 from vs, restarted vs in admin mode, installed 1.6, and then restarted vs. Nuget worked for several days.
The next day, the package manager wont come up - it doesnt give me an error, it just wont load. If I try to uninstall it, the uninstall button is greyed out (which I assume means that the addin is in use). If I restart vs, then I can uninstall.
I have tried uninstalling Nuget and reinstalling it several times (no error messages generated)
Trying to load Package Manager Console and the Package Manager Settings, dont launch anything.
Is there a way to install version 1.5? I've looked for a link but cannot find one.
Is there a log file I can check to see what is wrong?
This has been an extremely frustrating issue for me.
Update:
I used devenv /log, tried to open the package console.
Here's part of the log file:
225 Leaving function LoadDTETypeLib VisualStudio 2011/12/30 21:54:45.181
226 ERROR SetSite failed for package [NuGet.Tools.NuGetPackage, NuGet.Tools, Version=1.6.21215.9133, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] {5FCC8577-4FEB-4D04-AD72-D6C629B083CC} 80131509 VisualStudio 2011/12/30 21:54:45.196
227 ERROR End package load [NuGet.Tools.NuGetPackage, NuGet.Tools, Version=1.6.21215.9133, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] {5FCC8577-4FEB-4D04-AD72-D6C629B083CC} 80131509 VisualStudio 2011/12/30 21:54:45.227
228 Warning Package failed to load; error message suppressed by skip flag {5FCC8577-4FEB-4D04-AD72-D6C629B083CC} VisualStudio 2011/12/30 21:54:49.486
229 Entering function CVsPackageInfo::HrInstantiatePackage
Thanks!
Finally got it working: had to delete c:\User Data\\AppData\Roaming\NuGet\NuGet.Config (which was empty) and now it can load.
I had the same problem, nuget worked yesterday but not today with "SetSite failed for package [NuGet.Tools.NuGetPackage" in the VS log.
After a lot of trying and failing I found this page, and then the discussion at http://nuget.codeplex.com/discussions/284604
I followed the advice from bsparkinson there :
Unistalled Nuget.
Searched for nuget in %appdata% and deleted everything
Reinstalled Nuget.
And now it works.
You mentioned:
If I try to uninstall it, the uninstall button is greyed out (which I
assume means that the addin is in use).
Is it greyed out even when you run VS as an admin? The button should only be greyed out if you're not running as admin.
The other thing you should do is try running the following command. You'll need to use the devenv command prompt.
vsixinstaller.exe /uninstall:NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
That should uninstall the NuGet VSIX. After doing that, the following directory should be gone or empty: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft Corporation\NuGet Package Manager\\