[Debian-Islamic-maintainers] Bug#637782: Bug#637782: Zekr (1.0.0+repack-5) fails to start - could not detect XULRunner

أحمد المحمودي aelmahmoudy at sabily.org
Sun Aug 14 13:32:55 BST 2011


On Sun, Aug 14, 2011 at 12:06:06PM +0100, Danny Dayus wrote:
> Zekr fails to start, giving the following warning message:
> 
> org.eclipse.swt.SWTError: No more handles [Could not detect
> registered XULRunner to use]
>     at org.eclipse.swt.SWT.error(SWT.java:4308)
>     at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:683)
>     at org.eclipse.swt.browser.Browser.<init>(Browser.java:96)
>     at net.sf.zekr.ui.QuranForm.makeFrame(QuranForm.java:475)
>     at net.sf.zekr.ui.QuranForm.init(QuranForm.java:300)
>     at net.sf.zekr.ui.QuranForm.<init>(QuranForm.java:278)
>     at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
>     at net.sf.zekr.ZekrMain.main(ZekrMain.java:91)
> 
> As of 14-8-2021 Zekr.org has a wiki page -
> http://zekr.org/wiki/Trouble_shooting#Failed_to_execute_runnable -
> which mentions a similar problem, and which says that the problem
> has been fixed as of version 0.7.5 by editing
> /home/<username/.zekr/config.properties to change the line
> 
> update.enable = true
> to
> update.enable = false
> 
> However, on version 1.0.0+repack-5 the same or similar problem
> occurs, even though the said line in the config.properties file is
> already changed as above by default.
> 
> I am using Debian GNU/Linux Wheezy with linux kernel 3.0.1 and XULRunner-6.0
---end quoted text---

Zekr relies SWT library. Unfortunately, SWT does not support XULRunner 
6.0. The solution is to use the WebKit backend instead.

1) Make sure that /home/<username/.zekr/config.properties does *NOT* have 
this setting:
options.browser.useMozilla=true

2) Make sure that libswt-webkit-gtk-3-jni is installed.

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-islamic-maintainers/attachments/20110814/ce8ecba2/attachment-0003.sig>


More information about the Debian-islamic-maintainers mailing list