CintaNotes Forum

It is currently Thu Sep 09, 2010 4:31 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Please don't update the database file when starting up
PostPosted: Fri Sep 18, 2009 3:26 am 

Joined: Wed Sep 16, 2009 10:02 am
Posts: 10
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Fri Sep 18, 2009 8:18 am 

Joined: Thu Jan 22, 2009 11:05 pm
Posts: 224
Location: Berkshire, UK
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Fri Sep 18, 2009 9:48 am 
Site Admin

Joined: Fri Dec 12, 2008 4:45 pm
Posts: 930
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Fri Sep 18, 2009 9:59 am 
Site Admin

Joined: Fri Dec 12, 2008 4:45 pm
Posts: 930
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Tue Sep 22, 2009 3:04 am 

Joined: Wed Sep 16, 2009 10:02 am
Posts: 10
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Tue Sep 22, 2009 6:30 am 
Site Admin

Joined: Fri Dec 12, 2008 4:45 pm
Posts: 930
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Tue Sep 22, 2009 10:40 am 

Joined: Wed Sep 16, 2009 10:02 am
Posts: 10
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Fri Oct 02, 2009 4:39 pm 
Site Admin

Joined: Fri Dec 12, 2008 4:45 pm
Posts: 930
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Thu Oct 29, 2009 2:56 am 

Joined: Wed Sep 16, 2009 10:02 am
Posts: 10
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Please don't update the database file when starting up
PostPosted: Sun Nov 29, 2009 10:58 am 
Site Admin

Joined: Fri Dec 12, 2008 4:45 pm
Posts: 930
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr