Re: Beginner problem with KIO::ForwardingSlaveBase

2011-08-29 Thread Yogesh Marwaha
While looking at the source of desktop slave for a possible solution, I found the following two golden lines in kdemain function (A big thanks to the author for commenting the code, otherwise I'd not have noticed it): - // necessary to use other kio slaves QCoreApplication app(argc,

Re: Beginner problem with KIO::ForwardingSlaveBase

2011-08-28 Thread Yogesh Marwaha
On 28 August 2011 20:10, Thiago Macieira wrote: > On Sunday, 28 de August de 2011 19:26:40 Yogesh Marwaha wrote: >> kioclient(14232)/kio (KRun): KRun(0x719680) ERROR 143 "The process for >> the theone protocol died unexpectedly." > > Your slave crashed. Fix it. > > I recommend attaching gdb to it

Re: Beginner problem with KIO::ForwardingSlaveBase

2011-08-28 Thread Thiago Macieira
On Sunday, 28 de August de 2011 19:26:40 Yogesh Marwaha wrote: > kioclient(14232)/kio (KRun): KRun(0x719680) ERROR 143 "The process for > the theone protocol died unexpectedly." Your slave crashed. Fix it. I recommend attaching gdb to it while it's running and then watch it crash. The backtrace

Re: Beginner problem with KIO::ForwardingSlaveBase

2011-08-28 Thread Yogesh Marwaha
Hi, I'm still out of luck. Here are debug messages printed in full debug mode: - yogesh@linux-n1r6:~> kioclient exec theone:/// unnamed app(14232) ClientApp::doIt: Creating ClientApp kioclient(14232) ClientApp::kde_open: KUrl("theone:/") kioclient(14232)/kio (KRun) KRun::slotTimeout: KRun(0x7196

Re: Beginner problem with KIO::ForwardingSlaveBase

2011-08-26 Thread Yogesh Marwaha
Hi, I'm still struck on this. I've prepared a minimal demo for you to try; attaching herewith. Please help. On 25 August 2011 22:07, Yogesh Marwaha wrote: > Hi, > > This time I am in trouble experimenting with KIO::ForwardingSlaveBase > > Here is the code: > > class SKioSlave : public KIO::Forw

Beginner problem with KIO::ForwardingSlaveBase

2011-08-25 Thread Yogesh Marwaha
Hi, This time I am in trouble experimenting with KIO::ForwardingSlaveBase Here is the code: class SKioSlave : public KIO::ForwardingSlaveBase{ public: SKioSlave(const QByteArray& poolSocket, const QByteArray& appSocket); virtual ~SKioSlave(); virtual bool rewriteUrl(const KUrl& url,