On 2/16/2023 2:00 PM, joe a wrote:
What I have so far is a version of offlineimap (for phython2.x) that yields:
twister:~ # offlineimap Traceback (most recent call last): File "/usr/bin/offlineimap", line 19, in <module> from offlineimap import OfflineImap File "/usr/lib/python3.6/site-packages/offlineimap/__init__.py", line 20, in <module> from offlineimap.init import OfflineImap File "/usr/lib/python3.6/site-packages/offlineimap/init.py", line 30, in <module> import imaplib2 as imaplib ModuleNotFoundError: No module named 'imaplib2'
Earlier attempts to find that package and install yielded:
twister:~ # zypper se imaplib2 Loading repository data... Reading installed packages...
S | Name | Summary | Type --+------------------+------------------------------+----------- | python-imaplib2 | Threaded Python IMAP4 client | srcpackage | python3-imaplib2 | Threaded Python IMAP4 client | package
yet:
twister:~ # zypper in imaplib2 Loading repository data... Reading installed packages... 'imaplib2' not found in package names. Trying capabilities. No provider of 'imaplib2' found. Resolving package dependencies... Nothing to do.
I notice it has type srcpackage. From what I gather from zypper docs is that I need to "stuff" so I can install it. So far, I'm only getting more frustrated as I attempt to muddle through this.
So, being adventurous, our hero decides to forge ahead into the unknown and dares to say "zypper in python3-imaplib2" and is spellbound to watch an installation proceeding to a successful conclusion. Timidly, he types "offlineimap" and watches as, without error or further rancor, mail movement operates as one might hope. That is, successfully. Tune in again, some random time in the future, for the further adventures of . . . "the phantabulous hacker".