OK, I'll look into this.
> 2. Attempt to sync failed. The message on the client read: "Sync cycle
> detected. Sync through intermediate partner". Should I have emptied
> the client db before the attempt?
Apart from your client and server, there are no other machines involved? It's
not that you synced A to B, B to C and C to A?
If not, please send me your client and your server db file.
Cheers,
Peter
Not Apple, but Qt :-)
> Client: 'Timeout while waiting for server'
If that's the error you are getting, it does seem indeed to be firewall
related. Is there a way you could temporarily disable it and see if that
changes anything?
Also note that there are two kinds of sync:
* a full sync, which happens the very first time and each time it finds a
conflict
* a 'normal' sync which happens a lot quicker
It's not that your errors occur in one situation and not in the other? Or are
they mixed?
> Server: 'Checking for changed media files' then 'Dynamically creating
> media files' (it's still doing this).
(BTW, in the server configuration dialog you can disable 'check for changed
media files' if you don't need this, it will be faster)
Peter
--
Peter Bienstman
Ghent University, Dept. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 46, fax: +32 9 264 35 93
WWW: http://photonics.intec.UGent.be
email: Peter.B...@UGent.be
It's not Quicktime, but rather the GUI toolkit Qt (by Nokia) :-)
> Anyway, back to the sync. The following has happened 3 days running
> after I've booted up the m/cs and done my reps. on the server.
>
> >> I switch off the firewall on both client & server:
> 1st attempt: sync fails with client timing out waiting for the server.
> The server is 'checking for edited media files'.
Do you have cards with latex in them, and perhaps a problem with the latex
plugin on the server?
If you uncheck 'check for changed media files' on the server (Configuration -
sync server), does that change anything?
> >> I 'OK' the client message & cancel the sync on the server.
>
> 2nd attempt: sync fails again with client waiting on the server.
> Server is either 'checking for edited media files' or 'dynamically
> creating media files'.
>
> >> I 'OK' the client message & cancel the sync on the server.
>
> 3rd attempt: client reports that a full sync needs to happen. I select
> 'fetch remote db'. Sync works.
>
> >> I switch the firewall back on on both m/c's & do a few more reps. on
> >> the server.
> 4th attempt: sync works again.
>
> Does this help?
I don't really see a pattern in this yet...
Peter
No problem!
> I tried the sync with the 'check for changed media files' unchecked on
> both m/c's and it made no difference.
What is then the message on the server when it hangs?
> It occured to me that I get his problem for the first sync after a
> reboot (I power down every night). I've justed tested this theory by
> rebooting the m/c's again and lo, and behold, the sync failed again
Strange, typically you'd expect this to be the other way around, with reboots
fixing things :-)
> and I ended up doing a full sync to get the process working again.
Just to make absolutely sure:
* both client and server are on beta 11b?
* you never manually copied Mnemosyne files or directories between client and
server? I.e. delete the *entire* Mnemosyne folder on the client, start
Mnemosyne, notice that your database is empty, and then sync to the server?
> A network issue?
Perhaps... Unfortunately, the way to debug this is rather complex, with
running a program called wireshark to capture all the network traffic.
> Client not allowing enough time for Windows to get it's act together?
Could be... Is your server an old machine? When there is not a full sync (full
sync: messages like 'getting entire binary database) but an incremental sync
(messages like getting/sending log entries), how long does a sync typically
take? Few seconds? Half a minute? Minutes? Normally it's a matter of seconds,
but if for some reason it's slow on your machine, we might need to increase
the default timeout.
When you get the timeout on the client, after how much time is this?
Cheers,
Peter
Feel free to disable it there too, if you don't update media files once you
added them to Mnemosyne. (BTW, disabling this is the default for the newer
versions)
Perhaps the server takes too long to check for updated media files, which
causes the timeout. How many MB of media files do you have? Does perhaps the
server have a slow CPU or slow hard drive?
> I am so missing the sound files, I'd like to revert to the last beta
> where this worked (beta 7/8? - I've still got the download). I know
> I'll forgo some of the improvements but it's a case of weighing the
> benefits for me. Will the prior version still work with the current db
> structure?
I'm afraid the database structure has changed, sorry. Hopefully, there will be
a new Qt version soon which fixes this.
Is renaming the media files to get rid of the accents a suitable workaround?
Peter
They are similar, but not the same. Each of them will look if media files have
been changed on the machine involved. I.e. checking it on the server will look
at the server files, checking it on the client will look at the client files.
How many megabytes of media files do you have? Anyway, I will check on my
system if I can reproduce this.
> As for renaming the media files to make the sound work: there are too
> many. Maybe I'll load linux onto my old laptop - personally, I
> wouldn't hold my breath regarding a quick fix of the Quicktime
Yeah, I know, it's annoying, but the Qt toolkit (not Quicktime :-) ) is
outside of my control...
Peter
Right, I see how the wording could be misleading. I'll change this to 'check
for changed media on client'.
Cheers,
Peter