[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2022-01-06 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

caulier.gil...@gmail.com changed:

   What|Removed |Added

   Platform|Other   |Microsoft Windows

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-08-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||6.0.0
 Status|UNCONFIRMED |RESOLVED

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-08-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #12 from nintendoeatsxboxforlu...@gmail.com ---
It did not crash! I should say, I am now on a different processor architecture,
OS and NAS.

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-08-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #11 from caulier.gil...@gmail.com ---
Can you reproduce the dysfunction using digiKam 6.0.0 pre-release bundle
available here :

https://files.kde.org/digikam/

Gilles Caulier

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #10 from nintendoeatsxboxforlu...@gmail.com ---
Deleting the DB did eventually work. It crashed a couple of times during the db
scan, but does now seem to have completed the entire thing.

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-27 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #9 from Maik Qualmann  ---
The error states that a constraint already exists with the name. But that's not
really possible because the update procedure clears all of them. I think your
DB is broken and you start with a new DB - Unfortunately.

Maik

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #8 from nintendoeatsxboxforlu...@gmail.com ---
The scan completed but no images appeared in the program. I closed and
restarted the program, then got the same error as in comment 2, but with
different debug output

[8240] digikam.widgets: Breeze icons ressource file found
[8240] digikam.general: AlbumWatch use QFileSystemWatcher
[8240] digikam.general: Database Parameters:
[8240]Type: "QMYSQL"
[8240]DB Core Name: "digikam"
[8240]DB Thumbs Name:   "digikam"
[8240]DB Face Name: "digikam"
[8240]Connect Options:  ""
[8240]Host Name:"localhost"
[8240]Host port:3307
[8240]Internal Server:  true
[8240]Internal Server Path: "E:/DigiDatabase"
[8240]Internal Server Serv Cmd: "Z:/mariadb-10.2.12-winx64/bin/mysqld.exe"
[8240]Internal Server Init Cmd:
"Z:/mariadb-10.2.12-winx64/bin/mysql_install_db.exe"
[8240]Username: "root"
[8240]Password: ""
[8240] 
[8240] digikam.databaseserver: Database Parameters:
[8240]Type: "QMYSQL"
[8240]DB Core Name: "digikam"
[8240]DB Thumbs Name:   "digikam"
[8240]DB Face Name: "digikam"
[8240]Connect Options:  ""
[8240]Host Name:"localhost"
[8240]Host port:3307
[8240]Internal Server:  true
[8240]Internal Server Path: "E:/DigiDatabase"
[8240]Internal Server Serv Cmd: "Z:/mariadb-10.2.12-winx64/bin/mysqld.exe"
[8240]Internal Server Init Cmd:
"Z:/mariadb-10.2.12-winx64/bin/mysql_install_db.exe"
[8240]Username: "root"
[8240]Password: ""
[8240] 
[8240] digikam.databaseserver: Internal Server data path:
"E:/DigiDatabase/.mysql.digikam/db_data"
[8240] digikam.databaseserver: The mysql configuration was already up-to-date:
"C:/Users/Adrian Hall/AppData/Local/digikam/mysql.conf"
[8240] digikam.databaseserver: Failed to open MySQL error log.
[8240] digikam.databaseserver: Database server:
"Z:/mariadb-10.2.12-winx64/bin/mysqld.exe" ("--defaults-file=C:\\Users\\Adrian
Hall\\AppData\\Local\\digikam\\mysql.conf",
"--datadir=E:\\DigiDatabase\\.mysql.digikam\\db_data", "--skip-networking=0",
"--port=3307")
[8240] digikam.databaseserver: Internal database server started
[8240] digikam.databaseserver: Running 0 seconds...
[8240] digikam.dbengine: Loading SQL code from config file
"Z:/digiKam/data/digikam/database/dbconfig.xml"
[8240] digikam.dbengine: Checking XML version ID => expected:  3  found:  3
[8240] digikam.coredb: Core database: running schema update
[8240] digikam.coredb: Core database: have a structure version  8
[8240] digikam.coredb: Core database: makeUpdates  8  to  9
[8240] digikam.dbengine: Failure executing query:
[8240]  "" 
[8240] Error messages: "QMYSQL: Unable to execute query" "Can't create table
`digikam`.`#sql-1afc_13` (errno: 121 \"Duplicate key on write or update\")"
1005 2 
[8240] Bound values:  ()
[8240] digikam.dbengine: Error while executing DBAction [
"UpdateSchemaFromV7ToV9" ] Statement [ "ALTER TABLE Albums\n   
ADD CONSTRAINT Albums_AlbumRoots FOREIGN KEY (albumRoot)
REFERENCES AlbumRoots (id) ON DELETE CASCADE ON UPDATE CASCADE,\n  
 ADD UNIQUE (albumRoot, relativePath(255)),\n  
 ENGINE InnoDB;" ]
[8240] digikam.coredb: Core database: schema update to V 9 failed!
[8240] digikam.coredb: Core database: cannot process schema initialization

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-27 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #7 from nintendoeatsxboxforlu...@gmail.com ---
I replaced the dbconfig and was given the below error on startup


[3936] digikam.widgets: Breeze icons ressource file found
[3936] digikam.general: AlbumWatch use QFileSystemWatcher
[3936] digikam.general: Database Parameters:
[3936]Type: "QMYSQL"
[3936]DB Core Name: "digikam"
[3936]DB Thumbs Name:   "digikam"
[3936]DB Face Name: "digikam"
[3936]Connect Options:  ""
[3936]Host Name:"localhost"
[3936]Host port:3307
[3936]Internal Server:  true
[3936]Internal Server Path: "E:/DigiDatabase"
[3936]Internal Server Serv Cmd:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysqld.exe"
[3936]Internal Server Init Cmd:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysql_install_db.exe"
[3936]Username: "root"
[3936]Password: ""
[3936] 
[3936] digikam.databaseserver: Database Parameters:
[3936]Type: "QMYSQL"
[3936]DB Core Name: "digikam"
[3936]DB Thumbs Name:   "digikam"
[3936]DB Face Name: "digikam"
[3936]Connect Options:  ""
[3936]Host Name:"localhost"
[3936]Host port:3307
[3936]Internal Server:  true
[3936]Internal Server Path: "E:/DigiDatabase"
[3936]Internal Server Serv Cmd:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysqld.exe"
[3936]Internal Server Init Cmd:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysql_install_db.exe"
[3936]Username: "root"
[3936]Password: ""
[3936] 
[3936] digikam.databaseserver: Internal Server data path:
"E:/DigiDatabase/.mysql.digikam/db_data"
[3936] digikam.databaseserver: The mysql configuration was already up-to-date:
"C:/Users/Adrian Hall/AppData/Local/digikam/mysql.conf"
[3936] digikam.databaseserver: Database server:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysqld.exe"
("--defaults-file=C:\\Users\\Adrian Hall\\AppData\\Local\\digikam\\mysql.conf",
"--datadir=E:\\DigiDatabase\\.mysql.digikam\\db_data", "--skip-networking=0",
"--port=3307")
[3936] digikam.databaseserver: "Database process exited unexpectedly during
initial connection."
[3936] digikam.databaseserver: Executable:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysqld.exe"
[3936] digikam.databaseserver: Arguments: "--defaults-file=C:\\Users\\Adrian
Hall\\AppData\\Local\\digikam\\mysql.conf,
--datadir=E:\\DigiDatabase\\.mysql.digikam\\db_data, --skip-networking=0,
--port=3307"
[3936] digikam.databaseserver: Stdout: ""
[3936] digikam.databaseserver: Stderr: "2018-01-27  8:42:48 4364 [Note]
Z:\\digiKam\\mariadb-10.2.12-winx64\\binmysqld.exe (mysqld
10.2.12-MariaDB-log) starting as process 10104 ...\r\n2018-01-27  8:42:48 4364
[ERROR] Can't find messagefile
'Z:\\digiKam\\mariadb-10.2.12-winx64\\share\\errmsg.sys'\r\n2018-01-27  8:42:48
4364 [ERROR] Aborting\r\n\r\n"
[3936] digikam.databaseserver: Exit code: 1
[3936] digikam.databaseserver: Process error: "Unknown error"
[3936] digikam.databaseserver: Cannot start internal database server

However, I was able to get in and setup the database again. I found that the
entire contents of the MariaDB folder (which I had inside the Digikam folder)
had been deleted except for mysqld. I didn't do this and the files are not in
my antivirus quarantine, so at present I have no explanation.

I re-downloaded MariaDB and placed it outside of the Digikam folder. When I
first set the location of mysqld and hit enter it gave me the same error about
being able to update db scheme from 8 to 9.

I set the location of mysqld again and received no error, but it did not
restore the old database. Digikam is currently re-scanning the network drive.

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-26 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #6 from Maik Qualmann  ---
Created attachment 110141
  --> https://bugs.kde.org/attachment.cgi?id=110141=edit
dbconfig.xml

Trying to fix the schema update. Replace the dbconfig.xml with this one.

File path Windows:

C:\Program Files\digiKam\data\digikam\database

Maik

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Component|Database-Maintenance|Database-Mysql

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-26 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #5 from Maik Qualmann  ---
For Albums_old no foreign key constraint should exist. First I have to see if I
can reproduce it.

Maik

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #4 from nintendoeatsxboxforlu...@gmail.com ---
[12880] digikam.widgets: Breeze icons ressource file found
[12880] digikam.general: AlbumWatch use QFileSystemWatcher
[12880] digikam.general: Database Parameters:
[12880]Type: "QMYSQL"
[12880]DB Core Name: "digikam"
[12880]DB Thumbs Name:   "digikam"
[12880]DB Face Name: "digikam"
[12880]Connect Options:  ""
[12880]Host Name:"localhost"
[12880]Host port:3307
[12880]Internal Server:  true
[12880]Internal Server Path: "E:/DigiDatabase"
[12880]Internal Server Serv Cmd:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysqld.exe"
[12880]Internal Server Init Cmd:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysql_install_db.exe"
[12880]Username: "root"
[12880]Password: ""
[12880] 
[12880] digikam.databaseserver: Database Parameters:
[12880]Type: "QMYSQL"
[12880]DB Core Name: "digikam"
[12880]DB Thumbs Name:   "digikam"
[12880]DB Face Name: "digikam"
[12880]Connect Options:  ""
[12880]Host Name:"localhost"
[12880]Host port:3307
[12880]Internal Server:  true
[12880]Internal Server Path: "E:/DigiDatabase"
[12880]Internal Server Serv Cmd:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysqld.exe"
[12880]Internal Server Init Cmd:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysql_install_db.exe"
[12880]Username: "root"
[12880]Password: ""
[12880] 
[12880] digikam.databaseserver: Internal Server data path:
"E:/DigiDatabase/.mysql.digikam/db_data"
[12880] digikam.databaseserver: The mysql configuration was already up-to-date:
"C:/Users/Adrian Hall/AppData/Local/digikam/mysql.conf"
[12880] digikam.databaseserver: Failed to open MySQL error log.
[12880] digikam.databaseserver: Database server:
"Z:/digiKam/mariadb-10.2.12-winx64/bin//mysqld.exe"
("--defaults-file=C:\\Users\\Adrian Hall\\AppData\\Local\\digikam\\mysql.conf",
"--datadir=E:\\DigiDatabase\\.mysql.digikam\\db_data", "--skip-networking=0",
"--port=3307")
[12880] digikam.databaseserver: Internal database server started
[12880] digikam.databaseserver: Running 0 seconds...
[12880] digikam.dbengine: Loading SQL code from config file
"Z:/digiKam/data/digikam/database/dbconfig.xml"
[12880] digikam.dbengine: Checking XML version ID => expected:  3  found:  3
[12880] digikam.coredb: Core database: running schema update
[12880] digikam.coredb: Core database: have a structure version  8
[12880] digikam.coredb: Core database: makeUpdates  8  to  9
[12880] digikam.dbengine: Failure executing query:
[12880]  "" 
[12880] Error messages: "QMYSQL: Unable to execute query" "Cannot delete or
update a parent row: a foreign key constraint fails" 1451 2 
[12880] Bound values:  ()
[12880] digikam.dbengine: Error while executing DBAction [
"UpdateSchemaFromV7ToV9" ] Statement [ "DROP TABLE IF EXISTS Albums_old;" ]
[12880] digikam.coredb: Core database: schema update to V 9 failed!
[12880] digikam.coredb: Core database: cannot process schema initialization
[12880] KMemoryInfo: Platform identified :  "WINDOWS"
[12880] KMemoryInfo: TotalRam:  34267824128
[12880] digikam.general: Allowing a cache size of 200 MB

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-26 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=389468

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #3 from Maik Qualmann  ---
Download and start DebugView from Microsoft and post the output when you start
digiKam.

Maik

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

--- Comment #2 from nintendoeatsxboxforlu...@gmail.com ---
(In reply to caulier.gilles from comment #1)
> Please try with 5.9.0 pre-release bundle for windows :
> 
> https://files.kde.org/digikam/
> 
> Gilles Caulier

I uninstalled 2.7.0 and installed 2.9.0. When I open it I get the message
"Failed to update the database schema from version 8 to version 9" and the
scanning collections dialog displays an error at 0%. I tried reinstalling 2.9.0
and this continued. I would like to provide the error messages but I cannot
finde where they are stored.

Thank you for the quick response by the way.

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||caulier.gil...@gmail.com

--- Comment #1 from caulier.gil...@gmail.com ---
Please try with 5.9.0 pre-release bundle for windows :

https://files.kde.org/digikam/

Gilles Caulier

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

[digikam] [Bug 389468] Immediate Crash On Metadata Sync

2018-01-26 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=389468

nintendoeatsxboxforlu...@gmail.com changed:

   What|Removed |Added

 CC||nintendoeatsxboxforlunch@gm
   ||ail.com

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