File database is locked

polinom
Posts: 15
Joined: Thu Mar 14, 2019 6:50 pm
Contact:

Re: File database is locked

Postby polinom » Fri Mar 22, 2019 4:34 am

CintaNotes Developer wrote:Thanks a lot! According to the log, database disconnect never happens.
Most probably this is because the program is kept on screen and is never minimized to tray.
When the program is on screen, it keeps database locked to prevent database reconnection freeze when the user switches back to it.


Why can this happen? When I made a log, the program was minimized to tray.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: File database is locked

Postby CintaNotes Developer » Fri Mar 22, 2019 11:07 am

polinom wrote:Why can this happen? When I made a log, the program was minimized to tray.


I'm perplexed as well. From the log alone, I'd say that notebook disconnect is simply turned off. Are you sure that the cintanotes.settings file
that you attached earlier is really the one that is in effect?

Could you please try the same on a separate portable instance of CN?
Alex
polinom
Posts: 15
Joined: Thu Mar 14, 2019 6:50 pm
Contact:

Re: File database is locked

Postby polinom » Fri Mar 22, 2019 9:28 pm

CintaNotes Developer wrote:
polinom wrote:Why can this happen? When I made a log, the program was minimized to tray.


I'm perplexed as well. From the log alone, I'd say that notebook disconnect is simply turned off. Are you sure that the cintanotes.settings file
that you attached earlier is really the one that is in effect?

Could you please try the same on a separate portable instance of CN?


When I saved the database to the Yandex disk folder, the path to the database automatically changed in the cintanotes.settings file. I think CN takes the settings from this file. Tomorrow I will try to install a portable version of the program.
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: File database is locked

Postby CintaNotes Developer » Sat Mar 23, 2019 10:06 am

Ok will be waiting for the results!
Alex
polinom
Posts: 15
Joined: Thu Mar 14, 2019 6:50 pm
Contact:

Re: File database is locked

Postby polinom » Sat Mar 23, 2019 6:56 pm

All is still, there is no access to the database. I enclose a log: https://yadi.sk/i/5FvLGBhGeyKg9w
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: File database is locked

Postby CintaNotes Developer » Mon Mar 25, 2019 2:40 pm

Thanks for the log! I was finally able to reproduce the issue. Indeed in some cases the code setting the disconnection timeout can be skipped.
Will releasea fix soon!
Alex

Return to “CintaNotes Personal Notes Manager”