[Bug 178326] New: misleading error method when database locked

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

[Bug 178326] New: misleading error method when database locked

Bugzilla from schmettow@web.de
http://bugs.kde.org/show_bug.cgi?id=178326

           Summary: misleading error method when database locked
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Somehow I had another digikam process running (a zombie?). When starting
digikam a message appeared that the database could not be converted to version
5. It was recommended to thorugh away the data base and start with a new one.
Instead it sufficed to kill the zombie.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 178326] misleading error method when database locked

Gilles Caulier-4
http://bugs.kde.org/show_bug.cgi?id=178326


Gilles Caulier caulier gilles gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Database
            Version|unspecified                 |0.10.0-svn




--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 178326] misleading error method when database locked

Marcel Wiesweg
In reply to this post by Bugzilla from schmettow@web.de
http://bugs.kde.org/show_bug.cgi?id=178326


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-21 16:19:27 ---
Do you have any of the messages printed on the console?
Was the exact error message that popped up "The schema updating process from
version 4 to 5 failed, caused by an error that we did not expect. You can try
to discard your old database and start with an empty one..."?


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 178326] misleading error method when database locked

Bugzilla from schmettow@web.de
In reply to this post by Bugzilla from schmettow@web.de
http://bugs.kde.org/show_bug.cgi?id=178326





--- Comment #2 from Martin Schmettow <schmettow web de>  2008-12-21 17:04:04 ---
Yes, this was the error message. Meanwhile I tried to reproduce the problem by
starting a second instance of digikam, but without success. Btw. is it safe to
have two instances running on the same database?


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 178326] misleading error method when database locked

Marcel Wiesweg
In reply to this post by Bugzilla from schmettow@web.de
http://bugs.kde.org/show_bug.cgi?id=178326





--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-21 22:23:10 ---
That's the point, there is no technical problem usually with opening the
database files from different proccesses.

You seem to have had a special situation. Accessing the file failed, which is
interpreted as an empty/new file, so upgrade is attempted. I dont quite know
how to tell the difference in our code.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 178326] misleading error method when database locked

Marcel Wiesweg
In reply to this post by Bugzilla from schmettow@web.de
http://bugs.kde.org/show_bug.cgi?id=178326





--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-23 14:36:41 ---
SVN commit 900734 by mwiesweg:

Check that creating a transaction succeeds before attempting to upgrade
database.
This might catch unclear errors where a file exists but is somehow locked.

CCBUG: 178326

 M  +12 -1     schemaupdater.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=900734


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 178326] misleading error method when database locked

Marcel Wiesweg
In reply to this post by Bugzilla from schmettow@web.de
http://bugs.kde.org/show_bug.cgi?id=178326


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|crash                       |normal




--- Comment #5 from Marcel Wiesweg <marcel wiesweg gmx de>  2008-12-23 14:39:31 ---
I did some guesswork and came up with that commit.
Do have any idea how to reproduce your problem?
Otherwise I would close this file; I tried to have a digikam instance running,
I tried to remove read rights from the db file, the first just works, the
second is caught before.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 178326] misleading error method when database locked

Marcel Wiesweg
In reply to this post by Bugzilla from schmettow@web.de
http://bugs.kde.org/show_bug.cgi?id=178326


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #6 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-18 22:29:49 ---
No more actions to be expected here. Reopen in case of new findings.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 178326] misleading error method when database locked

Gilles Caulier-4
In reply to this post by Bugzilla from schmettow@web.de
https://bugs.kde.org/show_bug.cgi?id=178326


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-svn                  |0.10.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 178326] misleading error method when database locked

bugzilla_noreply
In reply to this post by Bugzilla from schmettow@web.de
https://bugs.kde.org/show_bug.cgi?id=178326

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Schema
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.