Bible Analyzer 3.9 Linux beta

The place to discuss the Linux/Ubuntu edition

Bible Analyzer 3.9 Linux beta

Postby Tim » Sat Mar 13, 2010 7:19 pm

Here is a beta of 3.9 to try on Linux. I tested it on Ubuntu 9.04,

http://www.BibleAnalyzer.com/files/Analyzer3.9-Linux.zip

Unzip and place this under the usr/share/bibleanalyzer folder, replacing the 3.7 files (you may want to just move them to save). You can start normally with the desktop icon, but if you installed with the 3.7 .deb file Bible Analyzer should be registered with Terminal so you can type bibleanalyzer in it and see any errors that may occur.

The modules need to be in the home/USER/.bibleanalyzer/Modules folder (this is hidden by default). The config.ini, notes.use, and prayer.lst files are there too. If it gets to where it won't start, delete the config.ini file and try again.

Let me know what you find.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)
Tim
Site Admin
 
Posts: 710
Joined: Sun Dec 07, 2008 1:14 pm

Re: Bible Analyzer 3.9 Linux beta

Postby paeuk » Sun Mar 14, 2010 8:46 am

Hi Tim,

Thanks for the link.

I followed your instructions. BibleAnalyzer will not run What I get in the terminal is the followning:

************ Starting Bible Analyzer *************
/home/paul/.bibleanalyzer/Modules/ Path
/home/paul/.bibleanalyzer/Modules/
Traceback (most recent call last):
File "/usr/share/bibleanalyzer/analyzer3.py", line 12, in <module>
import controlMini
File "/usr/share/bibleanalyzer/controlMini.py", line 2, in <module>
import normSearch, stats, compareDiff, fixRef, advSearch, contextMenu, kjd, games, library, audioPlayer, related, utility
File "/usr/share/bibleanalyzer/library.py", line 1, in <module>
import os, re, wx, controlMini, utility, images, tools.bookConvert
ImportError: No module named tools.bookConvert

Press Enter to close terminal

The contents of the Tools folder is:

-rw-r--r-- 1 root root 1538 2010-03-14 13:36 bookConvert.py
-rwxr-xr-x 1 root root 17605 2010-03-14 13:36 esConvert.py
-rwxr-xr-x 1 root root 13023 2009-07-12 15:34 esConvert.pyc
-rw-r--r-- 1 root root 0 2010-03-14 13:36 __init__.py
-rw-r--r-- 1 root root 135 2010-03-14 13:36 __init__.pyc
-rwxr-xr-x 1 root root 19049 2010-03-14 13:36 modTools.py
-rwxr-xr-x 1 root root 16765 2009-07-12 15:34 modTools.pyc
-rwxr-xr-x 1 root root 1918 2010-03-14 13:36 rtf2htm.py
-rwxr-xr-x 1 root root 1999 2010-03-14 13:36 rtf2htm.pyc
-rwxr-xr-x 1 root root 7699 2010-03-14 13:36 xmlConvert.py
-rwxr-xr-x 1 root root 6983 2009-07-12 15:34 xmlConvert.pyc

Have I done something wrong?

Paul
paeuk
 
Posts: 31
Joined: Fri May 01, 2009 6:55 am

Re: Bible Analyzer 3.9 Linux beta

Postby Tim » Sun Mar 14, 2010 2:34 pm

Name case is important in Linux. Change the folder name from "Tools" to "tools" and try again.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)
Tim
Site Admin
 
Posts: 710
Joined: Sun Dec 07, 2008 1:14 pm

Re: Bible Analyzer 3.9 Linux beta

Postby M-Paul » Sun Mar 14, 2010 5:30 pm

I downloaded the Beta, set at open with archive manager. A screen came up with 51 files. I had no idea what to do next. I tried a few times.

I'd like to Beta test. I'm doing the Beta testing just now on Softmaker Office 2010 as well. It's interesting being a Beta tester.

At any rate... what am I doing wrong...???

If you help me figure out how to install it, I'll let you know how it works. :D

Paul
M-Paul
 
Posts: 36
Joined: Mon Dec 28, 2009 7:40 am

Re: Bible Analyzer 3.9 Linux beta

Postby Tim » Sun Mar 14, 2010 5:55 pm

If you have 3.7 working you are pretty much set up to beta test.

As mentioned in the first post, the zip contains the actual program files. They need to go under this folder, replacing the 3.7 files that are there. The folder heirachy must be maintained as it is, just the contents replaced.

usr/share/bibleanalyzer

Under this folder there is also a "Tools" folder. It may have to be renamed to "tools" (see above post). Just put everything in the zip file in the folder above and what is in Tools in the

usr/share/bibleanalyzer/tools

in place of the 3.7 files.

Then go to Terminal and type "bibleanalyzer."
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)
Tim
Site Admin
 
Posts: 710
Joined: Sun Dec 07, 2008 1:14 pm

Re: Bible Analyzer 3.9 Linux beta

Postby nymusicman » Sun Mar 14, 2010 10:19 pm

*** Sun Mar 14 22:39:08 2010 ***
Traceback (most recent call last):
File "/usr/share/bibleanalyzer/analyzer3.py", line 4246, in <module>
app = MyApp(0)
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__
self._BootstrapApp()
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/share/bibleanalyzer/analyzer3.py", line 4210, in OnInit
BAnalyzer = Analyzer(None, "Bible Analyzer 3.9")
File "/usr/share/bibleanalyzer/analyzer3.py", line 212, in __init__
self.__do_initialize()
File "/usr/share/bibleanalyzer/analyzer3.py", line 416, in __do_initialize
self.GetSet()
File "/usr/share/bibleanalyzer/analyzer3.py", line 4019, in GetSet
self.showBkWin = eval(config.get("settings", "showbkwin"))
File "/usr/lib/python2.6/ConfigParser.py", line 540, in get
raise NoOptionError(option, section)
NoOptionError: No option 'showbkwin' in section: 'settings'

Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/share/bibleanalyzer/utility.py", line 559, in ExceptionHook
dlg = ErrorDialog(ftrace)
File "/usr/share/bibleanalyzer/utility.py", line 532, in __init__
errdlg.ErrorDialog.__init__(self, None, title=("Bible Analyzer Error Report"), message=msg)
File "/usr/share/bibleanalyzer/errdlg.py", line 146, in __init__
self.err_msg = os.linesep.join((self.GetEnvironmentInfo(),
File "/usr/share/bibleanalyzer/errdlg.py", line 194, in GetEnvironmentInfo
info.append("Free Memory: %s" % wx.GetFreeMemory())
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_misc.py", line 359, in GetFreeMemory
return _misc_.GetFreeMemory(*args)
NotImplementedError

Original exception was:
Traceback (most recent call last):
File "/usr/share/bibleanalyzer/analyzer3.py", line 4246, in <module>
app = MyApp(0)
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__
self._BootstrapApp()
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/share/bibleanalyzer/analyzer3.py", line 4210, in OnInit
BAnalyzer = Analyzer(None, "Bible Analyzer 3.9")
File "/usr/share/bibleanalyzer/analyzer3.py", line 212, in __init__
self.__do_initialize()
File "/usr/share/bibleanalyzer/analyzer3.py", line 416, in __do_initialize
self.GetSet()
File "/usr/share/bibleanalyzer/analyzer3.py", line 4019, in GetSet
self.showBkWin = eval(config.get("settings", "showbkwin"))
File "/usr/lib/python2.6/ConfigParser.py", line 540, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'showbkwin' in section: 'settings'


After renaming the Tools folder to tools. I got this when I tried to start. So I thought that I would install all the wx 2.6 packages. That left me with a lot less errors, however I got this
************ Starting Bible Analyzer *************
Traceback (most recent call last):
File "/usr/share/bibleanalyzer/analyzer3.py", line 9, in <module>
import utility
File "/usr/share/bibleanalyzer/utility.py", line 2, in <module>
import ConfigParser, optionsDlg, images
File "/usr/share/bibleanalyzer/optionsDlg.py", line 4, in <module>
import wx.richtext as rt
ImportError: No module named richtext

Press Enter to close terminal


I have no problems running 3.7.2
nymusicman
 
Posts: 65
Joined: Wed Jul 01, 2009 11:22 pm

Re: Bible Analyzer 3.9 Linux beta

Postby Tim » Mon Mar 15, 2010 6:17 am

Let me work on a .deb file to post. You are having trouble with dependencies and the config.ini file. I was thinking with the tools folder renamed and then the config.ini file deleted it should have run. 3.9 has the same dependencies as 3.7.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)
Tim
Site Admin
 
Posts: 710
Joined: Sun Dec 07, 2008 1:14 pm

Re: Bible Analyzer 3.9 Linux beta

Postby paeuk » Mon Mar 15, 2010 8:53 am

Hi Tim,

I managed to get this working - thanks! :)

I had to rename the Tools to tools as you recommended. Next I got an error indicating there was no Audio file/folder under my Home/Paul/.bibleanalyzer folder so I had to create that.

GREAT news thought - the application now correctly fits into the 1024x600 resolution screen of my EEE! Thanks for providing that functionality! :)

I do have one feedback relating to the 1024x600 and a problem. When I open the preference window to change the layout order the Preference window is very long and extends beyond the bottom of my screen and I cannot therefore save the changes as I can't reach the button - it looks like there plenty of space in the preference window to reduce the height. I also cannot resize the Preferences window which would be a workaround.

Thanks
Paul
paeuk
 
Posts: 31
Joined: Fri May 01, 2009 6:55 am

Re: Bible Analyzer 3.9 Linux beta

Postby Tim » Mon Mar 15, 2010 9:37 am

Here is a .deb file of the beta. You should be able to install it on top of 3.7 or the previous beta. If it doesn't work, do a complete removal of Bible Analyzer in Package Manager, delete (or move to save the modules) the home/USER/.bibleanalyzer folder, and install the new .deb. Run Bible Analyzer and it will make a new .bibleanalyzer folder. Then move the mods back in the proper folders.

http://www.BibleAnalyzer.com/files/bibleanalyzer_3.9-2_i386.deb

This .deb has a few changes over the previous .zip.

In the next I'll make the options dialog resizable.
Tim Morton
Developer, Bible Analyzer

But to him that worketh not, but believeth on him that justifieth the ungodly, his faith is counted for righteousness. (Rom 4:5 AV)
Tim
Site Admin
 
Posts: 710
Joined: Sun Dec 07, 2008 1:14 pm

Re: Bible Analyzer 3.9 Linux beta

Postby M-Paul » Mon Mar 15, 2010 9:39 am

Tim,

I can't figure it out.

If I go to Home and click Ctrl + H, I see the BibleAnalyzer file. If I click on that, I see a Modules folder, config.ini, notes.usr, quotes.txt. In the Modules folder, there are six other folders -- Bible, Commentary, Devotion, Dictionary, Image, Text.

There is no Tools folder anywhere. I downloaded the Beta, and it does have a Tools folder.

So from what I can observe in the unzipped files and the BibleAnalyzer folder -- I don't know how to follow your instructions.

I never studied computers, but I accomplish a lot just by doing — if you know what I mean.

Paul
M-Paul
 
Posts: 36
Joined: Mon Dec 28, 2009 7:40 am

Next

Return to Linux Matters

Who is online

Users browsing this forum: No registered users and 0 guests