PS: I checked that this is a reproducible error. On independent reruns I get the log below (identically).<br><br>Best wishes,<br>David<br><br>OfflineIMAP 6.5.1.2<br>  Licensed under the GNU GPL v2+ (v2 or any later version)<br>

*** Processing account dpk<br>Establishing connection to <a href="http://imap.gmail.com:993">imap.gmail.com:993</a><br>Establishing connection to <a href="http://imap.googlemail.com:993">imap.googlemail.com:993</a><br>Syncing PhDprogramme: Gmail -> MappedIMAP<br>

Syncing INBOX: Gmail -> MappedIMAP<br>Syncing Templates: Gmail -> MappedIMAP<br>Copy message 91772 (1 of 457) dpkreil:INBOX -> 0509kreil<br>Copy message 91774 (2 of 457) dpkreil:INBOX -> 0509kreil<br>Syncing Zattach: Gmail -> MappedIMAP<br>

Copy message 91777 (3 of 457) dpkreil:INBOX -> 0509kreil<br>Server supports UIDPLUS but got no APPENDUID appending a message.<br>ERROR: Backend could not find uid for message<br>Copy message 91779 (4 of 457) dpkreil:INBOX -> 0509kreil<br>

Thread 'Copy message from dpkreil:INBOX' terminated with exception:<br>Traceback (most recent call last):<br>  File "/usr/local/lib/python2.6/dist-packages/offlineimap/threadutil.py", line 155, in run<br>

    Thread.run(self)<br>  File "/usr/lib/python2.6/threading.py", line 484, in run<br>    self.__target(*self.__args, **self.__kwargs)<br>  File "/usr/local/lib/python2.6/dist-packages/offlineimap/folder/Base.py", line 288, in copymessageto<br>

    new_uid = dstfolder.savemessage(uid, message, flags, rtime)<br>  File "/usr/local/lib/python2.6/dist-packages/offlineimap/folder/UIDMaps.py", line 194, in savemessage<br>    raise ValueError("Backend could not find uid for message")<br>

ValueError: Backend could not find uid for message<br><br><br>Last 4 debug messages logged for Copy message from dpkreil:INBOX prior to exception:<br>thread: Register new thread 'Copy message from dpkreil:INBOX' (account 'dpk')<br>

imap: Returned object from fetching 91772: 'Delivered-To: <a href="mailto:dpkreil@gmail.com">dpkreil@gmail.com</a><br>Received: by 10.213.4.200 with SMTP id 8cs43321ebs;<br>        Tue, 13 Dec 2011 03:01:32 -0800 (PST)<br>

Received: by 10.180....nfo/bioconductor<br><br>--===============0022820545==--<br>'<br>imap: savemessage: called<br>imap: savemessage: date: "13-Dec-2011 12:00:04 +0000", content: 'Delivered-To: <a href="mailto:dpkreil@gmail.com">dpkreil@gmail.com</a><br>

Received: by 10.213.4.200 with SMTP id 8cs43321ebs;<br>        Tue, 13 Dec 2011 03:01:32 -0800 (PST)<br>Received: by 10.1.../bioconductor<br><br>--===============0022820545==--<br>'<br>ERROR: Exceptions occurred during the run!<br>

ERROR: Backend could not find uid for message<br><br><br><br><div class="gmail_quote">On 8 January 2012 19:12, Dr. D. P. Kreil (Boku) <span dir="ltr"><<a href="mailto:David.Kreil@boku.ac.at">David.Kreil@boku.ac.at</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Dear Sebastian,<br><br>Thank you so much for your fast response!<br><br><div class="gmail_quote"><div class="im">

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
This was fixed in the commit by me from yesterday:<br>
commit 3e28073f98632f35fb46e96c3f5bda21fc36cb12<br>
Date:   Thu Jan 5 14:05:51 2012 +0100<br>
    Do not create folders on readonly repositories<br>

and is contained in the just released 6.4.4.<br>
(I fixed this without having read your email though :-))<br></blockquote></div><div><br>Excellent! I just got the latest (v6.5.1.2-1-gb5a1315) and tried it and it indeed does not create the folders on the "remote" side anymore - yeah!<br>


<br>I now get some "new" error messages about UIDs not mapping though. What can I do to help debug this? I have copied the tty output of the process below. What else can I do?<br><br></div><div class="im"><blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">



<div>
> I have read comments on some forums that it might be feasible to allow a<br>
> "gmail" type Local Repository reasonably easily. Is this true? Is this a<br>
> change that I can help make?<br>
<br>
</div>Gmail is a descendent of the IMAPRepository class. Local IMAPs require<br>
the MappedIMAP class which takes care of the UID mapping between the<br>
local and the remote server. In order to get a 'Gmail' type on the local<br>
side, one would need to subclass the MappedIMAP class and add the Gmail<br>
specific stuff (I wonder if we could that that with a Gmail mixin<br>
class instead). HTH<br></blockquote></div><div><br>Ok! Will I need to read into the current way of doing things at length before I can touch anything without breaking things, or should I just start fiddling? If you think I should read up before touching anything, are there any key documents / code regions I should start with that you can recommend?<br>


If you think I am more likely to cause harm than help by poking around in the code myself, would anyone else perhaps be interested in giving this a go? I would be most enthusiastic about helping try/test/validate this at least.<br>


<br>Many thanks again for everything<br>and best wishes,<br>David</div></div><br><br>*** Processing account dpk<br>Establishing connection to <a href="http://imap.gmail.com:993" target="_blank">imap.gmail.com:993</a><br>

Establishing connection to <a href="http://imap.googlemail.com:993" target="_blank">imap.googlemail.com:993</a><br>
Syncing PhDprogramme: Gmail -> MappedIMAP<br>Syncing INBOX: Gmail -> MappedIMAP<br>Syncing Templates: Gmail -> MappedIMAP<br>Copy message 91730 (1 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91731 (2 of 473) dpkreil:INBOX -> 0509kreil<br>


Syncing Zattach: Gmail -> MappedIMAP<br>Copy message 91732 (3 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91735 (4 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91737 (5 of 473) dpkreil:INBOX -> 0509kreil<br>


Syncing Zattach/ZA05: Gmail -> MappedIMAP<br>Copy message 91739 (6 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91741 (7 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91751 (8 of 473) dpkreil:INBOX -> 0509kreil<br>


Copy message 91756 (9 of 473) dpkreil:INBOX -> 0509kreil<br>Syncing Zattach/ZA06: Gmail -> MappedIMAP<br>Copy message 91757 (10 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91758 (11 of 473) dpkreil:INBOX -> 0509kreil<br>


Copy message 91759 (12 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91762 (13 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91767 (14 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91770 (15 of 473) dpkreil:INBOX -> 0509kreil<br>


Syncing Zattach/ZA07: Gmail -> MappedIMAP<br>Copy message 91772 (16 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91774 (17 of 473) dpkreil:INBOX -> 0509kreil<br>Copy message 91777 (18 of 473) dpkreil:INBOX -> 0509kreil<br>


Server supports UIDPLUS but got no APPENDUID appending a message.<br>ERROR: Backend could not find uid for message<br>Copy message 91779 (19 of 473) dpkreil:INBOX -> 0509kreil<br>Thread 'Copy message from dpkreil:INBOX' terminated with exception:<br>


Traceback (most recent call last):<br>  File "/usr/local/lib/python2.6/dist-packages/offlineimap/threadutil.py", line 155, in run<br>    Thread.run(self)<br>  File "/usr/lib/python2.6/threading.py", line 484, in run<br>


    self.__target(*self.__args, **self.__kwargs)<br>  File "/usr/local/lib/python2.6/dist-packages/offlineimap/folder/Base.py", line 288, in copymessageto<br>    new_uid = dstfolder.savemessage(uid, message, flags, rtime)<br>


  File "/usr/local/lib/python2.6/dist-packages/offlineimap/folder/UIDMaps.py", line 194, in savemessage<br>    raise ValueError("Backend could not find uid for message")<br>ValueError: Backend could not find uid for message<br>


<br><br>Last 4 debug messages logged for Copy message from dpkreil:INBOX prior to exception:<br>thread: Register new thread 'Copy message from dpkreil:INBOX' (account 'dpk')<br>imap: Returned object from fetching 91772: 'Delivered-To: <a href="mailto:dpkreil@gmail.com" target="_blank">dpkreil@gmail.com</a><br>


Received: by 10.213.4.200 with SMTP id 8cs43321ebs;<br>        Tue, 13 Dec 2011 03:01:32 -0800 (PST)<br>Received: by 10.180....nfo/bioconductor<br><br>--===============0022820545==--<br>'<br>imap: savemessage: called<br>


imap: savemessage: date: "13-Dec-2011 12:00:04 +0000", content: 'Delivered-To: <a href="mailto:dpkreil@gmail.com" target="_blank">dpkreil@gmail.com</a><br>Received: by 10.213.4.200 with SMTP id 8cs43321ebs;<br>

        Tue, 13 Dec 2011 03:01:32 -0800 (PST)<br>
Received: by 10.1.../bioconductor<br><br>--===============0022820545==--<br>'<br>ERROR: Exceptions occurred during the run!<br>ERROR: Backend could not find uid for message<br><br><br>
</blockquote></div><br>