Getting SWT error when using formula step in pentaho kettle on linux - swt

I'm using Pentaho Kettle 8.2 on fedora 28 64 bits;
I get this error
"Unable to open dialog for this step
org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME="](java.lang.UnsatisfiedLinkError:Could not load SWT library. Reasons: no swt-mozilla-gtk-4335 in java.library.path..."
"...libxpcom.so: cannot open shared object file: No such file or directory..."
I've been looking for an answer but all of I have found do not solve this problem.
The last on was instal xulrunner and set MOZILLA_FIVE_HOME to xulrunner directory.
thanks !!
[EDITED]
Print screen from error

For those having a very similar error:
SWT on GTK 2.x detected. It is reccomended to use SWT on GTK 3.x and
Webkit2 API.
Edit ./spoon.sh and look for the line
SWT_GTK3=0
Change that value to 1. It worked in Debian 10. I have installed libwebgtk-4.0.0.
Got the info translating this article in Google Translate: https://cloud.tencent.com/developer/article/1686155

Related

Running an Erlang Application in Eclipse is throwing an exception

I have installed Erlang OTP 25.0, erlide 0.56.0, Eclipse 2022-09 & Java 18. I have created a new Erlang project and module. I am facing 2 issues.
Issue #1:
Getting an error when I tried to launch the Eclipse after creating the Erlang project.
Issue #2:
When I tried to run the application, I am getting an exception "Launching App1 has encountered a problem. An internal error occurred during launching App1. Expected the service OtpNodeProxy 5756dc#null FAILED to be running, but the service has FAILED" as shown in the screenshot ErlangRunConfigException. Please help me in resolving the issue.
I have followed the procedure given below.
Installed Eclipse and Erlide plugin
Installed Erlang OTP 25.0 from https://www.erlang.org/patches/otp-25.0
Updated the environment PATH to refer to the Erlang installation path. I cross-checked this setting by typing "werl".
In Eclipse, Erlang InstalledRuntimes is automatically updated with the Erlang version 25.0. Refer to the screenshot ErlangInstalledRuntime
Created a Erlang project and module.
Edited the Hello.erl with HelloWorld code.
In Eclipse->RunConfguration, created an ErlangApplication (refer to the screenshot RunConfig-ErlangApp-Erlang). I set RunTime and Node name as shown in the screenshot RunConfig-ErlangApp-Runtime. Selected the Windows PATH as shown in the screenshot RunConfig-ErlangApp-Environment.
Hello.erl
```
-module(hello).
-export([hello_world/0]).
hello_world() -> io:fwrite("hello, world\n").
```
Images:
ErlangRunConfigException.png
ErlangInstalledRuntime.png
RunConfig-ErlangApp-Environment.png
RunConfig-ErlangApp-Runtime.png
werl output
RunConfig-ErlangApp-Erlang.png
Project structure
Eclipse Launching Error
Unfortunately, Erlang 25 doesn't load beam files older than v21, and the files included in erlide are that old. I am not really maintaining the project anymore, I can try to rebuild with v25, but can make no promises. Even then, the debugger will no longer work, it can be good to note.
The reported issue is seen with the latest Erlang version 25.0 and the older versions I have checked till 23.0. As a workaround, I have migrated to IntelliJ IDE.

How to solve problem of running of texstudio?

I have installed texstudio4.2.2win-qt6 .After installation when I open the texstudio application,it shows procedural entry point not found in dynamic link library gui.dll

Unable to open eclipse marketplace

I have installed eclipse kepler 64 bit on ubuntu 13.04 64 bit.
when i try to open the eclipse marketplace, i am getting following error :
Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Content is not allowed in prolog.
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Content is not allowed in prolog.
Content is not allowed in prolog.
Cannot complete request to http://marketplace.eclipse.org/catalogs/api/p: Content is not allowed in prolog.
Content is not allowed in prolog.
then i checked the log and found following :
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Framework arguments: -vm /usr/lib/jvm/java-7-openjdk-amd64/jre -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -vm /usr/lib/jvm/java-7-openjdk-amd64/jre -product org.eclipse.epp.package.jee.product
Error
Sun Sep 29 20:57:29 IST 2013
Cannot parse XML at URL http://marketplace.eclipse.org/catalogs/api/p
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1236)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:138)
at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:85)
at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:72)
at org.eclipse.epp.internal.mpc.core.service.DefaultCatalogService.listCatalogs(DefaultCatalogService.java:36)
at org.eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand$5.run(MarketplaceWizardCommand.java:254)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
i also tried to open the url : http://marketplace.eclipse.org/catalogs/api/p
but it gives following response :
This file is part of MediaWiki and is not a valid entry point
So i am wondering why this error occurred ??
The response of http://marketplace.eclipse.org/catalogs/api/p is probably also your answer.
I'm having the same problem in Windows 7. And since i couldn't find anything on Google either i'm guessing this is a temporary problem caused by some bug at the marketplace.eclipse.org server.
I've tried installing Kepler for Java programmers and the Standard edition, both return the same error when trying to access the marketplace.
Good luck.
I found this which suggested adding -Djava.net.preferIPv4Stack=true to your .ini file.
This worked for me when I had the same issue.
I faced the same issue with Windows XP and solved it by adding the site which caused the problem http://marketplace.eclipse.org/catalogs/api/p under Window → Preferences → Install/Update → Available software Site
This helped me solve the issue and able to install the plugin using Eclipse Marketplace.
I cannot access the marketplace via Eclipse as well (win 7 pro x64, no antivirus/firewall active at the moment). I also tried to download the eclipse theme plugin from http://eclipsecolorthemes.org/?view=theme&id=181 by clicking 'Download from Eclipse Marketplace' - same error: 'This file is part of MediaWiki and is not a valid entry point'. Most likely the whole marketplace is down.
Problem is eclipse marketplace. Server probably down or another problem.
http://marketplace.eclipse.org/
This file is part of MediaWiki and is not a valid entry point
I can't also access to http://marketplace.eclipse.org/
It currently gives an error:
This file is part of MediaWiki and is not a valid entry point
So only think to do is wait for marketplace server to be online again
Facing the same issue, probably issue with Eclipse Market Place site, its not something to do with Windows 7 or Ubuntu.
I am running on VM, which has Windows 7 and Ubuntu 12.0.4 LTS, response is same on both environments.
We may have to wait for the Eclipse Market place to be up.
I have same problem now (1.2. 2015). Look at the picture. Eclipse Market place not working, unable to open it.
It takes two days and eclipse market place is still inaccessible. You can ping server, but service is not working. When I asked support, they told me, the problem should be on their side. So, in my opinion, it have not connection with your distribution in most cases. You have to wait, until they fix it.
You can bypass it by using update sites in 90% cases.

Description error in Eclipse IDE for BlackBerry app generation

I am creating a HelloWorld program in Eclipse IDE for BlackBerry.
But I am getting following error :
Description Resource Path Location Type
InvalidRegex: Pattern value '([a-zA-Z_]{1,63}[\s-a-zA-Z_0-9.]{0,63}[;]?)*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '-'.' at column '{2}'. BlackBerry_App_Descriptor.xml /HelloWorld Unknown XML Problem
I tried uninstalling jdk 7.0 and instaling jdk 6.0 and trying, as suggested by few ppl.
But it didnt work for me. Can anyone please provide a solution for this.
Thanks in advance !
Can be fixed by switching Eclipse default JRE from 7 to 6.
in Window->Preferences->Java
Or you can try by deleting the BlackBerry_App_Descriptor.xml and then it got created again.
If that doesn't help
The problem is with Java 1.7, which the plugin doesn't currently support. You will need to use Java 1.6 32bit for development with the Eclipse plugin.
First uninstall jdk7. Then download and install jdk6.
Next time do some research before asking. The solution was rigth there. You will become a better programmer if you try and read before waiting for someone's answer

Type Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first

I have had all sorts of bizarre errors, like the one in the title, happen when I am using the Android SDK and AVD Manager with Eclipse. Generally I just unplug the phone and plug it back in or close and reopen Eclipse but it is frustrating. Apparently Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first doesn't allow me to compile my app, i think it is because I was trying to run the emulator with some suggestions from emulator is so slow to no avail. thought i should add im running eclipse 3.5.2 on Ubuntu 11.04
Just restart the eclipse and run the project. The error arises while installing a new target version. After completion of the installation it will get fix automatically. Else restart eclipse.
I met with the same error on my Macbook. I tried one of the methods explained at this link http://techmologies.blogspot.com/2009/05/conversion-to-dalvik-format-failed-with_06.html and solved the problem.
Put the following 2 lines in the eclipse.ini file:
-vm
C:\Program Files\Java\jdk1.6.0_07\bin\javaw.exe
Please modify the 2nd line according to the actual situation.
If you have upgraded your SDK, and if you have not updated ADT plugin it will show this error. Please check it once by updating ADT plugin
I made a new installation of Eclipse in different folder(with the same SDK folder) and imported the code to the workspace & it started to work again.