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

Setup Incomplete, Installation of the DEB file doesnt work. #91

Open
psmgeelen opened this issue Oct 17, 2023 · 8 comments
Open

Setup Incomplete, Installation of the DEB file doesnt work. #91

psmgeelen opened this issue Oct 17, 2023 · 8 comments

Comments

@psmgeelen
Copy link

After installing the add-on, the add-on requests me to 'complete the setup'. I walk through the questionnaire and end up with a DEB file that I need to install, so I do that. After restarting firefox, the issue persists. I installed firefox using apt and not snap.

The version of 119.
My OS is: Ubuntu 23.10 x86_64
My desktop Environment is vanilla Ubuntu: GNOME 45.0

@WayneBrummer
Copy link

I have the same experience

@psmgeelen
Copy link
Author

@WayneBrummer , what OS are you using?

@WayneBrummer
Copy link

Ubuntu 22.04.0 LTS and FF 119

@WayneBrummer
Copy link

I see some older posts that it has something to do with the version of FF?

@psmgeelen
Copy link
Author

Maybe if we tag @null-dev , we can get a response more quickly 🤣

@atomjack
Copy link

I'm getting this issue as well, Ubuntu 22.04.3, Firefox 119.0b9. I tried running firefox from the command line and saw these messages:

** (firefox:2468888): WARNING **: 14:25:14.589: OnCloseSessionDone error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/portal/desktop/session/1_19902/firefox_ax_nd_profile_switcher_ff_4132807681”

After doing some googling on some of that, I found that by running Firefox like so: MOZ_LOG=NativeMessagingPortal:5 snap run firefox produces a little more info, I got these lines as well:

[Parent 2487958: Main Thread]: D/NativeMessagingPortal is available
[Parent 2487958: Main Thread]: D/NativeMessagingPortal creating session with handle suffix firefox_ax_nd_profile_switcher_ff_3907035962
[Parent 2487958: Main Thread]: D/NativeMessagingPortal session created with handle /org/freedesktop/portal/desktop/session/1_19933/firefox_ax_nd_profile_switcher_ff_3907035962
[Parent 2487958: Main Thread]: D/NativeMessagingPortal starting ax.nd.profile_switcher_ff, requested by profile-switcher-ff@nd.ax in session /org/freedesktop/portal/desktop/session/1_19933/firefox_ax_nd_profile_switcher_ff_3907035962
[Parent 2487958: Main Thread]: D/NativeMessagingPortal native application start requested in session /org/freedesktop/portal/desktop/session/1_19933/firefox_ax_nd_profile_switcher_ff_3907035962, pending response for /org/freedesktop/portal/desktop/request/1_19933/firefox/2043777480
[Parent 2487958: Main Thread]: D/NativeMessagingPortal got response signal for /org/freedesktop/portal/desktop/request/1_19933/firefox/2043777480 in session /org/freedesktop/portal/desktop/session/1_19933/firefox_ax_nd_profile_switcher_ff_3907035962
[Parent 2487958: Main Thread]: D/NativeMessagingPortal native application start failed in session /org/freedesktop/portal/desktop/session/1_19933/firefox_ax_nd_profile_switcher_ff_3907035962
[Parent 2487958: Main Thread]: D/NativeMessagingPortal session /org/freedesktop/portal/desktop/session/1_19933/firefox_ax_nd_profile_switcher_ff_3907035962 was closed by the portal
[Parent 2487958: Main Thread]: D/NativeMessagingPortal cannot close session /org/freedesktop/portal/desktop/session/1_19933/firefox_ax_nd_profile_switcher_ff_3907035962, unknown handle

Perhaps this can help, @null-dev ?

@atomjack
Copy link

atomjack commented Oct 23, 2023

I'm still not able to get this to work, however after some more googling I found a similar log in another github repo issue, so I tried doing what one of the commenters suggested, for this extension instead, with:

flatpak permission-set webextensions ax.nd.profile_switcher_ff snap.firefox yes

Running Firefox with MOZ_LOG=NativeMessagingPortal:5 snap run firefox results in this block, which is slightly different from previously, repeated every couple of seconds:

[Parent 890368: Main Thread]: D/NativeMessagingPortal is available
[Parent 890368: Main Thread]: D/NativeMessagingPortal creating session with handle suffix firefox_ax_nd_profile_switcher_ff_4176043782
[Parent 890368: Main Thread]: D/NativeMessagingPortal session created with handle /org/freedesktop/portal/desktop/session/1_25318/firefox_ax_nd_profile_switcher_ff_4176043782
[Parent 890368: Main Thread]: D/NativeMessagingPortal starting ax.nd.profile_switcher_ff, requested by profile-switcher-ff@nd.ax in session /org/freedesktop/portal/desktop/session/1_25318/firefox_ax_nd_profile_switcher_ff_4176043782
[Parent 890368: Main Thread]: D/NativeMessagingPortal native application start requested in session /org/freedesktop/portal/desktop/session/1_25318/firefox_ax_nd_profile_switcher_ff_4176043782, pending response for /org/freedesktop/portal/desktop/request/1_25318/firefox/1479745970
[Parent 890368: Main Thread]: D/NativeMessagingPortal got response signal for /org/freedesktop/portal/desktop/request/1_25318/firefox/1479745970 in session /org/freedesktop/portal/desktop/session/1_25318/firefox_ax_nd_profile_switcher_ff_4176043782
[Parent 890368: Main Thread]: D/NativeMessagingPortal native application start successful in session /org/freedesktop/portal/desktop/session/1_25318/firefox_ax_nd_profile_switcher_ff_4176043782, requesting file descriptors
[Parent 890368: Main Thread]: D/NativeMessagingPortal got file descriptors for native application in session /org/freedesktop/portal/desktop/session/1_25318/firefox_ax_nd_profile_switcher_ff_4176043782: (100, 108, 134)
[Parent 890368: Main Thread]: D/NativeMessagingPortal closing session /org/freedesktop/portal/desktop/session/1_25318/firefox_ax_nd_profile_switcher_ff_4176043782
[Parent 890368: Main Thread]: D/NativeMessagingPortal session /org/freedesktop/portal/desktop/session/1_25318/firefox_ax_nd_profile_switcher_ff_4176043782 closed

As you can see, it now reports that the native application started successfully, however I am still getting "Setup Incomplete" from the extension.

@pulbhaba
Copy link

Hope this helps you,
#95 (comment)

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