Re: QuickSync Question
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi Daniel,
I tried this with just one account, to keep the logs clear,and turned on imap
and thread debugging. It seems that after the full sync nothing happens. I
waited several minutes, and sent myself a message to be synced but nothing
showed up on the screen or in the log. I've included an extract of the
beginning and end of the logs.
Thanks,
Hugh
This is OfflineIMAP 5.99.4
Python: 2.4.4c1 (#2, Oct 11 2006, 21:51:02)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)]
Platform: linux2
Args:
['/usr/bin/offlineimap', '-d', 'imap,thread', '-l',
'/home/hugh/qsync_debug.log']
MainThread: OfflineIMAP 5.99.4
Copyright (C) 2002 - 2007 John Goerzen <jgoerzen@xxxxxxxxxxxx>
This software comes with ABSOLUTELY NO WARRANTY; see the file
COPYING for details. This is free software, and you are welcome
to distribute it under the conditions laid out in COPYING.
MainThread: OfflineIMAP 5.99.4
MainThread: Copyright (C) 2002 - 2007 John Goerzen <jgoerzen@xxxxxxxxxxxx>
MainThread: This software comes with ABSOLUTELY NO WARRANTY; see the file
MainThread: COPYING for details. This is free software, and you are welcome
MainThread: to distribute it under the conditions laid out in COPYING.
MainThread: Now debugging for imap: IMAP protocol debugging
MainThread: Now debugging for thread: Threading debugging
MainThread: <ExitNotifyThread(Sync Runner, initial daemon)>.start(): starting
thread
Sync Runner: <ExitNotifyThread(Sync Runner, started daemon)>.__bootstrap():
thread started
Sync Runner: <threading._BoundedSemaphore object at 0xb79ce3ec>.acquire:
success, value=7
Sync Runner: <InstanceLimitedThread(Account sync hugh, initial
daemon)>.start(): starting thread
Sync Runner: <InstanceLimitedThread(Account sync hugh, started
daemon)>.join(): waiting until thread stops
Account sync hugh: <InstanceLimitedThread(Account sync hugh, started
daemon)>.__bootstrap(): thread started
Account sync hugh: ***** Processing account hugh
Account sync hugh: Copying folder structure from IMAP to MappedIMAP
Account sync hugh: <threading._BoundedSemaphore object at 0xb79d692c>.acquire:
success, value=1
Account sync hugh: Establishing connection to 127.0.0.1:10143.
Account sync hugh: DEBUG[imap]: 57:32.62 imaplib version 2.55
Account sync hugh: DEBUG[imap]: 57:32.62 new IMAP4 connection, tag=CNAF
Account sync hugh: DEBUG[imap]: 57:32.62 < * OK Dovecot ready.
Account sync hugh: DEBUG[imap]: 57:32.62 matched r'\* (?P<type>[A-Z-]+)(
(?P<data>.*))?' => ('OK', ' Dovecot ready.', 'Dovecot ready.')
Account sync hugh: DEBUG[imap]: 57:32.62 untagged_responses[OK] 0 +=
["Dovecot ready."]
Account sync hugh: DEBUG[imap]: 57:32.62 > CNAF0 CAPABILITY
Account sync hugh: DEBUG[imap]: 57:32.62 < * CAPABILITY IMAP4rev1 SASL-IR
SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE
LOGIN-REFERRALS STARTTLS AUTH=PLAIN
Account sync hugh: DEBUG[imap]: 57:32.62 matched r'\* (?P<type>[A-Z-]+)(
(?P<data>.*))?' => ('CAPABILITY', ' IMAP4rev1 SASL-IR SORT THREAD=REFERENCES
MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS
STARTTLS AUTH=PLAIN', 'IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND
UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS STARTTLS
AUTH=PLAIN')
Account sync hugh: DEBUG[imap]: 57:32.62 untagged_responses[CAPABILITY] 0 +=
["IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE
CHILDREN NAMESPACE LOGIN-REFERRALS STARTTLS AUTH=PLAIN"]
Account sync hugh: DEBUG[imap]: 57:32.62 < CNAF0 OK Capability completed.
Account sync hugh: DEBUG[imap]: 57:32.62 matched r'(?P<tag>CNAF\d+)
(?P<type>[A-Z]+) (?P<data>.*)' => ('CNAF0', 'OK', 'Capability completed.')
Account sync hugh: DEBUG[imap]: 57:32.62 CAPABILITIES:
('IMAP4REV1', 'SASL-IR', 'SORT', 'THREAD=REFERENCES', 'MULTIAPPEND',
'UNSELECT', 'LITERAL+', 'IDLE', 'CHILDREN', 'NAMESPACE', 'LOGIN-REFERRALS',
'STARTTLS', 'AUTH=PLAIN')
Account sync hugh: DEBUG[imap]: Attempting plain authentication
Account sync hugh: DEBUG[imap]: 57:32.62 > CNAF1
LOGIN "hugh@xxxxxxxxxxx" "thisisnotmypassword"
Account sync hugh: DEBUG[imap]: 57:32.63 < CNAF1 OK Logged in.
Account sync hugh: DEBUG[imap]: 57:32.63 matched r'(?P<tag>CNAF\d+)
(?P<type>[A-Z]+) (?P<data>.*)' => ('CNAF1', 'OK', 'Logged in.')
Account sync hugh: DEBUG[imap]: 57:32.63 > CNAF2 LIST "" ""
Account sync hugh: DEBUG[imap]: 57:32.63 < * LIST (\Noselect) "." ""
Account sync hugh: DEBUG[imap]: 57:32.63 matched r'\* (?P<type>[A-Z-]+)(
(?P<data>.*))?' => ('LIST', ' (\\Noselect) "." ""', '(\\Noselect) "." ""')
Account sync hugh: DEBUG[imap]: 57:32.65 untagged_responses[LIST] 0 +=
["(\Noselect) "." """]
Account sync hugh: DEBUG[imap]: 57:32.65 < CNAF2 OK List completed.
Account sync hugh: DEBUG[imap]: 57:32.65 matched r'(?P<tag>CNAF\d+)
(?P<type>[A-Z]+) (?P<data>.*)' => ('CNAF2', 'OK', 'List completed.')
Account sync hugh: DEBUG[imap]: 57:32.65 untagged_responses[LIST] =>
['(\\Noselect) "." ""']
Account sync hugh: DEBUG[imap]: imapsplit() called with input:
(\Noselect) "." ""
Account sync hugh: DEBUG[imap]: imapsplit() returning:
['(\\Noselect)', '"."', '""']
Account sync hugh: DEBUG[imap]: dequote() called with input: "."
Account sync hugh: DEBUG[imap]: dequote() returning: .
Account sync hugh: DEBUG[imap]: dequote() called with input: ""
Account sync hugh: DEBUG[imap]: dequote() returning:
Account sync hugh: DEBUG[imap]: 57:32.65 > CNAF3 LIST "" "*"
Account sync hugh: DEBUG[imap]: 57:32.67 < * LIST
(\HasNoChildren) "." "Trash"
Account sync hugh: DEBUG[imap]: 57:32.67 matched r'\* (?P<type>[A-Z-]+)(
(?P<data>.*))?' => ('LIST', '
(\\HasNoChildren) "." "Trash"', '(\\HasNoChildren) "." "Trash"')
Account sync hugh: DEBUG[imap]: 57:32.67 untagged_responses[LIST] 0 +=
["(\HasNoChildren) "." "Trash""]
Account sync hugh: DEBUG[imap]: 57:32.67 < * LIST (\HasNoChildren) "." "The
Write Stuff"
Account sync hugh: DEBUG[imap]: 57:32.67 matched r'\* (?P<type>[A-Z-]+)(
(?P<data>.*))?' => ('LIST', '
[Lots of stuff snipped - and ends with this]
Account sync hugh: <InstanceLimitedThread(Folder sync
hugh[Witness.witness@catholic-org], started daemon)>.join(): waiting until
thread stops
Folder sync hugh[Witness.witness@catholic-org]: <threading._BoundedSemaphore
object at 0xb79cef2c>.release: success, value=2
Folder sync hugh[Witness.witness@catholic-org]: <Condition(<thread.lock object
at 0xb7db8370>, 0)>.notify(): no waiters
Folder sync hugh[Witness.witness@catholic-org]: <InstanceLimitedThread(Folder
sync hugh[Witness.witness@catholic-org], started daemon)>.__bootstrap():
normal return
Folder sync hugh[Witness.witness@catholic-org]: <Condition(<thread.lock object
at 0xb3e38b70>, 1)>.notify(): notifying 1 waiter
Account sync hugh: <Condition(<thread.lock object at 0xb3e38b70>, 0)>.wait():
got it
Account sync hugh: <InstanceLimitedThread(Folder sync
hugh[Witness.witness@catholic-org], stopped daemon)>.join(): thread stopped
Account sync hugh: <threading._BoundedSemaphore object at 0xb79d6dcc>.acquire:
success, value=0
Account sync hugh: <threading._BoundedSemaphore object at 0xb79d6dcc>.release:
success, value=1
Account sync hugh: <Condition(<thread.lock object at 0xb7db8420>,
0)>.notify(): no waiters
Account sync hugh: DEBUG[imap]: 58:32.51 > BCGF735 LOGOUT
Account sync hugh: DEBUG[imap]: 58:32.51 < * BYE Logging out
Account sync hugh: DEBUG[imap]: 58:32.51 matched r'\* (?P<type>[A-Z-]+)(
(?P<data>.*))?' => ('BYE', ' Logging out', 'Logging out')
Account sync hugh: DEBUG[imap]: 58:32.51 untagged_responses[BYE] 0 +=
["Logging out"]
Account sync hugh: DEBUG[imap]: 58:32.51 BYE response: Logging out
Account sync hugh: DEBUG[imap]: 58:32.51 < BCGF735 OK Logout completed.
Account sync hugh: DEBUG[imap]: 58:32.51 matched r'(?P<tag>BCGF\d+)
(?P<type>[A-Z]+) (?P<data>.*)' => ('BCGF735', 'OK', 'Logout completed.')
Account sync hugh: <threading._BoundedSemaphore object at 0xb79d692c>.acquire:
success, value=1
Account sync hugh: <threading._BoundedSemaphore object at 0xb79d692c>.acquire:
success, value=0
Account sync hugh: <threading._BoundedSemaphore object at 0xb79d692c>.release:
success, value=1
Account sync hugh: <Condition(<thread.lock object at 0xb7db81d0>,
0)>.notify(): no waiters
Account sync hugh: <threading._BoundedSemaphore object at 0xb79d692c>.release:
success, value=2
Account sync hugh: <Condition(<thread.lock object at 0xb7db81d0>,
0)>.notify(): no waiters
Account sync hugh: DEBUG[imap]
On November 4, 2007 09:42:23 Daniel Jacobowitz wrote:
> On Sun, Nov 04, 2007 at 09:58:13AM -0400, Hugh T. Ranalli wrote:
> > The full sync works fine, but nothing is synced to the laptop inbox
in-betw=
> > een=20
> > full syncs.=20
> >
> > =46rom the annotated configuration file, it seems that new messages should
=
> > be=20
> > part of a quick sync:
> >
> > "quick synchronization only synchronizes if a Maildir folder has changed,
o=
> > r=20
> > if an IMAP folder has received new messages or had messages deleted."=20
> >
> > Am I misunderstanding or misusing this functionality?
>
> That's what is supposed to happen, but I only tested Courier. Could
> you turn on debugging and capture the output of a quick sync that did
> nothing, but should have synced a message?
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
>
>
|
|