Watir Webdriver installation issues - watir

Error installing Watir webdriver.
ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-mingw32]
I set the SET HTTP_PROXY and then tried as below:
C:\>gem install watir-webdriver
"ERROR: Could not find a valid gem 'watir-webdriver' (>= 0), here is why:
Unable to download data from https:// rubygems . org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https:// s3 . amazonaws.com / production.s3.rubygems.org / latest_specs.4.8.gz)
ERROR: While executing gem ... (TypeError) can't modify frozen object"
I then tried...
C:\>gem install watir-webdriver --source http: // rubygems .org
ERROR: While executing gem ... (TypeError) can't modify frozen object
Not able to install watir webdriver. Please let me know if there are any additional steps that I need to follow. Thank you!

You can try this.It might help you.
gem update --system
gem install watir-webdriver --system

There was a new rubygems update to resolve this problem.
https://github.com/rubygems/rubygems/issues/671
Updating the gems manually to the latest version resolved the problem.
visit -> http://rubygems.org/pages/download
Thought this would be beneficial to others.

Related

Failed to build gem native extension installing p4ruby Net::ReadTimeout with #<Socket:fd 9> (Net::ReadTimeout)

I´m trying to install the p4ruby gem on our RHEL 7.9 server and I keep getting the "failed to build gem native extension" error.
Here is what the log contains this message:
have_library: checking for -lsupc++... -------------------- no
I have installed the Development Tools with
yum group install "Development tools"
And I´m using RVM with Ruby Version 2.7.1.
What am I missing?
Edit:
Thanks to Knud Larsens hint
yum install gcc-c++ libstdc++-static
fixed the previous issue.
But the building still doesn´t work
`rbuf_fill': Net::ReadTimeout with #<Socket:fd 9> (Net::ReadTimeout)
is what I get now.

pip install fails with failed to parse error

ERROR: Could not install packages due to an EnvironmentError: Failed to parse:
I am using below command for installation
python3.7 -m pip install --user xxx-scanner
I tried this command on ubuntu vm.This command works in my vm but fails from travis setup
ubuntu dist: xenial
As mentioned in the link provided by #ambikanair if you get an error like:
ERROR: Could not install packages due to an EnvironmentError: Failed to parse:
you likely need to escape characters like # or % in the URL in your pip configuration file (e.g. ~/.pip/pip.conf), so instead of:
user#domain.com
do:
user%40domain.com
This is a requirement since pip 19.2, caused by urrlib3 library introducing changes to URL parsing (see issue on GitHub).
I found the reason for the issue
https://github.com/pypa/pip/issues/6775

Using pip install when using automatic configuration script for proxy settings

While I try to do:
Pip install robotframework
I get a connection timedout error message.
I am using configuration script for my proxy
Could someone tell how to add this detail to environment variable or any other method to over come this ?
Take a look into your configuration script.
After that you can specify the required parameters in the following command:
pip install --proxy http://user:password#proxyserver:port robotframework

pecl install cassandra throws: “error: Unable to load libgmp”

I'm trying to use Laravel 5.1 and Cassandra 3.7
Version: PHP7, Apache2.2, Cassandra3.7
but, I got below error
configure: error: Unable to load libgmp
ERROR: `/var/tmp/cassandra/configure --with-php-config=/usr/bin/php-config'
failed
Can someone help me?
It appears you are missing one of the dependencies which will allow the PHP driver to be successfully built and installed. Ensure you have GNUMP (with development headers) installed:
RHEL: sudo yum install gmp-devel
Ubuntu: sudo apt-get install libgmp-dev
If you run into any other missing dependencies or build issues I would recommend looking into the build instructions on GitHub for the driver.

Cabal Update and Package Installation Errors

When I do cabal install criterion
I get the following error regarding the package vector-algorithms
Warning: The package list for 'hackage.haskell.org' is 16 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Downloading vector-algorithms-0.4...
cabal: Error: some packages failed to install:
vector-algorithms-0.4 failed while downloading the package. The exception was:
connect: does not exist (Connection refused)
And when I run cabal update it again errors with
Downloading the latest package list from hackage.haskell.org
cabal: openTCPConnection: host lookup failure for ""
What is wrong?
I'm using Ubuntu 11.10 and GHC 7.0.4 from this PPA and my network connection is just fine in the rest of the system.
It was a proxy setting. It didn't suffice to unset ftp_proxy or http_proxy but also https_proxy. GNOME doesn't automatically remove terminal proxy configuraition when I disable it from system settings. Very annoying. I will write a shell-script that disables all proxy settings.
Sorry for bothering you all.
You may also force the proxy:
export http_proxy=hackage.haskell.org:80
cabal update
export http_proxy=

Resources