Bootstrap failed: 5: Input/output error Error: Failure while executing - python

Please help me with the solution as i am trying to install mongodb via brew on mac M1 air.
It is throwing me this error
Bootstrap failed: 5: Input/output error
Error: Failure while executing;
/bin/launchctl bootstrap gui/501 /Users/shrirajdesai/Library/LaunchAgents/homebrew.mxcl.mongodb-community#4.2.plist
exited with 5.

I had a similar error when I tried to run brew services restart postgresql and I got this error:
Bootstrap failed: 5: Input/output error
Error: Failure while executing; /bin/launchctl bootstrap gui/501 /Users/user/Library/LaunchAgents/homebrew.mxcl.postgresql.plist exited with 5.
This solution worked for me:
brew services. Cant start service. get "Bootstrap failed: 5: Input/output error"
In my case I replaced the mongodb-community with postgresql. I am currently running macOS Big Sur version 11.6.2.

Related

Robocorp Visual studio code long path errror

getting error after downloading robocorp, an building the project
WARNING! Long path support failed. Reason: exit status 1.
WARNING! See https://robocorp.com/docs/product-manuals/robocorp-lab/troubleshooting#windows-has-to-have-long-filenames-support-on for more details.
Long paths do not work!
Executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe configure longpaths --enable
Error executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe configure longpaths --enable
Error code: undefined
Error: error
Stderr: Failure to modify registry: Access is denied.
Executing: C:/Windows/System32/mshta.exe javascript: var shell = new ActiveXObject('shell.application');shell.ShellExecute('c:/Users/davisvin/.vscode/extensions/robocorp.robocorp-code-0.40.2/bin/rcc.exe', 'configure longpaths --enable', '', 'runas', 1);close();
Executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe configure longpaths
Error executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe configure longpaths
Error code: undefined
Error: error
Stderr: The full path of C:\Users\davisvin\AppData\Local\robocorp\stump\verylongpath1\verylongpath2\verylongpath3\verylongpath4\verylongpath5\verylongpath6\verylongpath7\verylongpath8\verylongpath9\verylongpath10\verylongpath11\verylongpath12\verylongpath13\verylongpath14\verylongpath15\verylongpath16\verylongpath17\verylongpath18\verylongpath19\verylongpath20\verylongpath21\verylongpath22\verylongpath23\verylongpath24 is too long.
WARNING! Long path support failed. Reason: exit status 1.
WARNING! See https://robocorp.com/docs/product-manuals/robocorp-lab/troubleshooting#windows-has-to-have-long-filenames-support-on for more details.
Long paths do not work!
There was some error with rcc configure longpaths.
Windows long paths support NOT enabled.
RCC stdout:
<not collected>
RCC stderr:
<not collected>
Extension will not be activated because Windows long paths support not enabled.
Robocorp Code extension disabled. Reason: Unable to get python to launch language server.
Unable to activate Robocorp Code extension because python executable from RCC environment was not provided.
-- Most common reason is that the environment couldn't be created due to network connectivity issues.
-- Please fix the error and restart VSCode.
Error getting Python
Unable to get language server python info.
Error: Unable to get language server python info.
at c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\vscode-client\out\extension.js:92:23
at Generator.next (<anonymous>)
at fulfilled (c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\vscode-client\out\extension.js:23:58)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[Error - 2:08:21 PM] Starting client failed
Error: Unable to get language server python info.
at c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\vscode-client\out\extension.js:92:23
at Generator.next (<anonymous>)
at fulfilled (c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\vscode-client\out\extension.js:23:58)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
Error initializing Robocorp code.
Unable to get language server python info.
Error: Unable to get language server python info.
at c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\vscode-client\out\extension.js:92:23
at Generator.next (<anonymous>)
at fulfilled (c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\vscode-client\out\extension.js:23:58)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
Robocorp Code initialization finished. Took: 21.3s
Error resolving interpreter.
command 'robocorp.resolveInterpreter' not found
Error: command 'robocorp.resolveInterpreter' not found
at b.k (vscode-file://vscode-app/c:/Users/davisvin/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1669:3069)
at b.executeCommand (vscode-file://vscode-app/c:/Users/davisvin/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1669:2985)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
Error resolving interpreter.
command 'robocorp.resolveInterpreter' not found
Error: command 'robocorp.resolveInterpreter' not found
at b.k (vscode-file://vscode-app/c:/Users/davisvin/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1669:3069)
at b.executeCommand (vscode-file://vscode-app/c:/Users/davisvin/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1669:2985)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
Error executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe feedback metric -t vscode -n vscode.code.error -v ERROR_INITIALIZING_ROBOCORP_CODE_LANG_SERVER
Error code: undefined
Error: error
Stderr: Tracking is disabled. Quitting.
Error executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe feedback metric -t vscode -n vscode.code.error -v ACT_RESOLVE_INTERPRETER
Error code: undefined
Error: error
Stderr: Tracking is disabled. Quitting.
Error executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe feedback metric -t vscode -n vscode.code.error -v INIT_NO_PYTHON_LANGUAGE_SERVER
Error code: undefined
Error: error
Stderr: Tracking is disabled. Quitting.
Error executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe feedback metric -t vscode -n vscode.lsp.error -v EXT_UNABLE_TO_START
Error code: undefined
Error: error
Stderr: Tracking is disabled. Quitting.
Error executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe feedback metric -t vscode -n vscode.code.error -v INIT_NO_LONGPATH_SUPPORT
Error code: undefined
Error: error
Stderr: Tracking is disabled. Quitting.
Error executing: c:\Users\davisvin\.vscode\extensions\robocorp.robocorp-code-0.40.2\bin\rcc.exe feedback metric -t vscode -n vscode.code.error -v INIT_PYTHON_ERR
Error code: undefined
Error: error
Stderr: Tracking is disabled. Quitting.
So I manually enabled longs path on powershell, regedit and gpedit windows 10 and I am still getting the same error.
Navigate to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem > NTFS > Enable Win32 long paths
Select Enabled, then click Apply.

Cannot install Pip in manjaro(Arch-Linux) , error while retriving files

I tried installing pip in manjaro(Arch-Linux) from terminal.
I tried running the following command -
sudo pacman -S python-pip
it gave me the following error -
Error Screenshot
python-pip-22.3-1-any.pkg.tar.zst failed to download
Total (1/7) 3.9 MiB 80.0 KiB/s 00:50 [#######################################################################################] 100%
error: failed retrieving file 'python-pip-22.3-1-any.pkg.tar.zst' from mirrors.ustc.edu.cn : SSL connection timeout
error: failed retrieving file 'python-pip-22.3-1-any.pkg.tar.zst' from mirror.csclub.uwaterloo.ca : The requested URL returned error: 404
error: failed retrieving file 'python-pip-22.3-1-any.pkg.tar.zst' from mirror.tarnkappe.info : The requested URL returned error: 404
error: failed retrieving file 'python-pip-22.3-1-any.pkg.tar.zst' from mirrors.ucr.ac.cr : SSL connection timeout
error: failed retrieving file 'python-pip-22.3-1-any.pkg.tar.zst' from manjaro.ipacct.com : The requested URL returned error: 404
error: failed retrieving file 'python-pip-22.3-1-any.pkg.tar.zst' from mirror.alpix.eu : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
can anyone tell me how to fix this issue? and why pip wasn't packaged with python in the first place ?
TLDR: just run pacman -Syu python-pip instead of pacman -S python-pip
As Arch Linux(and Manjaro) are rolling release it is not recommended to do do partial updates as they can break packages or in this case after some time the pacman database can be outdated so you should always do an update in order to prevent any issues when installing/updating packages, unless you know explicitly that you do not want to do a partial update you should not do it.
as for the 404 error it is pretty common that the mirrors of the packages delete the old packages for those reasons.
in the case for pip is unknow to me but it should be that python and pip are not the same and should be treated as such

Patchman Error during install ModuleNot Found Error: 'importlib.metadata' --python3-patchman

I have attached the image of the error dpkg error
I'm not really a developer so I am not sure how to troubleshoot something like this really? what direction should I be going?
I've looked around for ways to install any missing dependencies but now its unable to connect to "patchman server" which I don't believe has even been defined yet with a host/ip
dpkg: error processing package python3-patchman (--configure):
installed python3-patchman package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python3-patchman
Sending report to patchman server ...
E: Sub-process /usr/bin/dpkg returned an error code (1)

Trying to start appium server from the command line but keep getting this error

C:\Users\13024\PycharmProjects\UltraShop_Clean
Encountered internal error running command: Error: Could not sign with default certificate. Original error Command 'C:\Program Files\Java\jdk1.8.0_251\bin\bin\java.exe' not found. Is it installed?
[debug] [W3C] at ADB.signWithDef
java is installed and working it does have two \bins that do not exist
An unknown server-side error occurred while processing the command. Original error:
Could not sign with default certificate. Original error Command
'C:\Android\Studio\jre\bin\bin\java.exe' not found. Is it installed?
my system envs:
Removing the /bin from my java env Var and restarting computer worked.

sub process returns error code(1) while installing tomcat7

I am trying to install tomcat 7 on my Ubuntu machine.
This is the error I am getting.
Can someone help me out in this..
Job for tomcat7.service failed because the control process exited with error code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tomcat7, action "start" failed.
dpkg: error processing package tomcat7 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tomcat7
E: Sub-process /usr/bin/dpkg returned an error code (1)
I get the same error when I am trying to run upgrade/update commands too.

Categories

Resources