-
Notifications
You must be signed in to change notification settings - Fork 32
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
[remux] can't launch self-compiled apps with remux from toltec testing channel #122
Comments
yes, i do have thoughts. cc @matteodelabre toltec-dev/toltec#310 changed how rm2fb works. now the preload library is directly inserted into programs at compile time in toltec and remux doesn't have it automatically turned on for all launched programs please switch back to stable (to return to the rm2fb shim being turned on for all apps). i will change remux to use the LD_PRELOAD (always) in the mean time. |
now that i read your answer more closely, you say it's not because of stable v. testing. can you share your zshelf binary? |
I must have been mistaken. I switched back to stable branch and it worked. Sorry for confusion. |
toltec-dev/toltec#338 addresses this (if/when that lands in toltec testing, then remux will be able to launch custom compiled apps) |
Also, to clarify, this issue is not related to the 2.6 system update. |
I can confirm that this is a problem that's probably unrelated to rm2fb, since I'm on an rM1 and have the same behavior. This doesn't occur with remux from Toltec stable, even with the same zshelf binary. |
how is it occurring from testing? this is surprising to me because I thought we fixed it |
What system version are you on @ralsei? Also, are you using a self-compiled version of zshelf or a Toltec package? If you’re installing it from Toltec, which package version did you install? |
I'm on 2.8.0.98, running ZShelf and remux packages from toltec-dev/toltec#366's artifacts. None of my packages are self-compiled. Downgrading remux specifically to the version from Toltec stable makes ZShelf start fine. So it's likely this is a regression in remux, in my mind. |
Thanks for the details. I’ll try to reproduce the issue this evening. |
EDIT: Actually this bug is unrelated to that issue. |
ZShelf works for me on 1lib.us and displays this error, so it might be unrelated. |
That’s strange, I can’t get the book listing to load. I’ll investigate further. |
Okay, so it seems that I can kind of reproduce the bug. Specifically, ZShelf works fine on its own, but as soon as I start remux, ZShelf won’t load (even after I killed remux). Only after I restart EDIT: This behavior doesn’t seem to always happen. Sometimes ZShelf works fine even inside remux. @ralsei Does the bug happen systematically on your side? |
I'm on an rM1, and ZShelf has never worked for me while launching from remux. I don't have to kill remux to get it to work though, I can launch it through the command-line fine, and books are displayed. I don't know how rm2fb plays into this as it is irrelevant for me. Oxide also launches ZShelf fine (but I wanted better multitasking). remux from Toltec stable (even on 2.8 -- it's not Qt, so...) also launches ZShelf fine. |
Alright, I’ll have to investigate on a rM1 then. |
there's some trickiness here because you need to make sure to restart remux when switching channels. aside from that, I am unsure why zshelf in specific isn't working from the PR |
based on offline discussion, the issue was that the environment was not properly setup and remux probably needs to add variables to its PATH before launching zshelf. not sure why it worked in stable |
adding this file to #!/bin/sh
export SHELL=/bin/sh
export PWD=/home/root
export HOME=/home/root
export QT_QPA_PLATFORM=epaper
export QMLSCENE_DEVICE=epaper
export USER=root
export PATH=/opt/bin:/opt/sbin:/home/root/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
zshelf don't know which one of these environment variables is actually causing the issue. but it sure is one of them |
fixed in toltec now |
This might be related to 2.6 Compatibility which is being tracked here: toltec-dev/toltec#322
I have rebuilt Zshelf using the toltec toolchain v2.0.1. If i launch Zshelf from the command line, it will launch right away and is functional. However if I launch Zshelf from Remux, it seems to hang for a bit longer, then will eventually come up, but doesn't seem to load the book data (See Image). I can click on the search button and enter text into the search field, but searches no longer work.
I tried this using remux from
stable toltec as well asthe testing branch and rebuilding remux using the 2.0.1 toolkit with the same results.Any thoughts?
The text was updated successfully, but these errors were encountered: