There was an error while Opening file handle - visual-studio-code

Okay so I am trying to update my VS Code but every time I click on restart to update I get the error message saying that :
"There was an error while Opening file handle: C:\Users\neela\AppData\Local\Programs\Microsoft VS Code\logs\custom-scanner-service.log": failed to create file handle: The process cannot access the file because it is being used by another process.
Please read the log file for more information :
C:\Users\neela\AppData\Local\Temp\vscode-inno-updater-1624166774.log
After I opened the log file mentioned above here's what it says :
Jun 20 11:00:03.966 ERRO Failed to create file handle: The process cannot access the file because it is being used by another process.
Can someone please guide me on this situation.

I had faced the same problem for two days. Then I ran the vs code as administrator and check for update manually from the top help menu. It got updated successfully then.

I tried taking ownership of the %appdata% vs code files, but ultimately I still ended up needing to run the update as admin.

start>right click vs code>file location>right click & open properties>compatibility tab>run as administrator.
restart vscode. This worked for me

run your VScode as administrator, then go to setting at the bottom left. Click Check for Updates. It will work.

Related

dbt deps fails -> the file because it is being used by another process

I've ran "dbt deps" on Windows in VSCode and it runs successfully.
After I tried again with another package included, but it failed with the following;
"[WinError 32] The process cannot access the file because it is being used by another process: 'dbt_packages\dbtvault-0.7.9'"
I've checked and the folder has some contents marked as "Read-Only", every time I change the folder to be non-read-only it changes back.
Has anyone found a solution for this?
Thanks,
Dan
I was having the same issue using VS Code and tried to identify the process that was using the file/folder and prevent it from being accessed (you can check this article https://thegeekpage.com/how-to-find-out-which-process-is-locking-a-file-or-folder-in-windows-10/). It turns out that it was actually VS Code (code.exe) doing this so as a turn around I closed VS Code and ran dbt deps from within the Git bash app and it worked.

VSC Remote SSH - How to fix reconnection problems?

When using VSC Remote SSH, I am constantly getting the error "Cannot reconnect. Please reload the window.". Upon clicking "Reload Window", the window reloads and I receive the same error.
Sometimes I am also getting the following notification: "The terminal process failed to launch: A native exception occurred during launch (forkpty(3) failed)."
More errors showing here:
screenshot
I tried to find the solution but nothing worked for me, any suggestions? I tried:
Reinstalling extension
Deleting the VS Code + cache directory on the server
Restarting server
Update 17-01: Today it worked fine for around 2 hours. It randomly stopped working while I was typing a few lines of code without doing something else like saving, adding or delete files. The message is still te same and did not found any solution yet.
I had this same issue recently, for me it looks like disabling the wix.vs-code.import-cost extension remedied the issue.
This is probably because I am using private registries for npm packages and that could easily cause issues if attempting to load the private modules from any public source, but I didn't really look into it, so this is just my best guess.

pgAdmin does not show the message error at the Process Watcher

I've been had hard times trying to fix this problem, the message error log does not appear. I've tried to reinstall to a old version, changing configuration that I've found here, changed location, changed conf file to message and nothing helped. So I'd like to know if someone can help me.
Thank you
[enter image description here]
Same problem here, not sure what's happening. But the work around is by opening the physical log here: C:\Users<user>\AppData\Roaming\pgAdmin\sessions\process_logs
When the pop up dialog still open, a temporary folder will be created and inside the folder you will get some files, then open the "err" file, this is where you can see the detail
pgadmin error process log

Liquid XML 2017 update problems

There is a serious problem with the new update of the Liquid Xml and i can't figure it out.
When open a new xml file by clicking on it i receive the error:
"There was a problem sending the command to the program." and then
the file is open.
When trying to validate an xml file with a schema i receive errors that elements are not found. Doing the same validation with
LiquidXml on another computer all is fine. How can i downgrade this
version because is not OK.
We have seen this on some PCs, it looks like a DDE timeout issue which we are working on a resolution. We see the file does actually open, but Windows shows the error as you describe. Is this what you see, or does the file not open either?
Do you have a specific schema, or any schema? E.g. if you open the sample project and open the BookStoreSample.xml and press F7 do you get the issue?
If you want to uninstall, you can do so using the 'Change or remove a program' from Windows Control Panel. You can then download and install the 2016 version:
https://www.liquid-technologies.com/my-downloads
Note: you need to login as the user who purchased the license.

failed to load RSL textLayout

I just installed gentoo linux amd64.
on that I installed eclipse 4.2M5 with FD5 for flex development.
after compiling my project, when I execute it i get the following in the log file:
Error #2046: The loaded file did not have a valid signature.
Failed to load RSL http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz
Failing over to RSL textLayout_1.1.0.604.swz
Error #2046: The loaded file did not have a valid signature.
i use FD5 with Flex 4.1A.
any ideas why it happens ?
update:
it seems that when I close and open my project I am able to execute my project once. the 2nd time that I execute the project on my browser I get the error and I need to close and reopen the browser to execute it again.
First of all thank you for all of your comments.
I finally was able to properly resolve the issue.
it seems that flash saves cache info at ~/.macromedia
(~ for home dir, for example if the user is ufk so it translates to /homeukf)
all I need to do is to delete that folder, since then I am able to refresh my app on the browser without any problems.