Re: Issues refreshing folders



On Mon, 2007-05-14 at 15:15 +0200, Sergio Villar Senin wrote:
> Hi,
> 
> find attached a sample that refreshes all the folders of an account in
> an async way (that is, using a different thread). It uses the account
> store stuff present in the test directories, and the usual parameters,
> -o -m and -c

This should be fixed


> When I try to refresh the imap1 account I get the following
> 
> Refresing 100
> Refresing 1000
> lt-account-refresh[24193]: GLIB WARNING ** camel-imap-provider - Problem
> while receiving headers from IMAP (I didn't receive enough headers 1152
> vs 10000)
> Refresing 10000
> lt-account-refresh[24193]: GLIB WARNING ** camel-imap-provider -
> Unexpected response from IMAP server: )
> update_account_thread Unexpected response from IMAP server: )
> lt-account-refresh[24193]: GLIB WARNING ** camel-imap-provider -
> Unexpected response from IMAP server: )
> [..]
> 
> Other times I get
> 
> lt-account-refresh[25214]: GLIB WARNING ** camel-imap-provider - Problem
> with your local summary store (too few), correcting: curlen=0, r=0, seq=220
> lt-account-refresh[25214]: GLIB WARNING ** camel-imap-provider - Problem
> with your local summary store (too few), correcting: curlen=0, r=1, seq=220
> lt-account-refresh[25214]: GLIB WARNING ** camel-imap-provider - Problem
> with your local summary store (too few), correcting: curlen=0, r=2, seq=220
> [...]
> 
> And some others
> 
> lt-account-refresh[25141]: GLIB WARNING ** camel-imap-provider -
> Unexpected response from IMAP server: (FLAGS () UID 503)
> update_account_thread Unexpected response from IMAP server: (FLAGS ()
> UID 503)
> lt-account-refresh[25141]: GLIB WARNING ** camel-imap-provider -
> Unexpected response from IMAP server: GS () UID 642)
> update_account_thread Unexpected response from IMAP server: GS () UID 642)
> [...]
> 
> But, what's interesting is that if I uncomment the sleep of line number
> 91 then everything work. Seems that tinymail needs sometime to do
> something (write summary file to disk?)
> 
> Br
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]