Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

termux:gui not installed? #1

Closed
olav2021 opened this issue Dec 1, 2021 · 5 comments
Closed

termux:gui not installed? #1

olav2021 opened this issue Dec 1, 2021 · 5 comments

Comments

@olav2021
Copy link

olav2021 commented Dec 1, 2021

Hello,
I try to run the hello world example with termux 117 and termux-gui 0.1.4 and pythonbinding 0.1.3, armv8l Android.

94@localhost ~
╰─➤ python helloworld.py
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/termuxgui/connection.py", line 36, in init
main = mainss.accept()[0]
File "/data/data/com.termux/files/usr/lib/python3.10/socket.py", line 293, in accept
fd, addr = self._accept()
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/data/data/com.termux/files/home/hello.py", line 5, in
with tg.Connection() as c:
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/termuxgui/connection.py", line 62, in init
raise RuntimeError("Could not connect to Termux:GUI. Is the plugin installed?")
RuntimeError: Could not connect to Termux:GUI. Is the plugin installed?


You mentioned something about building termux from source, right? Do I really have to?

@tareksander
Copy link
Owner

I'm still waiting for f-droid to review the plugin so it will be included on f-droid, but I now provide an apk to use it, because the process is taking longer than I expected. The downside is that the apk is only compatible with the Github build of Termux, because I don't have the f-droid signing key to sign it.
To install it you first have to uninstall Termux and all plugins from f-droid (be sure to backup your files if you want to keep them), and then reinstall Termux from Github:
https://github.com/termux/termux-app/actions/runs/1485416404
And the plugins you want:
https://github.com/termux/termux-api/actions/runs/1486934030
https://github.com/termux/termux-tasker/actions/runs/1225499291
https://github.com/termux/termux-styling/actions/runs/992419269
https://github.com/termux/termux-widget/releases/tag/v0.13.0

Then you can install Termux:GUI: https://github.com/tareksander/termux-gui/releases/tag/0.1.3

@poggenpower
Copy link

I this still in review on the f-droid side?

@tareksander
Copy link
Owner

No, but the installation won't work due to signing key issues: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/10240
The only option is using the Github apk for Termux and Termux:GUI.

@Vosjedev
Copy link

is there any chance of this apearing on fdroid in the future?

@tareksander
Copy link
Owner

The f-droid team disabled the app because it needs to be re-signed. I don't know when that will happen. The alternative is that my PR for plugins without shared UID gets merged and a new Termux version is released, because it won't need to be re-signed then. I don't know what will happen sooner. In any case distribution on f-droid would be possible then. For any new information you can watch the pinned issue about this on the Termux:GUI repo. Closing this now as it's a duplicate of that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants