Geolocation DataEngine broken?

Luca Beltrame einar at heavensinferno.net
Mon Dec 26 14:51:33 UTC 2011


Hello,

today I was hacking around an existing plasmoid to add IP address information 
and I thought of using the geolocation DataEngine. Investigation with 
plasmaengineexplorer showed that it returned no results, only a "location" 
source with no information. As I don't have gpsd running, I remembered it 
relied on an external service to get IP address information, and so I checked 
the debug output.

Debug output showed that:

plasmaengineexplorer(2309)/plasma EngineExplorer::addSource: adding "location"
plasmaengineexplorer(2309)/plasma EngineExplorer::addSource: getting data for 
source  "location"
plasmaengineexplorer(2309)/plasma EngineExplorer::addSource: connecting up now
plasmaengineexplorer(2309)/plasma Geolocation::sourceRequestEvent: "location"
plasmaengineexplorer(2309)/kio (Scheduler) KIO::SchedulerPrivate::doJob: 
KIO::SimpleJob(0x22fb020)
plasmaengineexplorer(2309)/plasma Ip::update: Fetching 
http://iplocationtools.com/ip_query.php
plasmaengineexplorer(2309)/plasma EngineExplorer::addSource: adding "location"
plasmaengineexplorer(2309)/plasma EngineExplorer::addSource: er... already 
there?

Looking at that address show that it's no longer there, it only returns 
0.0.0.0 MOVED 0.0.0.0 and in fact iplocationtools now moved to an API key 
based query and a completely different syntax, hence it basically no longer 
works.

What should be done? Disable the non-gpsd part of the geolocation dataengine, 
or find a different solution? As mgraesslin noted on IRC, this issue will also 
affect *all* released versions of plasma so far.

-- 
Luca Beltrame - KDE Forums team
KDE Science supporter
GPG key ID: 6E1A4E79
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111226/3b486f46/attachment.sig>


More information about the Plasma-devel mailing list