Chromedriver has stopped working and says Driver info: chromedriver=81.0.4044.69 even though I have 81.0.4044.138 installed - protractor

Ignoring uncaught error SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 81
(Driver info: chromedriver=81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044#{#776}),platform=Mac OS X 10.15.4 x86_64)
Inside node_modules/protractor/node_modules/webdriver-manager/selenium/ I have:
-rw-r--r-- 1 account1 staff 94690 5 May 23:12 chrome-response.xml
-rwxr-xr-x 1 account1 staff 14786468 15 Mar 05:40 chromedriver_81.0.4044.138
-rw-r--r-- 1 account1 staff 7019279 5 May 23:12 chromedriver_81.0.4044.138.zip
-rw-r--r-- 1 account1 staff 397989 5 May 23:12 gecko-response.json
-rwxr-xr-x 1 account1 staff 5259056 10 Oct 2019 geckodriver-v0.26.0
-rw-r--r-- 1 account1 staff 2006880 5 May 23:12 geckodriver-v0.26.0.tar.gz
-rw-r--r-- 1 account1 staff 566 5 May 23:12 update-config.json
I have Version 81.0.4044.138 installed as I can see in chrome://settings/help
I've no idea where it's getting 81.0.4044.69 from...

Related

jhipster kubernetes command fails at the beginning with "No monolith found in ..."

I just ran through the JHipster demo "Learn JHipster In 15 Minutes" and I'm now trying to deploy the result into kubernetes using these instructions. It's failing on the 2nd question.
$ jhipster kubernetes
INFO! Using JHipster version installed globally
⎈ Welcome to the JHipster Kubernetes Generator ⎈
Files will be generated in folder: /Users/johnaron/git/JHipDemo/k8s
✔ Docker is installed
? Which *type* of application would you like to deploy? Monolithic application
? Enter the root directory where your applications are located (../) ../
>> No monolith found in /Users/johnaron/git/JHipDemo/
This is the listing of the parent directory
$ ll ..
total 4384
drwxr-xr-x 40 johnaron staff 1280 Jun 22 16:08 .
drwxr-xr-x# 99 johnaron staff 3168 Jun 22 16:13 ..
-rw-r--r-- 1 johnaron staff 853 Jun 15 18:26 .browserslistrc
-rw-r--r-- 1 johnaron staff 478 Jun 15 18:26 .editorconfig
-rw-r--r-- 1 johnaron staff 92 Jun 15 18:27 .eslintignore
-rw-r--r-- 1 johnaron staff 3041 Jun 15 18:26 .eslintrc.json
drwxr-xr-x 12 johnaron staff 384 Jun 22 16:13 .git
-rw-r--r-- 1 johnaron staff 3413 Jun 15 18:26 .gitattributes
-rw-r--r-- 1 johnaron staff 2075 Jun 15 18:26 .gitignore
drwxr-xr-x 7 johnaron staff 224 Jun 15 18:41 .gradle
-rw-r--r-- 1 johnaron staff 53 Jun 15 18:26 .huskyrc
drwxr-xr-x 5 johnaron staff 160 Jun 15 18:31 .jhipster
-rw-r--r-- 1 johnaron staff 113 Jun 15 18:26 .lintstagedrc.js
-rw-r--r-- 1 johnaron staff 69 Jun 15 18:26 .prettierignore
-rw-r--r-- 1 johnaron staff 251 Jun 15 18:26 .prettierrc
-rw-r--r-- 1 johnaron staff 143 Jun 15 18:26 .yo-rc-global.json
-rw-r--r-- 1 johnaron staff 1468 Jun 22 16:12 .yo-rc.json
-rw-r--r-- 1 johnaron staff 7404 Jun 15 18:26 README.md
-rw-r--r-- 1 johnaron staff 3210 Jun 15 18:26 angular.json
-rw-r--r--# 1 johnaron staff 418 Jun 15 18:29 blog.jdl
drwxr-xr-x 8 johnaron staff 256 Jun 15 18:44 build
-rw-r--r-- 1 johnaron staff 10204 Jun 15 18:26 build.gradle
-rw-r--r-- 1 johnaron staff 793 Jun 15 18:26 checkstyle.xml
drwxr-xr-x 9 johnaron staff 288 Jun 15 18:26 gradle
-rw-r--r-- 1 johnaron staff 2424 Jun 15 18:26 gradle.properties
-rwxr-xr-x 1 johnaron staff 5960 Jun 15 18:26 gradlew
-rw-r--r-- 1 johnaron staff 2842 Jun 15 18:26 gradlew.bat
-rw-r--r-- 1 johnaron staff 1448 Jun 15 18:26 jest.conf.js
drwxr-xr-x 2 johnaron staff 64 Jun 22 16:08 k8s
-rw-r--r-- 1 johnaron staff 530 Jun 15 18:26 ngsw-config.json
drwxr-xr-x 1228 johnaron staff 39296 Jun 15 18:33 node_modules
-rw-r--r-- 1 johnaron staff 2108706 Jun 15 18:33 package-lock.json
-rw-r--r-- 1 johnaron staff 6672 Jun 15 18:33 package.json
-rw-r--r-- 1 johnaron staff 694 Jun 15 18:26 settings.gradle
-rw-r--r-- 1 johnaron staff 1538 Jun 15 18:26 sonar-project.properties
drwxr-xr-x 4 johnaron staff 128 Jun 15 18:26 src
-rw-r--r-- 1 johnaron staff 151 Jun 15 18:26 tsconfig.app.json
-rw-r--r-- 1 johnaron staff 729 Jun 15 18:26 tsconfig.json
-rw-r--r-- 1 johnaron staff 285 Jun 15 18:26 tsconfig.spec.json
drwxr-xr-x 5 johnaron staff 160 Jun 15 18:26 webpack
What is jhipster looking for?
John
Now I tried moving the k8s dir to the same level as the JHipDemo, but it was no help.
johnaron#JOHNARON-M-841U:k8s$ jhipster kubernetes
INFO! Using JHipster version installed globally
⎈ Welcome to the JHipster Kubernetes Generator ⎈
Files will be generated in folder: /Users/johnaron/git/k8s
✔ Docker is installed
? Which *type* of application would you like to deploy? Monolithic application
? Enter the root directory where your applications are located (../) ../JHipDemo
>> No monolith found in /Users/johnaron/git/JHipDemo
I believe you need to create it at the same level as your monolith. For example:
JHipDemo
k8s
Can you try this?

What are ~/.m2 and ~/.p2 folders and can I delete them?

I know they are somehow linked to Eclipse and .m2 is related to maven.
However, I never really used maven and I don't use it anymore, though I still use Eclipse, and these two folders ~/.p2 and ~./m2 are about 4Gb each and I'm wondering if I can simply delete them.
To clarify, my ~/.p2 folder looks like that:
cd ~/.p2
du -sh */
3.2M org.eclipse.equinox.p2.core/
48M org.eclipse.equinox.p2.engine/
45M org.eclipse.equinox.p2.repository/
3.6G pool/
I'm wondering if pool/ folder needs to be that big or do I have relic/zoombie files there and how to find out about it?
For example, why do I have so many versions of PyDev?
drwxr-xr-x 6 alan staff 192 Apr 4 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_4.5.5.201603221110
drwxr-xr-x 6 alan staff 192 May 11 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.0.0.201605051159
drwxr-xr-x 6 alan staff 192 Jun 22 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.1.1.201606162013
drwxr-xr-x 6 alan staff 192 Jun 28 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.1.2.201606231256
drwxr-xr-x 6 alan staff 192 Sep 16 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.2.0.201608171824
drwxr-xr-x 6 alan staff 192 Oct 26 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.3.0.201610121612
drwxr-xr-x 6 alan staff 192 Nov 1 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.3.1.201610311318
drwxr-xr-x 6 alan staff 192 Dec 8 2016 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.4.0.201611281236
drwxr-xr-x 6 alan staff 192 Jan 25 2017 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.5.0.201701191708
drwxr-xr-x 6 alan staff 192 Mar 22 2017 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.6.0.201703221358
drwxr-xr-x 6 alan staff 192 Apr 12 2017 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.7.0.201704111357
drwxr-xr-x 6 alan staff 192 Jun 16 2017 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.8.0.201706061859
drwxr-xr-x 6 alan staff 192 Aug 28 2017 /Users/alan/.p2/pool/plugins/org.python.pydev.core_5.9.2.201708151115
drwxr-xr-x 6 alan staff 192 Sep 22 2017 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.0.0.201709191431
drwxr-xr-x 6 alan staff 192 Nov 9 2017 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.1.0.201711051306
drwxr-xr-x 6 alan staff 192 Nov 29 2017 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.2.0.201711281614
drwxr-xr-x 7 alan staff 224 Mar 1 2018 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.3.1.201802272029
drwxr-xr-x 7 alan staff 224 Mar 23 2018 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.3.2.201803171248
drwxr-xr-x 7 alan staff 224 May 15 2018 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.3.3.201805051638
drwxr-xr-x 7 alan staff 224 Jul 12 2018 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.4.3.201807050139
drwxr-xr-x 7 alan staff 224 Aug 9 2018 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.4.4.201807281807
drwxr-xr-x 7 alan staff 224 Oct 2 2018 /Users/alan/.p2/pool/plugins/org.python.pydev.core_6.5.0.201809011628
drwxr-xr-x 7 alan staff 224 Nov 9 2018 /Users/alan/.p2/pool/plugins/org.python.pydev.core_7.0.3.201811082356
drwxr-xr-x 7 alan staff 224 Feb 12 2019 /Users/alan/.p2/pool/plugins/org.python.pydev.core_7.1.0.201902031515
drwxr-xr-x 7 alan staff 224 Jul 1 2019 /Users/alan/.p2/pool/plugins/org.python.pydev.core_7.2.1.201904261721
drwxr-xr-x 7 alan staff 224 Aug 31 2019 /Users/alan/.p2/pool/plugins/org.python.pydev.core_7.3.0.201908161924
drwxr-xr-x 7 alan staff 224 Nov 7 2019 /Users/alan/.p2/pool/plugins/org.python.pydev.core_7.4.0.201910251334
drwxr-xr-x 8 alan staff 256 Mar 9 10:20 /Users/alan/.p2/pool/plugins/org.python.pydev.core_7.5.0.202001101138
drwxr-xr-x 8 alan staff 256 Jun 6 13:49 /Users/alan/.p2/pool/plugins/org.python.pydev.core_7.6.0.202006041357
I also have files as old as 2012, which I'm quite sure I'm not using them.
.m2 is your local Maven repository. It contains all ever downloaded Maven dependencies and Maven plugins. You can delete this folder (except maybe existing configuration/settings files, outside of the repository subfolder). If required Maven will recreate this folder and download everything: in Eclipse right-click a project and choose Maven > Update Project..., click Select All and hit OK
.p2 of this size contains most of your Eclipse installation (all plugins Eclipse is made up of) that you installed via the Eclipse Installer (in contrast to installing Eclipse via unpacking a ZIP or using a DMG file on macOS where the plugins are contained in the plugins subfolder). Do not delete this folder, otherwise you will not be able to start Eclipse anymore. To clean up this folder, run the Eclipse Installer, in the top right menu select Bundles Pools... (in Eclipse, the term bundle is a synonym for plugin) and in the Bundles Pool Management dialog run Clear Cache... and Cleanup Agent...
The .m2 folder holds Maven configuration files and a copy of every artifact you ever downloaded. You can typically delete the .m2/repository folder if you need the disk space.
The .p2 folder is apparently for the Eclipse installer. I usually use a ZIP distribution which does not fill up this.

Why do I see different files in Visual Studio Code terminal and Linux terminal?

I noticed that a lot of commands were missing when using VSCode terminal. So I tried a ls -l / on both my distro's and VSCode's terminals.
Linux Mint Xfce Terminal:
livy#linux-mint:~$ ls -l /
total 2097252
drwxr-xr-x 2 root root 4096 Aug 13 15:13 bin
drwxr-xr-x 4 root root 4096 Aug 13 15:15 boot
drwxr-xr-x 2 root root 4096 Aug 13 15:06 cdrom
drwxr-xr-x 20 root root 4260 Aug 15 08:40 dev
drwxr-xr-x 147 root root 12288 Aug 13 16:46 etc
drwxr-xr-x 4 root root 4096 Aug 13 15:06 home
lrwxrwxrwx 1 root root 33 Aug 13 15:07 initrd.img -> boot/initrd.img-4.15.0-54-generic
lrwxrwxrwx 1 root root 33 Aug 13 15:04 initrd.img.old -> boot/initrd.img-4.15.0-54-generic
drwxr-xr-x 23 root root 4096 Aug 13 15:07 lib
drwxr-xr-x 2 root root 4096 Jul 29 19:15 lib64
drwx------ 2 root root 16384 Aug 13 14:59 lost+found
drwxr-xr-x 2 root root 4096 Jul 29 19:14 media
drwxr-xr-x 2 root root 4096 Jul 29 19:14 mnt
drwxr-xr-x 3 root root 4096 Aug 13 15:18 opt
dr-xr-xr-x 214 root root 0 Aug 15 08:40 proc
drwx------ 4 root root 4096 Aug 13 15:07 root
drwxr-xr-x 32 root root 940 Aug 15 08:41 run
drwxr-xr-x 2 root root 12288 Aug 13 15:14 sbin
drwxr-xr-x 2 root root 4096 Jul 29 19:14 srv
-rw------- 1 root root 2147483648 Aug 15 08:40 swapfile
dr-xr-xr-x 13 root root 0 Aug 15 09:31 sys
drwxrwxrwt 15 root root 4096 Aug 15 08:53 tmp
drwxr-xr-x 11 root root 4096 Jul 29 19:14 usr
drwxr-xr-x 11 root root 4096 Jul 29 19:50 var
lrwxrwxrwx 1 root root 30 Aug 13 15:07 vmlinuz -> boot/vmlinuz-4.15.0-54-generic
And here is the result from VSCode terminal:
livy#linux-mint:~$ ls -l /
total 2097204
drwxr-xr-x 6 nfsnobody nfsnobody 4096 Aug 13 16:00 app
lrwxrwxrwx 1 livy livy 7 Aug 15 09:13 bin -> usr/bin
drwxr-xr-x 2 livy livy 80 Aug 15 09:13 boot
drwxr-xr-x 2 nfsnobody nfsnobody 4096 Aug 13 15:06 cdrom
drwxr-xr-x 5 livy livy 340 Aug 15 09:13 dev
drwxr-xr-x 15 livy livy 860 Aug 15 09:13 etc
drwxr-xr-x 4 nfsnobody nfsnobody 4096 Aug 13 15:06 home
lrwxrwxrwx 1 livy livy 33 Aug 15 09:13 initrd.img -> boot/initrd.img-4.15.0-54-generic
lrwxrwxrwx 1 livy livy 33 Aug 15 09:13 initrd.img.old -> boot/initrd.img-4.15.0-54-generic
lrwxrwxrwx 1 livy livy 7 Aug 15 09:13 lib -> usr/lib
lrwxrwxrwx 1 livy livy 9 Aug 15 09:13 lib64 -> usr/lib64
drwx------ 2 nfsnobody nfsnobody 16384 Aug 13 14:59 lost+found
drwxr-xr-x 2 nfsnobody nfsnobody 4096 Jul 29 19:14 media
drwxr-xr-x 2 nfsnobody nfsnobody 4096 Jul 29 19:14 mnt
drwxr-xr-x 3 nfsnobody nfsnobody 4096 Aug 13 15:18 opt
dr-xr-xr-x 209 nfsnobody nfsnobody 0 Aug 15 09:13 proc
drwxr-xr-x 6 livy livy 160 Aug 15 09:13 run
lrwxrwxrwx 1 livy livy 8 Aug 15 09:13 sbin -> usr/sbin
drwxr-xr-x 2 nfsnobody nfsnobody 4096 Jul 29 19:14 srv
-rw------- 1 nfsnobody nfsnobody 2147483648 Aug 15 08:40 swapfile
drwxr-xr-x 7 livy livy 140 Aug 15 09:13 sys
drwxr-xr-x 4 livy livy 80 Aug 15 09:13 tmp
drwxr-xr-x 12 nfsnobody nfsnobody 4096 Aug 13 16:00 usr
drwxr-xr-x 7 livy livy 160 Aug 15 09:13 var
lrwxrwxrwx 1 livy livy 30 Aug 15 09:13 vmlinuz -> boot/vmlinuz-4.15.0-54-generic
From the file owners, permissions, and modification date... it looks like they are working on different file systems. VSCode's /bin even points to /usr/bin, while it is not the case in Xfce terminal. The strange thing is that I can still use VSCode's terminal to navigate my home directory (/home/livy) and make changes to files. It even sources the content of my ~/.bashrc file.
What I am missing here?
I was having this exact same issue and discovered that the cause was that VSCode was installed as a Flatpak package. Uninstall it (be it a snap or a Flatpak package) and install the .deb file distributed by Microsoft.

bluemix-appid No such module"BluemixAppID'

I am setting up APP ID on IOS Swift Project.
Set up the Pods, and seeing BluemixAppID in the Pods.
Set up the URLS etc
Added the error and the framework search path below
POD File
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'PS_1' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'BluemixAppID'
target 'PS_1Tests' do
inherit! :search_paths
# Pods for testing
end
target 'PS_1UITests' do
inherit! :search_paths
# Pods for testing
end
end
Project Dir
drwxr-xr-x 4 kosalan staff 136 22 Jul 23:54 DerivedData
drwxr-xr-x 11 kosalan staff 374 23 Jul 00:08 PS_1
drwxr-xr-x 5 kosalan staff 170 23 Jul 00:03 PS_1.xcodeproj
drwxr-xr-x 3 kosalan staff 102 22 Jul 22:39 PS_1.xcworkspace
drwxr-xr-x 4 kosalan staff 136 28 May 13:13 PS_1Tests
drwxr-xr-x 4 kosalan staff 136 28 May 13:13 PS_1UITests
-rw-r--r--# 1 kosalan staff 415 22 Jul 23:32 Podfile
-rw-r--r-- 1 kosalan staff 422 22 Jul 23:33 Podfile.lock
drwxr-xr-x 11 kosalan staff 374 22 Jul 23:32 Pods
-rw-r--r-- 1 kosalan staff 7 28 May 13:19 README.md
Kosalans-MBP:PS_1 kosalan$ pwd
/Users/kosalan/Documents/Projects/PS_1/PS_1
Kosalans-MBP:PS_1 kosalan$
Kosalans-MBP:Pods kosalan$ ls -l
total 8
drwxr-xr-x 5 kosalan staff 170 22 Jul 22:43 BMSAnalyticsAPI
drwxr-xr-x 5 kosalan staff 170 22 Jul 22:43 BMSCore
drwxr-xr-x 5 kosalan staff 170 22 Jul 23:30 BluemixAppID
drwxr-xr-x 2 kosalan staff 68 22 Jul 23:32 Headers
drwxr-xr-x 2 kosalan staff 68 22 Jul 22:38 Local Podspecs
-rw-r--r-- 1 kosalan staff 422 22 Jul 23:33 Manifest.lock
drwxr-xr-x 4 kosalan staff 136 22 Jul 22:38 Pods.xcodeproj
drwxr-xr-x 8 kosalan staff 272 22 Jul 23:33 Target Support Files
Kosalans-MBP:Pods kosalan$
xcode screenshot - framework search paths
xcode screenshot - error along with full build settings
This is fixed by opening .xcworkspace in the proj dir vs the .xcodeproj.

Problem provisioning iPhone with 3.0.1 after it worked before

After I installed iPhone OS 3.0.1 on my iPhone I followed the instructions on Apple's website (see this question), created the symbolic links, and everything worked fine. That is, I could test my application on the iPhone.
Now it stopped working. I verified that the symbolic link is still there. I also tried deleting and recreating it and I also tried naming it 3.0.1 (7A400) instead of just 3.0.1. None of this worked, my iPhone is still showing up as "Could not support development" in the Xcode organizer.
Here are the contents of /Developer/Platforms/iPhoneOS.platform/Device Support on my computer:
Macintosh:~ thm$ ls -la /Developer/Platforms/iPhoneOS.platform/DeviceSupport/
total 40
drwxrwxr-x 12 root admin 408 13 Aug 22:42 .
drwxrwxr-x 7 root admin 238 22 Jun 20:43 ..
lrwxr-xr-x 1 root admin 11 21 Jun 20:17 2.0 (5A345) -> 2.0 (5A347)
drwxrwxr-x 5 root admin 170 21 Jun 20:17 2.0 (5A347)
lrwxr-xr-x 1 root admin 11 21 Jun 20:17 2.0.1 (5B108) -> 2.0 (5A347)
lrwxr-xr-x 1 root admin 11 21 Jun 20:17 2.0.2 (5C1) -> 2.0 (5A347)
drwxrwxr-x 5 root admin 170 21 Jun 20:17 2.1
lrwxr-xr-x 1 root admin 3 21 Jun 20:17 2.1.1 -> 2.1
drwxrwxr-x 5 root admin 170 21 Jun 20:17 2.2
drwxrwxr-x 5 root admin 170 21 Jun 20:17 2.2.1
drwxrwxr-x 5 root admin 170 21 Jun 20:17 3.0 (7A341)
lrwxr-xr-x 1 root admin 12 13 Aug 22:42 3.0.1 -> 3.0 (7A341)/
I wonder if this is caused by my recent upgrade to Mac OS 10.5.8? I'm not sure whether I tested anything on the iPhone after the upgrade.
Did anybody else have a similar problem? Any ideas what might be causing this?
Any help is greatly appreciated.
Try starting with the simple stuff. First, have you tried restarting xcode, your Mac, and the iPhone?
Have you try this? Work for me.
http://adcdownload.apple.com/iphone/iphone_sdk_3.0__final/iphone_os_3.0.1_advisory.pdf