|
Re: Help with no more handles error [message #461815 is a reply to message #461812] |
Fri, 30 September 2005 15:55 |
|
Andrea Desole wrote:
> I'm trying to install the HTML Editor plugin, and I seem to have
> problems in making SWT work with Firefox.
> So far I did the following:
>
> export MOZILLA_FIVE_HOME=/usr/local/firefox/lib (Eclipse was complaining
> about the variable not being set)
> added /usr/local/firefox to ld.so.conf, followed by ldconfig -v (to find
> libxpcom.so)
>
> But I now have a problem I can't solve. I get the following stack trace:
>
>
> org.eclipse.swt.SWTError: No more handles [NS_InitEmbedding
> /usr/local/firefox/lib error -2147221164]
It looks like your version of firefox has been compiled without
embedding support ... you need to get a version with embedding support,
either compiling it yourself or finding some RPMs.
in my install, I have a libgtkembedmoz.so ... I'm guessing thats the
embedded support.
Later,
PW
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
|
|
|
Re: Help with no more handles error [message #462056 is a reply to message #461905] |
Wed, 05 October 2005 13:03 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
You have to use a mozilla that is built with GTK2 and Xft. You'll find many
of these at http://www.mozilla.org/releases/ , just look for "GTK2".
Grant
"Andrea Desole" <e_news@desole.demon.nl> wrote in message
news:dhu07k$57o$1@news.eclipse.org...
> Paul Webster wrote:
> >
> > It looks like your version of firefox has been compiled without
> > embedding support ... you need to get a version with embedding support,
> > either compiling it yourself or finding some RPMs.
>
> Paul, thank you for the suggestion. It took me quite some time to find
> out that, while Firefox doesn't have embedding support (apparently it
> can be built, but I don't know how), Mozilla does. I now have Mozilla
> 1.7.8, I set MOZILLA_FIVE_HOME to /usr/local/mozilla and I removed the
> line from ld.so.conf that refers to firefox. But I still have a problem:
>
> org.eclipse.swt.SWTError: No more handles [Mozilla GTK2 required (GTK1.2
> detected)]
> at org.eclipse.swt.SWT.error(SWT.java:3277)
> at org.eclipse.swt.browser.Browser.<init>(Browser.java:142)
> at
>
tk.eclipse.plugin.htmleditor.editors.MultiPageHTMLEditor.cre atePage1(MultiPa
geHTMLEditor.java:75)
> at
>
tk.eclipse.plugin.htmleditor.editors.MultiPageHTMLEditor.cre atePages(MultiPa
geHTMLEditor.java:84)
> at
>
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPar
t.java:241)
> at
>
tk.eclipse.plugin.htmleditor.editors.HTMLEditor.createPartCo ntrol(HTMLEditor
..java:97)
> at
>
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.jav
a:599)
> at
>
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:374)
> at
>
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReferenc
e.java:552)
> at
>
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:213)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.ja
va:2370)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2303
)
> at
org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2295)
> at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2281)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2276)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2257)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:372)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:335)
> at
>
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtil
ity.java:251)
> at
>
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInE ditor(EditorUtil
ity.java:131)
> at
>
org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(Open ActionUtil.java:
49)
> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:16 9)
> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:15 3)
> at
>
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchR un(SelectionDisp
atchAction.java:222)
> at
>
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selec tionDispatchActi
on.java:198)
> at
>
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActio nGroup.handleOpe
n(PackageExplorerActionGroup.java:296)
> at
>
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$ 4.open(PackageEx
plorerPart.java:869)
> at
>
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:741)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1044)
> at org.eclipse.core.runtime.Platform.run(Platform.java:783)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
> at
>
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:73
9)
> at
>
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:
968)
> at
>
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.jav
a:1067)
> at
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:243)
> at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:238)
> at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:277)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2909)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2605)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1755)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:368)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:106)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:226)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:377)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:164)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
>
>
> I don't know what the problem is. As far as I see I do have GTK2, and if
> I don't I can start Mozilla from the command line anyway, so I don't
> understand what is happening.
> Do you have an extra suggestion?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04676 seconds