Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

[BUG][AppImage] Doesn't contain all needed libraries #173

Closed
1 task done
Justinzobel opened this issue Sep 9, 2020 · 15 comments
Closed
1 task done

[BUG][AppImage] Doesn't contain all needed libraries #173

Justinzobel opened this issue Sep 9, 2020 · 15 comments
Labels
bug Something isn't working

Comments

@Justinzobel
Copy link

Describe the bug
AppImage won't start

To Reproduce
Download AppImage versioned build
chmod +x
Launch
Error:

Traceback (most recent call last):
  File "/tmp/.mount_guiscrlbta8X/opt/python3.8/bin/guiscrcpy", line 6, in <module>
    from guiscrcpy.launcher import bootstrap
  File "/tmp/.mount_guiscrlbta8X/opt/python3.8/lib/python3.8/site-packages/guiscrcpy/launcher.py", line 44, in <module>
    from PyQt5 import QtCore, QtWidgets
ImportError: libbsd.so.0: cannot open shared object file: No such file or directory

Expected behavior
Launch

Desktop (please complete the following information):

  • Linux
    Solus 4.1 Plasma x86_64
@Justinzobel Justinzobel added the bug Something isn't working label Sep 9, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.99. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@srevinsaju
Copy link
Owner

srevinsaju commented Sep 9, 2020

@Justinzobel can you test the new continuous tag build (pre release) https://github.com/srevinsaju/guiscrcpy/releases/tag/continuous

GitHub
Features

Add pyappimage #174 (Srevin Saju)

Continuous Integration

Add -y for apt #174 (Srevin Saju)
Add jq and curl as build time deps #174 (Srevin Saju)

Commits

[627331e]: Build uic and rcc u...

@Justinzobel
Copy link
Author

Thanks @srevinsaju that seems to have done it but now I have a different issue. The GUI loads but when running scrcpy I get the following:

/tmp/.mount_guiscreYZRgQ/usr/bin/adb: symbol lookup error: /tmp/.mount_guiscreYZRgQ/usr/libscrcpy/libc.so.6: undefined symbol: _dl_fatal_printf, version GLIBC_PRIVATE

@srevinsaju
Copy link
Owner

Thanks, I tested it yesterday on XUbuntu 18.04 and it crashed with the same error. I will try a fix. Its easy to package guiscrcpy alone, but packagong scrcpy is very painful. Hopefully I fix it today

@srevinsaju
Copy link
Owner

@Justinzobel I rebuilt the appimage. Hopefully it works now. I would be glad if you could test it and let me know. Now all whats not bundled are graphic drivers. I hope that would be found on default on the host system

@Justinzobel
Copy link
Author

/tmp/.mount_guiscrknn0Zo/scrcpy/usr/bin/scrcpy: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory

@Justinzobel
Copy link
Author

^ downloaded AppImage from 12hours ago.

@srevinsaju
Copy link
Owner

Thanks, I will bundle that one too.

@srevinsaju
Copy link
Owner

@Justinzobel fixed it on continuous release. Tested on Solus Budgie 4.1. Looks good. Please test and let me know

@Justinzobel
Copy link
Author

Thanks, all fixed now.

@Justinzobel
Copy link
Author

Sorry, premature, wmctrl is not included in the AppImage for fullscreen support.

@srevinsaju
Copy link
Owner

@Justinzobel I might not bundle wmctrl. Its an optional dependency. For making scrcpy full screen, I guess, you could do Alt + F or Ctrl + F. I hope that would be ok, right?

@srevinsaju
Copy link
Owner

The PyGetWindow library is not mature yet for Linux, and using wmctrl is not the right way of doing things. I will wait for PyGetWindow (a helper library of PyAutoGUI, a famous window management library).

@Justinzobel
Copy link
Author

Ah yes that works, might I suggest removing the button for full-screen and or just make it a null button and the tooltip say to use Alt + F.

@srevinsaju
Copy link
Owner

Yes. I agree. Thanks for the suggestion

srevinsaju added a commit that referenced this issue Sep 17, 2020
…if wmctrl and xdotool is not found

#173 post
@Justinzobel suggested that it would be great if the buttons are disabled if the accompanying helper scripts, xdotool and wmctrl are not present on the host system. The shortcuts to the helper button was added as tooltip hence
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants