Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ○ ./gmvault sync --encrypt username@gmail.com --debug
- Use gmvault-db located in /home/username/gmvault-db.
- Activate debugging information.
- Debugging logs are going to be saved in file /home/username/gmvault.log.
- Authentication performed with Gmail XOAuth token.
- no ENV variable $GMVAULT_DIR defined. Set by default $GMVAULT_DIR to $HOME/.gmvault (/home/username/.gmvault)
- Get XOAuth credential from /home/username/.gmvault/username@gmail.com.oauth.
- Successfully read oauth credentials.
- Connect to Gmail server.
- No Storage DB in /home/username/gmvault-db. Create it.
- 91231 emails to be fetched.
- Process imap id 1
- Process email num 0 (imap_id:1) from 2002-04.
- Error: file() argument 2 must be string, not int.
- === Exception traceback ===
- Traceback (most recent call last):
- File "build/bdist.linux-i686/egg/gmv/gmv_cmd.py", line 511, in run
- self._sync(args, credential)
- File "build/bdist.linux-i686/egg/gmv/gmv_cmd.py", line 464, in _sync
- db_cleaning = args['db-cleaning'], ownership_checking = args['ownership_control'], restart = args['restart'])
- File "build/bdist.linux-i686/egg/gmv/gmvault.py", line 859, in sync
- self._create_update_sync(imap_ids, compress = compress_on_disk, ownership_control = ownership_checking)
- File "build/bdist.linux-i686/egg/gmv/gmvault.py", line 670, in _create_update_sync
- gid = gstorer.bury_email(new_data[the_id], local_dir = the_dir, compress = compress)
- File "build/bdist.linux-i686/egg/gmv/gmvault.py", line 254, in bury_email
- cipher = self.get_encryption_cipher()
- File "build/bdist.linux-i686/egg/gmv/gmvault.py", line 126, in get_encryption_cipher
- self._encryption_key = credential_utils.CredentialHelper.get_secret_key('%s/%s' % (self._info_dir, self.ENCRYPTION_KEY_FILENAME))
- File "build/bdist.linux-i686/egg/gmv/credential_utils.py", line 158, in get_secret_key
- fdesc = open(a_filepath, os.O_CREAT|os.O_WRONLY, 0600)
- TypeError: file() argument 2 must be string, not int
- === End of Exception traceback ===
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement