Bug 319348 - Identi.ca changing backend to pump.io
Summary: Identi.ca changing backend to pump.io
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: Gnu Social (show other bugs)
Version: unspecified
Platform: Other All
: NOR critical
Target Milestone: ---
Assignee: Mehrdad Momeny
URL: https://identi.ca/doc/pumpio
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-05 04:38 UTC by Reuben
Modified: 2015-08-31 06:08 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben 2013-05-05 04:38:25 UTC
StatusNet is being dumped in favour of pump.io

https://identi.ca/doc/pumpio
Comment 1 Myriam Schweingruber 2013-06-02 10:46:30 UTC
That is starting to get urgent, really, identi.ca will switch to pump.io in a week: http://identi.ca/doc/pumpio

Please implement this ASAP, else we will not be able to use identi.ca anymore
Comment 2 Christophe Marin 2013-07-11 09:18:05 UTC
fwiw, the migration to pump.io is done.
Comment 3 Michael 2013-07-23 13:58:48 UTC
mhm.... "sorry guy's" i can not login to identi.ca/pump.io whit choqok

Version 1.3.1 / KDE 4.10.5

my settings:  simple auth. username & password (login server is: https://identi.ca)
path to api: (only?!) api  (i have no path to...) 

thx4help ...
Comment 4 Paul Gideon Dann 2013-07-23 14:34:15 UTC
Michael, there is currently no fix for this, which is what this bug is about.  Choqok currently does not support pump.io, which means that it can no longer connect to Identi.ca.
Comment 5 EMR_Kde 2013-07-31 15:57:41 UTC
Am I the only one using identi.ca? Is there a timeline when the functionality (new API?) be updated in Choqok?
Comment 6 Mehrdad Momeny 2013-08-01 02:25:18 UTC
(In reply to comment #5)
> Am I the only one using identi.ca? Is there a timeline when the
> functionality (new API?) be updated in Choqok?

Sorry, but as I know, No one is working on pump.io support right now, so. there's no timeline
Comment 7 Daniel Kreuter 2013-09-04 18:29:24 UTC
(In reply to comment #5)
> Am I the only one using identi.ca? Is there a timeline when the
> functionality (new API?) be updated in Choqok?

I would work on it if I had an pump.io account, but since I'm currently not able to create one (An unknown error occures with no clue what's wrong) you'll have to wait for it.
Comment 8 Christophe Marin 2013-09-05 08:20:01 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > Am I the only one using identi.ca? Is there a timeline when the
> > functionality (new API?) be updated in Choqok?
> 
> I would work on it if I had an pump.io account, but since I'm currently not
> able to create one (An unknown error occures with no clue what's wrong)
> you'll have to wait for it.

you tried the "Try it now" link on http://pump.io ? that redirects to random pump.io running sites
Comment 9 Andrea Scarpino 2013-12-07 13:33:34 UTC
Hi, just to let you know I'm working on Pump support. I'll push a basic functional plugin in a scratch repo soon, maybe this week.
Comment 10 Andrea Scarpino 2013-12-10 18:52:38 UTC
(In reply to comment #9)
> Hi, just to let you know I'm working on Pump support. I'll push a basic
> functional plugin in a scratch repo soon, maybe this week.
Here's my work:
http://quickgit.kde.org/?p=clones%2Fchoqok%2Fscarpino%2Fchoqok-pumpio.git

ATM, you can write a note, read others people notes, read their comments, delete a note you own.
Comment 11 Christophe Marin 2013-12-10 20:28:17 UTC
Thanks,
It crashed right after validating the verifier token :

(gdb) thread apply all bt

Thread 1 (Thread 0x7fd6ef530880 (LWP 24835)):
#0  0x00007fd6f8d61b14 in KJob::error (this=0x39e6be0) at /kde/src/4/kdelibs/kdecore/jobs/kjob.cpp:222
#1  0x00007fd6e520f1c2 in PumpIOEditAccountWidget::registerClient (this=0x21489e0)
    at /kde/src/4/choqok-pumpio/microblogs/pumpio/pumpioeditaccountwidget.cpp:148
#2  0x00007fd6e520e296 in PumpIOEditAccountWidget::authorizeUser (this=0x21489e0)
    at /kde/src/4/choqok-pumpio/microblogs/pumpio/pumpioeditaccountwidget.cpp:86
#3  0x00007fd6e520caa0 in PumpIOEditAccountWidget::qt_static_metacall (_o=0x21489e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff9e563550)
    at /kde/build/4/choqok-pumpio/microblogs/pumpio/moc_pumpioeditaccountwidget.cpp:48
#4  0x00007fd6f88a6b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#5  0x00007fd6f9781302 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4
#6  0x00007fd6f94e5303 in ?? () from /usr/lib64/libQtGui.so.4
#7  0x00007fd6f94e6473 in ?? () from /usr/lib64/libQtGui.so.4
#8  0x00007fd6f94e655c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#9  0x00007fd6f9187c2e in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#10 0x00007fd6f91386dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#11 0x00007fd6f913eddd in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#12 0x00007fd6f9eb50f3 in KApplication::notify (this=0x7fff9e566290, receiver=0x3b9adb0, event=0x7fff9e563a90)
    at /kde/src/4/kdelibs/kdeui/kernel/kapplication.cpp:311
#13 0x00007fd6f8892e8d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#14 0x00007fd6f913e593 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib64/libQtGui.so.4
Comment 12 Christophe Marin 2013-12-10 20:30:19 UTC
terminal output:

choqok(24835) Choqok::PluginManager::loadPluginInternal: Successfully loaded plugin ' "choqok_pumpio" '
choqok(24835)/kdecore (KLocale) KuitSemanticsPrivate::parseOpenEl: "Tag 'style' is neither semantic nor HTML in message {<kuil><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC...}."
choqok(24835) Choqok::AccountManager::findAccount: Finding:  "Pump.io"
choqok(24835) Choqok::PasswordManager::Private::openWallet:
choqok(24835) Choqok::PasswordManager::readPassword: Read password from wallet
choqok(24835) Choqok::Account::Account:
choqok(24835) Choqok::PasswordManager::Private::openWallet:
choqok(24835) Choqok::PasswordManager::readPassword: Read password from wallet
choqok(24835) Choqok::PasswordManager::Private::openWallet:
choqok(24835) Choqok::PasswordManager::readPassword: Read password from wallet
choqok(24835) PumpIOEditAccountWidget::registerClient: webfingerID is not valid
createSignature - consumer key is empty, make sure that you set itwith QOAuth::Interface::setConsumerKey() 
choqok(24835) PumpIOEditAccountWidget::authorizeUser: "QOAuth error: Consumer Key or Secret has not been provided"
choqok(24835)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x39e6be0)
choqok(24835)/kio (Slave) KIO::Slave::kill: killing slave pid 24842 ( "https://api.twitter.com" )
choqok(24835)/kio (Slave) KIO::Slave::kill: killing slave pid 24840 ( "https://api.twitter.com" )
choqok(24835)/kio (Slave) KIO::Slave::kill: killing slave pid 24841 ( "https://api.twitter.com" )
choqok(24835)/kio (Slave) KIO::Slave::kill: killing slave pid 24836 ( "https://api.twitter.com" )
choqok(24835)/kio (Slave) KIO::Slave::kill: killing slave pid 24848 ( "http://t.co" )
choqok(24835)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x361b7e0)
choqok(24835)/kio (Slave) KIO::Slave::createSlave: createSlave "https" for KUrl("https://identi.ca/api/client/register")
choqok(24835)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/tmp/ksocket-krop/choqokE24835.slave-socket"
choqok(24835)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://identi.ca/api/client/register")
choqok(24835)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StoredTransferJob(0x361b7e0) KIO::Slave(0x2e335e0)
choqok(24835)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x338fa40)
choqok(24835)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://identi.ca/oauth/request_token")
choqok(24835)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x338fa40) KIO::Slave(0x2e335e0)
choqok(24835) KToolInvocation::invokeBrowser: Starting service "/usr/share/applications/firefox.desktop"
choqok(24835)/kdecore (KStartupInfo) KStartupInfo::createNewStartupId: creating:  "yuuko;1386706910;292995;24835_TIME215873289" : "choqok"
choqok(24835)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://identi.ca/api/client/register")
choqok(24835)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StoredTransferJob(0x39e6be0) KIO::Slave(0x2a6d120)
choqok(24835)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x248fcc0)
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x7000111
choqok(24835)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("https://identi.ca/oauth/access_token")
choqok(24835)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::TransferJob(0x248fcc0) KIO::Slave(0x2a6d120)
Comment 13 Christophe Marin 2013-12-10 20:39:30 UTC
(and obviously, no issue on the second try :))
Comment 14 Christophe Marin 2013-12-11 10:03:39 UTC
Another reproducible crash


Thread 1 (Thread 0x7f75a2653880 (LWP 2512)):
#0  0x00007f75ad46830a in QString::QString (this=0x7fff5c2cdb30, other=<error reading variable: Cannot access memory at address 0xbabababa00000010>)
    at /usr/include/QtCore/qstring.h:725
#1  0x00007f75ad468cc5 in Choqok::Account::alias (this=0x17ad1e0) at /kde/src/4/choqok-pumpio/libchoqok/account.cpp:111
#2  0x00007f75ad47d458 in Choqok::UI::MicroBlogWidget::updateTimelines (this=0x30eb3f0) at /kde/src/4/choqok-pumpio/libchoqok/ui/microblogwidget.cpp:199
#3  0x00007f75ad47f03a in Choqok::UI::MicroBlogWidget::qt_static_metacall (_o=0x30eb3f0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff5c2cdc60)
    at /kde/build/4/choqok-pumpio/libchoqok/microblogwidget.moc:86
#4  0x00007f75ab9c9b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#5  0x00007f75ad491e8f in Choqok::UI::MainWindow::updateTimelines (this=0x15e00b0) at /kde/build/4/choqok-pumpio/libchoqok/choqokmainwindow.moc:118
#6  0x00007f75ad491cba in Choqok::UI::MainWindow::qt_static_metacall (_o=0x15e00b0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff5c2cddc0)
    at /kde/build/4/choqok-pumpio/libchoqok/choqokmainwindow.moc:63
Comment 15 Andrea Scarpino 2013-12-11 10:27:56 UTC
(In reply to comment #14)
> Another reproducible crash

Yep, I'm on it ATM.

BTW, should we use this bugreport for bug reports?
Comment 16 Daniel Kreuter 2013-12-11 10:29:59 UTC
Hi,

yeah using this bug report should be fine, but please add stacktraces only as attachment for readability.

Cheers

Daniel
Comment 17 Christophe Marin 2013-12-11 10:39:46 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > Another reproducible crash
> 
> Yep, I'm on it ATM.
> 
> BTW, should we use this bugreport for bug reports?

Up to you. I can create a pump.io component and rename statusnet/identica to just statusnet

(In reply to comment #16)
> Hi,
> 
> yeah using this bug report should be fine, but please add stacktraces only
> as attachment for readability.
> 
Attaching backtraces is usually a bad idea. drkonqi cannot find duplicates if the backtraces are attached rather than pasted inline.
Comment 18 Myriam Schweingruber 2013-12-11 11:56:03 UTC
Backtraces should always be pasted in-line, as it is impossible to search in attachments. 
FWIW: if the report knows how to read a backtrace the will only paste the relevant lines anyway
Comment 19 Mehrdad Momeny 2013-12-11 13:37:02 UTC
(In reply to comment #15)
> BTW, should we use this bugreport for bug reports?
Yes! it's better to follow this implementation here! since it doesn't released yet, those reports are only relevant here.

And thanks for working on it.
Comment 20 Andrea Scarpino 2013-12-12 16:29:22 UTC
(In reply to comment #14)
> Another reproducible crash

Fixed in c829c28326f3fdbdcd0086f629294f3890d48965
Comment 21 Christophe Marin 2013-12-12 20:12:24 UTC
(In reply to comment #20)
> 
> Fixed in c829c28326f3fdbdcd0086f629294f3890d48965

Confirmed, no more crash after a couple hours testing. just a couple non-crash issues left
Comment 22 Andrea Scarpino 2014-01-02 18:04:30 UTC
Git commit 00a0a426cab61afe15b2a8a0258b07302dd9ecb3 by Andrea Scarpino.
Committed on 02/01/2014 at 17:54.
Pushed by scarpino into branch 'master'.

Implement Pump.io APIs

At the moment this supports:
* OAuth authentication
* main activity, favorites, outbox and inbox timelines
* post sending; sent to Public by default
* private post sending; a post sent with custom To/CC fields
* medium upload (I tried with images, but should work with any supported type)
* images previews
* like/unlike any post
* reshare any post
* deletion of a post the user wrote
* show post replies in a separate widget

M  +1    -0    microblogs/CMakeLists.txt
A  +35   -0    microblogs/pumpio/CMakeLists.txt
A  +18   -0    microblogs/pumpio/choqok_pumpio.desktop
A  +1    -0    microblogs/pumpio/icons/CMakeLists.txt
A  +-    --    microblogs/pumpio/icons/hi16-app-pumpio_microblog.png
A  +-    --    microblogs/pumpio/icons/hi22-app-pumpio_microblog.png
A  +-    --    microblogs/pumpio/icons/hi32-app-pumpio_microblog.png
A  +-    --    microblogs/pumpio/icons/hi48-app-pumpio_microblog.png
A  +-    --    microblogs/pumpio/icons/hi64-app-pumpio_microblog.png
A  +193  -0    microblogs/pumpio/pumpioaccount.cpp     [License: GPL (v2/3)]
A  +77   -0    microblogs/pumpio/pumpioaccount.h     [License: GPL (v2/3)]
A  +165  -0    microblogs/pumpio/pumpiocomposerwidget.cpp     [License: GPL (v2/3)]
A  +50   -0    microblogs/pumpio/pumpiocomposerwidget.h     [License: GPL (v2/3)]
A  +221  -0    microblogs/pumpio/pumpioeditaccountwidget.cpp     [License: GPL (v2/3)]
A  +63   -0    microblogs/pumpio/pumpioeditaccountwidget.h     [License: GPL (v2/3)]
A  +242  -0    microblogs/pumpio/pumpioeditaccountwidget.ui
A  +167  -0    microblogs/pumpio/pumpiomessagedialog.cpp     [License: GPL (v2/3)]
A  +55   -0    microblogs/pumpio/pumpiomessagedialog.h     [License: GPL (v2/3)]
A  +90   -0    microblogs/pumpio/pumpiomessagedialog.ui
A  +1269 -0    microblogs/pumpio/pumpiomicroblog.cpp     [License: GPL (v2/3)]
A  +161  -0    microblogs/pumpio/pumpiomicroblog.h     [License: GPL (v2/3)]
A  +32   -0    microblogs/pumpio/pumpiopost.cpp     [License: GPL (v2/3)]
A  +43   -0    microblogs/pumpio/pumpiopost.h     [License: GPL (v2/3)]
A  +224  -0    microblogs/pumpio/pumpiopostwidget.cpp     [License: GPL (v2/3)]
A  +63   -0    microblogs/pumpio/pumpiopostwidget.h     [License: GPL (v2/3)]
A  +85   -0    microblogs/pumpio/pumpioshowthread.cpp     [License: GPL (v2/3)]
A  +56   -0    microblogs/pumpio/pumpioshowthread.h     [License: GPL (v2/3)]
A  +59   -0    microblogs/pumpio/pumpioshowthread.ui
M  +21   -0    plugins/imagepreview/imagepreview.cpp
M  +1    -0    plugins/imagepreview/imagepreview.h

http://commits.kde.org/choqok/00a0a426cab61afe15b2a8a0258b07302dd9ecb3
Comment 23 Mehrdad Momeny 2014-01-03 02:12:41 UTC
(In reply to comment #22)
> Git commit 00a0a426cab61afe15b2a8a0258b07302dd9ecb3 by Andrea Scarpino.
> Committed on 02/01/2014 at 17:54.
> Pushed by scarpino into branch 'master'.

Thanks Andrea!
We have a new component for Pump.io in bug tracker. so, please submit new bug reports there. :)
Comment 24 Kalegley 2015-08-31 06:08:08 UTC
*** This comment was removed by KDE Sysadmin for violation of KDE.org abuse policies ***