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

Linux Mint: "The URL can’t be shown" #24

Closed jgibbons94 closed 5 years ago

jgibbons94 commented 5 years ago

On Linux Mint 19 the ./scriptures.py command shows the message "The URL can’t be shown."

Workaround: Use the command ${PWD}/scriptures.py

Possible cause: On Linux Mint, os.path.dirname returns '.' which does not work with WebKit URLs.

Possible solutions: -Use a different method that returns the full path (maybe os.path.getcwd() or os.path.abspath) for early development -Add a configuration option for the full path pointing to the directory containing the scriptures later in development (to make it more user-friendly)

hyperdriveguy commented 5 years ago

Fixed by #25