Monthly Archives: February 2018

systemd changes everything

systemd changes everything

datetime

logging

accessibility testing and usability testing

accessibility testing and usability testing

bountysource lets you make money from opensource

bountysource lets you make money from fixing opensource bugs

eclipse red robotframework problems

if you having a problem getting eclipse red to run python 3 robotframework libraries/modules/packages

try running pip3 as root so that the libraries/modules/packages end up installed globally instead of a hidden .local directory

# pip3 install --upgrade pip
# pip3 install robotframework 
# pip3 install robotframework-seleniumlibrary

# ls -l /usr/local/bin/
total 24
lrwxrwxrwx 1 root root 17 Feb 9 13:50 chromedriver -> /opt/chromedriver
lrwxrwxrwx 1 root root 16 Feb 9 13:32 geckodriver -> /opt/geckodriver
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip3
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip3.5
-rwxr-xr-x 1 root root 80 Feb 9 13:11 pybot
-rwxr-xr-x 1 root root 202 Feb 9 13:11 rebot
-rwxr-xr-x 1 root root 198 Feb 9 13:11 robot

 

python 2 pip and python 3 pip wierdness

python 2 pip and python 3 pip wierdness bizarrely if you run

# aptitude install python3-pip
# pip3 install --upgrade pip

you will end up with the following files

# ls -l /usr/local/bin/
total 24
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip3
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip3.5

and so bizarrely if you type pip it will now run pip3 !

 

 

eclipse red robotframework symlink error

if you are getting a eclipse red robotframework ‘Too many levels of symbolic links’ symbolic link error

20180209 13:47:02.625 : INFO : Opening browser 'chrome' to base url 'http://google.com'.
20180209 13:47:02.647 : INFO : Cannot capture screenshot because no browser is open.
20180209 13:47:02.660 : FAIL : OSError: [Errno 40] Too many levels of symbolic links
Starting test: Dem.Dem.test1
Ending test: Dem.Dem.test1

it may be because you made a mistake when you created your symlink to your webdriver and have created a recursive symlink to itself

# ls -l /usr/local/bin/
total 24
lrwxrwxrwx 1 root root 12 Feb 9 13:44 chromedriver -> chromedriver
lrwxrwxrwx 1 root root 16 Feb 9 13:32 geckodriver -> /opt/geckodriver
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip3
-rwxr-xr-x 1 root root 205 Feb 9 13:08 pip3.5
-rwxr-xr-x 1 root root 80 Feb 9 13:11 pybot
-rwxr-xr-x 1 root root 202 Feb 9 13:11 rebot
-rwxr-xr-x 1 root root 198 Feb 9 13:11 robot
lrwxrwxrwx 1 root root 3 Feb 9 13:49 zzz -> zzz

you may have typed

# ln -s zzz /usr/local/bin/

when what you meant to do is

# ln -s /opt/chromedriver /usr/local/bin/

 

aptitude safe-upgrade seems to downgrade unsafe apps ?

aptitude safe-upgrade seems to downgrade unsafe apps ?

i installed openjdk-9-jdk then ran aptitude safe-upgrade and it said it would REMOVE the following packages

 # aptitude safe-upgrade
The following packages will be REMOVED: 
 ca-certificates-java{u} fonts-dejavu-extra{u} java-common{u} libatk-wrapper-java{u} libatk-wrapper-java-jni{u} 
 libice-dev{u} libpthread-stubs0-dev{u} libsm-dev{u} libx11-dev{u} libx11-doc{u} libxau-dev{u} libxcb1-dev{u} 
 libxdmcp-dev{u} libxt-dev{u} openjdk-9-jdk-headless{u} openjdk-9-jre{u} openjdk-9-jre-headless{u} 
 x11proto-core-dev{u} x11proto-input-dev{u} x11proto-kb-dev{u} xorg-sgml-doctools{u} xtrans-dev{u} 
0 packages upgraded, 0 newly installed, 22 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 333 MB will be freed.
Do you want to continue? [Y/n/?] n

esclipse uses codetrails to allow automatic bug submission

esclipse uses codetrails to allow automatic bug and error report submission

https://www.codetrails.com/

Founded by a group of German Computer Scientists passionate about taking software development to the next level.

https://www.codetrails.com/#products

Eclipse creates the open source platform used worldwide to develop software in any language, at every stage of its lifespan. With over 10,000,000 developers using Eclipse and over 250 projects, errors can be hard to spot and reproduce. Thanks to Codetrails Error Analytics, Eclipse users submit up to 3 million error reports in a single year – without even needing an account.