I'm attempting to remote debug a linux module running on docker. Following this article works for a simple test project.
https://devblogs.microsoft.com/iotdev/debug-azure-iot-edge-c-remote-linux-module-container-with-visual-studio-2019-version-16-3/
When I attempt to attach to the module that is setup via SSH with root login permissions enabled, I get this output from Visual Studio:
VSDBG is not installed on my linux target so whats failing is the download/setup of VSDBG. I found a related article on installing VSDBG manually that references the //.vs-debugger path but I'm not sure if this is what is needed
https://www.plcnext-community.net/en/hn-makers-blog/464-remote-debugging-of-a-net-core-application-with-vs-code-on-plcnext.html
I noticed when I select the module to debug that the User Name show "nobody" instead of what I think is normal/expected which is "moduleUser". Is this related to the issue?
So I'm looking for help understanding why the download and install of VSDBG is failing. The SSH credentials are using root so I don't think permissions should be a problem. On the other hand, the failure is simple and possibly permission related:
Command 'mkdir -p '//.vs-debugger'' failed with code '1'. "
If there is a manual set of steps I can follow to install VSDBG so my visual studio attach-to-debug works, as shown above, that would be very helpful.
I am trying to install kite on jupyter-lab 3.0.5 using a Linux terminal but the server extension is not working. Instead, I am getting this error message:
Server Extension Unreachable
The jupyterlab-kite extension will not work because the jupyter-kite server extension could not be reached.
To fix this, please ensure the jupyter-kite server extension is installed and active (`jupyter serverextension list`), then restart the JupyterLab process.
I have tried uninstalling it and reinstalling it using:
pip install "jupyterlab-kite>=2.0.2"
but I cannot get the server extension to work. When I try to enable the server extension, I get an error as shown below.
thamu#thamu-PC:~$ jupyter server extension enable jupyter_kite
Enabling: jupyter_kite
- Writing config: /usr/etc/jupyter
- Validating jupyter_kite...
jupyter_kite 2.0.2 OK
X Validation failed: [Errno 13] Permission denied: '/usr/etc'
I have found what I think is a solution on GITHUB here but I have not installed Jupyter using Anaconda so this address (<conda_root>/share/jupyter/lab/settings/build_config.json) is not the same as on my computer to delete the build_config.json file. Does anyone know how else I could find this file in order to enable the kite server?
i have followed the instruction in previous posts but still cannot get user-secret to work.
I'm trying to install it on my IIS server. I run everything in this path:
C:\inetpub\wwwroot\myapp\wwwroot>
dnvm use 1.0.0-rc1-update1 -p
dnu commands install Microsoft.Extensions.SecretManager --overwrite
the installation passes and I get the message:
The following commands were installed: user-secret
but them when i run:
user-secret -h
I get the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Framework.SecretManager.CommandOutputProvider..ctor(IRuntimeEnvi
ronment runtimeEnv)
at Microsoft.Framework.SecretManager.Program..ctor(IRuntimeEnvironment runtim
eEnv)
needless to say - no UserSecrets folder is created...
can you help?
thanks!
Just try to restart Visual Studio and Developer Command Prompt for VS2015.
It worked for me.
dnx v. 1.0.0-rc1-final
Microsoft.Extensions.SecretManager v. 1.0.0-rc1-final
running the vagrant up on a previously functioning infrastructure fails with the following error
==> default: Error: Command npm is missing
==> default: Error: /Stage[main]/Puphpet_nodejs/Package[express]/ensure: change from absent to present failed: Command npm is missing
Had a look into the responsible script within the VM "/.puphpet-stuff/node_install.sh" and it seems the URL its using to fetch the latest node version is not exists anymore and thats cause this failure.
I found out the correct URL (perhaps changed recently on nodejs.org website and replaced in the file and it works now.
vagrant ssh
sudo vim /.puphpet-stuff/node_install.sh
and change
http://nodejs.org/dist/latest/SHASUMS.txt
To
http://nodejs.org/dist/latest/SHASUMS256.txt
I was trying to install node.js on my Windows 7. But, everytime I am trying to install it gives following error:
MSI (s) (A0:64) [20:01:44:207]: Executing op: CustomActionSchedule(Action=RegisterEventManifest,ActionType=3073,Source=BinaryData,Target=CAQuietExec,CustomActionData="wevtutil.exe" im "C:\Program Files\nodejs\node_etw_provider.man")
MSI (s) (A0:F8) [20:01:44:217]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI7B6E.tmp, Entrypoint: CAQuietExec
CAQuietExec: Transaction support within the specified resource manager is not started or was shut down due to an error.
CAQuietExec: Error 0x80071a91: Command line returned an error.
CAQuietExec: Error 0x80071a91: CAQuietExec Failed
CustomAction RegisterEventManifest returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 20:01:44: InstallFinalize. Return value 3.
MSI (s) (A0:64) [20:01:44:528]: User policy value 'DisableRollback' is 0
MSI (s) (A0:64) [20:01:44:528]: Machine policy value 'DisableRollback' is 0
I have tried following solutions, but neither worked:
Node.js Setup Wizard ended Prematurely on Windows 7 32 bit
http://blogs.technet.com/b/odsupport/archive/2010/12/30/troubleshooting-office-installation-failures.aspx
https://support.microsoft.com/en-us/kb/939399
Can someone please help me here, can give some suggestions?
Thanks in advance.
Note: I am using https://nodejs.org/dist/latest/node-v4.1.0-x86.msi
Run Regedit. Do a search for node.js and node.exe. Remove all entries.
Remove any entries from PATH environment variable.
This condition normally occurs due to an incomplete install or uninstallation of node.js.
I was getting a similar Node.js install failure:
Action 13:26:10: RegisterPerfmonManifest.
CAQuietExec:
CAQuietExec: Error 0x8007000d: Command line returned an error.
CAQuietExec: Error 0x8007000d: QuietExec Failed
CAQuietExec: Error 0x8007000d: Failed in ExecCommon method
CustomAction RegisterPerfmonManifest returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 13:26:10: InstallFinalize. Return value 3.
This is from Windows 7 for node-v6.10.0-x64.msi.
The solution for this was to disable Performance Counters (under the "node.js runtime" option) during the install. This is suggested by the RegisterPerfmonManifest entry in the install log, and also is recommended on a Node.js GitHub issue as a workaround.
I had the exact same problem.
After a couple of hours trying to fix it, un-checking "Event tracing(ETW)" did the trick for me. Give it a try.
I did two things:
un-checking "Event tracing(ETW)"
And services.msc enabled Volume Shadow Copy service I put automatic
I tried all but it´s fix to me.
I hope that help you.
Windows 10
cmd.exe "Run as administrator"
msiexec /i node-v10.1.0-x64.msi
"Custom Setup" disable "Event tracing (ETW)"
PS.
Volume Shadow Copy is Manual - not Running
Check version
1. Run cmd.exe
2. node --version
v10.1.0
For some reason, the vendor has decided to ignore windows installer best practices and shell out to some utility to do the installation work. It's failing. You aren't the developer of this install so this isn't really a question for stack overflow.