One day I worken on my python project but then (idk why) I get this error... I fully reinstalled vs code & python (absolutely full, trust me), this error still continued appearing. Then I checked my extensions and that problem was Jupyther! This error always appears when I'm starting VS Code, but when I switch it off I can't run any file (but I still can use console commands like pip). I don't know why Jupyther is not working on my netbook, if someone knows the answer - you are welcome, I need your help so much!
VS Code version: 1.64.2
Python version: 3.10.2
OS: Windows 10 Pro - x64
In dev tools logging:
log.ts:307 WARN Settings pattern "keyboard.*" doesn't match any settings
log.ts:301 INFO IExtensionHostStarter.start() took 442 ms.
log.ts:313 ERR [Extension Host] (node:10404) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
console.ts:137 [Extension Host] (node:10404) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.(Use `Code --trace-deprecation ...` to show where the warning was created)
I # console.ts:137
log.ts:307 WARN Settings pattern "keyboard.*" doesn't match any settings
console.ts:137 [Extension Host] Git installation not found.
I # console.ts:137
2log.ts:307 WARN Settings pattern "keyboard.*" doesn't match any settings
log.ts:301 INFO Setting search error: XHR failed
bingsettingssearch.trafficmanager.net/api/Search:1 Failed to load resource: net::ERR_CERT_DATE_INVALID
log.ts:301 INFO Setting search error: XHR failed
bingsettingssearch.trafficmanager.net/api/Search:1 Failed to load resource: net::ERR_CERT_DATE_INVALID
log.ts:307 WARN Settings pattern "keyboard.*" doesn't match any settings
log.ts:301 INFO Setting search error: XHR failed
bingsettingssearch.trafficmanager.net/api/Search:1 Failed to load resource: net::ERR_CERT_DATE_INVALID
log.ts:301 INFO Setting search error: XHR failed
bingsettingssearch.trafficmanager.net/api/Search:1 Failed to load resource: net::ERR_CERT_DATE_INVALID
log.ts:301 INFO Setting search error: XHR failed
bingsettingssearch.trafficmanager.net/api/Search:1 Failed to load resource: net::ERR_CERT_DATE_INVALID
log.ts:301 INFO Setting search error: XHR failed
bingsettingssearch.trafficmanager.net/api/Search:1 Failed to load resource: net::ERR_CERT_DATE_INVALID
localProcessExtensionHost.ts:325 Extension Host
localProcessExtensionHost.ts:326 Assertion failed: error not defined [0] (C:\Users\travis\build\zeromq\zeromq.js\build\libzmq\zeromq-4.3.2\src\err.cpp:383)
abstractExtensionService.ts:645 Extension host (LocalProcess) terminated unexpectedly. Code: 1073741845, Signal: null
_onExtensionHostCrashed # abstractExtensionService.ts:645
log.ts:313 ERR Extension host (LocalProcess) terminated unexpectedly. The following extensions were running: vscode.microsoft-authentication, vscode.debug-auto-launch, vscode.git-base, vscode.git, vscode.github, vscode.emmet, vscode.merge-conflict, ms-vscode-remote.remote-wsl-recommender, vscode.github-authentication, ms-python.python, ms-toolsai.jupyter
notificationsAlerts.ts:42 Extension host terminated unexpectedly.
Related
i am trying to automate an app with appium but after the first click i get an error:
Stacktrace:
UnknownError: An unknown server-side error occurred while processing the command. Original error: 'POST /element' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
at UIA2Proxy.command (C:\Program Files\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:274:13)
at processTicksAndRejections (internal/process/task_queues.js:85:5)```
Here is my appium server logs:
https://s7.dosya.tc/server21/tede1g/appiumlogs.txt.html
I was going through this tutorial, when I encountered the following error.
OS description :
LINUX UBUNTU 20.04 LTS
Input :
after compiling the tutorial successfully in the tutorial file using
gcc basic-tutorial-1.c -o basic-tutorial-1 `pkg-config --cflags --libs gstreamer-1.0`
and executing the tutorial with
./basic-tutorial-1
as stated in the website I got this output.
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
shared memfd open() failed: Function not implemented
shared memfd open() failed: Function not implemented
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
shared memfd open() failed: Function not implemented
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
I have read about XDG_RUNTIME_DIR but I am not sure what file should I assign it to or if that is even the problem; reference.
Was attempting to run logstash on my python/django project with the following command on windows (using git bash):
./logstash -f path/to/logstash.conf
I was getting this error
/c/Program Files/logstash-7.13.0/bin/logstash: line 40: cd: too many arguments
/c/Program Files/logstash-7.13.0/bin/logstash: line 40: /c/Users/Stephanie/Documents/Projects/BidRL/bidrl-reporting/bin/logstash.lib.sh: No such file or directory
/c/Program Files/logstash-7.13.0/bin/logstash: line 41: setup: command not found
/c/Program Files/logstash-7.13.0/bin/logstash: line 59: setup_classpath: command not found
/c/Program Files/logstash-7.13.0/bin/logstash: line 60: exec: : not found
I created a notion with every step I took to try to resolve the error.
Eventually I decided to try moving logstash from c/program files to c.
This solved the issue.
I cd into the logstash directory:
cd "/c/logstash-7.13.0/bin/"
And then run logstash
./logstash -f path/to/logstash.conf
This is the output
Using bundled JDK: /c/logstash-7.13.0/jdk
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults
Could not find log4j2 configuration at path /C:/Program Files/logstash-7.13.0/config/log4j2.properties. Using default config which logs errors to the console
[INFO ] 2021-05-25 14:34:41.276 [main] runner - Starting Logstash {"logstash.version"=>"7.13.0", "jruby.version"=>"jruby 9.2.16.0 (2.5.7) 2021-03-03 f82228dc32 OpenJDK 64-Bit Server VM 11.0.10+9 on 11.0.10+9 +indy +jit [mswin32-x86_64]"}
[WARN ] 2021-05-25 14:34:41.360 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
[INFO ] 2021-05-25 14:34:41.602 [Agent thread] configpathloader - No config files found in path {:path=>"C:/logstash-7.13.0/bin/path/to/logstash.conf"}
[ERROR] 2021-05-25 14:34:41.608 [Agent thread] sourceloader - No configuration found in the configured sources.
[INFO ] 2021-05-25 14:34:41.755 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=>9600}
[INFO ] 2021-05-25 14:34:46.864 [LogStash::Runner] runner - Logstash shut down.
It's starting logstash but still has some errors.
Wanted to post this since there isn't much documentation on it.
This is one of the docs I found that was very helpful:
Here is the notion with all the steps I took: https://www.notion.so/Steps-I-m-taking-to-configure-elasticsearch-Stephanie-9cf0ee31a5224507840a7837cd153d4b
I am using following code connect the RC (windows server) server via SSH library. when I am trying to execute command,
*** Settings ***
Library OperatingSystem
Library SSHLibrary
*** Test Cases ***
Test
SSHLibrary.Open Connection 10.117.207.225 alias=ssh \
SSHLibrary.Login reutadmin Reuters01 delay=1s
${stdout} ${stderr}= Execute Command echo 'Hello John!' return_stderr=True
Should Be Empty ${stderr}
log ${stderr}
Getting the following Error. Can you please help me on this case:
enter image description here channel connection closed:enter image description here
I had similar situation, in my case the error happened during Login step.
The cause was PermitTTY no in sshd server configuration. It was setup to serve only SFTP, and without TTY robotframework failed to login.
Changed server configuration to PermitTTY yes (which is default) resolved the issue.
i downloaded apprtc from here. Then i installed python 2.7, the google-appengine-api and all dependencies. i add all to my path and run the following command:
dev_appserver.py apprtc
which produce the following output:
INFO 2014-04-24 21:31:34,246 sdk_update_checker.py:242] Checking for updates
to the SDK.
INFO 2014-04-24 21:31:35,681 sdk_update_checker.py:286] This SDK release is
newer than the advertised release.
INFO 2014-04-24 21:31:35,917 api_server.py:171] Starting API server at: http
://localhost:46857
INFO 2014-04-24 21:31:35,924 dispatcher.py:182] Starting module "default" ru
nning at: http://localhost:8080
INFO 2014-04-24 21:31:35,927 admin_server.py:117] Starting admin server at:
http://localhost:8000
but if i now open localhost:8080 in chrome or firefox there popup the following message:
getusermedia() failed. is this a webrtc capable browser
Gathered ICE Candidates
Local:
Remote:
getUserMedia failed with exception: getUserMedia is not defined
but if i open the official apprtc demo it's running fine.
what can be the reason for the failures i get local?
thank you!
try this to getuser media
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia;