Openstack setup error (failed to create symbolic link '/var/run/ovn/openvswitch': File exists) - vmware

im working on a school project building an Openstack Cloud Computing and im following a guide video.
The installation was smooth and then this error pops up:
ln: failed to create symbolic link '/var/run/ovn/openvswitch': File exists
/devstack/tools/worlddump.py:22: DeprecationWarning:
The distutils package is deprecated and slated for removal in Python 3.12.
Use setuptools or check PEP 632 for potential alternatives
can u guys help me out ? thanks alot, btw im new in this one.

this error accord because you reinstall the script you need to delete
/var/run/ovn/openvswitch
by execute the command
sudo rm /var/run/ovn/openvswitch
and then run
./stack.sh

Related

Expo 36: Unable to resolve "../../data" from "node_modules/css-tree/lib/syntax/default.js"

Got this error after upgrading expo 35 to 36.
Unable to resolve "../../data" from "node_modules/css-tree/lib/syntax/default.js"
I've tried to yarn add css-tree. This error was gone, but then module react-native-svg started giving the same error with it's included css-tree module.
I've tried to upgrad expo-cli to the latest version and restart terminal. I'm running builds with expo start -c to ensure cache doesn't affect it. I've tried to delete app from the simulator. Still the same.
I've been able to apply a temporary fix by upgrading css-tree dependency inside the react-native-svg, but this is a really wrong way to go as far as I know.
Any ideas?
I found a way to fix it, you just need to install css-tree package on your project.
npm install css-tree
or if you are using yarn
yarn add css-tree
as of SDK 38 this problem still shows up and seems to be caused by a version resolution issue where Yarn/NPM understands 1.0.0-alpha9 to be more recent then 1.0.0-alpha.37 (which is the minimum requirement for react-native-svg-transformer).
Using the resolutions override with Yarn 2 or Yarn 1 as follows fixed it for me with no other extra tweaking.
"resolutions": {
"css-tree": "1.0.0-alpha.39"
}
"resolutions": {
"**/css-tree": "1.0.0-alpha.39"
}
I needed to use react-native-svg-icon ran into the exact same issue.
I'm also running Expo SDK v36, and when it suggested me to install react-native-svg via the cli : expo install react-native-svg, that's what I did; there were errors with this approach most notably when you use import { Circle } from 'react-native-svg' (for newer versions of the package) and 'expo' sometimes doesn't install the package.json properly so I found installing the same version of react-native-svg w/o expo cli was the best approach.
Try running this npm i react-native-svg#9.13.3
Fixed it for me.
This issue occurred for me when building my app using MS App Center, the App Center build scripts picked up on an old yarn.lock file in the project using the line if [ -f yarn.lock ]; then { yarn install && yarn list --depth=0; } else npm install; fi however I normally use npm rather than Yarn.
Removing this file allowed the build to use npm which resolved this issue.

ERROR: could not open extension control file "/usr/pgsql-9.6/share/extension/postgis.control": No such file or directory

I want to deploy my project to VPS Centos7. But i am getting error while installing postgres. When i type
create extension postgis;
Getting error
ERROR: could not open extension control file
"/usr/pgsql-9.6/share/extension/postgis.control": No such file or
directory
Because postgis.contol is located in another place,
find /usr -name postgis.control
/usr/share/pgsql/extension/postgis.control
But postgres trying to create it from /usr/pgsql-9.6/share/extension/postgis.control
This question already was asked before, but my problem is other.
For me, I run below command in Ubuntu, and the issue was resolved.
sudo apt install postgresql-10-postgis-scripts
then run
CREATE EXTENSION postgis
It works fine for me.I hope it helps.

Error with H20 - Python init(): Server Error

This is a totally newbie question to see if I am missing something key (like there is more to install?).
After installing H20 (python 2.7) on a 9 node Hadoop / Spark cluster
using pip install of the whl file (h2o-3.10.4.8-py2.py3-none-any.whl) (which says it installed correctly).....
I can import h2o successfully.
But, when I run h2o.init() then I get:
"Checking whether there is an H20 instance running at http://localhost:54321. connected."
But then an error is thrown:
H2oServerError: HTTP 500 Server Error: u'Error: 500'
Should I be able to run H20 by simply pip installing that whl or is there more? The documentation seems outdated and there are lots of different versions found online. Anyone have any experience with this?
It's most likely that you got this problem solved, but maybe someone else may benefit. Use the install in Python Tab on the following website : http://h2o-release.s3.amazonaws.com/h2o/rel-tutte/2/index.html.

'.' is not recognized

I was following this tutorial for aws-php sdk Tutorial.
I Installed composer manually by using Composer-Setup.exe.
So when I am trying to install composer by clicking composer.json>Composer>install
this error appeared.
And if you have some proper tutorial for using php-sdk, please comment it here.
The tutorial is 2years outdated.
What you are trying to do is execute composer.
The correct way to execute composer in a windows based system is:
php composer.phar install
or
c:\path\to\php php composer.phar install
The approach of using ./ works with linux based systems after you have made the file executable. You generally do not require that in windows.
Go through the following links for details:
https://www.codementor.io/php/tutorial/composer-install-php-dependency-manager
https://www.codementor.io/php/tutorial/composer-install-php-dependency-manager

Error writing to file ascii.enc while installing python 2.7.11 on windows 10

I am installing npm using command "npm install -g windows-build-tools from an elevated PowerShell (run as Administrator)". It has few dependencies of visual c
++ tools and python 2.7
I am receiving an error while installing python 2.7.11
While installing by admin also i am receiving error.
I have tried giving permissions to that specific location also, set UAC to never notify also. but nothing works.enter image description here
I know it probably late but thought I'd add my thoughts.
Its most likely due to your anti-virus access protection denying write permission for this extension. I had the exact same trouble while trying to install both Python 2 and 3 but it worked fine when I temporarily paused my anti-virus.
.enc extension is associated with ransom wares and therefore most organizations black lists this particular file.
You can try rename any text file to .enc and would notice the same error.