When i install oh my posh get an error , how to fix it? - oh-my-posh

how to fix it?
help me fix an error
Oh My Posh Error:
open https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/v7.59.0/themes/default.omp.json: The filename, directory name, or volume label syntax is incorrect.

Maintainer here. Can you create an issue on GitHub? That way I can help you see what’s wrong. What I need is the following:
oh-my-posh lines added to your profile
a bit of patience
https://github.com/JanDeDobbeleer/oh-my-posh/issues/new/choose

I faced a similar issue. As a workaround I included the full path to the theme in my $PROFILE.
oh-my-posh init pwsh --config $env:LOCALAPPDATA\Programs\oh-my-posh\themes\default.omp.json | Invoke-Expression

Related

ConfigError: No steps directory in 'C:\\Users\\Documents\Automation Framework\\

I am getting this error when running "behave -f" command, I have init.py file in steps,feature folder. Please let me know if there is any solution.
I tried running the feature for generating reports.
this question is not clearly formuled, there are details missing here. You must add something like a capture or similar to show us the directory tree you have in your project or so.
The init.py file doesn't matter to run behave. I'll show you an Hello-World project that works with the proper output of running the command behave in the command line.
If you need some other help, please, add more information about your question.

Unable to execute shell script using deploy command in jboss

I have been looking for solutions to this problem for a couple of days and have not found a suitable one.
Currently i have two lines of code in my shell script file.
cd /app/jboss/sample_project/bin
./jboss-cli.sh -c --controller=$hostnameVal:$jboss_port_no1 --user=$jboss_id --password=$jboss_pwd --command="deploy --force /sample/uploaded/sample-1.0.war --runtime-name=sample-1.0.war"
I am facing this error:
'--force' is assumed to be a command(s) but the commands to execute have been specified by another argument: [deploy]
I think it has something to do with the spaces between deploy and --force but I can't seem to find a solution to this. Would really appreciate if someone can shed some light. Thank you!
The root cause of the issue was due to the space between the deploy command and the file path, therefore jboss was not be able to find the parameter the properly.
Hence, a work around for this which I have found out is to create a cli file, write the deploy command in the cli file and pass the file as an input in the script that i am writing.
Do you observe the same problem in a terminal?

Error running node on Yosemite

Apologies in advance if this is a rookie question, I am brand new to Node.js and I am trying to learn. I have successfully installed Node on my laptop and added the folder to my PATH variable:
export PATH=$PATH:/usr/local/bin
However, when I try to run a simple program to test, I get the following error:
-bash: /usr/local/bin/node: Permission denied
I got it to work by granting 755 on /usr/local/bin but I am not sure if that is a good idea as it grants everyone read and execute rights on a bin directory!
Does anyone know of a better way to do this? Is my concern even justified?
Thanks in advance for your kind help.
it is probably an owner issue, check this out: https://docs.npmjs.com/getting-started/fixing-npm-permissions
The last suggestion on using Brew is probably the best option.

How to fix permissions errors for yeoman

trying to run yo...and getting these errors. I've tried a bunch of methods to fix this..nothing worked yet.
here is what the error reads:
There is a closed issue on yeoman githib repo. Please refer to that discussuion for more details. You should try chmod g+rwx /users/jeremychoi/.config/configstore/insight-yo.json this might work in your case. More on unix permissions refer here.

Python | Python.exe- Entry point not found

I installed (extracted) Kivy (Kivy-1.9.0-py3.4-win32-x86.exe) on my PC (Win7 32bit). Now whenever trying to run a file using kivy-3.4.bat getting an error message within a window...
python.exe- Entry point not found
The procedure entry point inflateReset2 could not be located in the dynamic link library zlib1.dll.
Once click on the "Ok" button I see
[Critical ] [app] unable to get a window, abort
on CMD.
I think this is a problem related to my system and Python more than Kivy. Can anyone tell me what is the problem and how to solve it?
This is amazing!! Even in StackOverFlow no one could give me any solution!!
Yes, I know this post is a bit old, but maybe someone else searches this.
I got the same error. And really, I just tried to start the python script via MS Powershell instead of CMD. I just wanted to use the PS one time.
And it worked, at least for me.
So, if you encounter this error, try to use the Powershell :)
This happened to me because an old zlib1.dll was being loaded from somewhere in my PATH. I copied a new version to system32 and it solved the problem.
It might be worth looking at this page:
http://kivy.org/docs/installation/installation-windows.html#start-a-kivy-application
I have the same issue. Finally I solve it with running command with administrator privilege (when the command === python -m pip install kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/).

Resources