https://bugs.kde.org/show_bug.cgi?id=404894

            Bug ID: 404894
           Summary: 6.0.0 x86-64 appimage startup complains about mssing
                    ']' (startup bash script being called) ?
           Product: digikam
           Version: 6.0.0
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Bundle-AppImage
          Assignee: digikam-bugs-n...@kde.org
          Reporter: sjm...@pobox.com
  Target Milestone: ---

SUMMARY

Immediately on startup there is what looks like an internal shell script being
called which can not find expected closing brace ']'.

Startup seems to work but this looks ugly and seems to imply that the
initialisation is not quite complete.

STEPS TO REPRODUCE
1. download digikam-6.0.0-x86-64.appimage to CentOS 7
2. start it

OBSERVED RESULT

on startup I see:

[user@host ~]$ Downloads/digikam-6.0.0-x86-64.appimage 
libfreetype.so
/tmp/.mount_digikaTboVC5/AppRun: line 21: [: missing `]'
/tmp/.mount_digikaTboVC5/AppRun: line 23: [: missing `]'
libudev.so
/tmp/.mount_digikaTboVC5/AppRun: line 21: [: missing `]'
/tmp/.mount_digikaTboVC5/AppRun: line 23: [: missing `]'
-- digiKam AppImage Bundle
-- Use 'help' as CLI argument to know all available options for digiKam
application
-- Preloading shared libs: 
Digikam::DXmlGuiWindow::setupIconTheme: Breeze icons resource file found
Digikam::AlbumWatch::AlbumWatch: AlbumWatch use QFileSystemWatcher
Digikam::AlbumManager::setDatabase: Database Parameters:
   Type:                     "QMYSQL"
   DB Core Name:             "<db>"
   DB Thumbs Name:           "<db>"
   DB Face Name:             "<db>"
   DB Similarity Name:       "<db>"
   Connect Options:          ""
   Host Name:                "<hostname>"
   Host port:                3306
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 "<username>"
   Password:                 "XXXXXXXXXXX"

Digikam::DbEngineConfigSettingsLoader::readConfig: Loading SQL code from config
file "/tmp/.mount_digikatbGGye/usr/share/digikam/database/dbconfig.xml"
Digikam::DbEngineConfigSettingsLoader::readConfig: Checking XML version ID =>
expected:  3  found:  3
Digikam::CoreDbSchemaUpdater::update: Core database: running schema update
Digikam::CoreDbSchemaUpdater::startUpdates: Core database: have a structure
version  10
Digikam::CoreDbSchemaUpdater::makeUpdates: Core database: makeUpdates  10  to 
10
Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location 
"/<user>/Pictures"  uuid  "volumeid:?uuid=b4e10e45-be16-47b3-9e3b-a08e5ec4a7af"
Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location 
"<nfs_mounted_album_root_dir>"  uuid 
"volumeid:?uuid=452a5f06-c3bd-4f2b-84cd-d141172975dc"
Digikam::CollectionManager::updateLocations: location for 
"/home/<user>/Pictures"  is available  true
Digikam::CollectionManager::updateLocations: location for 
"/<nfs_mounted_album_root_dir>"  is available  true
Digikam::KMemoryInfo::update: KMemoryInfo: Platform identified :  "LINUX"
Digikam::KMemoryInfo::bytes: KMemoryInfo: TotalRam:  16565063680
Digikam::LoadingCache::setCacheSize: Allowing a cache size of 200 MB
Digikam::ThumbsDb::getSetting: ThumbDB SelectThumbnailSetting val ret =  0
Digikam::ThumbsDb::getSetting: ThumbDB SelectThumbnailSetting val ret =  0
Digikam::ThumbsDbSchemaUpdater::startUpdates: Thumbs database: have a structure
version  "3"
Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnails database
ready for use
Digikam::SimilarityDb::getSetting: SimilarityDb SelectSimilaritySetting val ret
=  0
Digikam::SimilarityDb::getSetting: SimilarityDb SelectSimilaritySetting val ret
=  0
Digikam::SimilarityDbSchemaUpdater::startUpdates: Similarity database: have a
structure version  "1"
Digikam::AlbumManager::setDatabase: Similarity database ready for use
Digikam::IccSettings::Private::scanDirectories: ("/usr/share/color/icc",
"/home/<user>/.local/share/icc")
Digikam::IccSettings::Private::profileFromWindowSystem: Found X.org XICC
monitor profile  "DELL U2412M"
Digikam::CameraList::CameraList: Camera XML data: 
"/home/<user>/.local/share/digikam/cameras.xml"
Digikam::FaceDb::setting: FaceDB SelectFaceSetting val ret =  0
Digikam::FaceDb::setting: FaceDB SelectFaceSetting val ret =  0
Digikam::FaceDbSchemaUpdater::startUpdates: Face database: have a structure
version  "3"
...

Note: startup does complete so this is non-fatal but looks wrong.

EXPECTED RESULT

no errors during startup logging, or a clearer, meaningful one if appropriate.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: CentOS 7 / x86_64
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 
appimage: digikam-6.0.0-x86-64.appimage 

ADDITIONAL INFORMATION

backend data store using MySQL. (as should be visible)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to