Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backticks removed in Python 3 #121

Closed
frabcus opened this issue Oct 10, 2014 · 3 comments
Closed

Backticks removed in Python 3 #121

frabcus opened this issue Oct 10, 2014 · 3 comments

Comments

@frabcus
Copy link

frabcus commented Oct 10, 2014

I get this error running OfflineIMAP in Python 3.

Traceback (most recent call last):
  File "/usr/local/bin/offlineimap", line 20, in <module>
    from offlineimap import OfflineImap
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/__init__.py", line 19, in <module>
    from offlineimap.init import OfflineImap
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/init.py", line 21, in <module>
    import offlineimap.imaplib2 as imaplib
  File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imaplib2.py", line 380
    raise self.error('unrecognised server welcome message: %s' % `self.welcome`)
@konvpalto
Copy link
Member

@konvpalto
Copy link
Member

Though I am sure that there are more occurrences of Python3 incompatibility and if you're running OfflineIMAP 6.5.6, there is a piece of code that warns that current version isn't Python3-compatible. Though patches and bugreports about this are still welcome.

@frabcus
Copy link
Author

frabcus commented Oct 10, 2014

I now think this should be solved by using an imaplib2 from upstream.

I've filed this bug about that: #122

OOI, why does offlineimap include imaplib2 in its repository, rather than via PyPi?

I'm going to close this bug in favour of fixing upstream.

@frabcus frabcus closed this as completed Oct 10, 2014
konvpalto added a commit that referenced this issue Nov 2, 2014
Backticks are gone in Python 3.x.

GitHub issue: #121
Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
konvpalto added a commit that referenced this issue Nov 2, 2014
Backticks are gone in Python 3.x.

GitHub issue: #121
Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants