LogosLinuxInstaller icon indicating copy to clipboard operation
LogosLinuxInstaller copied to clipboard

Attempted Recovery Deleted OD Bin

Open thw26 opened this issue 3 months ago • 3 comments

Do you agree to Faithlife's EULA? https://faithlife.com/terms: Yes [default], No, Exit: ---->                      ]
sh: symbol lookup error: sh: undefined symbol: rl_trim_arg_from_keyseq
Ensuring config file is up-to-date…
Install has finished.
Copying launcher to /home/thwright/.local/share/FaithLife-Community/oudedetai…
Traceback (most recent call last):------------------------------------------------------------------------->       ]
  File "run_app.py", line 14, in <module>
  File "ou_dedetai/main.py", line 452, in main
  File "ou_dedetai/main.py", line 384, in run
  File "ou_dedetai/repair.py", line 138, in detect_and_recover
  File "ou_dedetai/repair.py", line 91, in run_under_app
  File "ou_dedetai/repair.py", line 136, in _run
  File "ou_dedetai/installer.py", line 408, in install
  File "ou_dedetai/installer.py", line 392, in ensure_launcher_shortcuts
  File "ou_dedetai/installer.py", line 382, in ensure_launcher_executable
  File "shutil.py", line 435, in copy
  File "shutil.py", line 260, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: '/home/thwright/.local/share/FaithLife-Community/oudedetai/oudedetai'
[PYI-58333:ERROR] Failed to execute script 'run_app' due to unhandled exception!
[~]
[18:48:29] oudedetai 
bash: /home/thwright/bin/oudedetai: No such file or directory
[~]
[18:48:33] ll /home/thwright/.local/share/FaithLife-Community/oudedetai/oudedetai
ls: cannot access '/home/thwright/.local/share/FaithLife-Community/oudedetai/oudedetai': No such file or directory
2025-09-27 18:48:29 DEBUG: Install 88%: Ensuring config file is up-to-date…
2025-09-27 18:48:29 DEBUG: Install 94%: Install has finished.
2025-09-27 18:48:29 DEBUG: Install 94%: Copying launcher to /home/thwright/.local/share/FaithLife-Community/oudedetai…
2025-09-27 18:48:29 DEBUG: Removing existing launcher binary.
2025-09-27 18:48:29 INFO: Creating launcher binary by copying this installer binary to /home/thwright/.local/share/FaithLife-Community/oudedetai/oudedetai.

thw26 avatar Sep 27 '25 22:09 thw26

In this case what was the source file for the OD binary? That it was originally launched from? Was it that same path?

ctrlaltf24 avatar Oct 10 '25 19:10 ctrlaltf24

I use a symlink on my binary, which points to the original location.

[12:45:16] which oudedetai 
/home/thwright/bin/oudedetai
lrwxrwxrwx  1 thwright thwright   67 May  2 20:45 oudedetai -> /home/thwright/.local/share/FaithLife-Community/oudedetai/oudedetai*

Do you think this is causing the issue?

thw26 avatar Oct 17 '25 21:10 thw26

Yup. Good chance, however that seems like a reasonable thing for a Linux user to do, I'd prefer to support that case if possible.

We can use Path.readlink() to resolve symlinks. Then use that path to see if the current file that's being executed is already the file in our binary directory, if so do nothing.

ctrlaltf24 avatar Oct 20 '25 22:10 ctrlaltf24