Summary: | Geolocation does not work anymore | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | humufr |
Component: | Plugin-Generic-GeolocationEdit | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, humufr, monoceros84, rdieter, valerio.fuoglio |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.5.0 | |
Sentry Crash Report: | |||
Attachments: | geolocation window |
Description
humufr
2008-11-05 17:55:49 UTC
Yes, Today, i have fixed the plugin following last changes of google map api. You need to checkout code from svn (KDE branch) and compile/install as usual. Let's me hear if all is fine for you... Gilles Caulier Which KDE branch? KDE3 or KDE4? If I follow these instructions (http://www.digikam.org/drupal/download?q=download/svn) am I getting the right version of digiKam with Kipi? Both version are patched. This depand that what you use currently (:=)))... Gilles Caulier I have been unable to test. When I'm compiling digikam I obtain this error message: /bin/bash ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../digikam/libs/dimg -I../../../digikam/digikam -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -fno-tree-pre -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -MT dmetadata.lo -MD -MP -MF .deps/dmetadata.Tpo -c -o dmetadata.lo dmetadata.cpp In file included from dmetadata.cpp:37: ../../../digikam/digikam/daboutdata.h: In function 'QString Digikam::libraryInfo()': ../../../digikam/digikam/daboutdata.h:90: error: 'version' is not a member of 'KDcrawIface::KDcraw' dmetadata.cpp: In member function 'bool Digikam::DMetadata::loadUsingDcraw(const QString&)': dmetadata.cpp:87: error: 'class KDcrawIface::DcrawInfoContainer' has no member named 'owner' dmetadata.cpp:88: error: 'class KDcrawIface::DcrawInfoContainer' has no member named 'owner' make[3]: *** [dmetadata.lo] Erreur 1 update libkdcraw to last stable version (0.1.6) Gilles Caulier This is what I did and just in case I remove all libkdcraw stuff reinstall it, check the version in /usr/include/libkdcraw (it's 0.1.6) and I still have the error message. Sorry forget the last comment I had some old libkdcraw in /usr/local... I removed it and I have been to finish the compilation but I still have the same problem. Because I'm using the svn I have the 0.1.7 verion for kipi. KIPI (loading): Kipi-plugins - GPS Sync - Kipi-plugins 0.1.7 KIPI (loading): http://digikam3rdparty.free.fr/gpslocator/getlonlatalt.php?latitude=45.4807&longitude=-73.6332&altitude=&width=480&height=360&zoom=15&maptype=G_MAP_TYPE&filename=dsc_3446.jpg KIPI (loading): http://digikam3rdparty.free.fr/gpslocator/getlonlatalt.php?latitude=45.4807&longitude=-73.6332&altitude=&width=480&height=360&zoom=15&maptype=G_MAP_TYPE&filename=dsc_3446.jpg KIPI (loading): http://digikam3rdparty.free.fr/gpslocator/getlonlatalt.php?latitude=45.4807&longitude=-73.6332&altitude=&width=491&height=361&zoom=15&maptype=G_MAP_TYPE&filename=dsc_3446.jpg I'll attach the image of the geolocation window to show the result. Created attachment 28455 [details]
geolocation window
The google map is still empty.
Note : you don't need to recompile digiKam. Geolocation tool is a kipi-plugin. just recompile and install kipi-plugins (not libkipi), and try again. If it doesn't work anymore, remove your ~/.kde/share/config/kipirc file and try again. Gilles Caulier Yep it worked sorry I didn't think to remove the configuration file. I should have think about this. Thank you very much to have take care of this bug I'm using a lot this function. How do I get the latest kipi-plugins? On digikam.org I only find instructions how to get digikam from svn... You can get them this way: $ svn co svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/libs/kipi-plugins Regards, Valerio Firstly, thanks for the fast answers! I downloaded the newest kipi-plugins but wasn't successful to install them. At first I searched for configure and could not find it. Then I ran configure.in.bot and it showed that all dependencies (as libkipi) were not found. But actually they are installed. It's a pity that it's so complicated to update the plugins. I am not very experienced with Linux and I am running Gnome (making the compilation of KDE tools even more difficult). I spent several hours trying to update but without success. Thus, I am thinking about just waiting until the next official release comes providing a DEB file. Do you have any guesses when a new DEB file will be build or when the Ubuntu repositories will include this bugfix? Ok, sorry, you've to copy parent directory, not kipi-plugins, but libs: $ svn co svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/libs $ cd libs $ make -f Makefile.cvs $ mkdir install $ export INSTALLDIR=`pwd`/install $ ./configure --prefix=$INSTALLDIR --debug=full $ cd kipi-plugins $ make && make install $ export LD_LIBRARY_PATH=$INSTALLDIR:$LD_LIBRARY_PATH $ export KDEDIR=$INSTALLDIR:$KDEDIR $ export PATH=$INSTALLDIR/bin:$PATH $ digikam These lines should do the job. Don't forget to install kipi-plugins's dependencies first (you can find their list into README file in kipi-plugins directory) humufr, I have fixed several incompatibilies with google api in current implementation of kipi-plugins from svn. Can you try this code ? Gilles Caulier Hi Gilles, I tried (kde3 version) and it's working fine here. I can geolocalize my photo without problem. Thanks, N. |