Bug 217515 - Empty album after interrupting fingerprint generation
Summary: Empty album after interrupting fingerprint generation
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Albums (show other bugs)
Version: 1.0.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-06 00:19 UTC by Alphazo
Modified: 2017-07-19 13:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alphazo 2009-12-06 00:19:45 UTC
Version:           1.0 RC (using KDE 4.3.4)
OS:                Linux
Installed from:    Archlinux Packages

I was building fingerprint database with 1.0 Beta 6 and I hit 'cancel' because I had to leave. Then I closed DigiKam. Later on I upgraded to 1.0 RC and when opening my database I could not see any picture nor collection. The only thing I could see are the keywords on the right side (all grayed out).

You can fetch a copy of the database here : http://natzo.com/files/digikam4.zip

Also here is the output I get when launching Digikam:

digikam --database-directory /media/PHOTOS/PHOTOS/Digikam

"Warning: You do not seem to have the package gstreamer0.10-plugins-good
installed.
          Some video features have been disabled."
Starting to load Plugins.
=== MarbleDirs: ===
Local Path: "/home/dnativel/.marble/data"
Plugin Local Path: "/home/dnativel/.marble/plugins"

Marble Data Path (Run Time) : ""
Marble Data Path (Compile Time): "/usr/share/apps/marble/data"

Marble Plugin Path (Run Time) : ""
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"

System Path: "/usr/share/apps/marble/data"
Plugin System Path: "/usr/lib/kde4/plugins/marble"
===================
render plugin found "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/CrosshairsPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/ExternalDraw.so"
render plugin found "/usr/lib/kde4/plugins/marble/GeoRendererPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/GraticulePlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/NavigationFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/OverviewMap.so"
render plugin found "/usr/lib/kde4/plugins/marble/Photo.so"
network plugin found "/usr/lib/kde4/plugins/marble/QNamNetworkPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/StarsPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/Wikipedia.so"
Time elapsed: 24 ms
PhotoPlugin: Initialize
Use workaround:  0
Starting to load Plugins.
=== MarbleDirs: ===
Local Path: "/home/dnativel/.marble/data"
Plugin Local Path: "/home/dnativel/.marble/plugins"

Marble Data Path (Run Time) : ""
Marble Data Path (Compile Time): "/usr/share/apps/marble/data"

Marble Plugin Path (Run Time) : ""
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"

System Path: "/usr/share/apps/marble/data"
Plugin System Path: "/usr/lib/kde4/plugins/marble"
===================
render plugin found "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/CrosshairsPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/ExternalDraw.so"
render plugin found "/usr/lib/kde4/plugins/marble/GeoRendererPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/GraticulePlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/NavigationFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/OverviewMap.so"
render plugin found "/usr/lib/kde4/plugins/marble/Photo.so"
network plugin found "/usr/lib/kde4/plugins/marble/QNamNetworkPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/StarsPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/Wikipedia.so"
Time elapsed: 11 ms
Model: Time elapsed: 224 ms
loadMapTheme "earth/srtm/srtm.dgml"
DGML2 Name       :  "Atlas"
adding container: "cityplacemarks" false
adding container: "baseplacemarks" false
starting parser for "cityplacemarks"
starting parser for "baseplacemarks"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/cityplacemarks.cache"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/baseplacemarks.cache"
newGeoDataDocumentAdded "baseplacemarks"
Loading ended true
placemarksLoaded
adding container: "elevplacemarks" false
starting parser for "elevplacemarks"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/elevplacemarks.cache"
newGeoDataDocumentAdded "elevplacemarks"
Loading ended true
placemarksLoaded
adding container: "observatoryplacemarks" false
starting parser for "observatoryplacemarks"
No recent Default Placemark Cache File available for
"observatoryplacemarks"
No Default Placemark Source File for  "observatoryplacemarks"
adding container: "otherplacemarks" false
starting parser for "otherplacemarks"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/otherplacemarks.cache"
newGeoDataDocumentAdded "otherplacemarks"
Loading ended true
placemarksLoaded
adding container: "boundaryplacemarks" true
starting parser for "boundaryplacemarks"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/boundaryplacemarks.cache"
newGeoDataDocumentAdded "boundaryplacemarks"
Loading ended true
placemarksLoaded
TextureColorizer: Time elapsed: 33 ms
THEME CHANGED: *** "earth/srtm/srtm.dgml"
Style reset requested.
In MarbleMap the property  "compass" was set to  false
GeoSceneSettings: Property  "compass" to false
In MarbleMap the property  "overviewmap" was set to  false
GeoSceneSettings: Property  "overviewmap" to false
newGeoDataDocumentAdded "cityplacemarks"
Loading ended true
placemarksLoaded
Starting to load Plugins.
=== MarbleDirs: ===
Local Path: "/home/dnativel/.marble/data"
Plugin Local Path: "/home/dnativel/.marble/plugins"

Marble Data Path (Run Time) : ""
Marble Data Path (Compile Time): "/usr/share/apps/marble/data"

Marble Plugin Path (Run Time) : ""
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"

System Path: "/usr/share/apps/marble/data"
Plugin System Path: "/usr/lib/kde4/plugins/marble"
===================
render plugin found "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/CrosshairsPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/ExternalDraw.so"
render plugin found "/usr/lib/kde4/plugins/marble/GeoRendererPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/GraticulePlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/NavigationFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/OverviewMap.so"
render plugin found "/usr/lib/kde4/plugins/marble/Photo.so"
network plugin found "/usr/lib/kde4/plugins/marble/QNamNetworkPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/StarsPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/Wikipedia.so"
Time elapsed: 15 ms
PhotoPlugin: Initialize
Use workaround:  0
Starting to load Plugins.
=== MarbleDirs: ===
Local Path: "/home/dnativel/.marble/data"
Plugin Local Path: "/home/dnativel/.marble/plugins"

Marble Data Path (Run Time) : ""
Marble Data Path (Compile Time): "/usr/share/apps/marble/data"

Marble Plugin Path (Run Time) : ""
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"

System Path: "/usr/share/apps/marble/data"
Plugin System Path: "/usr/lib/kde4/plugins/marble"
===================
render plugin found "/usr/lib/kde4/plugins/marble/CompassFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/CrosshairsPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/ExternalDraw.so"
render plugin found "/usr/lib/kde4/plugins/marble/GeoRendererPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/GraticulePlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/MapScaleFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/NavigationFloatItem.so"
render plugin found "/usr/lib/kde4/plugins/marble/OverviewMap.so"
render plugin found "/usr/lib/kde4/plugins/marble/Photo.so"
network plugin found "/usr/lib/kde4/plugins/marble/QNamNetworkPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/StarsPlugin.so"
render plugin found "/usr/lib/kde4/plugins/marble/Wikipedia.so"
Time elapsed: 10 ms
Model: Time elapsed: 56 ms
loadMapTheme "earth/srtm/srtm.dgml"
DGML2 Name       :  "Atlas"
adding container: "cityplacemarks" false
adding container: "baseplacemarks" false
starting parser for "cityplacemarks"
starting parser for "baseplacemarks"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/cityplacemarks.cache"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/baseplacemarks.cache"
newGeoDataDocumentAdded "baseplacemarks"
Loading ended true
placemarksLoaded
adding container: "elevplacemarks" false
starting parser for "elevplacemarks"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/elevplacemarks.cache"
newGeoDataDocumentAdded "elevplacemarks"
Loading ended true
placemarksLoaded
adding container: "observatoryplacemarks" false
starting parser for "observatoryplacemarks"
No recent Default Placemark Cache File available for
"observatoryplacemarks"
No Default Placemark Source File for  "observatoryplacemarks"
adding container: "otherplacemarks" false
starting parser for "otherplacemarks"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/otherplacemarks.cache"
newGeoDataDocumentAdded "otherplacemarks"
Loading ended true
placemarksLoaded
adding container: "boundaryplacemarks" true
starting parser for "boundaryplacemarks"
"Loading Default Placemark Cache
File:/usr/share/apps/marble/data/placemarks/boundaryplacemarks.cache"
newGeoDataDocumentAdded "boundaryplacemarks"
Loading ended true
placemarksLoaded
THEME CHANGED: *** "earth/srtm/srtm.dgml"
Style reset requested.
In MarbleMap the property  "compass" was set to  false
GeoSceneSettings: Property  "compass" to false
In MarbleMap the property  "overviewmap" was set to  false
GeoSceneSettings: Property  "overviewmap" to false
Containername: "baseplacemarks" to be finalized: false 6
Containername: "elevplacemarks" to be finalized: false 5
Containername: "otherplacemarks" to be finalized: false 3
Containername: "boundaryplacemarks" to be finalized: false 2
Containername: "cityplacemarks" to be finalized: true 1
newGeoDataDocumentAdded "cityplacemarks"
Loading ended true
placemarksLoaded
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
<unknown program name>(11501)/ KStartupInfo::createNewStartupId:
creating:  "ARCH-DN;1260042516;969468;11501_TIME0" : "unnamed app"
kbuildsycoca4 running...
Style reset requested.
Containername: "baseplacemarks" to be finalized: false 6
Containername: "elevplacemarks" to be finalized: false 5
Containername: "otherplacemarks" to be finalized: false 3
Containername: "boundaryplacemarks" to be finalized: false 2
Containername: "cityplacemarks" to be finalized: true 1
Style reset requested.
kdeinit4: preparing to launch /usr/lib/kde4/kio_digikamdates.so
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::font: Painter not active
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
Comment 1 Marcel Wiesweg 2009-12-06 22:44:15 UTC
In your database I see three collections on a removable disk (UUID of the partition is DCA8EED3A8EEAB6A) containing 18731 images.
Comment 2 Alphazo 2009-12-07 00:48:04 UTC
That's correct. In the Preference pane I can see the name of the three collections pointing to their location on the external hard drive. However the main view stays empty (no collection nor picture).
Comment 3 Marcel Wiesweg 2009-12-07 16:59:30 UTC
The harddrive is plugged in and correctly recognized? KDE Solid is working? - attach the output of "solid-hardware list details".
Comment 4 Alphazo 2009-12-07 19:32:15 UTC
Yep the harddrive is definitely plugged in as I also have my digikam database stored on it ;) 
This is the reason why I use digikam --database-directory /media/PHOTOS/PHOTOS/Digikam to start it. This is the same exact physical hard drive I've been using over the different beta releases and during the interrupted fingerprint generation.

So here is the 'solid-hardware list' output as well as solid-hardware details DCA8EED3A8EEAB6A for the hard drive (if the poster above is right about the UID)


solid-hardware list
udi = '/org/freedesktop/Hal/devices/volume_uuid_DCA8EED3A8EEAB6A'
udi = '/org/freedesktop/Hal/devices/storage_serial_SAMSUNG_HM160JI_SAMSUNG_HMS0KXJD0P708448_0_0'
udi = '/org/freedesktop/Hal/devices/usb_device_4fc_c15_SAMSUNG_HMS0KXJD0P708448_if0_scsi_host_0_scsi_device_lun0_scsi_generic'
udi = '/org/freedesktop/Hal/devices/usb_device_4fc_c15_SAMSUNG_HMS0KXJD0P708448_if0_scsi_host_0_scsi_device_lun0'
udi = '/org/freedesktop/Hal/devices/usb_device_4fc_c15_SAMSUNG_HMS0KXJD0P708448_if0_scsi_host_0'
udi = '/org/freedesktop/Hal/devices/usb_device_4fc_c15_SAMSUNG_HMS0KXJD0P708448_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_4fc_c15_SAMSUNG_HMS0KXJD0P708448_if0_scsi_host'
udi = '/org/freedesktop/Hal/devices/usb_device_4fc_c15_SAMSUNG_HMS0KXJD0P708448_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_4fc_c15_SAMSUNG_HMS0KXJD0P708448'
udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_radio'
udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_TX'
udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_RX'
udi = '/org/freedesktop/Hal/devices/leds_iwl_phy0_assoc'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8140_noserial_if0_bluetooth_hci_0_rfkill_hci0_bluetooth'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8140_noserial_if0_bluetooth_hci_0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27a2_drm__null__card0'
udi = '/org/freedesktop/Hal/devices/computer'
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'
udi = '/org/freedesktop/Hal/devices/volume_uuid_046d7122_21a4_47df_8f19_3fb5ebec9192'
udi = '/org/freedesktop/Hal/devices/volume_uuid_4dfa9136_c311_4884_86e5_8cb93b12564e'
udi = '/org/freedesktop/Hal/devices/volume_uuid_02a791fd_dd5d_47d2_982b_dd7d136ce1d5'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_logicaldev_input'
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_4'
udi = '/org/freedesktop/Hal/devices/storage_serial_TOSHIBA_MK8009GAH_67CRW4FEW'
udi = '/org/freedesktop/Hal/devices/acpi_CPU0'
udi = '/org/freedesktop/Hal/devices/acpi_CPU1'
udi = '/org/freedesktop/Hal/devices/computer_alsa_timer'
udi = '/org/freedesktop/Hal/devices/computer_oss_sequencer_0'
udi = '/org/freedesktop/Hal/devices/computer_oss_sequencer'
udi = '/org/freedesktop/Hal/devices/computer_alsa_sequencer'
udi = '/org/freedesktop/Hal/devices/computer_rfkill_dell_bluetooth_bluetooth'
udi = '/org/freedesktop/Hal/devices/computer_rfkill_dell_wifi_wlan'
udi = '/org/freedesktop/Hal/devices/net_computer_loopback'
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_3'
udi = '/org/freedesktop/Hal/devices/computer_backlight'
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input_0'
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'
udi = '/org/freedesktop/Hal/devices/pci_8086_27df_scsi_host_0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27df_scsi_host_scsi_device_lun0_scsi_generic'
udi = '/org/freedesktop/Hal/devices/pci_8086_27df_scsi_host_scsi_host'
udi = '/org/freedesktop/Hal/devices/pci_1180_822_mmc_host'
udi = '/org/freedesktop/Hal/devices/leds_mmc0'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_1d_7_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_a005_noserial_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8140_noserial_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_b97_7761_noserial_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_b97_7762_noserial_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_3_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_2_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_1_usbraw'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0_usbraw'
udi = '/org/freedesktop/Hal/devices/net_00_1c_23_00_6d_06'
udi = '/org/freedesktop/Hal/devices/net_00_13_e8_58_4c_85_0'
udi = '/org/freedesktop/Hal/devices/net_00_13_e8_58_4c_85'
udi = '/org/freedesktop/Hal/devices/pci_8086_4229_rfkill_phy0_wlan'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_playback_0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_capture_0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_oss_mixer__1'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_hw_specific_1'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_hw_specific_0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_oss_pcm_0_0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_control__1'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_oss_pcm_0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0'
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_2'
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_1'
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0'
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_0'
udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input'
udi = '/org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_AC'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0c01_3'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0103'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0c04'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0200'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0c01_2'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0800'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0b00'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0303'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0f13'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0c01_1'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0c01_0'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0a03'
udi = '/org/freedesktop/Hal/devices/pnp_PNP0c01'
udi = '/org/freedesktop/Hal/devices/platform_vesafb_0'
udi = '/org/freedesktop/Hal/devices/platform_vboxdrv_0'
udi = '/org/freedesktop/Hal/devices/platform_serial8250'
udi = '/org/freedesktop/Hal/devices/platform_regulatory_0'
udi = '/org/freedesktop/Hal/devices/platform_pcspkr'
udi = '/org/freedesktop/Hal/devices/platform_iTCO_wdt'
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'
udi = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port'
udi = '/org/freedesktop/Hal/devices/platform_i8042'
udi = '/org/freedesktop/Hal/devices/platform_dock_0'
udi = '/org/freedesktop/Hal/devices/platform_dcdbas'
udi = '/org/freedesktop/Hal/devices/pci_8086_27da'
udi = '/org/freedesktop/Hal/devices/pci_8086_27df_scsi_host_scsi_device_lun0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27df_scsi_host'
udi = '/org/freedesktop/Hal/devices/pci_8086_27df'
udi = '/org/freedesktop/Hal/devices/pci_8086_27b9'
udi = '/org/freedesktop/Hal/devices/pci_1180_822'
udi = '/org/freedesktop/Hal/devices/pci_1180_552'
udi = '/org/freedesktop/Hal/devices/pci_1180_476'
udi = '/org/freedesktop/Hal/devices/pci_8086_2448'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_a005_noserial_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8140_noserial_if2'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8140_noserial_if1'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8140_noserial_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_8140_noserial'
udi = '/org/freedesktop/Hal/devices/usb_device_b97_7761_noserial_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_b97_7762_noserial_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_b97_7762_noserial'
udi = '/org/freedesktop/Hal/devices/usb_device_b97_7761_noserial'
udi = '/org/freedesktop/Hal/devices/usb_device_413c_a005_noserial'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_1d_7_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_1d_7'
udi = '/org/freedesktop/Hal/devices/pci_8086_27cc'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_3_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_3'
udi = '/org/freedesktop/Hal/devices/pci_8086_27cb'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_2_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_2'
udi = '/org/freedesktop/Hal/devices/pci_8086_27ca'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_1_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_1'
udi = '/org/freedesktop/Hal/devices/pci_8086_27c9'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0_if0'
udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27c8'
udi = '/org/freedesktop/Hal/devices/pci_14e4_1600'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d4'
udi = '/org/freedesktop/Hal/devices/pci_8086_4229'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d2'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d0'
udi = '/org/freedesktop/Hal/devices/pci_8086_27d8'
udi = '/org/freedesktop/Hal/devices/pci_8086_27a6'
udi = '/org/freedesktop/Hal/devices/pci_8086_27a2'
udi = '/org/freedesktop/Hal/devices/pci_8086_27a0'


An when looking at the details for the hardrive:

solid-hardware details DCA8EED3A8EEAB6A
udi = 'DCA8EED3A8EEAB6A'
  parent = ''  (string)
  vendor = ''  (string)
  product = ''  (string)
Comment 5 Alphazo 2009-12-07 20:00:32 UTC
I checked the hard drive label and it says : SAMSUNG HM160JI SAMSUNG HMS0KXJD0P708448.

How can I make sure the UID in the database matches the UID for this drive (just for sanity checkà ?

Dany
Comment 6 Marcel Wiesweg 2009-12-09 19:16:26 UTC
Please check
solid-hardware details '/org/freedesktop/Hal/devices/volume_uuid_DCA8EED3A8EEAB6A'

Important lines in output:
  StorageAccess.accessible = true  (bool)
  StorageAccess.filePath = '/media/PHOTOS'  (string)

Please check also the first ten lines of output from digikam on the console (enable 50003 in kdebugdialog), look for lines like "digikam(15096)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/fotos"  is available  true"
Comment 7 Alphazo 2009-12-11 10:08:37 UTC
Hi Marcel,

Here is the output for the commands you mentioned. I don't have a Digikam::CollectionManager::updateLocations: but rather a Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/PROCESSED"  uuid  "volumeid:?uuid=DCA8EED3A8EEAB6A"

Dany

# solid-hardware details '/org/freedesktop/Hal/devices/volume_uuid_DCA8EED3A8EEAB6A'

  udi = '/org/freedesktop/Hal/devices/volume_uuid_DCA8EED3A8EEAB6A'
  parent = '/org/freedesktop/Hal/devices/storage_serial_SAMSUNG_HM160JI_SAMSUNG_HMS0KXJD0P708448_0_0'  (string)
  vendor = ''  (string)
  product = 'PHOTOS'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 17  (0x11)  (int)
  Block.device = '/dev/sdb1'  (string)
  StorageAccess.accessible = true  (bool)
  StorageAccess.filePath = '/media/PHOTOS'  (string)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = 'ntfs-3g'  (string)
  StorageVolume.label = 'PHOTOS'  (string)
  StorageVolume.uuid = 'dca8eed3a8eeab6a'  (string)
  StorageVolume.size = 160041853440  (0x25433ce200)  (qulonglong)



-> Enabled 50003 in kdebugdialog
# digikam --database-directory /media/PHOTOS/PHOTOS/Digikam  

digikam(6673)/digikam (core) main: Database Path:  "/media/PHOTOS/PHOTOS/Digikam"
digikam(6673)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater update
digikam(6673)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a database structure version  "5"
digikam(6673)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates  5  to  5
digikam(6673)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/ORIGINALS-DNG"  uuid  "volumeid:?uuid=DCA8EED3A8EEAB6A"
digikam(6673)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/PROCESSED"  uuid  "volumeid:?uuid=DCA8EED3A8EEAB6A"
digikam(6673)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/IN/TOIMPORT/GSM"  uuid  "volumeid:?uuid=DCA8EED3A8EEAB6A"
digikam(6673)/digikam (core) Digikam::CollectionManager::updateLocations: location for  ""  is available  false
digikam(6673)/digikam (core) Digikam::CollectionManager::updateLocations: location for  ""  is available  false
digikam(6673)/digikam (core) Digikam::CollectionManager::updateLocations: location for  ""  is available  false
digikam(6673)/digikam (core) Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail db ready for use
digikam(6673)/digikam (core) Digikam::AlbumManager::checkNepomukService: Nepomuk server is not reachable. Cannot start Digikam Nepomuk Service
digikam(6673)/digikam (core) Digikam::IccSettingsPriv::scanDirectories: ()
"Warning: You do not seem to have the package gstreamer0.10-plugins-good installed.
          Some video features have been disabled." 
kdeinit4: preparing to launch /usr/bin/knotify4
Starting to load Plugins.
Comment 8 Marcel Wiesweg 2009-12-11 16:05:45 UTC
Solid is seeing the harddisk, and reporting it correctly as mounted.
Digikam reports your collections as not found.

What strikes me is that in your database the UUID is uppercase, from Solid it is lowercase. I think the comparison is currently case sensitive. Try to open your digikam4.db containing the three collection with the "sqlite3" command line tool and execute:
UPDATE AlbumRoots SET identifier='volumeid:?uuid=dca8eed3a8eeab6a';
to make this lowercase. Exit by typing ".exit".
Comment 9 Alphazo 2009-12-11 16:23:09 UTC
Marcel... you are the man! I owe you a beer for this one. My entire picture collection is back to life after lowercasing the UUID in the AlbumRoots table (using tksqlite). For sanity check I posted the corresponding output below.

So now the question is..how did that happen? The last thing I remember doing before the issue was to launch a fingerprint generation that I had to cancel later on. I for sure did not modify the database manually.

Thanks again for the quick resolution.
Dany

---------------
digikam --database-directory /media/PHOTOS/PHOTOS/Digikam
digikam(16863)/digikam (core) main: Database Path:  "/media/PHOTOS/PHOTOS/Digikam"
digikam(16863)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater update
digikam(16863)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a database structure version  "5"
digikam(16863)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates  5  to  5
digikam(16863)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/ORIGINALS-DNG"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
digikam(16863)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/PROCESSED"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
digikam(16863)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/IN/TOIMPORT/GSM"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
digikam(16863)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/PHOTOS/PHOTOS/ORIGINALS-DNG"  is available  true
digikam(16863)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/PHOTOS/PHOTOS/PROCESSED"  is available  true
digikam(16863)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/PHOTOS/PHOTOS/IN/TOIMPORT/GSM"  is available  true
digikam(16863)/digikam (core) Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail db ready for use
digikam(16863)/digikam (core) Digikam::AlbumManager::checkNepomukService: Nepomuk server is not reachable. Cannot start Digikam Nepomuk Service
kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
<unknown program name>(6600)/ KStartupInfo::createNewStartupId: creating:  "ARCH-DN;1260544515;263359;6600_TIME0" : "unnamed app"
kbuildsycoca4 running...
digikam(16863)/digikam (core) Digikam::IccSettingsPriv::scanDirectories: ()
"Warning: You do not seem to have the package gstreamer0.10-plugins-good installed.
          Some video features have been disabled." 
Starting to load Plugins. 
....
kdeinit4: preparing to launch /usr/lib/kde4/kio_digikamdates.so
digikam(16863)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "raw_converter_single" ' disabled.
digikam(16863)/digikam (core) Digikam::DigikamApp::slotKipiPluginPlug: Plugin ' "batch_rename_images" ' disabled.
kio_digikamdates(16924)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/ORIGINALS-DNG"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
kio_digikamdates(16924)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/PROCESSED"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
kio_digikamdates(16924)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/IN/TOIMPORT/GSM"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
kio_digikamdates(16924)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/PHOTOS/PHOTOS/ORIGINALS-DNG"  is available  true
kio_digikamdates(16924)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/PHOTOS/PHOTOS/PROCESSED"  is available  true
kio_digikamdates(16924)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/PHOTOS/PHOTOS/IN/TOIMPORT/GSM"  is available  true
...
kdeinit4: preparing to launch /usr/lib/kde4/kio_digikamalbums.so
kio_digikamalbums(16930)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/ORIGINALS-DNG"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
kio_digikamalbums(16930)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/PROCESSED"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
kio_digikamalbums(16930)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location  "/PHOTOS/IN/TOIMPORT/GSM"  uuid  "volumeid:?uuid=dca8eed3a8eeab6a"
kio_digikamalbums(16930)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/PHOTOS/PHOTOS/ORIGINALS-DNG"  is available  true
kio_digikamalbums(16930)/digikam (core) Digikam::CollectionManager::updateLocations: location for  "/media/PHOTOS/PHOTOS/PROCESSED"  is available  true
kio_digikamalbums(16930)/digikam (core)
....
Comment 10 Marcel Wiesweg 2009-12-11 16:29:02 UTC
SVN commit 1061375 by mwiesweg:

Make UUID comparison (usually hexadecimal) case insensitive

CCBUG: 217515

 M  +1 -1      collectionmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1061375
Comment 11 Johannes Wienke 2009-12-11 16:30:43 UTC
"The hexadecimal values "a" through "f" are output as lower case characters and are case insensitive on input."

http://www.ietf.org/rfc/rfc4122.txt

I'm not sure whether this means, that every comparison should be case-insensitive, but it sounds reasonable.
Comment 12 Marcel Wiesweg 2009-12-11 17:41:54 UTC
I dont think it was the database that changed. Maybe there was a system upgrade of some kind happening at the same time that changed the UUID output for NTFS to lowercase.