GithubHelp home page GithubHelp logo

Comments (4)

siliconpi avatar siliconpi commented on May 29, 2024

Some weird things are happening!!

I left the terminal alone and I come back after a while to see this:
...
Processing emails: 1%|▏ | 1581/126232 [04:34<5:40:16, 6.11it/s]

Okay, but the Google Group is completely empty! Where is the program placing the emails? They are not in my gmail.com either!

from mail2googlegroup.

siliconpi avatar siliconpi commented on May 29, 2024

Sigh... its just dumping gigabytes of errors into errors.mbox and not actually processing anything.

No helpful error message anywhere. Just raw data of the email being saved there for some reason.

from mail2googlegroup.

jayhendren avatar jayhendren commented on May 29, 2024

I'm seeing this same issue. errors.mbox contains every message in my mbox file and no errors, but my Google Group is empty. @siliconpi did your messages ever get uploaded to your Google Group? How did you fix/work around this issue?

from mail2googlegroup.

jayhendren avatar jayhendren commented on May 29, 2024

Looks like the error message is thrown away when logging to the errors file - msg_string is the e-mail message and error is the caught exception:

def handle_error(self, error, uid, msg_string):
self.error_mbox.add(msg_string)

I edited this file (i.e. ~/.local/lib/python3.10/site-packages/mail2gg/__init__.py) to log the exception and discovered that the issue in my case was a 401 Unauthorized error:

googleapiclient.errors.HttpError: <HttpError 401 when requesting https://groupsmigration.googleapis.com/upload/groups/v1/groups/redacted%40redacted.com/archive?alt=json&uploadType=media returned "Authorization Failed". Details: "[{'message': 'Authorization Failed', 'domain': 'global', 'reason': 'authError', 'location': 'Authorization', 'locationType': 'header'}]">

from mail2googlegroup.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.