Page 1 of 2

Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 11:43
by globetrotterdk
I have problems with Choqok crashing when authenticating Twitter service on a newly installed Salix OS KDE 13.37 64-bit system. Has anyone found a solution to this?

Code: Select all

$ choqok
Choqok  1.1 
QMetaObject::invokeMethod: No such method ChoqokApplication::loadCommandLineOptionsForNewInstance()
user@userpc:~$ choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_filter"
choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_searchaction"
choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "choqok_nowlistening"
choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_quickfilter"
choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_imagepreview"
choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_videopreview"
choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "choqok_imstatus"
choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "choqok_translator"
choqok(2953)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "choqok_untiny"
Enchant dict for "en_US" 0xac7760 
HMAC(SHA1) is not supported!
KCrash: Application 'choqok' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/user/.kde/socket-userpc/kdeinit4__0

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 13:24
by Shador
A quick search on the internet suggests installing qca-ossl.

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 13:39
by globetrotterdk
Shador wrote:A quick search on the internet suggests installing qca-ossl.
Thanks. Good to know that your quick search works better than my hour long search :)

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 14:54
by Shador
The last line before the first line mentioning crash, complains about HMAC(SHA-1) and 'choqok hmac sha-1' brought up that result. So if you know what to search for it's really a quick search. ;)

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 17:56
by globetrotterdk
Shador wrote:The last line before the first line mentioning crash, complains about HMAC(SHA-1) and 'choqok hmac sha-1' brought up that result. So if you know what to search for it's really a quick search. ;)
Cool. OK, what about this other error I am getting from Choqok? I have tried searching both for the GUI error, as well as the output in the shell, but haven't had any luck:

Code: Select all

The server failed the authenticity check (twitter.com). The certificate authority's certificate is invalid
The root certificate authority's certificate is not trusted for this purpose

Code: Select all

$ QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
Enchant dict for "en_US" 0x7b3400 
Enchant dict for "en_US" 0xf10fc0 
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_filter"
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_searchaction"
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "choqok_nowlistening"
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_quickfilter"
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_imagepreview"
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "choqok_videopreview"
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "choqok_imstatus"
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "choqok_translator"
choqok(4631)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "choqok_untiny"
choqok(4631)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
choqok(4631)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
choqok(4631) Choqok::PluginManager::loadPluginInternal: Unable to find a plugin named ' "none" '! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
choqok(4631) EventListener::eventFilter: User of KWidgetItemDelegate should not delete widgets created by createWidgets! 
^C
user@userpc:~$ choqok(4631)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
choqok(4631)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
choqok(4631) Choqok::PluginManagerPrivate::~PluginManagerPrivate: Destructing plugin manager without going through the shutdown process! Backtrace is:  
"[
0: /usr/lib64/libkdecore.so.5(kRealBacktrace(int)+0x3d) [0x7f85dd20d76d]
1: /usr/lib64/libchoqok.so.1(+0x31407) [0x7f85df2f4407]
2: /lib64/libc.so.6(exit+0xe1) [0x7f85dbcc3971]
3: /lib64/libc.so.6(__libc_start_main+0x104) [0x7f85dbcaae64]
4: choqok() [0x409209]
]
" 
choqok(4631) Choqok::PluginManagerPrivate::~PluginManagerPrivate: Deleting stale plugin ' "" '
I have tried removing the "/tmp/ksocket-user/klauncherXXXXXX.slave-socket file" as mentioned here, and have looked at this, but didn't find any solution there either. Any ideas?

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 18:01
by gapan
Is there a chance twitter made their API incompatible and choqok doesn't work with it anymore? How about asking choqok's developers?

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 18:04
by Shador

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 19:07
by globetrotterdk
Saw it, tried it, no luck.

Edit:
I posted a question to the developers on Launchpad here.

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 21:28
by djemos
Choqok works fine in my Salix OS KDE 13.37 64-bit system.
What i did.
1) I compiled and installed qjson-0.7.1 which is required by choqok.
You can also install qjson using slapt-src
2) i installed qoauth, which is also required by choqok , using

Code: Select all

slapt-src -i qoauth
3) I compiled and installed Choqok 1.1

check also this choqok-1.1-x86_64-1dj.dep file in case another dep is needed.

I granted access to Choqok and entered the pin from twitter and timelines appeared in choqok.

Re: Choqok crashes when authenticating Twitter service.

Posted: 12. Mar 2012, 23:10
by globetrotterdk
djemos wrote:Choqok works fine in my Salix OS KDE 13.37 64-bit system.
What i did.
1) I compiled and installed qjson-0.7.1 which is required by choqok.
You can also install qjson using slapt-src
2) i installed qoauth, which is also required by choqok , using

Code: Select all

slapt-src -i qoauth
3) I compiled and installed Choqok 1.1

check also this choqok-1.1-x86_64-1dj.dep file in case another dep is needed.

I granted access to Choqok and entered the pin from twitter and timelines appeared in choqok.
Yes, I followed the same steps as you, except I also installed linuxdoc-tools from slapt-get. I didn't receive any errors, so I assume the SlackBuild compile didn't lack any dependencies.