-
Notifications
You must be signed in to change notification settings - Fork 7
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
mbox2gg: cannot import name 'Q' from 'imap_tools' #3
Comments
I'm running into exactly the same issue - I've tried with Python 3.8 on Ubuntu Linux 20.04 and Python 3.9 on macOS Big Sur. On Ubuntu:
On macOS:
|
Sorry for the delay, I was out @markusicu and @JeffHochberg. As a quick workaround, In I'm going to enforce it in the requirements as a workaround until the code uses the new imap_tools APIs. |
Related with #3, new versions of `imap_tools` deprecates the `query.Q` API
New version has been uploaded to pypi, so just Could you please confirm that works as expected? @markusicu @JeffHochberg |
Hi @XaviTorello - yes I was able to upgrade mail2gg and execute mbox2gg which is what I was looking for! I'm running into Google Groups API errors now, so I need to troubleshoot that, but I wanted to let you know that the changes you made fixed the original problem. Thanks! |
I posted a follow-up question to see if there was any additional logging that could be enabled as I was seeing a stream of 401 errors coming back from the Google Groups Migration API. It turns out that the API cannot be used to import content into an @googlegroups.com group. They only support Google Workspace (a.k.a. G Suite for Business). I tried creating a Google Workspace Group and that worked as expected! |
Great @JeffHochberg, ty for confirming it 👌 |
@XaviTorello it's up to you obviously, but I think you can close this bug as resolved...unless you're waiting for @markusicu |
I tried mbox2gg and it quickly failed with this:
The text was updated successfully, but these errors were encountered: