Simple Terminal(ST) exit wihout error message when execute jfrog command - jfrog-cli

I met the issue when running the command line (jfrog rt u ) in the Simple Terminal. the terminal will exit without any error message. other commands are find
OS: Arch
WM: dwm
Terminal: ST
i just installed some of patches from the suckless website.and not sure if more patches needed
Screenshot below:
Error when execute jfrog command.gif

Related

How to fix 'command rails not found' in ubuntu wsl

I am using Ubuntu on windows with wsl.
I installed zsh, it works after installation but after closing the terminal and trying to run commands like rails c it would have an error telling me
"Command 'rails' not found, but can be installed"
I have rails already installed and I have a temporary fix for this problem.
If i run exec bash then exec zsh again zsh would work as expected.
The problem occurs every time I open the terminal. How do i fix this?

Install riscv spike simulator'; Failed to run dtc: No such file or directory Child dtb process failed

I try to install the riscv tool to my Ubuntu 18.04.4 LTS server.
Use the following git repo and follow its build procedure:
spike simulator
GNU tool
Installation (Newlib)
riscv pk
Issue spike pk hello, gives me
Failed to run dtc: No such file or directory
Child dtb process failed
I have already installed the device-tree-compiler through apt command.
And checked with which dtc, outputs /usr/bin/dtc
What might be the problem?
Any help would be appreciated.
I run those commands on a command-line interface, not capable to run any graphic user interface. Not sure if that causes this problem.
The spike simulator is my first attempt to execute riscv code, I am also welcome to other recommendations.
I figure it out by creating a symbolic link using ln -s $(which dtc) and the problem is solved.

not recognized as an internal or external command, operable program or batch file. gcloud invocation failed

I just installed the google cloud package on R (cloudml). When I submit a job to the cloud I get this error message:
Error: ERROR: gcloud invocation failed [exit status 1]
[command]
cmd /c C:\Users\vidar\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gsutil.cmd ls -p
[output]
[errmsg]
'C:\Users\vidar\AppData\Local\Google\Cloud' is not recognized as an internal or external command,
operable program or batch file.
Installing the cloudml package in R took care of installing Google SDK and I didn't get any error message or anything during the installation process.
Any idea why I get this error message?
You are getting an error in this command:
cmd /c C:\Users\vidar\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gsutil.cmd ls -p
because it includes a space in the path (in Cloud SDK). From this answer in an older question:
You have to add quotation marks around each path and also enclose the
whole command in quotation marks
In your case:
cmd /c ""C:\Users\vidar\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\gsutil.cmd" "ls -p""
Please run following command to resolve the error
gcloud_init()
refer to article for details
rstudio with cloudml on GCP
Packages should be installed in following manner
install.packages("cloudml")
library(cloudml)
gcloud_install() # install the SDK using the
gcloud_init() # default account, project, or region you can use the gcloud_init() function

Brackets shell not running node commands

I have just installed the Brackets Shell extension (Mac OSX 10.9) and can run normal shell commands (ls, pwd), but not node commands (bower install, npm install). I get 'command not found'. Any suggestions?
Currently the brackets shell extension has a bug in that it is not reading your profile path environment. This is why you are receiving "command not found" in the console.
I'll be releasing an update to the shell extension this coming weekend (10/4/2014) which should resolve your issues.

Cannot install AutoIT library for Robot Framework

I'm going to install AutoIT library for Robot framework to do automation task for Win Application, during on this, I've encountered a problem as below:
My OS : Win Vista 32-bits
1. Install Python 2.7.6 using Windows installer
2. Install Robot Framework using 'pip' command line
3. Run 'python setup.py install' from C:/temp/AutoItLibrary-1.1 (unzipped) by Administration permission.
The command line show error:
Don't think we need to unregister the old one...
%SYSTEMROOT%\system32\regsvr32.exe /S C:\Python27\Lib\site-packages\AutoItLibrary\lib\AutoItX3.dll
The system cannot find the path specified.
Traceback (most recent call last):
File "setup.py", line 70, in <module>
subprocess.check_call(cmd, shell=True)
File "C:\Python27\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '%SYSTEMROOT%\system32\regsvr32.exe /S C:\Python27\Lib\site-p
ackages\AutoItLibrary\lib\AutoItX3.dll' returned non-zero exit status 1
So, Does the version Autoit_1.1. match with Win Vista or not ? please help me figure out the issue.
In my case the problem was solved setting the missing environment variable HOMEDRIVE and run python setup.py install as administrator. My Python is installed in C:\Python27 so I need to set HOMEDRIVE to C:
Login as an Administrator to console and then install (case from win 8.1)
Try installing wheel before installing robotframework-autoitlibrary.
It worked like a charm.
pip install wheel
then
pip install robotframework-autoitlibrary
I solve the problem by the following steps:
1> go to
http://www.testingnotes.eu/howto-install-robot-framework-windows-7-8-64/
find the paragraph as below:
Download AutoIT library (64bits) from here:
AutoItLibrary-1.1_x64
8.1. Unzip “AutoItLibrary-1.1_x64” folder. (i.e. in this example I will unzip to “C:\”)
8.2. Open command shell as Administrator. Click on “Start”, type “cmd”, right click > “Run as Administrator“).
8.3. Go to AutoIT folder (i.e. in this example I had to type: “cd C:\AutoItLibrary-1.1_x64”
8.4. Run configuration script: type “setup.py install” and ENTER.
the key point is
8.2. Open command shell as Administrator. Click on “Start”, type “cmd”, right click > “Run as Administrator“).
2> just do it: Click on “Start”, type “cmd”, right click > “Run as Administrator“.
I am from China, before answer the question when I get the solution, I need to over the wall. It is not easy.
Remove everything under Python/AutoItLibrary folder:
..\Python36\Lib\site-packages\AutoItLibrary
and rerun python setup.py install
it will work.
run pip install robotframework-autoitlibrary as an admin.
I'll fix this problem by installing AutoIT on local computer (log to computer by local account) not member of domain(log with domain). And it's solved.

Resources