Please don't update the database file when starting up

edwinyzh
Posts: 10
Joined: Wed Sep 16, 2009 10:02 am
Contact:

Please don't update the database file when starting up

Postby edwinyzh » Fri Sep 18, 2009 3:26 am

since I'm using dropbox to sync my database file, but cintanotes update the database file at startup and if I set cintanotes to start up with Windows I cannot get the file that's modified on another PC synced. So my compromised solution is not to start cintanotes with windows.
Word Addin for Writers (Book Writing Software)
http://writingoutliner.com
Noddy330
Posts: 354
Joined: Thu Jan 22, 2009 11:05 pm
Contact:

Re: Please don't update the database file when starting up

Postby Noddy330 » Fri Sep 18, 2009 8:18 am

edwinyzh wrote:since I'm using dropbox to sync my database file, but cintanotes update the database file at startup and if I set cintanotes to start up with Windows I cannot get the file that's modified on another PC synced. So my compromised solution is not to start cintanotes with windows.


Agree with this

...and, if CintaNotes has the notes file open (and unchnaged, at start of day) could it be overwritten by a newer one?

Nod
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Please don't update the database file when starting up

Postby CintaNotes Developer » Fri Sep 18, 2009 9:48 am

Hello edwinyzh,

are you using CintaNotes Beta M10.3 version, or the earlier one?
What exactly do you mean by "updating the datafile during startup"?
Thanks
Alex
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Please don't update the database file when starting up

Postby CintaNotes Developer » Fri Sep 18, 2009 9:59 am

Noddy330 wrote:...and, if CintaNotes has the notes file open (and unchnaged, at start of day) could it be overwritten by a newer one?

Nod


Yes it can now, this is the whole point of the enhancement in 10.3. If it didn't happen then while saving, the newer file on disk would be replaced with the older data from memory (and - gasp - synced to other PCs), that is exactly what happened in versions prior to M10.3. Now a running CN instance picks up the new file as soon as the changes are synced in.
Alex
edwinyzh
Posts: 10
Joined: Wed Sep 16, 2009 10:02 am
Contact:

Re: Please don't update the database file when starting up

Postby edwinyzh » Tue Sep 22, 2009 3:04 am

CintaNotes Developer wrote:Hello edwinyzh,

are you using CintaNotes Beta M10.3 version, or the earlier one?
What exactly do you mean by "updating the datafile during startup"?
Thanks


Hi use 10.2. I mean if the program start with the system the data file will be updated (timestamp, whatsoever) and caused dropbox will not replace it with the actually newer file that is modified on another pc.

So does the new 10.3 version fixed that problem already? If it does not', just try it with dropbox.
Word Addin for Writers (Book Writing Software)
http://writingoutliner.com
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Please don't update the database file when starting up

Postby CintaNotes Developer » Tue Sep 22, 2009 6:30 am

10.3 fixes a slightly different problem:

1) you use CN on PC-1, take notes and keep CN running;
2) you go over to PC-2, notes from 1) are synced in;
3) you take notes on PC-2
4) you return to PC-1, notes from 3) are synced in but CN is still running and doesn't read them from disk;
5) you take notes on PC-1 -> data file is saved losing the notes you made in 3).

In 10.3, CN re-reads the data file from disk as soon as it changes.

But this leaves room for the problem with the start up that you describe, I'll check it!
Alex
edwinyzh
Posts: 10
Joined: Wed Sep 16, 2009 10:02 am
Contact:

Re: Please don't update the database file when starting up

Postby edwinyzh » Tue Sep 22, 2009 10:40 am

Thank you Alex. I think the problem I described can be solved as long as CN does not update the database file at program startup, and I don't see why it's necessary.

BTW, do you consider hierarchical tags while keeping CN's simplicity :)
Word Addin for Writers (Book Writing Software)
http://writingoutliner.com
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Please don't update the database file when starting up

Postby CintaNotes Developer » Fri Oct 02, 2009 4:39 pm

Well I've done some experimenting and can definitely say that 10.3 doesn't write to notebook.dat on program start, at least on two of my machines.
Have you figured out that it does so only because of DropBox?

Re. hierarchical tags: I consider them for the commercial version, but for current roadmap notebook files + tabs + tag groups seem quite enough.
Alex
edwinyzh
Posts: 10
Joined: Wed Sep 16, 2009 10:02 am
Contact:

Re: Please don't update the database file when starting up

Postby edwinyzh » Thu Oct 29, 2009 2:56 am

Hi,

May I suggest you to try it with Dropbox? I assume many people uses dropbox to sync cintanotes data.
Word Addin for Writers (Book Writing Software)
http://writingoutliner.com
User avatar
CintaNotes Developer
Site Admin
Posts: 5001
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: Please don't update the database file when starting up

Postby CintaNotes Developer » Sun Nov 29, 2009 10:58 am

I use it with dropbox too.
I've checked once again and it seems that there's been a regression in version 10.4. The notebook.dat file auto-reload is not working.
In the next two weeks I'll release the version 10.6 that fixes the issue.
Alex

Return to “CintaNotes Personal Notes Manager”