FaithLife-Community / LogosLinuxInstaller

A Python application that helps install and maintain FaithLife's Logos Bible (Verbum) Software on Linux through Wine.
MIT License
26 stars 8 forks source link

TUI Intermittently Fails to Acquire Logos Releases During Install #145

Closed andyhunne closed 1 month ago

andyhunne commented 1 month ago

Hi - I'm eagerly testing the 'new' installer (22-logos-30plus branch), and after being able to complete an install successfully a couple of weeks back, now I am presented with this message at the top of the installer:

Welcome to Logos on Linux (4.0.0-alpha.13)
Logos Version: None

If I proceed with the install, it then hangs at 9% progress the message 'Waiting to acquire Logos versions..."

Is there are version I'm supposed to set somewhere in a config file?

thw26 commented 1 month ago

So the top corner shows the currently installed version. If there is no installed version, it will report None.

If during the install it is hanging at 9% and is not acquiring the new versions, then that might be an issue on our side.

Could you provide your installer logs?

As an aside, I saw a similar issue in my recent testing but wasn't able to replicate it.

andyhunne commented 1 month ago

Ok - thanks for the feedback. Please let me know if you'd like any details from my environment to assist. I'm running Arch btw.

On Wed, 31 Jul 2024 at 12:07, T. H. Wright @.***> wrote:

So the top corner shows the currently installed version. If there is no installed version, it will report None.

If during the install it is hanging at 9% and is not acquiring the new versions, then that might be an issue on our side.

— Reply to this email directly, view it on GitHub https://github.com/FaithLife-Community/LogosLinuxInstaller/issues/145#issuecomment-2259502079, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNAPVYG62G5NR45CHTEJPTZPBBEJAVCNFSM6AAAAABLXOTWFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGUYDEMBXHE . You are receiving this because you authored the thread.Message ID: @.***>

thw26 commented 1 month ago

You may missed my edit since you're operating on email:

Could you provide your installer logs?

As an aside, I saw a similar issue in my recent testing but wasn't able to replicate it.

If you want, do let me know if the packages we have set for Arch are sufficient

andyhunne commented 1 month ago

Sorry - yes, the email was truncated. Now for another stupid question - where are the installer logs? I don't see them in the directory... Happy to report the Arch package list you've provided works fine for me.

n8marti commented 1 month ago

where are the installer logs?

~/.local/state/Logos_on_Linux/Logos_on_Linux.log

andyhunne commented 1 month ago

Log below:

2024-07-31 11:27:01 INFO: OS name: arch
2024-07-31 11:27:01 INFO: OS release: rolling
2024-07-31 11:27:01 DEBUG: config.SUPERUSER_COMMAND='pkexec'
2024-07-31 11:27:01 DEBUG: config.PACKAGE_MANAGER_COMMAND_INSTALL='pacman -Syu --overwrite * --noconfirm --needed'
2024-07-31 11:27:01 DEBUG: config.PACKAGE_MANAGER_COMMAND_QUERY='pacman -Q'
2024-07-31 11:27:01 DEBUG: config.PACKAGES='patch wget sed grep cabextract samba glibc samba apparmor libcurl-gnutls winetricks appmenu-gtk-module lib32-libjpeg-turbo wine giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses ocl-icd lib32-ocl-icd libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader'
2024-07-31 11:27:01 DEBUG: config.L9PACKAGES=''
2024-07-31 11:27:01 INFO: Setting 15 variables from config file.
2024-07-31 11:27:01 DEBUG: config.ACTION=<function run_control_panel at 0x762cce334540>
2024-07-31 11:27:01 DEBUG: Attempting to execute ['dialog', '--version']
2024-07-31 11:27:01 DEBUG: Current dialog version: 1.3-20240619
2024-07-31 11:27:01 DEBUG: Minimum dialog version: 20201126. Installed version: 20240619.
2024-07-31 11:27:01 DEBUG: Dialog version is up-to-date.
2024-07-31 11:27:01 DEBUG: Use Python Dialog?: True
2024-07-31 11:27:01 DEBUG: Current persistent config:
2024-07-31 11:27:01 DEBUG: FLPRODUCT: Logos
2024-07-31 11:27:01 DEBUG: FLPRODUCTi: None
2024-07-31 11:27:01 DEBUG: TARGETVERSION: 10
2024-07-31 11:27:01 DEBUG: TARGET_RELEASE_VERSION: None
2024-07-31 11:27:01 DEBUG: current_logos_version: None
2024-07-31 11:27:01 DEBUG: INSTALLDIR: /home/andy/LogosBible10
2024-07-31 11:27:01 DEBUG: WINETRICKSBIN: /usr/bin/winetricks
2024-07-31 11:27:01 DEBUG: WINEBIN_CODE: System
2024-07-31 11:27:01 DEBUG: WINE_EXE: /usr/bin/wine64
2024-07-31 11:27:01 DEBUG: WINECMD_ENCODING: 850
2024-07-31 11:27:01 DEBUG: LOGS: None
2024-07-31 11:27:01 DEBUG: BACKUPDIR: None
2024-07-31 11:27:01 DEBUG: LAST_UPDATED: 2024-07-31T11:25:18
2024-07-31 11:27:01 DEBUG: RECOMMENDED_WINE64_APPIMAGE_URL: https://github.com/FaithLife-Community/wine-appimages/releases/download/8.19-devel/wine-devel_8.19-x86_64.AppImage
2024-07-31 11:27:01 DEBUG: LLI_LATEST_VERSION: 4.0.0-alpha.12
2024-07-31 11:27:01 INFO: Logos Linux Installer, 4.0.0-alpha.13 by Ferion11, John Goodman, T. H. Wright, N. Marti.
2024-07-31 11:27:01 DEBUG: Installer log file: /home/andy/.local/state/Logos_on_Linux/Logos_on_Linux.log
2024-07-31 11:27:01 DEBUG: Logos.deps.json not found.
2024-07-31 11:27:01 INFO: Writing config to /home/andy/.config/Logos_on_Linux/Logos_on_Linux.json
2024-07-31 11:27:01 DEBUG: Running self-update.
2024-07-31 11:27:01 DEBUG: Download source: https://api.github.com/repos/FaithLife-Community/LogosLinuxInstaller/releases
2024-07-31 11:27:01 DEBUG: Download destination: None
2024-07-31 11:27:01 DEBUG: Getting headers from https://api.github.com/repos/FaithLife-Community/LogosLinuxInstaller/releases.
2024-07-31 11:27:01 DEBUG: Starting new HTTPS connection (1): api.github.com:443
2024-07-31 11:27:01 DEBUG: https://api.github.com:443 "HEAD /repos/FaithLife-Community/LogosLinuxInstaller/releases HTTP/1.1" 200 0
2024-07-31 11:27:01 DEBUG: content_length=None
2024-07-31 11:27:01 DEBUG: content_md5=None
2024-07-31 11:27:01 DEBUG: File size on server: None
2024-07-31 11:27:01 DEBUG: chunk_size=102400; file_mode='wb'; headers={'Accept-Encoding': 'identity'}
2024-07-31 11:27:01 INFO: Starting new download for https://api.github.com/repos/FaithLife-Community/LogosLinuxInstaller/releases.
2024-07-31 11:27:01 DEBUG: Starting new HTTPS connection (1): api.github.com:443
2024-07-31 11:27:01 DEBUG: https://api.github.com:443 "GET /repos/FaithLife-Community/LogosLinuxInstaller/releases HTTP/1.1" 200 49727
2024-07-31 11:27:01 INFO: Release URL: https://github.com/FaithLife-Community/LogosLinuxInstaller/releases/download/v4.0.0-alpha.12/LogosLinuxInstaller
2024-07-31 11:27:01 INFO: Release URL Tag Name: v4.0.0-alpha.12
2024-07-31 11:27:01 INFO: 4.0.0-alpha.12
2024-07-31 11:27:01 INFO: Writing config to /home/andy/.config/Logos_on_Linux/Logos_on_Linux.json
2024-07-31 11:27:01 INFO: Running function: run_control_panel
2024-07-31 11:27:01 INFO: Using DIALOG: curses
2024-07-31 11:27:34 DEBUG: Install step 0 of 23
2024-07-31 11:27:34 DEBUG: - config.FLPRODUCT
2024-07-31 11:27:34 DEBUG: - config.FLPRODUCTi
2024-07-31 11:27:34 DEBUG: - config.VERBUM_PATH
2024-07-31 11:27:34 DEBUG: > config.FLPRODUCT='Logos'
2024-07-31 11:27:34 DEBUG: > config.FLPRODUCTi='logos4'
2024-07-31 11:27:34 DEBUG: > config.VERBUM_PATH='/'
2024-07-31 11:27:34 DEBUG: Install step 1 of 23
2024-07-31 11:27:34 DEBUG: - config.TARGETVERSION
2024-07-31 11:27:34 DEBUG: > config.TARGETVERSION='10'
2024-07-31 11:27:34 DEBUG: Install step 2 of 23
2024-07-31 11:27:34 DEBUG: - config.TARGET_RELEASE_VERSION
2024-07-31 11:27:34 DEBUG: task='TARGET_RELEASE_VERSION'

Config file from above

1   {
  1     "BACKUPDIR": null,
  2     "FLPRODUCT": "Logos",
  3     "FLPRODUCTi": null,
  4     "INSTALLDIR": "/home/andy/LogosBible10",
  5     "LAST_UPDATED": "2024-07-31T11:27:01",
  6     "LLI_LATEST_VERSION": "4.0.0-alpha.12",
  7     "LOGS": null,
  8     "RECOMMENDED_WINE64_APPIMAGE_URL": "https://github.com/FaithLife-Community/wine-appimages/releases/download/8.19-devel/wine-devel_8.19-x86_64.AppImage",
  9     "TARGETVERSION": "10",
 10     "TARGET_RELEASE_VERSION": null,
 11     "WINEBIN_CODE": "System",
 12     "WINECMD_ENCODING": "850",
 13     "WINETRICKSBIN": "/usr/bin/winetricks",
 14     "WINE_EXE": "/usr/bin/wine64",
 15     "current_logos_version": null
 16 }
thw26 commented 1 month ago

If after running the install and it hangs, can you run it a second time and will it proceed?

andyhunne commented 1 month ago

If after running the install and it hangs, can you run it a second time and will it proceed?

No, same behaviour each time.

n8marti commented 1 month ago

Are you able to access this link directly in a browser? https://clientservices.logos.com/update/v1/feed/logos10/stable.xml

n8marti commented 1 month ago

It took me awhile to get an arch VM set up :wink:, but I've been able to run the installer far enough to get the Logos release list correctly (got other issues later, though). So I think this problem is specific to your setup somehow. Please let us know if you can get to the above link directly in a browser.

andyhunne commented 1 month ago

It took me awhile to get an arch VM set up 😉, but I've been able to run the installer far enough to get the Logos release list correctly (got other issues later, though). So I think this problem is specific to your setup somehow. Please let us know if you can get to the above link directly in a browser.

Yes - no problems accessing the link directly. I set a version listed at that link manually in my Logos_on_Linux.json file, and the installer now progresses beyond the 'getting versions' step, but hangs now at Install Step 9 according to the log.

andyhunne commented 1 month ago

After doing some digging from the info above (json files, etc.) I thought it might be worth deleting everything and starting again. I removed ~/.config/Logos_on_Linux ~/Logos10 and the install directory and re-cloned the install files. I was prompted for a version when running the install now. Still having some issues getting a complete install done, but this issue seems to have been cause by cruft left over by previous attempts. Thanks @n8marti & @thw26 for your suggestions & help.

thw26 commented 1 month ago

We've seen that before. We'll need to take note of that for our next release.