Bug 175033

Summary: gpssync does not get any map just a grey square
Product: [Applications] digikam Reporter: Philippe ROUBACH <philippe.roubach>
Component: Plugin-Generic-GeolocationEditAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:
Attachments: googlemap in action with kipi-plugins 0.1.7

Description Philippe ROUBACH 2008-11-13 12:47:06 UTC
Version:           0.9.3 (using 3.5.9, compiled sources)
Compiler:          Target: i586-manbo-linux-gnu
OS:                Linux (i686) release 2.6.24.7-desktop-1mnb

Mandriva 2008.1 Free (32 bit)

i select an image
then
i select in "Picture" menu
geotagging/modify
then

i see
a grey square
then
i see in this grey square
 3 buttons map, sattelite, hybrid
 a search field

that's all no map
map, satellite, hybrid buttons are not activated
if i fill the search field then "enter"
then
nothing happens
Comment 1 caulier.gilles 2008-11-13 12:55:10 UTC
This problem is normally fixed in current implementation of kipi-plugins from subversion

Please compile code and try again.

Gilles Caulier
Comment 2 Philippe ROUBACH 2008-11-13 13:14:46 UTC
thank you

any doc on how to get and compile for a non expert as me ?
Comment 3 caulier.gilles 2008-11-13 13:22:46 UTC
Look here to checkout code :

http://www.digikam.org/drupal/download?q=download/svn

Note : you need to recompile only kipi-plugins. GPSSync is a plugin. No need to recompile digiKam

For the rest, look README file.

Gilles Caulier
Comment 4 Philippe ROUBACH 2008-11-13 14:43:22 UTC
i set the Mandriva 2008.1 Free source package (RPMS)

Main release
Main updates
Contrib release
Contrib updates

then
i installed the following source packages :

kdenetwork-devel 3.5.9
kdepim-devel 3.5.9
libkdebase4-devel  3.5.9

libgphoto-devel
libxslt-devel
libgpod-devel

then
i follow the statements in
http://www.kipi-plugins.org/drupal/node/3

when i execute
./configure --enable-debug=full   

all seems ok
but i worry about this

-- libkdcraw configure results -------------------
-- lcms found..................... YES
-- compile with OpenMP support.... NO

is it a problem ?

i don't find any openMP devel package


Comment 5 caulier.gilles 2008-11-13 14:48:21 UTC
No, it's not a problem. OpenMP is optional. libopenmp is included with GCC but only supported version is for recent GCC.

You can forget it.

Note: i run too under Mandriva 2008.1 and 2009.0

Gilles Caulier
Comment 6 Philippe ROUBACH 2008-11-13 15:51:50 UTC
i compiled and installed kipi-plugins with these statements :

export WANT_AUTOCONF_2_5=1
export DIGIKAMDEST=/home/roubach/bin/digikam
export KDEDIRS=$DIGIKAMDEST:/usr
export LD_LIBRARY_PATH=$DIGIKAMDEST/lib:$LD_LIBRARY_PATH
export LDPATH=$DIGIKAMDEST/lib:$LDPATH
export PATH=$DIGIKAMDEST/bin:$PATH
make -f Makefile.cvs
./configure --prefix=$DIGIKAMDEST --enable-debug=full
make
make install

you can see i installed kipi-plugins in a folder in my home
i don't want to destroy my stable kipi-plugins

i add
export KDEDIRS=/home/roubach/bin/digikam:/usr

in ~/.bash_profile
like this

log of the .bash-profile
*******************************************************************************
# .bash_profile

# Initialize keychain if needed
if [ -r $HOME/.ssh/identity -o -r $HOME/.ssh/id_dsa -o -r $HOME/.ssh/id_rsa ]; then
 	if [ ! -d $HOME/.keychain ]; then
	        keychain
        fi
fi

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

export KDEDIRS=/home/roubach/bin/digikam:/usr

**************************************************************

digikam does not use kipi-plugins 1.6

when i see "about"
there is "kipi-plugin 1.5"

in digikam settings/kipi external module
there is "kipi library version 0.1.5

Comment 7 caulier.gilles 2008-11-13 16:14:17 UTC
>when i see "about" there is "kipi-plugin 1.5" in digikam settings/kipi external >module there is "kipi library version 0.1.5 

libkipi and kipi-plugins versions are different stuff. it's normal.

I never use local installation. like current implementation is just bugfix, there is no risk to install it in your system.

Gilles Caulier
Comment 8 Philippe ROUBACH 2008-11-13 16:44:33 UTC
ok
so

i compiled and installed kipi-plugins in system folder with these following statements :

export WANT_AUTOCONF_2_5=1
export KDEDIRS=/usr
make -f Makefile.cvs
./configure --prefix=/usr --enable-debug=full
make
su
make install


result: i always use libkipi 0.1.5 !

i checked that i can't get any map
Comment 9 caulier.gilles 2008-11-13 18:18:20 UTC
>result: i always use libkipi 0.1.5 !

This is normal, if you have installed on kipi-plugins.

libkipi is a C++ interface between digiKam and plugins.
 
> i checked that i can't get any map

In plugin dialog, go to Help button and show about dialog. Which plugin version you have ?

Also, remove your ~/.kde/share/config/kipirc file and try again.

Gilles Caulier

Gilles
Comment 10 Philippe ROUBACH 2008-11-13 18:41:13 UTC
kipi-plugins 0.1.6

i deleted kipirc

same bad result : no map

i have also pb with picasaweb export after connexion it does display my albums list private or public
Comment 11 Philippe ROUBACH 2008-11-13 18:43:26 UTC
this is

"it does not display"

instead of

"it does display"
Comment 12 caulier.gilles 2008-11-13 19:10:29 UTC
>kipi-plugins 0.1.6 

This is the last stable release of kipi-plugins which do not include my last fix. You must checkout code from subversion repository from KDE3 branch (kipi-plugins 0.1.7), compile and install it.

Gilles Caulier

Comment 13 Philippe ROUBACH 2008-11-13 19:14:33 UTC
i used this statement to have kipi-plugins

svn co svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/libs

to have the last version of all

where is the 0.1.7 ?
Comment 14 caulier.gilles 2008-11-13 20:53:08 UTC
Created attachment 28548 [details]
googlemap in action with kipi-plugins 0.1.7

Look about dialog wher you can find kipi-plugins version. Like you can see, google maps work fine here...

Gilles Caulier
Comment 15 Philippe ROUBACH 2008-11-13 21:29:11 UTC
ok

i have the 1.7

this does not work;
i can't get any map
Comment 16 caulier.gilles 2008-11-13 21:31:28 UTC
Remove kipirc file again. i'm sure, i do it here to be able to use the plugin.

Gilles
Comment 17 Philippe ROUBACH 2008-11-13 21:53:16 UTC
thank you

now it does work
Comment 18 caulier.gilles 2008-11-14 05:56:48 UTC
Ok, thanks. i close this file now.

Gilles Caulier