Problem
Hi, whenever I try to install an extension in VSCode the installation is canceled without any error message showing up.
Before installation
During Installation
VSCode jumps back into this state
Question
How can I figure out any details about what the problem is? Is there some hidden error log or anything?
A Wild Guess
Im currently on a machine where my administration rights or the proxy configuration may be insufficient. This may be the cause of the problem. Installing an extension manually into the VSCode installation folder, worked.
Solution: Installation via Command Line
Installing extensions using the terminal gives at least some error message:
C:\some\path>code --install-extension some-publisher.some-extension
Found 'msjsdiag.debugger-for-chrome' in the marketplace.
Installing...
Error: socket hang up
at TLSSocket.onHangUp (_tls_wrap.js:1117:19)
...
Finding out some-publisher.some-extension
The publisher and extension can easily be copied from the extension details:
Related
When I try to install vibrancy extension and reload it, it first shows:
"Error: EPERM: operation not permitted, mkdir 'g:\Softwares
Install\Microsoft VS
Code\resources\app\out\vscode-vibrancy-runtime-v6''
Then I run VS as admin still it shows "Your Code installation appears to be corrupt. Please reinstall." When I try to reload the extension.
I tried uninstalling VS but nothing works. This extension was working fine few days ago but now it's giving error.
How can I fix this issue?
Here is the screenshot:
The Vibrancy extension said itself in their description that the "your code is corrupted" error popup is normal since it alters VsCode's css files but you can just press the gear button and make it not show up again.
However, I dont know anything abt the first error so sorry about that.
solve the error in the following way
you have to go to P:\VS-CODE-CODE-resources-appout-vibrancy-vibrancy-runtime-v6 and delete the files that are inside with VSCODE closed then you go to settings and put -1 and it will ask you to reboot and that's it.
I have downloaded and installed a Windows native compiled OpenFOAM from here. But when I try to run any of the OF commands (e.g., blockMesh, foamDictionary, ...) in the MSYS2 terminal I get the message:
path/to/folder/v2106/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2106/platforms/win64MingwDPInt32Opt/bin/blockMesh.exe: error while loading shared libraries: libstdc++-6.dll: cannot open shared object file: No such file or directory
and in the cmd terminal, I get the error message:
System Error The code execution cannot proceed because msmpi.dll was not found. Reinstalling the program may fix this problem.
From here, I see that I might have to reinstall OpenFOAM in admin mode, which I don't have on this work machine. so I tried installing MSMPI using pacman -S msmpi as I used to do here. But I get the error message:
error: target not found: msmpi
My goal is to install and use the OpenFOAM software, doesn't matter which release, on this Windows machine without admin privileges. I would appreciate it if you could help me know how can I fix the above problems, or find another way around.
P.S.1. Searching the installation directory, I see that the libstdc++-6.dll file is in the path\to\folder\v2106\msys64\home\ofuser\OpenFOAM\OpenFOAM-v2106\platforms\win64MingwDPInt32Opt\bin. So I wonder I get the first error message. Maybe OF is not compiled properly against the library? Should I try removing the path\to\folder\v2106\msys64\usr\lib\gcc\x86_64-pc-msys\7.4.0\libstdc++.dll.a as suggested here?
P.S.2. I had written this post ages ago about different ways to install OpenFOAM on Windows. Sadly it is still a big effort to get it up and running.
P.S.3. A follow-up on this issue here on the MSYS2 Discord server.
P.S.4. Opened a new issue here on the OpenFOAM repository.
With OpenFOAM-v2112 it is now possible to install without windows admin permissions.
The original problem will still be evident with older OpenFOAM versions since they relied on installing msmpi separately.
I’m constantly failing to install Platform IO IDE for Visual Studio Code or Atom. I’m working on OSX with High Sierra.
I have two users, both are Admins. The first user can install with VSC and Atom just fine. The second user always gets this error message:
PIP: Error: spawn /Volumes/Macintosh
HD/Users/micha/.platformio/penv/bin/pip ENOENT
I already tried to delete the .platformio folder and start over, without success. The error shows up for Visual Studio Code and Atom.
Any ideas?
Well, not a solution, but a suitable workaround.
I installed platformio core with homebrew, which works fine. Then I installed the IDE plugin, which seams to detect that the core is already there and does not try to instal it a second time.
I did this for Visual Studio Code.
I am on Windows, I tried to install platform-io vs extension to use exsting anaconda.
After setting platformio-ide.useBuiltinPIOCore to false and platformio-ide.customPATH to "path/to/py27", I am able to install platformio with existing python vEnv, but it ended up in an endless loop [press restart -> checking install -> please restart]
After adjusting the customPath to pointing to both pio.exe and python.exe residing directory, it works all right:
platformio-ide.customPATH: "path/to/py27;path/to/py27/Scripts"
I think you can adjust these setting to make these two users use seperate venv, so that there won't be any permission conflict or related issues.
I downloaded bitcloud, the atmel zigbee stack and I am trying to compile one of the default applications, ZLLDemo.
It is located currently at:
C:\Users\Ryan\Desktop\BitCloud_MEGARF_3_1_0\Applications\ZLLDemo\atmelStudio_projects\ATmega256RFR2.cproj
Everytime I try to compile the application I get a windows message screen for "mkdir.exe" error 0xc0000142. In the Output screen I see the line "make: *** [directories] Error -1073741502"
This same error and error code occurs later in the build process for cp.exe if I manually make the folders myself.
I have tried the following things to fix the error:
Change folder and contents to different owners, everyone having full
privileges
run make command manually from a command prompt window as admin
clean solution before retrying
all other examples files
ran directly from C: as "C:\BitCloud_MEGARF_3_1_0\Applications\ZLLDemo\atmelStudio_projects\ATmega256RFR2.cproj" - as per general suggestion for the windows error I tried
"sfc /scannow" in case mkdir had somehow been corrupted
Changed AppInitDLLs Reg key to 0 to load all DLLs at start of application
Disabled Internet security
Does this have a general fix or is there perhaps something else at work here? General compilations work, its just external ones. My friend did the same and it seems to work just fine for him.
Windows 8.1
Atmel Studio 6.2
Avrfreaks had a solution that I finally found here.
Their solution is to download an old version of the msys file for winavr. Which means that their is something more than likely wrong with the latest version of winavr for windows 8.1
sebastor wrote:
I found solution.
Copy this file:
http://www.madwizard.org/download/electronics/msys-1.0-vista64.zip
to utils\bin directory (WinAVR)
I downloaded ArangoDB version 2.3.4 and tried to install it on my Windows 8 OS.
During the installation, I had been prompted to choose the default path or All Users and such. I opted for default path, which installed the application under the path C:\Program Files\ArangoDB 2.3.4\bin. After successfully installed ArangoDB, I tried to open the console and typed arangod.exe. It prompted me some error message:
ERROR cannot open datafile "c:\program files\arangodb 2.3.4 ....\logfile-207139.db': 'No Error'
ERROR cannot open datafile "c:\program files\arangodb 2.3.4 ....\logfile-207139.db": system error
ERROR could not inspect WAL logfiles: system error
FATAL unable to start WAL logfile manager
I am not sure what's going wrong, but I tried uninstall and reinstall with All User option and it worked by showing me
ArangoDB is ready for business. Have fun!
However, the ArangoDB was installed under the C:\Users\Public\Documents\ArangoDB 2.3.4 folder, which I think is not appropriate. Anyone knows how to install by selecting the default path on Windows 8?
I have finally found a solution on this. Go to the var folder security tab and click on Advanced then Disable the inheritance. It works for me now