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
imapserver.acquireconnection(): <class 'TypeError'> - cannot use a bytes pattern on a string-like object #472
Comments
|
Quite possible. We don't support Py3. |
|
Oh... Ok I uninstalled imaplib2 and now the error is this: $ offlineimap Traceback: |
|
Ok, thanks for the report. Notice you're still running offlineimap with python3. |
|
You might like to remove this version of offlineimap since this was installed using pip for python 3. |
|
I'm now running it with py2 and works great, but I'm on a py3 project and would need to run offlineimap with the same python version. |
|
This would require to support py3 in the first place. So, this is currently not possible. I'm not sure this day will come for offlineimap. We tried to support py3 but we stopped. That's why I introduced imapfw but it's still in a very early development stage. |
|
Was there some progress regarding py3 support? Py2 will be unsupported in less than 1 month. As imapfw never really took off having py3 support in OfflineImap would be really needed. |
|
No, there was no progress regarding py3 support. I'll make the announce about this before the end of the year. The short story is:
|
Hello @ff2000 and @rizzopablo More exciting benefits include: your organization's/company's logo and social media page mentioned in the official OfflineIMAP social media, and in the software's official release notes! |
|
Hi, IMO, this issue should be closed and merged with #670 Cheers, |
I'm getting this error using Python3 from Archlinux, what could it be?
Logs, error
pip install offlineimap
Collecting offlineimap
Downloading offlineimap-7.1.0.tar.gz (219kB)
100% |████████████████████████████████| 225kB 540kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-_8nc_1ks/offlineimap/setup.py", line 26, in
import offlineimap
File "/tmp/pip-build-_8nc_1ks/offlineimap/offlineimap/init.py", line 20, in
from offlineimap.init import OfflineImap
File "/tmp/pip-build-_8nc_1ks/offlineimap/offlineimap/init.py", line 29, in
import offlineimap.virtual_imaplib2 as imaplib
File "/tmp/pip-build-_8nc_1ks/offlineimap/offlineimap/virtual_imaplib2.py", line 36, in
if (int(imaplib.release) < _SUPPORTED_RELEASE or
AttributeError: module 'imaplib2' has no attribute 'release'
The text was updated successfully, but these errors were encountered: