Tag Archives: eclipse

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

 

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/

 

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.

 

a very nasty python2 python3 hack

i did have a very nasty python 2 to python 3 hack to get the eclipse ide nokia/RED robot framework editor to work with python 3 but theres a better version below

$ cd ~
$ mkdir eclipse-red
$ ln -s /usr/bin/python3 eclipse-red/python

after you have created your symlink run eclipse

  • and goto Window → Preferences → Robot Framework → Installed frameworks → Add 
  • and if you are lucky nokia/RED should find Robot Framework 3.0.2 (Python 3.5.2 on linux) instead of the python 2 version

how to use eclipse ide and nokia red with python 3

howto get #eclipse #pdt open declaration [F3] working again with #php files

howto get #eclipse 4.3.1 #pdt 3.2.0 open declaration [F3] working again with #php files

look in your eclipse logfile do you see :

!ENTRY org.eclipse.dltk.core.index.sql 4 0 2013-10-14 16:45:28.670
!MESSAGE An exception has thrown while performing a search
!STACK 0
org.h2.jdbc.JdbcSQLException: 
Unsupported database file version or invalid file header in file "Old database: 
/home//workspace/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/model.data.db 
- 
please convert the database to a SQL script and re-create it." [90048-168]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)

if so

just delete your model.h2.db files as per

Atlassian Jira Connector for Eclipse

Atlassian Jira Connector for Eclipse