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

Error running the script. #7

Open
qiqetes opened this issue Nov 23, 2023 · 2 comments
Open

Error running the script. #7

qiqetes opened this issue Nov 23, 2023 · 2 comments
Assignees

Comments

@qiqetes
Copy link

qiqetes commented Nov 23, 2023

Traceback (most recent call last):
  File "/opt/homebrew/bin/mbox-to-json", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/src/main.py", line 88, in main
    df.to_json(args.output, orient="records", index="false")
  File "/opt/homebrew/lib/python3.11/site-packages/pandas/core/generic.py", line 2621, in to_json
    return json.to_json(
           ^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/pandas/io/json/_json.py", line 120, in to_json
    ).write()
      ^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/pandas/io/json/_json.py", line 172, in write
    return dumps(
           ^^^^^^
OverflowError: Maximum recursion level reached

I suppose you wrote this for a concrete use case, but in case you want to improve here is the error I'm receiving

@PS1607
Copy link
Owner

PS1607 commented Nov 24, 2023

Hi @qiqetes could you share the steps and resources to recreate this error?

@BenLyddane
Copy link

OverflowError: Maximum recursion level reached

Same error here.

I ran my file: /home/ben/.local/bin/mbox-to-json "file path"

CSV worked, but I'm having a hard time even opening the csv file ha. 6.5gb mbox.

@PS1607 PS1607 self-assigned this Aug 29, 2024
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

3 participants