Page 1 of 2

Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 4:08 am
by darrel_jw
I am running Ubuntu Studio 15.10. When I try installing Linux version of Bible Analyser I get "ImportError: No module named media". I have installed python-wxgtk2.8 and have python-wxgtk3.0 installed and have down loaded bibleanalyzer_4_9_2_all.deb. How do I fix this error? Thanks!

Darrel

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 9:13 am
by Tim
Try instaling,

python-wxgtk-media2.8

and see if it helps.

Bible Analyzer v4.9 uses python-wxgtk2.8 dependencies. v5 uses python-wxgtk3.0

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 5:33 pm
by darrel_jw
Where can I get 2.8? All my repository has is 3.0. Is there any chance of getting a beta of version 5?

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 5:37 pm
by Tim
Bible Analyzer 5 beta is here, viewtopic.php?f=10&t=832

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 5:39 pm
by darrel_jw
So I found python-wxgtk-media2.8dev and installed that. Now I get "System Architecture: 64-bit x86_64 Frozen: false" and BA will not run.

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 6:02 pm
by darrel_jw
I have wxgtk3 installed. I install v5 beta deb. When I run bibleanalyzer from terminal I get
************ Starting Bible Analyzer *************
3.0.2.0 gtk2 (classic)

/home/darrel App dir
/home/darrel/Documents/BibleAnalyzer myDocs folder
/home/darrel/Documents/BibleAnalyzer all users
/home/darrel/Documents/BibleAnalyzer docs modules folder
/home/darrel/.config/bibleanalyzer user
Creating "markup.dat"
Traceback (most recent call last):
File "/opt/bibleanalyzer/ba-run.py", line 4, in <module>
import analyzer5
File "/opt/bibleanalyzer/ba-500.zip/analyzer5.py", line 39, in <module>
File "/opt/bibleanalyzer/ba-500.zip/sessionMan.py", line 155, in <module>
sqlite3.OperationalError: unable to open database file

Am I missing something?

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 6:07 pm
by Tim
Its having trouble making the markup.dat file in your .config/BibleAnalyzer folder. If there is a markup.dat file there delete it and try again. Also, look in you Documents/Bible Analyzer folder.

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 6:40 pm
by darrel_jw
Hi Tim
There is no markup.dat in either location

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 7:23 pm
by Tim
For some reason BA can't create the file.

Unzip and place this file in your .config/BibleAnalyzer folder and try.
markup.zip
(515 Bytes) Downloaded 1043 times
If it still won't run, it may be a permissions issue, but the user.config should have write permissions.

Re: Ubuntu Studio 15.10

Posted: Sun Dec 13, 2015 7:38 pm
by darrel_jw
It was (partially) a permissions issue. I gave full permission to the .config and bibleanalyzer folders, reinstalled v5. Now when I run bibleanalyzer from a terminal I get this:
************ Starting Bible Analyzer *************
3.0.2.0 gtk2 (classic)

/home/darrel App dir
/home/darrel/Documents/BibleAnalyzer myDocs folder
/home/darrel/Documents/BibleAnalyzer all users
/home/darrel/Documents/BibleAnalyzer docs modules folder
/home/darrel/.config/bibleanalyzer user
/home/darrel/Documents/BibleAnalyzer/modules/bible/asv.bib needs new word list
/home/darrel/Documents/BibleAnalyzer/modules/bible/asv.bib Building Word List
Traceback (most recent call last):
File "/opt/bibleanalyzer/ba-run.py", line 5, in <module>
app = analyzer5.MyApp()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/opt/bibleanalyzer/ba-500.zip/analyzer5.py", line 7546, in OnInit
File "/opt/bibleanalyzer/ba-500.zip/analyzer5.py", line 7553, in ShowMain
File "/opt/bibleanalyzer/ba-500.zip/analyzer5.py", line 108, in __init__
File "/opt/bibleanalyzer/ba-500.zip/analyzer5.py", line 859, in LoadModules
File "/opt/bibleanalyzer/ba-500.zip/bibWdList.py", line 82, in buildWdList
File "/opt/bibleanalyzer/ba-500.zip/bibWdList.py", line 15, in doWordList
sqlite3.OperationalError: attempt to write a readonly database

this happens even when extracting the markup.dat file you sent me. I don't understand!