KDE debugging is a new world for me.

I paste output here:

kde-developer@movingcastle:~$ kde-open "infinote:///"
kioclient(5105)/kio (KRun) KRun::slotTimeout: KRun(0x9350328)
slotTimeout called
kioclient(5105)/kio (KRun) KRun::init: INIT called
kioclient(5105)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying
to open ksycoca from
"/var/tmp/master-kde-developer/kdecache-kde-developer/ksycoca4"
kioclient(5105)/kio (KRun) KRun::scanFile: KUrl("infinote:/")
kioclient(5105)/kio (KRun) KRun::scanFile: KRun(0x9350328)  Scanning
file  "infinote:/"
kioclient(5105)/kio (Scheduler) KIO::SchedulerPrivate::doJob:
KIO::SimpleJob(0x934c828)
kioclient(5105)/kio (Scheduler) KIO::SchedulerPrivate::protoQ:
creating ProtoQueue instance for "infinote"
kioclient(5105)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue:
m_maxConnectionsTotal: 1 m_maxConnectionsPerHost: 1
kioclient(5105)/kio (KRun) KRun::scanFile:  Job
KIO::TransferJob(0x934c828)  is about getting from  "infinote:/"
kioclient(5105)/kio (KIOConnection)
KIO::ConnectionServer::listenForRemote: Listening on
"local:/home/kde-developer/kde/home/.master/socket-movingcastle/kioclientwZ5105.slave-socket"
kioclient(5105)/kio (Slave) KIO::Slave::createSlave: createSlave
"infinote" for KUrl("infinote:/")
kioclient(5105)/kio (KIOConnection)
KIO::ConnectionServer::listenForRemote: Listening on
"local:/home/kde-developer/kde/home/.master/socket-movingcastle/kioclientjd5105.slave-socket"
klauncher(5097)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying
to open ksycoca from
"/var/tmp/master-kde-developer/kdecache-kde-developer/ksycoca4"
klauncher(5097)/kio (KLauncher) KLauncher::requestSlave: KLauncher:
launching new slave  "kio_infinote"  with protocol= "infinote"  args=
("infinote", 
"local:/home/kde-developer/kde/home/.master/socket-movingcastle/klauncherMT5097.slave-socket",
"local:/home/kde-developer/kde/home/.master/socket-movingcastle/kioclientjd5105.slave-socket")
klauncher(5097)/kio (KLauncher) KLauncher::processRequestReturn:
"kio_infinote" (pid 5107) up and running.
unnamed app(5107)/kio kdemain: Entering function
kio_infinote(5107) infinote::infinote: KIO infinote instanced!
kioslave: ####### CRASH ###### protocol = infinote pid = 5107 signal = 11
kioclient(5105)/kio (Slave) KIO::Slave::gotInput: slave died pid =  5107
kioclient(5105)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("infinote:/")
kioclient(5105)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished:
KIO::TransferJob(0x934c828) KIO::Slave(0x93ab5a0)
kioclient(5105)/kio (KRun): KRun(0x9350328) ERROR (stat): 143   "El
procés pel protocol infinote ha mort inesperadament."
kioclient(5105)/kio (Scheduler) KIO::SchedulerPrivate::slotSlaveDied:
KIO::Slave(0x93ab5a0)
kioclient(5105)/kio (KRun) KRun::slotTimeout: KRun(0x9350328)
slotTimeout called

As far as I can see at least the kioslave is instantiated. I'll
program the stat() function and see if it solves the problem.

Thank you :)

2011/7/8 Nikhil Marathe <[email protected]>:
> On Fri, Jul 8, 2011 at 8:46 AM, Marc Mauri Alloza
> <[email protected]> wrote:
>> Hello,
>>
>> As part of my Season of KDE project I'm writting a kisolave to get and
>> write files concurrently by different users. To do it I'm doing a
>> kioslave that will use Telepathy and maybe infinote protocol. At the
>> moment I'm trying to make that the get() method of the kioslave
>> returns a "plain/text" file with the username of the telepathy
>> accounts that I have configured.
>
> Could you please tell me if you are testing the slave by launching it
> in konqueror/dolphin or using your own test program or kioclient?
>
>>
>> When I run it I get an anoying error:
>> kioclient(3854)/kio (KRun): KRun(0x885dac8) ERROR (stat): 143 "The
>> process for the infinote protocol died unexpectedly"
>
> Over the top of my head I'm going to venture that this has something
> to do with not
> having overridden SlaveBase::stat() or there is an actual crash bug in
> your code.
> It would be great if you could switch on debugging information and try
> again and paste some
> kind of log here.
>
> I think the steps to enable debug from a certain terminal are:
> 1. run kdebugdialog and enable the kio related debug channels
> 2. run kdeinit4 from that terminal
> 3. run the slave.
>
> Regards,
> Nikhil
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to