hyperdriveguy / OpenGospel

Study the the Bible, Book of Mormon, the Doctrine and Covenants, and the Pearl of Great Price on your computer.
GNU General Public License v3.0
22 stars 6 forks source link

First Run Issue #22

Closed colton22 closed 5 years ago

colton22 commented 5 years ago

After cloning and following the install guide, this is what I get:

07:49:38 colton22:~/git/OpenGospel > ./scriptures.py 
Traceback (most recent call last):
  File "./scriptures.py", line 211, in <module>
    ConfigInit.glade_init(config)
TypeError: unbound method glade_init() must be called with ConfigInit instance as first argument (got str instance instead)
07:49:44 colton22:~/git/OpenGospel >

Running Linux Mint 19 (Tara) on I3 WM

Python is not my best language but how can I try to help! This would be a wonderful addition to Linux.

colton22 commented 5 years ago

Figured this out. This is written for python 3...

Change the first line from #!/usr/bin/python to #!/usr/bin/env python3

colton22 commented 5 years ago

Also getting main page saying file is not found that is hardcoded under /home/user/Documents/coding/opengospel/opengospel.conf

 12 # OpenGospel Constants
 13 # Working directory - change this to where OpenGospel is
 14 wrk_dir = '/home/carson/Documents/coding/opengospel'
 15 css_dir = wrk_dir + '/scriptures.redo/'
 16 config = wrk_dir + '/opengospel.conf'

I would change it to:

# OpenGospel Constants
 13 # Working directory - change this to where OpenGospel is
 14 wrk_dir = '.'
 15 css_dir = wrk_dir + '/scriptures.redo/'
 16 config = wrk_dir + '/opengospel.conf'
 17 # OpenGospel version
 18 ver = "0.3"

The dot will just specify relative path to the current directory. We will have to locate a better way to find the scripts full path.

colton22 commented 5 years ago

@hyperdriveguy, I see your last commit was Sep 11, 2017.. This this something you're still interested in dev'ing?

hyperdriveguy commented 5 years ago

It's been a little while because there's been very little interest until recently. But thanks for finding the hard code! I'll fix that when I have time or feel free to make a pull request.

hyperdriveguy commented 5 years ago

Additionally, of you're interested in contributing in the long term, make sure to check out the "next" branch. It's a very early proof of concept modular implementation of OpenGospel.

colton22 commented 5 years ago

Sounds good. I just submitted that PR. Python is not my best language but I might be able to throw in some help every so often. Don't be a stranger lol.