zekr-dev - Google Groups: Message Pending [{ILL88fyjtKGBEyoCcWEwAG9oUKQuoB9l0}]

13 views
Skip to first unread message

zekr-dev

unread,
Apr 8, 2010, 6:57:49 PM4/8/10
to
Anther question Mohsen,
I finally checked out the code and it took me a while to setup SWT on my linux box. Now the code finally funs but I get this error right after the splash screen. Is there any other libraries I need to install/include? This error causes the app to load (the main UI) but the quran panel is empty and if I were to select another surah it would display the same error as below.
Thanks

net.sf.zekr.common.runtime.HtmlGenerationException: java.lang.ArrayIndexOutOfBoundsException: 1
    at net.sf.zekr.common.runtime.HtmlRepository.getQuranUri(HtmlRepository.java:81)
    at net.sf.zekr.common.runtime.HtmlRepository.getQuranUri(HtmlRepository.java:91)
    at net.sf.zekr.common.runtime.HtmlRepository.getQuranUri(HtmlRepository.java:262)
    at net.sf.zekr.ui.QuranForm.updateQuranView(QuranForm.java:1442)
    at net.sf.zekr.ui.QuranForm.updateView(QuranForm.java:1350)
    at net.sf.zekr.ui.QuranForm.apply(QuranForm.java:1202)
    at net.sf.zekr.ui.QuranForm.navTo(QuranForm.java:1274)
    at net.sf.zekr.ui.QuranForm.init(QuranForm.java:325)
    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)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at net.sf.zekr.common.resource.QuranText.refineRawText(QuranText.java:130)
    at net.sf.zekr.common.resource.QuranText.<init>(QuranText.java:68)
    at net.sf.zekr.common.resource.QuranText.getSimpleTextInstance(QuranText.java:100)
    at net.sf.zekr.common.resource.QuranText.getInstance(QuranText.java:90)
    at net.sf.zekr.common.resource.QuranText.getInstance(QuranText.java:78)
    at net.sf.zekr.common.resource.FilteredQuranText.<init>(FilteredQuranText.java:32)
    at net.sf.zekr.common.runtime.HtmlRepository.getQuranUri(HtmlRepository.java:75)
    ... 10 more


On Thu, Apr 8, 2010 at 2:45 PM, James Faghmous <jfa...@gmail.com> wrote:
Wa alaykum as-salaam Mohsen,
Do you have a specific framework for test cases? Or just a .java test file?
James


On Thu, Apr 8, 2010 at 1:52 PM, Mohsen Saboorian <moh...@gmail.com> wrote:
Wa Alaikumassalam James,

We do not use SVN. We will migrate inshaAllah to SVN in future. Most of Eclipse packages have built-in CVS plugin so you may not have any problem connecting to CVS. Eclipse SVN plugins such as subversive are not yet part of official Eclipse packages (although they are quite mature and widely used). See instructions for manual check out.

We do not have yet an official procedure for accepting codes, since we have had very few committers. Current process is quite easy. You send me the first 'few' patches, and I will give you CVS commit access as soon as I see your first useful patches :). I appreciate if you also provide test cases for your patches.

Regards,
Mohsen

On Thu, Apr 8, 2010 at 9:33 AM, James Faghmous <jfa...@gmail.com> wrote:
As-salaam alaykum Zekr Dev-Team!
I just joined the Google group and I wanted to contribute to Zekr. I tried checking out the SVN reposetory but it was empty. Iused the following command:
svn co https://zekr.svn.sourceforge.net/svnroot/zekr zekr


I would prefer using SVN instead of CVS since I have eclipse ready to go with SVN, any help is appreciated.

Also, I had a question about the "ethics" of committing code. How does it work? When I make changes are there any procedures to follow? I'm sorry, but I never developped opensource before.
Thanks

James
--
James H. Faghmous
Doctoral Student - Depts. of Computer Science / Neuroscience

The University of Minnesota - Twin Cities
200 Union Street SE
Minneapolis, MN, 55414

Contact information:
Phone: (914)-714-0068
Email:  jf...@cs.umn.edu
Web:   www.cs.umn.edu/~jfagh

--
You received this message because you are subscribed to the Google Groups "zekr-dev" group.
To post to this group, send email to zekr...@googlegroups.com.
To unsubscribe from this group, send email to zekr-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zekr-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "zekr-dev" group.
To post to this group, send email to zekr...@googlegroups.com.
To unsubscribe from this group, send email to zekr-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/zekr-dev?hl=en.



--
James H. Faghmous
Doctoral Student - Depts. of Computer Science / Neuroscience

The University of Minnesota - Twin Cities
200 Union Street SE
Minneapolis, MN, 55414

Contact information:
Phone: (914)-714-0068
Email:  jf...@cs.umn.edu
Web:   www.cs.umn.edu/~jfagh



--
James H. Faghmous
Doctoral Student - Depts. of Computer Science / Neuroscience

The University of Minnesota - Twin Cities
200 Union Street SE
Minneapolis, MN, 55414

Contact information:
Phone: (914)-714-0068
Email:  jf...@cs.umn.edu
Web:   www.cs.umn.edu/~jfagh

Mohsen Saboorian

unread,
Apr 9, 2010, 2:08:53 AM4/9/10
to zekr...@googlegroups.com
Salaam,

We use JUnit 3.8 for test cases. See some test cases in "test" folder.

This error happens because your current Qur'an text file: <zekr>/res/text/quran/quran-simple.txt, or quran-uthmani.txt probably has not been downloaded completely from CVS. To fix this, simply overwrite the two files from your Zekr installation folder on your checked out Zekr folder (res/text/quran/).

Please let me know if it worked for you.

Regards,
Mohsen
Reply all
Reply to author
Forward
0 new messages