Error while playing recitation file :: please help

2 views
Skip to first unread message

Imran Malik

unread,
Oct 1, 2007, 4:29:07 PM10/1/07
to zekr
Asalam o Alekum
What a great effort, no one but only Allah can reward the
contributors.........
1- i have a problem while playing recitations audio.
http://groups.google.com/group/zekr/web/Zekr+Error.JPG . i m sure the
i have followed every step mention in the wiki
http://groups.google.com/group/zekr/web/Zekr+Configuration.JPG
please guide me.
2- is it possible that i can change the text color of arabic or
translation???
جزاکہاللہ

Akmal Khushvakov

unread,
Oct 1, 2007, 7:03:40 PM10/1/07
to ze...@googlegroups.com
Assalomu alaykum wr wb brothers. I couldn't install zekr ramadan edition.
It shows errors. How can i fix this error?

java.io.FileNotFoundException: /home/akmal/.zekr/cache/print-style.css
(No such file or directory)
gnu.java.nio.channels.FileChannelImpl.open(libgcj.so.70)
gnu.java.nio.channels.FileChannelImpl.<init>(libgcj.so.70)
gnu.java.nio.channels.FileChannelImpl.create(libgcj.so.70)
java.io.FileOutputStream.<init>(libgcj.so.70)
java.io.FileOutputStream.<init>(libgcj.so.70)
net.sf.zekr.engine.template.ThemeTemplate.doTransform(Unknown Source)
net.sf.zekr.engine.template.BaseViewTemplate.transform(Unknown Source)
net.sf.zekr.common.runtime.ApplicationRuntime.createCommonFiles(Unknown Source)
net.sf.zekr.common.runtime.ApplicationRuntime.configure(Unknown Source)
net.sf.zekr.ZekrMain.startZekr(Unknown Source)
net.sf.zekr.ZekrMain.main(Unknown Source)

Mohsen Saboorian

unread,
Oct 1, 2007, 9:54:10 PM10/1/07
to ze...@googlegroups.com
Salamun alaikum,

> 1- i have a problem while playing recitations audio.
> http://groups.google.com/group/zekr/web/Zekr+Error.JPG . i m sure the
> i have followed every step mention in the wiki
> http://groups.google.com/group/zekr/web/Zekr+Configuration.JPG
> please guide me.

Make sure that you have flash player 9.0 installed for your IE
(recitation won't work if you just have flash player plugin for
Firefox). You can see the version you have in this page (browse with
IE):
http://www.macromedia.com/software/flash/about/

After that, whenever such an error is shown, just press no and do a
reload (Ctrl+R).

> 2- is it possible that i can change the text color of arabic or
> translation???

Not through GUI, but you can manipulate CSS files for the theme you are using.

Best,
Mohsen.

Mohsen Saboorian

unread,
Oct 1, 2007, 10:01:18 PM10/1/07
to ze...@googlegroups.com
Salamun alaikum wrwb,

> Assalomu alaykum wr wb brothers. I couldn't install zekr ramadan edition.
> It shows errors. How can i fix this error?

1. Are you using Gutsy? If not tell me the exact OS and arch. you are using
2. Is this error shown all the time you launch Zekr?
3. Did you have previous versions of Zekr on you machine? Which version?
4. Try to remove /home/akmal/.zekr/ fully and run Zekr again, and tell
me if the error still happens.

5. If nothing worked, you should be able to use sun-jre-5 or 6 to run Zekr.

Akmal Khushvakov

unread,
Oct 2, 2007, 8:35:47 AM10/2/07
to ze...@googlegroups.com
> 1. Are you using Gutsy? If not tell me the exact OS and arch. you are using

I use Ubuntu 7.04 Fiesty Fawn.

> 2. Is this error shown all the time you launch Zekr?

Yes

> 3. Did you have previous versions of Zekr on you machine? Which version?

I installed 0.4.0 version. It normally works. This problem only with
ramadan edition. but In Windows XP normally wokrs.

> 4. Try to remove /home/akmal/.zekr/ fully and run Zekr again, and tell
> me if the error still happens.

I have done it, but same problem.

> 5. If nothing worked, you should be able to use sun-jre-5 or 6 to run Zekr.
>

I tryed update java version. but i couldn't.

Mohsen Saboorian

unread,
Oct 2, 2007, 12:11:01 PM10/2/07
to ze...@googlegroups.com
> > 5. If nothing worked, you should be able to use sun-jre-5 or 6 to run Zekr.
> >
> I tryed update java version. but i couldn't.

Try this:
$ sudo apt-get install sun-java6-jre

and run
$ sudo update-alternatives --config java

choose sun-java6-jre as the default JRE.

After that, type:
$ java -version

and check if the result is something like this:
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

Let me know if Zekr worked with this configuration.

Mohsen.

Akmal Khushvakov

unread,
Oct 2, 2007, 1:47:07 PM10/2/07
to ze...@googlegroups.com
No, it doesn't work. I made step by step for your instruction.

here instalation proces:


akmal@akmal-desktop:~/dasturlar$ sudo dpkg -i zekr_0.6.5-1_i386.deb
(Reading database ... 131498 files and directories currently installed.)
Preparing to replace zekr 0.6.5-2 (using zekr_0.6.5-1_i386.deb) ...
-> Deleting "res/index/quran" done.
Unpacking replacement zekr ...
Setting up zekr (0.6.5-2) ...
Indexing.Exception in thread "Thread-0"
net.sf.zekr.engine.server.HttpServerRunt
imeException:
net.sf.zekr.engine.server.HttpServerRuntimeException: java.net.Unk
nownHostException:
akmal-desktop: akmal-desktop
at net.sf.zekr.engine.server.HttpServer.getUrl(Unknown Source)
at net.sf.zekr.engine.server.DefaultHttpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Caused by: net.sf.zekr.engine.server.HttpServerRuntimeException:
java.net.Unknow
nHostException: akmal-desktop: akmal-desktop
at net.sf.zekr.engine.server.DefaultHttpServer.getServerAddress(Unknown
Source)
at net.sf.zekr.engine.server.DefaultHttpServer.getAddress(Unknown
Source )
... 3 more
Caused by: java.net.UnknownHostException: akmal-desktop: akmal-desktop
at java.net.InetAddress.getLocalHost(InetAddress.java:1315)
... 5 more
....................... done.
Indexing took 14239 ms.


It shows same error when zekr launch.


net.sf.zekr.common.runtime.HtmlGenerationException:
net.sf.zekr.engine.server.HttpServerRuntimeException:
net.sf.zekr.engine.server.HttpServerRuntimeException:
java.net.UnknownHostException: akmal-desktop: akmal-desktop
net.sf.zekr.common.runtime.HtmlRepository.getMixedUri(Unknown Source)
net.sf.zekr.common.runtime.HtmlRepository.getMixedUri(Unknown Source)
net.sf.zekr.ui.QuranForm.updateQuranView(Unknown Source)
net.sf.zekr.ui.QuranForm.updateView(Unknown Source)
net.sf.zekr.ui.QuranForm.apply(Unknown Source)
net.sf.zekr.ui.QuranForm.gotoSuraAya(Unknown Source)
net.sf.zekr.ui.QuranForm.initQuranLocation(Unknown Source)
net.sf.zekr.ui.QuranForm.init(Unknown Source)
net.sf.zekr.ui.QuranForm.<init>(Unknown Source)
net.sf.zekr.ZekrMain.startZekr(Unknown Source)
net.sf.zekr.ZekrMain.main(Unknown Source)

Akmal Khushvakov

unread,
Oct 2, 2007, 1:52:06 PM10/2/07
to ze...@googlegroups.com

Mohsen Saboorian

unread,
Oct 2, 2007, 2:01:05 PM10/2/07
to ze...@googlegroups.com
Can you give me the result of the following command lines:

1.
$ cat /etc/hosts

2.
$ ifconfig

Akmal Khushvakov

unread,
Oct 2, 2007, 2:05:50 PM10/2/07
to ze...@googlegroups.com
Please
1.

akmal@akmal-desktop:~$ cat /etc/hosts
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
akmal@akmal-desktop:~$

2.

eth0 Link encap:Ethernet HWaddr 00:E0:4C:10:21:BE
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4cff:fe10:21be/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1526467 errors:0 dropped:0 overruns:0 frame:0
TX packets:1612962 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:356831053 (340.3 MiB) TX bytes:1076137271 (1.0 GiB)
Interrupt:20 Base address:0xf00

eth1 Link encap:Ethernet HWaddr 00:0B:6A:97:97:8E
inet addr:84.54.91.162 Bcast:84.54.91.255 Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:fe97:978e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1653160 errors:3 dropped:0 overruns:0 frame:0
TX packets:1679716 errors:0 dropped:0 overruns:0 carrier:0
collisions:500 txqueuelen:1000
RX bytes:1130727570 (1.0 GiB) TX bytes:369408004 (352.2 MiB)
Interrupt:20 Base address:0x2e00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1446 errors:0 dropped:0 overruns:0 frame:0
TX packets:1446 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:96109 (93.8 KiB) TX bytes:96109 (93.8 KiB)

vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.75.1 Bcast:192.168.75.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:192.168.224.1 Bcast:192.168.224.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Mohsen Saboorian

unread,
Oct 2, 2007, 2:21:19 PM10/2/07
to ze...@googlegroups.com
This error during installation of the package is not important:
net.sf.zekr.engine.server.HttpServerRuntimeException:

It happens because of the root error:


Caused by: java.net.UnknownHostException: akmal-desktop: akmal-desktop

which is thrown when Java cannot detect your local address through
InetAddress.getLocalHost()

I think thir could be solved if you add this line to your /etc/hosts:
127.0.0.1 akmal-desktop

If not worked, try to disable local HTTP server by setting
server.http.enable = false in ~/.zekr/config/config.properties

Akmal Khushvakov

unread,
Oct 2, 2007, 2:35:46 PM10/2/07
to ze...@googlegroups.com
> If not worked, try to disable local HTTP server by setting
> server.http.enable = false in ~/.zekr/config/config.properties

now same error.
I tryed in terminal:

zekr
Exception in thread "Thread-0"


net.sf.zekr.engine.server.HttpServerRuntimeException:
net.sf.zekr.engine.server.HttpServerRuntimeException:
java.net.UnknownHostException: akmal-desktop: akmal-desktop

at net.sf.zekr.engine.server.HttpServer.getUrl(Unknown Source)
at net.sf.zekr.engine.server.DefaultHttpServer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Caused by: net.sf.zekr.engine.server.HttpServerRuntimeException:

java.net.UnknownHostException: akmal-desktop: akmal-desktop


at net.sf.zekr.engine.server.DefaultHttpServer.getServerAddress(Unknown
Source)
at net.sf.zekr.engine.server.DefaultHttpServer.getAddress(Unknown
Source)
... 3 more

Caused by: java.net.UnknownHostException: akmal-desktop: akmal-desktop

at java.net.InetAddress.getLocalHost(InetAddress.java:1315)
... 5 more

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb3db800d, pid=11153, tid=3084753808
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode, sharing)
# Problematic frame:
# C [libplc4.so.0d+0x300d]
#
# An error report file with more information is saved as
/tmp/hs_err_pid11153.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted (core dumped)

Mohsen Saboorian

unread,
Oct 2, 2007, 2:42:56 PM10/2/07
to ze...@googlegroups.com
Adding akmal-desktop to /etc/hosts doesn't work?

I have no clue... better to remove ZRE, and install Zekr 0.6.0 :)

On 10/2/07, Akmal Khushvakov <uzba...@gmail.com> wrote:
>

Reply all
Reply to author
Forward
0 new messages