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

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

Open
sang-shelton opened this issue Oct 4, 2024 · 25 comments
Open

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

sang-shelton opened this issue Oct 4, 2024 · 25 comments
Labels
bug Something isn't working

Comments

@sang-shelton
Copy link

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 nlogozzo added the bug Something isn't working label Oct 4, 2024
@nlogozzo
Copy link
Member

nlogozzo commented Oct 4, 2024

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

@sang-shelton
Copy link
Author

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
Copy link
Member

nlogozzo commented Oct 4, 2024

But the download button is disabled

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

Going to fix.

@nlogozzo nlogozzo mentioned this issue Oct 4, 2024
@nlogozzo
Copy link
Member

nlogozzo commented Oct 4, 2024

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
Copy link
Author

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
Copy link
Member

nlogozzo commented Oct 4, 2024

Hmm 🤔

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

@sang-shelton
Copy link
Author

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
Copy link
Member

nlogozzo commented Oct 4, 2024

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
Copy link
Author

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
Copy link
Member

nlogozzo commented Oct 4, 2024

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
Copy link
Member

nlogozzo commented Oct 4, 2024

@sang-shelton Hi, any update?

@sang-shelton
Copy link
Author

@sang-shelton Hi, any update?

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

@nlogozzo
Copy link
Member

nlogozzo commented Oct 6, 2024

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
Copy link
Member

nlogozzo commented Oct 6, 2024

@sang-shelton Could you try running this command:

export -n SESSION_MANAGER

and then running the Qt version?

@sang-shelton
Copy link
Author

@sang-shelton Could you try running this command:

export -n SESSION_MANAGER

and then running the Qt version?

Nope, still the same error

@nlogozzo
Copy link
Member

nlogozzo commented Oct 7, 2024

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
Copy link
Author

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

@nlogozzo
Copy link
Member

nlogozzo commented Oct 8, 2024

@sang-shelton Any luck?

@nlogozzo nlogozzo added the waiting-for-author Waiting for a response from the author of the issue label Oct 11, 2024
@nlogozzo
Copy link
Member

@sang-shelton Hi, just checking in again.

@sang-shelton
Copy link
Author

Sorry for late reply.

I am getting

vcpkg install boost-date-time gtest libnick qtbase qtsvg qttools

error: Invalid triplet: x64-linux
Built-in Triplets:
Community Triplets:
See https://learn.microsoft.com/vcpkg/users/triplets?WT.mc_id=vcpkg_inproduct_cli for more information.

although i set export VCPKG_DEFAULT_TRIPLET="x64-linux"

@nlogozzo nlogozzo mentioned this issue Jan 3, 2025
10 tasks
@nlogozzo
Copy link
Member

nlogozzo commented Jan 3, 2025

Hi @sang-shelton ,

Parabolic is available via the AUR now. The package is parabolic-qt for the Qt version or parabolic-gtk for the GNOME version.

Can you try installing and running parabolic-qt and let me know how it goes for you?

@sang-shelton
Copy link
Author

I switched from Manjaro KDE to MXLinux (Debian 12) KDE recently.
The gnome main flatpak version works fine, i just tried it.
The qt one still isn't working.

@nlogozzo nlogozzo removed the waiting-for-author Waiting for a response from the author of the issue label Jan 4, 2025
@nlogozzo
Copy link
Member

nlogozzo commented Jan 5, 2025

Do you run multiple desktop environments or made any special modifications (theming, etc...) to KDE that you did on both setups?

@nlogozzo
Copy link
Member

nlogozzo commented Jan 6, 2025

And the Qt version doesn't start at all, correct?

@sang-shelton
Copy link
Author

Do you run multiple desktop environments or made any special modifications (theming, etc...) to KDE that you did on both setups?

Nope, just the basic setup, haven't done anything different.

And the Qt version doesn't start at all, correct?

Yes, it doesn't start at all

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

2 participants