You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the script, I receive the following error:
PS D:\import> python import-mailbox-to-gmail.py --json Credentials.json --dir D:\import\mbox
20:11:09 INFO [email protected] *** Starting import-mailbox-to-gmail 1.5 on Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] ***
20:11:09 INFO [email protected] Arguments:
20:11:09 INFO [email protected] auth_host_name: 'localhost'
20:11:09 INFO [email protected] auth_host_port: [8080, 8090]
20:11:09 INFO [email protected] dir: 'D:\\import\\mbox'
20:11:09 INFO [email protected] fix_msgid: True
20:11:09 INFO [email protected] from_message: 0
20:11:09 INFO [email protected] httplib2debuglevel: 0
20:11:09 INFO [email protected] json: 'Credentials.json'
20:11:09 INFO [email protected] log: 'import-mailbox-to-gmail-1712.log'
20:11:09 INFO [email protected] logging_level: 'INFO'
20:11:09 INFO [email protected] noauth_local_webserver: False
20:11:09 INFO [email protected] num_retries: 10
20:11:09 INFO [email protected] replace_quoted_printable: True
Traceback (most recent call last):
File "import-mailbox-to-gmail.py", line 416, in <module>
main()
File "import-mailbox-to-gmail.py", line 342, in main
for username in next(os.walk(unicode(args.dir)))[1]:
NameError: name 'unicode' is not defined
Is it possible I get the error because I try running the script with a Gmail account, not Workspace?
The text was updated successfully, but these errors were encountered:
I suspect that it's because you're using Python 3, and this script was written for Python 2.7. However, it doesn't matter, because it won't work for a @gmail.com account, only Workspace accounts. :)
When running the script, I receive the following error:
Is it possible I get the error because I try running the script with a Gmail account, not Workspace?
The text was updated successfully, but these errors were encountered: