Cant find ASV module, BA won't start

The place to discuss the Linux/Ubuntu edition

Cant find ASV module, BA won't start

Postby jeffneedle » Fri Jun 24, 2011 3:32 am

I had to reinstall Linux Mint on one of my computers. I redownloaded Bible Analyzer, and then manually copied the Strongs's modules to the appropriate folders, using the correct commands. Looking at the /Modules/Bible folder, the file av1769.bib is there. But when I try to start Bible Analyzer, I'm given an error message that tells me that the file isn't there, that it must be there in order for the app to start.

I'm perplexed. Can someone help? Thanks!
jeffneedle
 
Posts: 29
Joined: Fri Apr 29, 2011 1:20 am

Re: Cant find ASV module, BA won't start

Postby Tim » Fri Jun 24, 2011 4:04 am

When starting Bible Analyzer looks for the av1769.bib file in the usr/share/bibleanalyzer/modules folder or the USER/Documents/BibleAnalyzer folder. If it can't find the file it won't start. Try starting BA in Terminal (bibleanalyzer) and it may tell the paths it was searching for the file. If so put the .bib file in the path and it should start.

Bible Analyzer has only be tested by us on Ubuntu Linux. Others have successfully gotten BA to run on other flavors of Linux but we don't know all the specifics other than what is posted in the forum.
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: 681
Joined: Sun Dec 07, 2008 1:14 pm

Re: Cant find ASV module, BA won't start

Postby jeffneedle » Fri Jun 24, 2011 1:45 pm

Here is the feedback I get from terminal when I try to start Bible Analyzer. If you have a Linux expert around who might be able to figure out what's happening, I would be very grateful. Thanks!

************ Starting Bible Analyzer *************
/home/jeff/Documents/BibleAnalyzer home user folder
/home/jeff/Documents/BibleAnalyzer home user folder
/usr/share/bibleanalyzer install folder
/usr/share/bibleanalyzer/modules/
/usr/share/bibleanalyzer/modules/Commentary/rwp.cmt
/usr/share/bibleanalyzer/modules/Commentary/vincent.cmt
/usr/share/bibleanalyzer/modules/Dictionary/s-bdbthayer.dct
/usr/share/bibleanalyzer/modules/Dictionary/s-kjc.dct
/usr/share/bibleanalyzer/modules/Dictionary/s-strongEx.dct
/home/jeff/Documents/BibleAnalyzer
/home/jeff/Documents/BibleAnalyzer user
excepthook

*** Fri Jun 24 11:41:01 2011 ***
Traceback (most recent call last):
File "/usr/share/bibleanalyzer/analyzer4.py", line 4588, 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/analyzer4.py", line 4580, in OnInit
BAnalyzer = BibleAnalyzer(None, "Bible Analyzer 4.0")
File "/usr/share/bibleanalyzer/analyzer4.py", line 423, in __init__
self.FlagTabs(self.currentWord)
File "/usr/share/bibleanalyzer/analyzer4.py", line 2212, in FlagTabs
con = sqlite.connect(dct)
OperationalError: unable to open database file

Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/share/bibleanalyzer/baseClass.py", line 261, in ExceptionHook
dlg = ErrorDialog(ftrace)
File "/usr/share/bibleanalyzer/baseClass.py", line 231, in __init__
errdlg.ErrorDialog.__init__(self, None, title=("Bible Analyzer Error Report"), message=msg)
File "/usr/share/bibleanalyzer/errdlg.py", line 148, in __init__
self.err_msg = os.linesep.join((self.GetEnvironmentInfo(),
File "/usr/share/bibleanalyzer/errdlg.py", line 193, in GetEnvironmentInfo
info.append("Version: %s" % self.GetProgramName())
File "/usr/share/bibleanalyzer/baseClass.py", line 240, in GetProgramName
return "Bible Analyzer " + wx.GetTopLevelWindows()[0].version
AttributeError: 'SplashScreen' object has no attribute 'version'

Original exception was:
Traceback (most recent call last):
File "/usr/share/bibleanalyzer/analyzer4.py", line 4588, 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/analyzer4.py", line 4580, in OnInit
BAnalyzer = BibleAnalyzer(None, "Bible Analyzer 4.0")
File "/usr/share/bibleanalyzer/analyzer4.py", line 423, in __init__
self.FlagTabs(self.currentWord)
File "/usr/share/bibleanalyzer/analyzer4.py", line 2212, in FlagTabs
con = sqlite.connect(dct)
sqlite3.OperationalError: unable to open database file

Press Enter to close terminal
jeffneedle
 
Posts: 29
Joined: Fri Apr 29, 2011 1:20 am

Re: Cant find ASV module, BA won't start

Postby Tim » Fri Jun 24, 2011 4:00 pm

Try running "sudo bibleanalyzer" in Terminal. That runs it with administrator privileges and allows it to make the idx files. This only needs to be done once. See viewtopic.php?f=7&t=270
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: 681
Joined: Sun Dec 07, 2008 1:14 pm

Re: Cant find ASV module, BA won't start

Postby jeffneedle » Fri Jun 24, 2011 6:26 pm

Well, it didn't work. Let me tell you what I've done, and maybe there's a way to help. And, for the record, I don't know why I posted this under a previous title "Can't find ASV module," but this isn't correct. Sorry about that.

I completely removed Bible Analyzer from my Linux system and re-installed it. It worked just fine. I then manually copied the files I downloaded for the Strong's modules (the complete package, I forget what it's called, something like Word Studies) into the /home/jeff/Documents/BibleAnalyzer directory, and that's when the system crashes.

According to the docs on your page, modules created there should work just fine. But this one seems to cause a giant crash.

Linux Mint in built on top of Ubunutu, and it works fine in Ubuntu (I have it running on another computer), but for some reason, there is a crash in Mint.

I don't know if this can, or will, be fixed. No worries. It's just an odd situation.

Thanks!
jeffneedle
 
Posts: 29
Joined: Fri Apr 29, 2011 1:20 am

Re: Cant find ASV module, BA won't start

Postby Tim » Fri Jun 24, 2011 8:10 pm

For the commentaries and dictionaries only there is a .idx file created when Bible Analyzer starts. The base file name is the same as the .dct/.cmt file (i.e. strongex.idx). IF these files are not in the same folder as the module, this error will occur. IF nothing else you can copy the .idx files from the working system to the Mint system to see if it helps.
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: 681
Joined: Sun Dec 07, 2008 1:14 pm

Re: Cant find ASV module, BA won't start

Postby jeffneedle » Fri Jun 24, 2011 10:00 pm

I'll give it a try. Thanks.
jeffneedle
 
Posts: 29
Joined: Fri Apr 29, 2011 1:20 am


Return to Linux Matters

Who is online

Users browsing this forum: No registered users and 1 guest