NickvisionApps / Parabolic

Download web video and audio
https://flathub.org/apps/details/org.nickvision.tubeconverter
GNU General Public License v3.0
944 stars 51 forks source link

Qt: Session management error: Could not open network socket #859

Open sang-shelton opened 3 days ago

sang-shelton commented 3 days ago

I did flatpak install org.nickvision.tubeconverter.qt.flatpak

Then flatpak run org.nickvision.tubeconverter

and i got this error

Qt: Session management error: Could not open network socket
[INFO] Started QT application.
file: /run/build/org.nickvision.tubeconverter/org.nickvision.tubeconverter.qt/src/application.cpp(17:26) `int Nickvision::TubeConverter::QT::Application::exec()`

I am using Manjaro Linux

nlogozzo commented 3 days ago

Just for curiosity sake....could you install the gnome version and run that and see what happens?

sang-shelton commented 3 days ago

Just for curiosity sake....could you install the gnome version and run that and see what happens?

Seems to be working well

flatpak run org.nickvision.tubeconverter

[INFO] Started GTK application.
file: /run/build/org.nickvision.tubeconverter/org.nickvision.tubeconverter.gnome/src/application.cpp(30:26) `int Nickvision::TubeConverter::GNOME::Application::run()`

(org.nickvision.tubeconverter.gnome:2): Adwaita-WARNING **: 03:49:00.006: AdwNavigationPage 0x64cb779fa960 is missing a title. To hide a header bar title, consider using AdwHeaderBar:show-title instead.

(org.nickvision.tubeconverter.gnome:2): Adwaita-WARNING **: 03:49:00.006: AdwNavigationPage 0x64cb77aa8c60 is missing a title. To hide a header bar title, consider using AdwHeaderBar:show-title instead.
[INFO] Connected to Linux taskbar.
file: /run/build/org.nickvision.tubeconverter/libparabolic/src/controllers/mainwindowcontroller.cpp(253:25) `Nickvision::App::WindowGeometry Nickvision::TubeConverter::Shared::Controllers::MainWindowController::startup(const std::string&)`

[INFO] Loaded 0 historic downloads.
file: /run/build/org.nickvision.tubeconverter/libparabolic/src/models/downloadmanager.cpp(166:21) `void Nickvision::TubeConverter::Shared::Models::DownloadManager::loadHistory()`

[INFO] Network disconnected.
file: /run/build/org.nickvision.tubeconverter/libparabolic/src/controllers/mainwindowcontroller.cpp(376:25) `void Nickvision::TubeConverter::Shared::Controllers::MainWindowController::onNetworkStateChanged(const Nickvision::Network::NetworkStateChangedEventArgs&)`

But the download button is disabled

Screenshot_20241004_035056

I wanted to download the QT version as it will look better with KDE

nlogozzo commented 3 days ago

But the download button is disabled

Ah...that's the reason the QT one is closing.

Going to fix.

nlogozzo commented 3 days ago

Can you download the Qt flatpak file from this build: https://github.com/NickvisionApps/Parabolic/actions/runs/11180633042 and install it and test it?

sang-shelton commented 3 days ago

Can you download the Qt flatpak file from this build: https://github.com/NickvisionApps/Parabolic/actions/runs/11180633042 and install it and test it?

Installed it and still getting this error

Qt: Session management error: Could not open network socket
[INFO] Started QT application.
file: /run/build/org.nickvision.tubeconverter/org.nickvision.tubeconverter.qt/src/application.cpp(17:26) `int Nickvision::TubeConverter::QT::Application::exec()`
nlogozzo commented 3 days ago

Hmm 🤔

What if you download and run the new GNOME file? Does downloading work now?

sang-shelton commented 3 days ago

Hmm 🤔

What if you download and run the new GNOME file? Does downloading work now?

I tried the gnome version and it worked perfect. The download button is clickable and i downloaded a jewtube video successfully

Screenshot_20241004_174515

nlogozzo commented 3 days ago

I tried the gnome version and it worked perfect. The download button is clickable and i downloaded a jewtube video successfully

Glad to hear! I'm trying to research more about the Qt: Session management error: Could not open network socket error but I've never seen it before and can't find too much information about it :/

Would you by any chance be able to compile and run the Qt version locally?

sang-shelton commented 3 days ago

I tried the gnome version and it worked perfect. The download button is clickable and i downloaded a jewtube video successfully

Glad to hear! I'm trying to research more about the Qt: Session management error: Could not open network socket error but I've never seen it before and can't find too much information about it :/

Would you by any chance be able to compile and run the Qt version locally?

K i will clone and compile and see what happens

nlogozzo commented 3 days ago

You will also need to compile and install https://github.com/nickvisionapps/libnick

The rest of the packages and dependencies should be available easily on arch...no need for vcpkg.

nlogozzo commented 3 days ago

@sang-shelton Hi, any update?

sang-shelton commented 3 days ago

@sang-shelton Hi, any update?

Installing vcpkg is a hassle, i will have to use it if i am gonna build libnick too

nlogozzo commented 1 day ago

Installing vcpkg is a hassle, i will have to use it if i am gonna build libnick too

vcpkg is not required. You can install the dependencies regularly using pacman or from aur and libnick and Parabolic will use them instead of looking for vcpkg.

nlogozzo commented 1 day ago

@sang-shelton Could you try running this command:

export -n SESSION_MANAGER

and then running the Qt version?

sang-shelton commented 13 hours ago

@sang-shelton Could you try running this command:

export -n SESSION_MANAGER

and then running the Qt version?

Nope, still the same error

nlogozzo commented 11 hours ago

It would be best if you compiled and ran the app locally that way you could debug it and see where it's failing.

sang-shelton commented 11 hours ago

It would be best if you compiled and ran the app locally that way you could debug it and see where it's failing.

K i will do that