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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to