Zero images in albums

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Zero images in albums

Petr Kovar
Hi,

in latest digikam compiled from git all albums display zero images but
the album structure and tag structure does exist.
When I run digikam 2.1.1 everything is OK. Using KDE 4.7.1.

Output log shows that there could be problem with db connection:

QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
still in use, all queries will cease to work.
...
QSqlDatabasePrivate::removeDatabase: connection
'digikamDatabase-40533120' is still in use, all queries will cease to
work.

Should I enable some option during cmake configuration or digikam execution?

thanks,
Petr Kovar

p.s: full output log:

digikam(31998) KDirWatchPrivate::KDirWatchPrivate: INotify available:  true
digikam(31998)/digikam (core) Digikam::AlbumManager::setDatabase:
DatabaseParameters: [ Type "QSQLITE", Name
"/home/petr/data/foto/archiv/digikam4.db" tmb.Type "QSQLITE", tmb.Name
"/home/petr/data/foto/archiv/thumbnails-digikam.db" ]
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
still in use, all queries will cease to work.
digikam(31998)/digikam (core)
Digikam::DatabaseConfigElementLoader::readConfig: Loading SQL code
from config file "/usr/share/apps/digikam/database/dbconfig.xml"
digikam(31998)/digikam (core)
Digikam::DatabaseConfigElementLoader::readConfig: false "1" 1 1
digikam(31998)/digikam (core) Digikam::SchemaUpdater::update:
SchemaUpdater update
digikam(31998)/digikam (core) Digikam::SchemaUpdater::startUpdates:
Have a database structure version  6
digikam(31998)/digikam (core) Digikam::SchemaUpdater::makeUpdates:
makeUpdates  6  to  6
digikam(31998)/digikam (core)
Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location
"/"  uuid  "volumeid:?path=%2Fhome%2Fpetr%2Fdata%2Ffoto%2Farchiv"
digikam(31998)/digikam (core)
Digikam::CollectionManager::updateLocations: location for
"/home/petr/data/foto/archiv"  is available  true
digikam(31998)/digikam (core) Digikam::LoadingCache::setCacheSize:
Allowing a cache size of 200 MB
digikam(31998)/digikam (core)
Digikam::ThumbnailSchemaUpdater::startUpdates: Have a thumbnail
database structure version  "2"
digikam(31998)/digikam (core)
Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail
db ready for use
digikam(31998)/digikam (core) Digikam::AlbumManager::setDatabase:
nepomuk service available true
digikam(31998)/digikam (core)
Digikam::CollectionScanner::completeScan: Complete scan (file scanning
deferred) took: 1435 msecs.
digikam(31998)/digikam (core)
Digikam::IccSettings::IccSettingsPriv::scanDirectories:
("/usr/share/color/icc", "/home/petr/colors")
digikam(31998)/digikam (core)
Digikam::IccProfile::considerOriginalAdobeRGB: The original Adobe RGB
(1998) profile has been found at
"/usr/share/color/icc/AdobeRGB1998.icc"
digikam(31998) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
digikam(31998)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
digikam(31998)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
digikam(31998)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
digikam(31998)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
digikam(31998)/digikam (core) Digikam::AlbumManager::startScan:
KDirWatch method =  "INotify"
digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
Plugin ' "jpeglossless_convert2grayscale" ' disabled.
digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
Plugin ' "batch_border_images" ' disabled.
digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
Plugin ' "batch_color_images" ' disabled.
digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
Plugin ' "batch_convert_images" ' disabled.
digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
Plugin ' "batch_filter_images" ' disabled.
digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
Plugin ' "batch_rename_images" ' disabled.
digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
Plugin ' "raw_converter_single" ' disabled.
digikam(31998)/digikam (core)
Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
Loaded plugin  "ImagePlugin_Color"
digikam(31998)/digikam (core)
Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
Loaded plugin  "ImagePlugin_Decorate"
digikam(31998)/digikam (core)
Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
Loaded plugin  "ImagePlugin_Enhance"
digikam(31998)/digikam (core)
Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
Loaded plugin  "ImagePlugin_FxFilters"
digikam(31998)/digikam (core)
Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
Loaded plugin  "ImagePlugin_Transform"
digikam(31998)/digikam (core)
Digikam::AlbumFilterModel::setSearchTextSettings: new search text
settings:  "" : hasResult =  true , validRows =  255
digikam(31998) KTipDatabase::Private::addTips: KTipDatabase::addTips:
can't find ' "kipi/tips" ' in standard dirs
QSqlDatabasePrivate::removeDatabase: connection
'digikamDatabase-43158576' is still in use, all queries will cease to
work.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Rinus
It is a known fenomenon if kde prefix is missing.
The correct syntax can be found here: http://www.digikam.org/drupal/node/621
Regards,
Rinus
Op 18-09-11 15:00, Petr Kovar schreef:

> Hi,
>
> in latest digikam compiled from git all albums display zero images but
> the album structure and tag structure does exist.
> When I run digikam 2.1.1 everything is OK. Using KDE 4.7.1.
>
> Output log shows that there could be problem with db connection:
>
> QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
> still in use, all queries will cease to work.
> ...
> QSqlDatabasePrivate::removeDatabase: connection
> 'digikamDatabase-40533120' is still in use, all queries will cease to
> work.
>
> Should I enable some option during cmake configuration or digikam execution?
>
> thanks,
> Petr Kovar
>
> p.s: full output log:
>
> digikam(31998) KDirWatchPrivate::KDirWatchPrivate: INotify available:  true
> digikam(31998)/digikam (core) Digikam::AlbumManager::setDatabase:
> DatabaseParameters: [ Type "QSQLITE", Name
> "/home/petr/data/foto/archiv/digikam4.db" tmb.Type "QSQLITE", tmb.Name
> "/home/petr/data/foto/archiv/thumbnails-digikam.db" ]
> QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
> still in use, all queries will cease to work.
> digikam(31998)/digikam (core)
> Digikam::DatabaseConfigElementLoader::readConfig: Loading SQL code
> from config file "/usr/share/apps/digikam/database/dbconfig.xml"
> digikam(31998)/digikam (core)
> Digikam::DatabaseConfigElementLoader::readConfig: false "1" 1 1
> digikam(31998)/digikam (core) Digikam::SchemaUpdater::update:
> SchemaUpdater update
> digikam(31998)/digikam (core) Digikam::SchemaUpdater::startUpdates:
> Have a database structure version  6
> digikam(31998)/digikam (core) Digikam::SchemaUpdater::makeUpdates:
> makeUpdates  6  to  6
> digikam(31998)/digikam (core)
> Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location
> "/"  uuid  "volumeid:?path=%2Fhome%2Fpetr%2Fdata%2Ffoto%2Farchiv"
> digikam(31998)/digikam (core)
> Digikam::CollectionManager::updateLocations: location for
> "/home/petr/data/foto/archiv"  is available  true
> digikam(31998)/digikam (core) Digikam::LoadingCache::setCacheSize:
> Allowing a cache size of 200 MB
> digikam(31998)/digikam (core)
> Digikam::ThumbnailSchemaUpdater::startUpdates: Have a thumbnail
> database structure version  "2"
> digikam(31998)/digikam (core)
> Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail
> db ready for use
> digikam(31998)/digikam (core) Digikam::AlbumManager::setDatabase:
> nepomuk service available true
> digikam(31998)/digikam (core)
> Digikam::CollectionScanner::completeScan: Complete scan (file scanning
> deferred) took: 1435 msecs.
> digikam(31998)/digikam (core)
> Digikam::IccSettings::IccSettingsPriv::scanDirectories:
> ("/usr/share/color/icc", "/home/petr/colors")
> digikam(31998)/digikam (core)
> Digikam::IccProfile::considerOriginalAdobeRGB: The original Adobe RGB
> (1998) profile has been found at
> "/usr/share/color/icc/AdobeRGB1998.icc"
> digikam(31998) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
> digikam(31998)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
> digikam(31998)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
> digikam(31998)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
> digikam(31998)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""
> digikam(31998)/digikam (core) Digikam::AlbumManager::startScan:
> KDirWatch method =  "INotify"
> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
> Plugin ' "jpeglossless_convert2grayscale" ' disabled.
> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
> Plugin ' "batch_border_images" ' disabled.
> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
> Plugin ' "batch_color_images" ' disabled.
> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
> Plugin ' "batch_convert_images" ' disabled.
> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
> Plugin ' "batch_filter_images" ' disabled.
> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
> Plugin ' "batch_rename_images" ' disabled.
> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
> Plugin ' "raw_converter_single" ' disabled.
> digikam(31998)/digikam (core)
> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
> Loaded plugin  "ImagePlugin_Color"
> digikam(31998)/digikam (core)
> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
> Loaded plugin  "ImagePlugin_Decorate"
> digikam(31998)/digikam (core)
> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
> Loaded plugin  "ImagePlugin_Enhance"
> digikam(31998)/digikam (core)
> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
> Loaded plugin  "ImagePlugin_FxFilters"
> digikam(31998)/digikam (core)
> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
> Loaded plugin  "ImagePlugin_Transform"
> digikam(31998)/digikam (core)
> Digikam::AlbumFilterModel::setSearchTextSettings: new search text
> settings:  "" : hasResult =  true , validRows =  255
> digikam(31998) KTipDatabase::Private::addTips: KTipDatabase::addTips:
> can't find ' "kipi/tips" ' in standard dirs
> QSqlDatabasePrivate::removeDatabase: connection
> 'digikamDatabase-43158576' is still in use, all queries will cease to
> work.
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Rinus
To make it easyer, just copy and paste:
cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
--prefix` ..

Op 18-09-11 16:00, sleepless schreef:

> It is a known fenomenon if kde prefix is missing.
> The correct syntax can be found here:
> http://www.digikam.org/drupal/node/621
> Regards,
> Rinus
> Op 18-09-11 15:00, Petr Kovar schreef:
>> Hi,
>>
>> in latest digikam compiled from git all albums display zero images but
>> the album structure and tag structure does exist.
>> When I run digikam 2.1.1 everything is OK. Using KDE 4.7.1.
>>
>> Output log shows that there could be problem with db connection:
>>
>> QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
>> still in use, all queries will cease to work.
>> ...
>> QSqlDatabasePrivate::removeDatabase: connection
>> 'digikamDatabase-40533120' is still in use, all queries will cease to
>> work.
>>
>> Should I enable some option during cmake configuration or digikam
>> execution?
>>
>> thanks,
>> Petr Kovar
>>
>> p.s: full output log:
>>
>> digikam(31998) KDirWatchPrivate::KDirWatchPrivate: INotify
>> available:  true
>> digikam(31998)/digikam (core) Digikam::AlbumManager::setDatabase:
>> DatabaseParameters: [ Type "QSQLITE", Name
>> "/home/petr/data/foto/archiv/digikam4.db" tmb.Type "QSQLITE", tmb.Name
>> "/home/petr/data/foto/archiv/thumbnails-digikam.db" ]
>> QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is
>> still in use, all queries will cease to work.
>> digikam(31998)/digikam (core)
>> Digikam::DatabaseConfigElementLoader::readConfig: Loading SQL code
>> from config file "/usr/share/apps/digikam/database/dbconfig.xml"
>> digikam(31998)/digikam (core)
>> Digikam::DatabaseConfigElementLoader::readConfig: false "1" 1 1
>> digikam(31998)/digikam (core) Digikam::SchemaUpdater::update:
>> SchemaUpdater update
>> digikam(31998)/digikam (core) Digikam::SchemaUpdater::startUpdates:
>> Have a database structure version  6
>> digikam(31998)/digikam (core) Digikam::SchemaUpdater::makeUpdates:
>> makeUpdates  6  to  6
>> digikam(31998)/digikam (core)
>> Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location
>> "/"  uuid  "volumeid:?path=%2Fhome%2Fpetr%2Fdata%2Ffoto%2Farchiv"
>> digikam(31998)/digikam (core)
>> Digikam::CollectionManager::updateLocations: location for
>> "/home/petr/data/foto/archiv"  is available  true
>> digikam(31998)/digikam (core) Digikam::LoadingCache::setCacheSize:
>> Allowing a cache size of 200 MB
>> digikam(31998)/digikam (core)
>> Digikam::ThumbnailSchemaUpdater::startUpdates: Have a thumbnail
>> database structure version  "2"
>> digikam(31998)/digikam (core)
>> Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail
>> db ready for use
>> digikam(31998)/digikam (core) Digikam::AlbumManager::setDatabase:
>> nepomuk service available true
>> digikam(31998)/digikam (core)
>> Digikam::CollectionScanner::completeScan: Complete scan (file scanning
>> deferred) took: 1435 msecs.
>> digikam(31998)/digikam (core)
>> Digikam::IccSettings::IccSettingsPriv::scanDirectories:
>> ("/usr/share/color/icc", "/home/petr/colors")
>> digikam(31998)/digikam (core)
>> Digikam::IccProfile::considerOriginalAdobeRGB: The original Adobe RGB
>> (1998) profile has been found at
>> "/usr/share/color/icc/AdobeRGB1998.icc"
>> digikam(31998) Phonon::KdePlatformPlugin::createBackend: using
>> backend:  "Xine"
>> digikam(31998)/digikam (core)
>> Digikam::ThemeManager::slotChangePalette: ""
>> digikam(31998)/digikam (core)
>> Digikam::ThemeManager::slotChangePalette: ""
>> digikam(31998)/digikam (core)
>> Digikam::ThemeManager::slotChangePalette: ""
>> digikam(31998)/digikam (core)
>> Digikam::ThemeManager::slotChangePalette: ""
>> digikam(31998)/digikam (core) Digikam::AlbumManager::startScan:
>> KDirWatch method =  "INotify"
>> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
>> Plugin ' "jpeglossless_convert2grayscale" ' disabled.
>> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
>> Plugin ' "batch_border_images" ' disabled.
>> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
>> Plugin ' "batch_color_images" ' disabled.
>> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
>> Plugin ' "batch_convert_images" ' disabled.
>> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
>> Plugin ' "batch_filter_images" ' disabled.
>> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
>> Plugin ' "batch_rename_images" ' disabled.
>> digikam(31998)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug:
>> Plugin ' "raw_converter_single" ' disabled.
>> digikam(31998)/digikam (core)
>> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
>> Loaded plugin  "ImagePlugin_Color"
>> digikam(31998)/digikam (core)
>> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
>> Loaded plugin  "ImagePlugin_Decorate"
>> digikam(31998)/digikam (core)
>> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
>> Loaded plugin  "ImagePlugin_Enhance"
>> digikam(31998)/digikam (core)
>> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
>> Loaded plugin  "ImagePlugin_FxFilters"
>> digikam(31998)/digikam (core)
>> Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
>> Loaded plugin  "ImagePlugin_Transform"
>> digikam(31998)/digikam (core)
>> Digikam::AlbumFilterModel::setSearchTextSettings: new search text
>> settings:  "" : hasResult =  true , validRows =  255
>> digikam(31998) KTipDatabase::Private::addTips: KTipDatabase::addTips:
>> can't find ' "kipi/tips" ' in standard dirs
>> QSqlDatabasePrivate::removeDatabase: connection
>> 'digikamDatabase-43158576' is still in use, all queries will cease to
>> work.
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Petr Kovar
2011/9/18 sleepless <[hidden email]>:
> To make it easyer, just copy and paste:
> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
> --prefix` ..

I always run it from build dir but when I install it to /usr then it
really works. Is there way to run it parallel with stable version or
without using VirtualBox?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Francesco Riosa
On 09/18/11 17:46, Petr Kovar wrote:
> 2011/9/18 sleepless<[hidden email]>:
>> To make it easyer, just copy and paste:
>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>> --prefix` ..
>
> I always run it from build dir but when I install it to /usr then it
> really works. Is there way to run it parallel with stable version or
> without using VirtualBox?

due to it's complexity it's a difficult thing to have available two
version of digikam. both libraries and kioslaves need to be of the
correct version. I've been fooled a pair of times but similar enough but
not quite equal version of DK.

Sincerely now what I do is to remove all installed DK and run a make
install, setting the KDE environment such as it find DK

setting the environment in:
${HOME}/.kde4/env/home_usr_first.sh

# access first user stuff, only later system installed one
export PATH=${HOME}/usr/bin:$PATH
export LD_LIBRARY_PATH=\
${HOME}/usr/lib{,64}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export KDEDIR=${HOME}/usr
export KDEDIRS=${KDEDIR}
export XDG_DATA_DIRS=${HOME}/usr/share:$XDG_DATA_DIRS

teorically this can be adapted to run all digikam components from the
build directory, but setting it in a shell it's not sufficient because
some stuff is started by kdeinit4 (which may have a different env)

Maybe other solved this problem more elegantly, I'm too interested.

P.S. you can hava a totally different user with X on vt8 and a stripped
down kde or even xfce running.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Rinus
In reply to this post by Petr Kovar
Op 18-09-11 17:46, Petr Kovar schreef:

> 2011/9/18 sleepless<[hidden email]>:
>> To make it easyer, just copy and paste:
>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>> --prefix` ..
> I always run it from build dir but when I install it to /usr then it
> really works. Is there way to run it parallel with stable version or
> without using VirtualBox?
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
Hi Petr,
Do I understand right that you had zero pictures in albums but that it
was not caused by the missing prefix?

I would like to know more precisely what you meant.

The next time my answer may be:
Your problem can be caused by a, or by b, or a still unknown c. That
would make my responses more usefull.
TIA
Rinus

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Petr Kovar
In reply to this post by Francesco Riosa
2011/9/19 Francesco Riosa <[hidden email]>:

> On 09/18/11 17:46, Petr Kovar wrote:
>>
>> 2011/9/18 sleepless<[hidden email]>:
>>>
>>> To make it easyer, just copy and paste:
>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>> --prefix` ..
>>
>> I always run it from build dir but when I install it to /usr then it
>> really works. Is there way to run it parallel with stable version or
>> without using VirtualBox?
>
> due to it's complexity it's a difficult thing to have available two version
> of digikam. both libraries and kioslaves need to be of the correct version.
> I've been fooled a pair of times but similar enough but not quite equal
> version of DK.
>
> Sincerely now what I do is to remove all installed DK and run a make
> install, setting the KDE environment such as it find DK
>
> setting the environment in:
> ${HOME}/.kde4/env/home_usr_first.sh
>
> # access first user stuff, only later system installed one
> export PATH=${HOME}/usr/bin:$PATH
> export LD_LIBRARY_PATH=\
> ${HOME}/usr/lib{,64}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
> export KDEDIR=${HOME}/usr
> export KDEDIRS=${KDEDIR}
> export XDG_DATA_DIRS=${HOME}/usr/share:$XDG_DATA_DIRS
>
> teorically this can be adapted to run all digikam components from the build
> directory, but setting it in a shell it's not sufficient because some stuff
> is started by kdeinit4 (which may have a different env)
>
> Maybe other solved this problem more elegantly, I'm too interested.
>
> P.S. you can hava a totally different user with X on vt8 and a stripped down
> kde or even xfce running.
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Petr Kovar
In reply to this post by Francesco Riosa
Have the second user runing different kde installation is similar to
VirtualBox solution.
I guess I'll be using virtual machine with small sample db for this.
One never knows ;-)

Thanks for tips Francesco!

2011/9/19 Francesco Riosa <[hidden email]>:

> On 09/18/11 17:46, Petr Kovar wrote:
>>
>> 2011/9/18 sleepless<[hidden email]>:
>>>
>>> To make it easyer, just copy and paste:
>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>> --prefix` ..
>>
>> I always run it from build dir but when I install it to /usr then it
>> really works. Is there way to run it parallel with stable version or
>> without using VirtualBox?
>
> due to it's complexity it's a difficult thing to have available two version
> of digikam. both libraries and kioslaves need to be of the correct version.
> I've been fooled a pair of times but similar enough but not quite equal
> version of DK.
>
> Sincerely now what I do is to remove all installed DK and run a make
> install, setting the KDE environment such as it find DK
>
> setting the environment in:
> ${HOME}/.kde4/env/home_usr_first.sh
>
> # access first user stuff, only later system installed one
> export PATH=${HOME}/usr/bin:$PATH
> export LD_LIBRARY_PATH=\
> ${HOME}/usr/lib{,64}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
> export KDEDIR=${HOME}/usr
> export KDEDIRS=${KDEDIR}
> export XDG_DATA_DIRS=${HOME}/usr/share:$XDG_DATA_DIRS
>
> teorically this can be adapted to run all digikam components from the build
> directory, but setting it in a shell it's not sufficient because some stuff
> is started by kdeinit4 (which may have a different env)
>
> Maybe other solved this problem more elegantly, I'm too interested.
>
> P.S. you can hava a totally different user with X on vt8 and a stripped down
> kde or even xfce running.
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Petr Kovar
In reply to this post by Rinus
The problem was that I didn't run 'make install' as I want to have and
use stable digikam in system dir managed by distribution and playing
with devel version along.
I thought that I can simply run digikam from build dir.

Thanks for your answers!

2011/9/19 sleepless <[hidden email]>:

> Op 18-09-11 17:46, Petr Kovar schreef:
>>
>> 2011/9/18 sleepless<[hidden email]>:
>>>
>>> To make it easyer, just copy and paste:
>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>> --prefix` ..
>>
>> I always run it from build dir but when I install it to /usr then it
>> really works. Is there way to run it parallel with stable version or
>> without using VirtualBox?
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
> Hi Petr,
> Do I understand right that you had zero pictures in albums but that it was
> not caused by the missing prefix?
>
> I would like to know more precisely what you meant.
>
> The next time my answer may be:
> Your problem can be caused by a, or by b, or a still unknown c. That would
> make my responses more usefull.
> TIA
> Rinus
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Francesco Riosa
In reply to this post by Petr Kovar
On 09/19/11 21:14, Petr Kovar wrote:
> Have the second user runing different kde installation is similar to
> VirtualBox solution.

Not different kde installation, but different $HOME/.kde4/
toghether with the env trick it should separate enough to enjoy the
newly build digikam

> I guess I'll be using virtual machine with small sample db for this.
> One never knows ;-)
>
> Thanks for tips Francesco!
>
> 2011/9/19 Francesco Riosa<[hidden email]>:
>> On 09/18/11 17:46, Petr Kovar wrote:
>>>
>>> 2011/9/18 sleepless<[hidden email]>:
>>>>
>>>> To make it easyer, just copy and paste:
>>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>>> --prefix` ..
>>>
>>> I always run it from build dir but when I install it to /usr then it
>>> really works. Is there way to run it parallel with stable version or
>>> without using VirtualBox?
>>
>> due to it's complexity it's a difficult thing to have available two version
>> of digikam. both libraries and kioslaves need to be of the correct version.
>> I've been fooled a pair of times but similar enough but not quite equal
>> version of DK.
>>
>> Sincerely now what I do is to remove all installed DK and run a make
>> install, setting the KDE environment such as it find DK
>>
>> setting the environment in:
>> ${HOME}/.kde4/env/home_usr_first.sh
>>
>> # access first user stuff, only later system installed one
>> export PATH=${HOME}/usr/bin:$PATH
>> export LD_LIBRARY_PATH=\
>> ${HOME}/usr/lib{,64}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
>> export KDEDIR=${HOME}/usr
>> export KDEDIRS=${KDEDIR}
>> export XDG_DATA_DIRS=${HOME}/usr/share:$XDG_DATA_DIRS
>>
>> teorically this can be adapted to run all digikam components from the build
>> directory, but setting it in a shell it's not sufficient because some stuff
>> is started by kdeinit4 (which may have a different env)
>>
>> Maybe other solved this problem more elegantly, I'm too interested.
>>
>> P.S. you can hava a totally different user with X on vt8 and a stripped down
>> kde or even xfce running.
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Francesco Riosa
On 09/19/11 21:31, Francesco Riosa wrote:
> On 09/19/11 21:14, Petr Kovar wrote:
>> Have the second user runing different kde installation is similar to
>> VirtualBox solution.
>
Not different kde installation, but different $HOME/.kde4/
toghether with the env trick it should separate enough to enjoy the
newly build digikam

oh, all the example mentioned before require a prefix passed to cmake

cmake -DCMAKE_INSTALL_PREFIX=${HOME}/usr


>
>> I guess I'll be using virtual machine with small sample db for this.
>> One never knows ;-)
>>
>> Thanks for tips Francesco!
>>
>> 2011/9/19 Francesco Riosa<[hidden email]>:
>>> On 09/18/11 17:46, Petr Kovar wrote:
>>>>
>>>> 2011/9/18 sleepless<[hidden email]>:
>>>>>
>>>>> To make it easyer, just copy and paste:
>>>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>>>> --prefix` ..
>>>>
>>>> I always run it from build dir but when I install it to /usr then it
>>>> really works. Is there way to run it parallel with stable version or
>>>> without using VirtualBox?
>>>
>>> due to it's complexity it's a difficult thing to have available two
>>> version
>>> of digikam. both libraries and kioslaves need to be of the correct
>>> version.
>>> I've been fooled a pair of times but similar enough but not quite equal
>>> version of DK.
>>>
>>> Sincerely now what I do is to remove all installed DK and run a make
>>> install, setting the KDE environment such as it find DK
>>>
>>> setting the environment in:
>>> ${HOME}/.kde4/env/home_usr_first.sh
>>>
>>> # access first user stuff, only later system installed one
>>> export PATH=${HOME}/usr/bin:$PATH
>>> export LD_LIBRARY_PATH=\
>>> ${HOME}/usr/lib{,64}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
>>> export KDEDIR=${HOME}/usr
>>> export KDEDIRS=${KDEDIR}
>>> export XDG_DATA_DIRS=${HOME}/usr/share:$XDG_DATA_DIRS
>>>
>>> teorically this can be adapted to run all digikam components from the
>>> build
>>> directory, but setting it in a shell it's not sufficient because some
>>> stuff
>>> is started by kdeinit4 (which may have a different env)
>>>
>>> Maybe other solved this problem more elegantly, I'm too interested.
>>>
>>> P.S. you can hava a totally different user with X on vt8 and a
>>> stripped down
>>> kde or even xfce running.
>>> _______________________________________________
>>> Digikam-devel mailing list
>>> [hidden email]
>>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>>
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Zero images in albums

Rinus
In reply to this post by Petr Kovar
Op 19-09-11 21:22, Petr Kovar schreef:
> The problem was that I didn't run 'make install' as I want to have and
> use stable digikam in system dir managed by distribution and playing
> with devel version along.
> I thought that I can simply run digikam from build dir.

> Ok thanks. I will keep that one in mind too.
> Rinus

> Thanks for your answers!
>
> 2011/9/19 sleepless<[hidden email]>:
>> Op 18-09-11 17:46, Petr Kovar schreef:
>>> 2011/9/18 sleepless<[hidden email]>:
>>>> To make it easyer, just copy and paste:
>>>> cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config
>>>> --prefix` ..
>>> I always run it from build dir but when I install it to /usr then it
>>> really works. Is there way to run it parallel with stable version or
>>> without using VirtualBox?
>>> _______________________________________________
>>> Digikam-devel mailing list
>>> [hidden email]
>>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>>
>> Hi Petr,
>> Do I understand right that you had zero pictures in albums but that it was
>> not caused by the missing prefix?
>>
>> I would like to know more precisely what you meant.
>>
>> The next time my answer may be:
>> Your problem can be caused by a, or by b, or a still unknown c. That would
>> make my responses more usefull.
>> TIA
>> Rinus
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel