Advertisement
Guest User

Untitled

a guest
May 18th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. ○ ./gmvault sync --encrypt username@gmail.com --debug
  2.  
  3. Use gmvault-db located in /home/username/gmvault-db.
  4.  
  5. Activate debugging information.
  6. Debugging logs are going to be saved in file /home/username/gmvault.log.
  7.  
  8. Authentication performed with Gmail XOAuth token.
  9.  
  10. no ENV variable $GMVAULT_DIR defined. Set by default $GMVAULT_DIR to $HOME/.gmvault (/home/username/.gmvault)
  11. Get XOAuth credential from /home/username/.gmvault/username@gmail.com.oauth.
  12.  
  13. Successfully read oauth credentials.
  14.  
  15. Connect to Gmail server.
  16. No Storage DB in /home/username/gmvault-db. Create it.
  17.  
  18. 91231 emails to be fetched.
  19.  
  20. Process imap id 1
  21. Process email num 0 (imap_id:1) from 2002-04.
  22. Error: file() argument 2 must be string, not int.
  23.  
  24. === Exception traceback ===
  25. Traceback (most recent call last):
  26. File "build/bdist.linux-i686/egg/gmv/gmv_cmd.py", line 511, in run
  27. self._sync(args, credential)
  28. File "build/bdist.linux-i686/egg/gmv/gmv_cmd.py", line 464, in _sync
  29. db_cleaning = args['db-cleaning'], ownership_checking = args['ownership_control'], restart = args['restart'])
  30. File "build/bdist.linux-i686/egg/gmv/gmvault.py", line 859, in sync
  31. self._create_update_sync(imap_ids, compress = compress_on_disk, ownership_control = ownership_checking)
  32. File "build/bdist.linux-i686/egg/gmv/gmvault.py", line 670, in _create_update_sync
  33. gid = gstorer.bury_email(new_data[the_id], local_dir = the_dir, compress = compress)
  34. File "build/bdist.linux-i686/egg/gmv/gmvault.py", line 254, in bury_email
  35. cipher = self.get_encryption_cipher()
  36. File "build/bdist.linux-i686/egg/gmv/gmvault.py", line 126, in get_encryption_cipher
  37. self._encryption_key = credential_utils.CredentialHelper.get_secret_key('%s/%s' % (self._info_dir, self.ENCRYPTION_KEY_FILENAME))
  38. File "build/bdist.linux-i686/egg/gmv/credential_utils.py", line 158, in get_secret_key
  39. fdesc = open(a_filepath, os.O_CREAT|os.O_WRONLY, 0600)
  40. TypeError: file() argument 2 must be string, not int
  41.  
  42. === End of Exception traceback ===
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement