This may show that I am less informed, so if that is the case, please help me out. I want to run Bible Analyzer on Mageia Linux. I downloaded the install file, which has a .deb (Debian) file extension. I used the "alien" utility to convert the *.deb package to *.rpm (Redhat Package Manager) format, and tried to install using Mageia's "urpmi" installer. The start script ba-512.py was not executable, but that was an easy fix. There are some missing Python modules, especially espeak. I haven't figured out where to put them. I also have a version mismatch in the Python gtk modules, even though I have both version 2 and version 3 installed.
If anyone has some tips or experience in getting this working for an rpm environment or Mageia in particular, please let me know. I will be glad to post the error messages I see. (There are only two.) Thanks in advance.
Bible Analyzer in Mageia Linux
Bible Analyzer in Mageia Linux
Eric Pement
2 Cor. 4:5
2 Cor. 4:5
Re: Bible Analyzer in Mageia Linux
Bible Analyzer has not been tested on an RPM distro, but you are welcome to try and get it going.
Bible Analyzer has a few dependencies for v5.2 including,
python 2.7
python-wxgtk3.0
python wxmedia3.0
python-espeak
plus a couple others.
Try starting Bible Analyzer from Terminal by going to the folder ba521.py is in and run it "python2 ba521.py" The output will help narrow the others down.
Bible Analyzer has a few dependencies for v5.2 including,
python 2.7
python-wxgtk3.0
python wxmedia3.0
python-espeak
plus a couple others.
Try starting Bible Analyzer from Terminal by going to the folder ba521.py is in and run it "python2 ba521.py" The output will help narrow the others down.
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)
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)
Re: Bible Analyzer in Mageia Linux
If I recall there is a post somewhere on the board about someone getting BA to install on a RPM, and I think it went pretty smooth. But that was a year or two previously. You search and should be able to find it.
Darrel
Darrel
Re: Bible Analyzer in Mageia Linux
Hi Tim. Python 2 reaches end-of-life status as of January 2020, about 1 month from now. I trust that you're porting everything over to Python 3. https://wiki.python.org/moin/Python2orPython3
As for the other dependencies for python-wxgtk3.0 and wxmedia3.0, from what I can see those are Ubuntu-specific python modules. What would happen if I just downloaded them from Ubuntu (https://packages.ubuntu.com/search?keyw ... n-wxgtk3.0) and tried to install them on a Mageia system?
Here are my results:
Code: Select all
[root@localhost bibleanalyzer]# python2 ba-run.py
2.7.17 (default, Nov 1 2019, 09:28:08)
[GCC 8.3.1 20190524]
/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py:16629: UserWarning: wxPython/wxWidgets release number mismatch
warnings.warn("wxPython/wxWidgets release number mismatch")
3.0.2.0 gtk2 (classic)
/opt/bibleanalyzer App dir
/root/Documents/BibleAnalyzer myDocs folder
/root/Documents/BibleAnalyzer all users
/root/Documents/BibleAnalyzer docs modules folder
/root/.config/bibleanalyzer user
Traceback (most recent call last):
File "ba-run.py", line 6, in <module>
import analyzer5
File "/opt/bibleanalyzer/ba-521.zip/analyzer5.py", line 52, in <module>
File "/opt/bibleanalyzer/ba-521.zip/speech.py", line 2, in <module>
File "/opt/bibleanalyzer/espeak.py", line 21, in <module>
from . import core
ValueError: Attempted relative import in non-package
If you haven't heard of this before, it might be helpful.
May you have a blessed Thanksgiving, and thanks so much for all your work.
Yours/His,
Eric Pement
2 Cor. 4:5
2 Cor. 4:5
Re: Bible Analyzer in Mageia Linux
Yes, you can try getting them from Ubuntu and installing them on your system.
It looks like it is hanging up on the espeak module. It may not be the correct one there are a few different ones. The python-espeak at Ubuntu should be it.
I have looked into AppImage, Flatpak, and Snap packages and they each have their disadvantages. One of the main ones is they are in a sandboxed environment making the downloading of modules very difficult.
It looks like it is hanging up on the espeak module. It may not be the correct one there are a few different ones. The python-espeak at Ubuntu should be it.
I have looked into AppImage, Flatpak, and Snap packages and they each have their disadvantages. One of the main ones is they are in a sandboxed environment making the downloading of modules very difficult.
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)
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)
Re: Bible Analyzer in Mageia Linux
Hi Tim, and thanks for your quick response.
For example, the home page (https://appimage.org/) says if you want to run it in a sandbox, Firejail is one way to do it. See also: Hope this helps, and thanks again for answering!
According to the documentation, AppImage does not use sandboxing, but AppImage has the capability for it if desired.
For example, the home page (https://appimage.org/) says if you want to run it in a sandbox, Firejail is one way to do it. See also: Hope this helps, and thanks again for answering!
Eric Pement
2 Cor. 4:5
2 Cor. 4:5
Re: Bible Analyzer in Mageia Linux
Hi Tim,
I finally decided that I would rather have Bible Analyzer than have Mageia Linux, so I replaced Mageia with the latest version of Linux Mint (19.3, "Tricia") , in order to install and use Bible Analyzer with a minimum of headache.
I guess this closes this thread! :-)
I finally decided that I would rather have Bible Analyzer than have Mageia Linux, so I replaced Mageia with the latest version of Linux Mint (19.3, "Tricia") , in order to install and use Bible Analyzer with a minimum of headache.
I guess this closes this thread! :-)
Eric Pement
2 Cor. 4:5
2 Cor. 4:5
Re: Bible Analyzer in Mageia Linux
Yes, it runs nice on both Linux Mint 19.3 and Ubuntu Mate 19.10 - except Hebrew RTL does not play. But Tim is rewriting BA to play on the latest Ubuntu derivatives (right Tim?)
Darrel![Laughing :lol:](./images/smilies/icon_lol.gif)
Darrel
![Laughing :lol:](./images/smilies/icon_lol.gif)