[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Problems writting new kioslave.
From: Marc Mauri Alloza <marcmaurialloza () gmail ! com>
Date: 2011-07-09 8:56:30
Message-ID: CAMr+Fr6Z4ksFOQOUtRe9_+4K00isA9g66rJMSdSHwAytnFEQcA () mail ! gmail ! com
[Download RAW message or body]
I've enabled all debugging outputs you said and here's the output:
kde-developer@movingcastle:~$ kde-open "infinote:///"
kioclient(1999)/kio (KRun) KRun::slotTimeout: KRun(0x853af50)
slotTimeout called
kioclient(1999)/kio (KRun) KRun::init: INIT called
kioclient(1999)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying
to open ksycoca from
"/var/tmp/master-kde-developer/kdecache-kde-developer/ksycoca4"
kioclient(1999)/kio (KRun) KRun::scanFile: KUrl("infinote:/")
kioclient(1999)/kio (KRun) KRun::scanFile: KRun(0x853af50) Scanning
file "infinote:/"
kioclient(1999)/kio (Scheduler) KIO::SchedulerPrivate::doJob:
KIO::SimpleJob(0x85513e0)
kioclient(1999)/kio (Scheduler) KIO::SchedulerPrivate::protoQ:
creating ProtoQueue instance for "infinote"
kioclient(1999)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue:
m_maxConnectionsTotal: 1 m_maxConnectionsPerHost: 1
klauncher(1984)/kdecore (kdelibs) KStandardDirs::findExe: findExe():
returning "/usr/bin/kuiserver"
klauncher(1984)/kio (KLauncher) KLauncher::processRequestReturn:
"/usr/bin/kuiserver" (pid 2001) up and running.
QDBusObjectPath: invalid path ""
kioclient(1999)/kio (KRun) KRun::scanFile: Job
KIO::TransferJob(0x85513e0) is about getting from "infinote:/"
kioclient(1999)/kio (KIOConnection)
KIO::ConnectionServer::listenForRemote: Listening on
"local:/home/kde-developer/kde/home/.master/socket-movingcastle/kioclientwZ1999.slave-socket"
kioclient(1999)/kio (Slave) KIO::Slave::createSlave: createSlave
"infinote" for KUrl("infinote:/")
kioclient(1999)/kio (KIOConnection)
KIO::ConnectionServer::listenForRemote: Listening on
"local:/home/kde-developer/kde/home/.master/socket-movingcastle/kioclientjd1999.slave-socket"
klauncher(1984)/kio (KLauncher) KLauncher::requestSlave: KLauncher:
launching new slave "kio_infinote" with protocol= "infinote" args=
("infinote", "local:/home/kde-developer/kde/home/.master/socket-movingcastle/klauncherMT1984.slave-socket",
"local:/home/kde-developer/kde/home/.master/socket-movingcastle/kioclientjd1999.slave-socket")
kdeinit4: Suspending process
kdeinit4: 'gdb kdeinit4 2005' to debug
kdeinit4: 'kill -SIGCONT 2005' to continue
klauncher(1984)/kio (KLauncher) KLauncher::processRequestReturn:
"kio_infinote" (pid 2005) up and running.
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 2
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 4
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 6
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 8
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 10
kioclient(1999)/kio (Slave) KIO::Slave::timeout: Houston, we lost our
slave, pid= 2005
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave died pid = 2005
kioclient(1999)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("infinote:/")
kioclient(1999)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished:
KIO::TransferJob(0x85513e0) KIO::Slave(0x85b3a00)
kioclient(1999)/kio (KRun): KRun(0x853af50) ERROR (stat): 143 "El
procés pel protocol infinote ha mort inesperadament."
kioclient(1999)/kio (Scheduler) KIO::SchedulerPrivate::slotSlaveDied:
KIO::Slave(0x85b3a00)
klauncher(1984)/kdecore (kdelibs) KStandardDirs::findExe: findExe():
returning "/usr/bin/knotify4"
klauncher(1984)/kio (KLauncher) KLauncher::processRequestReturn:
"/usr/bin/knotify4" (pid 2006) up and running.
I think the interesting part is:
klauncher(1984)/kio (KLauncher) KLauncher::processRequestReturn:
"kio_infinote" (pid 2005) up and running.
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 2
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 4
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 6
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 8
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave failed to
connect to application pid= 2005 protocol= "infinote"
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave is slow... pid=
2005 t= 10
kioclient(1999)/kio (Slave) KIO::Slave::timeout: Houston, we lost our
slave, pid= 2005
kioclient(1999)/kio (Slave) KIO::Slave::timeout: slave died pid = 2005
Why my kioslave is so slow?
Cheers,
Marc
2011/7/9 Sebastian Trüg <trueg@kde.org>:
> Debug your KIO slave:
> http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves
>
> Cheers,
> Sebastian
>
> On 07/08/2011 05:46 PM, Marc Mauri Alloza 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.
> >
> > 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"
> >
> > I've tried many things.
> >
> > You can find the code in this git repo:
> > https://github.com/opengeekv2/Kio-Infinote
> >
> > Thanks.
> >
> > > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
> >
>
> > > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
>
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic