Bug 347525 - Choqok asks for Twitter PIN, but Twitter doesn't really send me the PIN
Summary: Choqok asks for Twitter PIN, but Twitter doesn't really send me the PIN
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: Twitter (show other bugs)
Version: 1.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-10 17:24 UTC by vini.ipsmaker
Modified: 2016-08-04 10:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.6


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vini.ipsmaker 2015-05-10 17:24:06 UTC
I cannot manage to add a Twitter account to Choqok.

I fill my Twitter username and click on the authentication button, but then, a window asking the Twitter PIN appears and I don't receive any PIN from the Twitter web interface (or email associated with my account or whatever).

Reproducible: Always
Comment 1 vini.ipsmaker 2015-05-10 17:59:54 UTC
I found out the problem.

If I explictly state firefox in Choqok settings, it'll manage to do the right thing.

A notification should appear if Choqok fails to detect my system's web browser.
Comment 2 Andrea Scarpino 2015-05-12 20:32:32 UTC
mmm...this means that `xdg-open http://bugs.kde.org` does not open the brower on your system. Could you confirm my guess?
Comment 3 vini.ipsmaker 2015-05-13 01:22:21 UTC
> mmm...this means that `xdg-open http://bugs.kde.org` does not open the brower on your system. Could you confirm my guess?

You guessed wrong. It did open.
Comment 4 Andrea Scarpino 2015-05-13 06:59:16 UTC
(In reply to vini.ipsmaker from comment #3)
> You guessed wrong. It did open.

Correct. That uses XDG, while we use KDE Frameworks. What about `kde-open http://bugs.kde.org` then?
Comment 5 vini.ipsmaker 2015-05-14 03:22:36 UTC
> What about `kde-open http://bugs.kde.org` then?

Sometimes it works, sometimes it doesn't. Here is the output from one of the times that doesn't work:

unnamed app(4106) ClientApp::doIt: Creating ClientApp
kioclient(4106) ClientApp::kde_open: KUrl("http://bugs.kde.org")
kioclient(4106) KSharedUiServerProxy::KSharedUiServerProxy: The dbus name org.kde.JobViewServer is STILL NOT REGISTERED, even after starting kuiserver. Should not happen.
QDBusObjectPath: invalid path ""

btw, I'm using Enlightenment 0.19.5 as my desktop environment.
Comment 6 Andrea Scarpino 2015-05-25 18:43:07 UTC
Please try to investigate (report another bug) about the kde-open issue. We relay on that, so if that doesn't work Choqok cannot open the system browser.
Comment 7 vini.ipsmaker 2015-05-26 02:10:34 UTC
When kde-open doesn't work, 1 is returned.

Choqok should handle this issue and inform the user whatever happens to kde-open.

I'll investigate kde-open.
Comment 8 Mehrdad Momeny 2016-01-09 07:28:26 UTC
Git commit 0fc0bebd76fbe577c9634204b9416fc2cebcdafd by Mehrdad Momeny.
Committed on 09/01/2016 at 07:22.
Pushed by momeny into branch 'master'.

Check the result of url opening command and report the failure to user

M  +15   -2    libchoqok/choqoktools.cpp

http://commits.kde.org/choqok/0fc0bebd76fbe577c9634204b9416fc2cebcdafd