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.
Related
i have been running an online compiler and I get this error in docker image compile.log file.
In UI I get Compiler error. After I check log file I get this error -
FATAL [2022-05-19 03:22:16] [/tmp/smallday_judger/src/child.c:41]Error: System errno: Operation not permitted; Internal errno: SETRLIMIT_FAILED
I am using docker_judger, AWS linux ami
reference link:- https://opensource.qduoj.com/#/onlinejudge/guide/deploy
I am deploying an web app and It give me an error like:
Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.8 -i /tmp/8da2073577e7c44 --compress-destination-dir -p virtualenv_name=antenv --log-file /tmp/build-debug.log
Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
You can report issues at https://github.com/Microsoft/Oryx/issues
Oryx Version: 0.2.20211207.1, Commit: 46633df49cc8fbe9718772a3c894df221273b2af, ReleaseTagName: 20211207.1
Build Operation ID: |k0MN7QhgbkY=.5fbefdfd_
Repository Commit : 6bc0cf64-6a80-4b53-a94d-605798c20ce9
Detecting platforms...
Error: Oops... An unexpected error has occurred.
Error: Oops... An unexpected error has occurred.\n/opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform python --platform-version 3.8 -i /tmp/8da2073577e7c44 --compress-destination-dir -p virtualenv_name=antenv --log-file /tmp/build-debug.log
Can anybody tell me how do I solve this problem
If you are having a VNet integration then suggest to disconnect and then publish.
See similar issue here: Detecting platforms... Error: Oops... An unexpected error has occurred
Try removing unused config variables. In my case I was migrating from Heroku and I had a DISABLE_COLLECTSTATIC variable that wasn't used in my app. After removing it the error went away.
I have a python project that has a makefile which has
test: clean lint
#pytest app/tests/ --cov ./app -s
I usually type make test in the terminal to trigger this pytest. However, recently it stopped working. Instead, I get an error
make: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk '' -find make 2> /dev/null' failed with exit code 256: (null) (errno=No such file or directory)
And MacOS pops up a message window saying it needs to download software (without details other than a progress bar). It takes ~10 min to finish installing. But it doesn't change anything. I have installed XCode although I never used it. Pytest still works if I directly type the pytest commands.
My machine is a Macbook Pro with BigSur Intel CPU. I'm not a iOS/MacOS app developer and I don't use Xcode. I don't understand why would make triggers it. How to avoid it?
More info following #MadScientist suggestion:
> type -a make
make is /usr/bin/make
> make --version
OR
> make -d test
xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun
> /usr/bin/make
xcrun: error: invalid active developer path (/Applications/Xcode.app/Contents/Developer), missing xcrun at: /Applications/Xcode.app/Contents/Developer/usr/bin/xcrun
I'm trying to install a tool on my computer via pip on my Mac and have been having issues.
I've seen suggestions on StackOveflow to install the Command Line Tools, to run variants of xcode-select --install, and export CPATH and CPATH. This resolved the header error. I'm now getting the error
ld: library not found for -lSystem
collect2: error: ld returned 1 exit status
and
psutil/_psutil_osx.c:36:43: fatal error: CoreFoundation/CoreFoundation.h: No such file or directory
#include <CoreFoundation/CoreFoundation.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
Has anyone come across anything similar?
I encountered the same problem after updating to Catalina macOS 10.15 and installing xcode 12 beta 6. My golang code failed compiling with error
share/go/src/crypto/x509/root_cgo_darwin.go:16:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
#include <CoreFoundation/CoreFoundation.h>
Tried xcode-select --install, and other suggestions, none worked.
The final fix I found was to manually link directories that were messed up by the update.
Steps
1: turn off rootless/System Integrity Protection on Mac: Disable SIPe
This setup is needed to make change to system configuration.
reboot your mac and hold-on command + R to enter recovery mode.
Once in Recovery mode, open a Terminal window from the Utilities drop-down menu at the top of the screen. Type the following into the Terminal window:
csrutil disable
2: reboot into normal mode
3: open terminal, make the root folder writable
sudo mount -uw
4: fix the links
cd /System/Library/Frameworks/CoreFoundation.framework
ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers Headers
ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework/Modules Modules
cd /System/Library/Frameworks/Security.framework
ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers Headers
ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Modules Modules
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.