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

            Bug ID: 412417
           Summary: digikam fails to start - update fails
           Product: digikam
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Database-Sqlite
          Assignee: digikam-bugs-n...@kde.org
          Reporter: laryo...@mail.tomsknet.ru
  Target Milestone: ---

SUMMARY
After updating the OS to OpenSUSE 15.1, digikam stopped working: it tries to
update its database from version 8 to 10, but after updating to 9 update to 10
fails.


STEPS TO REPRODUCE
1. Have digikam installed on OpenSUSE 41.2
2. Update OS to OpenSUSE 15.1
3. Try to run digikam

OBSERVED RESULT
After launching it in command prompt:

> digikam
digikam.general: AlbumWatch use QFileSystemWatcher
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/mnt/nas4free/Album/digikam4.db"
   DB Thumbs Name:           "/mnt/nas4free/Album/thumbnails-digikam.db"
   DB Face Name:             "/mnt/nas4free/Album/recognition.db"
   DB Similarity Name:      "/mnt/nas4free/Album/similarity.db"
   Connect Options:          ""
   Host Name:                ""
   Host port:                -1
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 ""
   Password:                 ""

digikam.dbengine: Loading SQL code from config file
"/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  8
digikam.coredb: Core database: makeUpdates  8  to  10
digikam.coredb: Core database: success updating to version  9
digikam.coredb: Core database: success updating to version  9
digikam.dbengine: Failure executing query:
 "" 
Error messages: "Невозможно получить строку" "attempt to write a readonly
database" 8 1 
Bound values:  ()
digikam.dbengine: Error while executing DBAction [ "UpdateSchemaFromV9ToV10" ]
Statement [ "DROP TABLE IF EXISTS ImageHaarMatrix;" ]
digikam.coredb: Core database: schema update to V 10 failed!
digikam.dbengine: Failure executing query:
 "REPLACE INTO Settings VALUES (?,?);" 
Error messages: "Невозможно получить строку" "attempt to write a readonly
database" 8 1 
Bound values:  (QVariant(QString, "DBVersion"), QVariant(QString, "9"))
digikam.dbengine: Failure executing query:
 "REPLACE INTO Settings VALUES (?,?);" 
Error messages: "Невозможно получить строку" "attempt to write a readonly
database" 8 1 
Bound values:  (QVariant(QString, "DBVersionRequired"), QVariant(QString, "5"))
digikam.coredb: Core database: cannot process schema initialization
KMemoryInfo: Platform identified :  "LINUX"
KMemoryInfo: TotalRam:  8387072000
digikam.general: Allowing a cache size of 200 MB
QThreadStorage: Thread 0x7f8a64baec40 exited after QThreadStorage 12 destroyed


EXPECTED RESULT
digikam runs

SOFTWARE/OS VERSIONS
OpenSUSE 15.1

ADDITIONAL INFORMATION

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

Reply via email to