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

On Kubuntu 22.04.3, Open-Video-Downloader-2.5.2.AppImage does not run. #74

Closed
SnowballV opened this issue Sep 25, 2023 · 15 comments
Closed
Labels
bug Something isn't working

Comments

@SnowballV
Copy link

Describe the bug
On Kubuntu 22.04.3, Open-Video-Downloader-2.5.2.AppImage does not run.

To Reproduce
Steps to reproduce the behavior:

  1. Download and save Open-Video-Downloader-2.5.2.AppImage;
  2. Double click the saved Open-Video-Downloader-2.5.2.AppImage;
  3. 'What do you wish to do with this file?' Choose 'Execute';
  4. Confirm to start the program Open-Video-Downloader-2.5.2.AppImage, by selecting 'Continue' (thus setting it as executable);
  5. Open-Video-Downloader-2.5.2.AppImage does not start.

Expected behavior
I would expect Open-Video-Downloader-2.5.2.AppImage to run on Kubuntu 22.04.3, just like Open-Video-Downloader-2.4.10.AppImage does.

Additional info (please complete the following information):

  • OS: Kubuntu 22.04.3
  • Application version: Open-Video-Downloader-2.5.2.AppImage
  • Application type: AppImage
@SnowballV SnowballV added the bug Something isn't working label Sep 25, 2023
@StefanLobbenmeier
Copy link
Owner

Oh weird. Can you also try version 2.5.0?

@Aiden-Shannon
Copy link

Exactly the same issue with 2.5.2 for Pop!_OS 22.04.
Also tried version 2.5.0 same issue.
2.4.10 Works perfectly.

@StefanLobbenmeier
Copy link
Owner

I see, thanks for testing. Then this is probably related to the Wayland detection.

Maybe @Cl00e9ment can help debug this?

for now can you try to find out if you are using Wayland? https://unix.stackexchange.com/questions/202891/how-to-know-whether-wayland-or-x11-is-being-used

@SnowballV
Copy link
Author

As Aiden-Shannon -
Same issue with Open-Video-Downloader-2.5.0.AppImage as with Open-Video-Downloader-2.5.2.AppImage.
It does not run, on Kubuntu 22.04.3.

And I am not using Wayland, but X11.

Also, I took a look at Kubuntu/Plasma System Monitor.
Even though Open-Video-Downloader-2.5.0.AppImage and Open-Video-Downloader-2.5.2.AppImage won't open, several related processes stay in memory:

For 2.5.0.AppImage:
3 instances of open-video-down
Open-Video-Downloader-2.5.0.AppImage
open-video-downloader.bin--no-sandbox--ozone-platform-hint=auto
open-video-downloader.bin--type=zygote--no-sandbox
open-video-downloader.bin--type=zygote--no-zygote-sandbox--no-sandbox

2.5.2.AppImage:
3 instances of open-video-down
Open-Video-Downloader-2.5.2.AppImage
open-video-downloader.bin--no-sandbox--ozone-platform-hint=auto
open-video-downloader.bin--type=zygote--no-sandbox
open-video-downloader.bin--type=zygote--no-zygote-sandbox--no-sandbox

Perhaps even more processes, but nothing that is clearly relatable to Open Video Downloader, for me.
I will reboot, to make sure memory is cleared.

@Cl00e9ment
Copy link

It's probably an issue related to the Electron version bump. I don't see how the Wayland detection could be related. I'll test that later this day.

@Cl00e9ment
Copy link

Can reproduce on my environment (GNOME + Wayland). Running via npm run start works fine, but running the built AppImage doesn't.

The culprit is mkdirp. Downgrading it to the old version 1.0.4 fixes the issue. I'll see if there is a clean way to fix that and will make a PR.

@Cl00e9ment
Copy link

Seems like an issue with mkdirp. I downgraded it to a not so old version (see #75).

StefanLobbenmeier added a commit that referenced this issue Sep 25, 2023
Downgraded mkdirp to fix an UnhandledPromiseRejectionWarning (closes #74)
@StefanLobbenmeier
Copy link
Owner

Should built into this release: https://github.com/StefanLobbenmeier/youtube-dl-gui/releases/tag/v2.5.3

Hoping that works - on mobile right now

@StefanLobbenmeier
Copy link
Owner

Looks like that didn’t work - will try again tonight

@StefanLobbenmeier
Copy link
Owner

Just ran the release again, that worked. @SnowballV can you confirm that fixes it for you? I do not have a Linux machine to test yet.

@SnowballV
Copy link
Author

SnowballV commented Sep 25, 2023

@StefanLobbenmeier,
Yes, I can confirm that it fixes the reported issue.
Open-Video-Downloader-2.5.3.AppImage opens as expected, and after closing, the processes mentioned before do not stay in memory.
However, one small glitch occurs when opening Open-Video-Downloader-2.5.3.AppImage: most times that I try, there are diagonal lines to be seen for part of a second. I don't see that when opening Open-Video-Downloader-2.4.10.AppImage.

@Cl00e9ment
Copy link

However, one small glitch occurs when opening Open-Video-Downloader-2.5.3.AppImage: most times that I try, there are diagonal lines to be seen for part of a second.

Probably because it's now running natively under Wayland (Wayland support is still experimental in Chromium). The problem is that when running with the compatibility layer XWayland, the UI is blurry with fractional scaling. There isn't a perfect solution. If the glitch happen only for less than a second, it's not a big deal I guess.

@SnowballV
Copy link
Author

If the glitch happen only for less than a second, it's not a big deal I guess.

Indeed, it's not a big deal.
But I thought it was better to report it, in case it was a symptom of something you needed to know of.
Good that the AppImage now runs as expected. Thanks very much.

@Cl00e9ment
Copy link

But I thought it was better to report it

Yes! Thank you, I was indeed not aware of this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants