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

OSError: [Errno 22] Invalid argument for iOS #75

Open
ishaand opened this issue Nov 24, 2023 · 3 comments
Open

OSError: [Errno 22] Invalid argument for iOS #75

ishaand opened this issue Nov 24, 2023 · 3 comments

Comments

@ishaand
Copy link

ishaand commented Nov 24, 2023

ran the code on Windows 11 (PowerShell 7.3.9) for unencrypted backup of iPhone.

`Extracting WhatsApp files...(156566/156566)

Processing contacts...(2289)

Traceback (most recent call last):94)

File "C:\Users\user\AppData\Local\Temp\ONEFIL~1_main_.py", line 389, in

File "C:\Users\user\AppData\Local\Temp\ONEFIL~1_main_.py", line 312, in main

File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\Whatsapp_Chat_Exporter\extract_iphone.py", line 104, in messages

File "C:\Users\user\AppData\Local\Temp\ONEFIL~1\Whatsapp_Chat_Exporter\data_model.py", line 62, in init

OSError: [Errno 22] Invalid argument`

Please help and guide. How can I help debug?

@ishaand
Copy link
Author

ishaand commented Nov 24, 2023

Some say that it could be caused by a full disk - lack of storage. I'll clear more space on the computer and try again.

@ishaand
Copy link
Author

ishaand commented Nov 24, 2023

I ran it again. I believe it is unrelated to storage.
Also, earlier, with less storage I used to get OSError: [Errno 28] No space left on device

@KnugiHK
Copy link
Owner

KnugiHK commented Nov 25, 2023

Hi. It may be related to the time passed into the datetime.fromtimestamp function. You can print out the time variable to see what's inside.

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

2 participants