Bug#365933: offlineimap: Dies with instance has no attribute 'getrestoreatime'

2006-05-03 Thread Brian Nelson
Package: offlineimap
Version: 4.0.12
Severity: important

It appears the restoreatime patch doesn't work for my setup.  When
trying to sync between two IMAP servers (both courier 0.47-13, the
remote one using ssl), I get:

Thread 'Folder sync Personal[INBOX]' terminated with exception:
Traceback (most recent call last):
  File /usr/lib/python2.3/site-packages/offlineimap/threadutil.py, line 153, 
in run
Thread.run(self)
  File /usr/lib/python2.3/threading.py, line 422, in run
self.__target(*self.__args, **self.__kwargs)
  File /usr/lib/python2.3/site-packages/offlineimap/accounts.py, line 172, in 
syncfolder
if localrepos.getrestoreatime():
AttributeError: MappedIMAPRepository instance has no attribute 'getrestoreatime'


Downgrading to 4.0.11 fixes the problem.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.4
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages offlineimap depends on:
ii  python2.3 2.3.5-9.1  An interactive high-level object-o

offlineimap recommends no packages.

-- no debconf information

-- 
Captain Logic is not steering this tugboat.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#365933: offlineimap: Dies with instance has no attribute 'getrestoreatime'

2006-05-03 Thread John Goerzen
On Wed, May 03, 2006 at 01:18:21PM -0700, Brian Nelson wrote:
 Package: offlineimap
 Version: 4.0.12
 Severity: important
 
 It appears the restoreatime patch doesn't work for my setup.  When
 trying to sync between two IMAP servers (both courier 0.47-13, the
 remote one using ssl), I get:

Did you enable restoreatime in your config file?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#365933: offlineimap: Dies with instance has no attribute 'getrestoreatime'

2006-05-03 Thread Brian Nelson
John Goerzen [EMAIL PROTECTED] writes:

 On Wed, May 03, 2006 at 01:18:21PM -0700, Brian Nelson wrote:
 Package: offlineimap
 Version: 4.0.12
 Severity: important
 
 It appears the restoreatime patch doesn't work for my setup.  When
 trying to sync between two IMAP servers (both courier 0.47-13, the
 remote one using ssl), I get:

 Did you enable restoreatime in your config file?

Nope.

-- 
Captain Logic is not steering this tugboat.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#365933: offlineimap: Dies with instance has no attribute 'getrestoreatime'

2006-05-03 Thread John Goerzen
On Wed, May 03, 2006 at 02:11:47PM -0700, Brian Nelson wrote:
  trying to sync between two IMAP servers (both courier 0.47-13, the
  remote one using ssl), I get:
 
  Did you enable restoreatime in your config file?
 
 Nope.

OK, I'm going to need some more information from you then.  I'm using
4.0.12 here and am not having trouble at all.

Can you send me along your config file, and also tell me at what point
do you get the error?

Are you sure you have the current OfflineIMAP installed?  (Can you try
removing and reinstalling it?)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#365933: offlineimap: Dies with instance has no attribute 'getrestoreatime'

2006-05-03 Thread Brian Nelson
John Goerzen [EMAIL PROTECTED] writes:

 On Wed, May 03, 2006 at 02:11:47PM -0700, Brian Nelson wrote:
  trying to sync between two IMAP servers (both courier 0.47-13, the
  remote one using ssl), I get:
 
  Did you enable restoreatime in your config file?
 
 Nope.

 OK, I'm going to need some more information from you then.  I'm using
 4.0.12 here and am not having trouble at all.

 Can you send me along your config file, and also tell me at what point
 do you get the error?

The error happens immediately on the first folder.  Here's the config
file:

[general]
accounts = Personal, Lists
ui = Noninteractive.Basic, Noninteractive.Quiet
maxsyncaccounts = 2

[Account Lists]
localrepository = Local
remoterepository = RemoteLists
autorefresh = 10
maxconnections = 3

[Account Personal]
localrepository = Local
remoterepository = RemotePersonal
maxconnections = 3
autorefresh = 1

[Repository Local]
type = IMAP
remotehost = localhost
ssl = no
remoteuser = nelson
remotepassfile = ~/.offlineimap.pass
holdconnectionopen = yes

[Repository RemoteLists]
type = IMAP
remotehost = mail.bignachos.net
ssl = yes
remoteuser = nelson
remotepassfile = ~/.offlineimap.pass
#preauthtunnel = ssh -q mail.bignachos.net '/usr/bin/imapd ./Maildir'
holdconnectionopen = no
folderfilter = lambda foldername: foldername not in ['INBOX', 
'INBOX.catchmedia',
 'INBOX.debian']
#nametrans = lambda foldername: re.sub('^INBOX\.', '.', foldername)

[Repository RemotePersonal]
type = IMAP
remotehost = mail.bignachos.net
ssl = yes
remoteuser = nelson
remotepassfile = ~/.offlineimap.pass
#preauthtunnel = ssh -q mail.bignachos.net '/usr/bin/imapd ./Maildir'
holdconnectionopen = no
folderfilter = lambda foldername: foldername in ['INBOX', 'INBOX.catchmedia',
 'INBOX.debian']
#nametrans = lambda foldername: re.sub('^INBOX\.', '.', foldername)

 Are you sure you have the current OfflineIMAP installed?  (Can you try
 removing and reinstalling it?)

Yeah, it was definitely 4.0.12, and the same error occurred on two
different machines after upgrading.  I'm using 4.0.11 right now though
so that I can still get my mail.  :)

-- 
Captain Logic is not steering this tugboat.


Bug#365933: offlineimap: Dies with instance has no attribute 'getrestoreatime'

2006-05-03 Thread John Goerzen
On Wed, May 03, 2006 at 02:52:16PM -0700, Brian Nelson wrote:
 The error happens immediately on the first folder.  Here's the config
 file:

Thanks.  Found the problem -- the patch wasn't friendly to using IMAP on
the local side.  I'll make a new release in the morning.

-- John


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]