[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    [KIO] Bugs with reusing a kioslave in trunk? - unknown protocol
From:       Shawn Starr <shawn.starr () rogers ! com>
Date:       2007-05-24 6:32:21
Message-ID: 200705240232.21543.shawn.starr () rogers ! com
[Download RAW message or body]

Hello, 

I have a problem with KIO::get() and it's refusal to fetch a file in a loop. I 
am currently trying to write a Plasma dataEngine to collect XML weather data.

It only works once, subsequent calls to a kioslave results in it losing track 
of the protocol?

=== Debug ===

kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-spstarr/ksycoca4
findServiceByDesktopPath: plasma-clock-default not found
kio (KTrader): query for serviceType Plasma/DataEngine : returning 1 offers
kdecore (KLibLoader): className=Plasma::DataEngine 
metaObject->className()=TimeEngine
kdecore (KLibLoader): className=Plasma::DataEngine 
metaObject->className()=Plasma::DataEngine
kdecore (KLibLoader): create - 3
plasma: DataEngine : could not find DataSource time, creating
plasma: DataEngine : could not find DataSource date, creating
kio (KTrader): query for serviceType Plasma/DataEngine : returning 1 offers
kdecore (KLibLoader): className=Plasma::DataEngine 
metaObject->className()=WeatherNowEngine
kdecore (KLibLoader): className=Plasma::DataEngine 
metaObject->className()=Plasma::DataEngine
kdecore (KLibLoader): create - 3
plasma: DataEngine Weather Data Engine: could not find DataSource info, 
creating
plasma: WeatherNowEngine::updateWeather(): Get Set data
plasma: Data Set is ''
kio (Slave): createSlave 'http' for 
http://SOME_URL_I_CANT_DISCLOSE_YET/data.xml
ECXHandler::readXML()
ECXHandler::read(): Valid Environment Canada XML Data file!
ECXHandler::readXMLCreationInfo(): XML was last updated: Thursday May 24, 2007 
at 02:03 EDT
Continent: North America 
Country: Canada 
Province: Ontario 
Place: Toronto 
Region: City of Toronto 
Debug: "year" 
Debug: "month" 
Debug: "day" 
Debug: "hour" 
Debug: "minute" 
Debug: "timeStamp" 
Debug: "textSummary" 
END dataTime tag?
plasma: WeatherNowEngine::updateWeather(): Get Set data
plasma: Data Set is 'Thursday May 24, 2007 at 02:03 EDT'
kio (Slave): createSlave '' http://SOME_URL_I_CANT_DISCLOSE_YET/data.xml
plasma: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol ''.
plasma: 
ECXHandler::readXML()
plasma: WeatherNowEngine::updateWeather(): Get Set data
plasma: Data Set is 'Thursday May 24, 2007 at 02:03 EDT'
kio (Slave): createSlave '' for http://SOME_URL_I_CANT_DISCLOSE_YET/data.xml
plasma: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol ''.
 
>> 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