Mon Oct 26, 2020 6:57 am
Login Register Lost Password? Contact Us


Failed to start web browser - see error log - but where!

Topics around the use of the VS Code & Eclipse plugins

Sat Apr 11, 2015 1:56 am Change Time Zone

I have an hpcc system installed on a laptop - and Eclipse Luna on the same laptop. Hpcc is latest (5.2) - Eclipse plugin is latest too (both installed today).

ECL is working find from playground - ecl watch working fine from localhost via Chrome.

Eclipse Ecl Developer view is able to submit job - and it runs fine (can see from ecl-watch in chrome).

HOWEVER - when I switch to ECL Watch view in eclipse - I get the message "Failed to create Web Browsers - see Error Log"

I looked in the Eclipse General Error Log and there was nothing there - so where should I look?
dabayliss
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 109
Joined: Fri Apr 29, 2011 1:35 pm

Sat Apr 11, 2015 3:48 pm Change Time Zone

Possibly related - in 'Development' window - if I click on the work unit I get:

An error has occurred. See error log for more details.
org.eclipse.ui.editors.text.TextEditor cannot be cast to org.hpccsystems.eclide.editors.ECLWindow
dabayliss
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 109
Joined: Fri Apr 29, 2011 1:35 pm

Mon Apr 13, 2015 9:20 am Change Time Zone

Is this a Linux based machine?

Assuming it is (and your localhost ECL Playground comment), you may need to install libwebkitgtk:

Code: Select all
sudo apt-get install libwebkitgtk-1.0-0
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Mon Apr 13, 2015 3:54 pm Change Time Zone

It is Ubuntu 14.10 (so yes - Linux).

The install of the gtk has solved the 'unable to start webbrowser'. Very cool. Thnx.

Still getting the:

An error has occurred. See error log for more details.
org.eclipse.ui.editors.text.TextEditor cannot be cast to org.hpccsystems.eclide.editors.ECLWindow

when clicking one a work unit in the work unit tab from the development window
dabayliss
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 109
Joined: Fri Apr 29, 2011 1:35 pm

Mon Apr 13, 2015 3:56 pm Change Time Zone

Make sure your local file has an ".ecl" file extension and make sure your project is an ECL Project...
gsmith
 
Posts: 285
Joined: Thu May 12, 2011 9:40 am

Mon Apr 13, 2015 11:41 pm Change Time Zone

Yes to both. The whole 'compile/submit' thing works .... it is just the click on the work-unit window that fails with the error message
dabayliss
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 109
Joined: Fri Apr 29, 2011 1:35 pm


Return to VS Code and Eclipse IDE

Who is online

Users browsing this forum: No registered users and 1 guest