AChesser011384 / got-your-back

Automatically exported from code.google.com/p/got-your-back
0 stars 0 forks source link

Gyb Will not back up, only 1st 100 #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
So, what am I doing wrong or what is going on here?

Getting the following messages every time I try to back up.

Using backup folder GYB-GMail-Backup-xxxxx@gmail.com
GYB needs to examine 16683 messages
GYB already has a backup of 0 messages
GYB needs to backup 16683 messages
backed up 100 of 16683 messagesTraceback (most recent call last):
  File "gyb.py", line 1011, in <module>
  File "gyb.py", line 596, in main
  File "shlex.pyo", line 279, in split
  File "shlex.pyo", line 269, in next
  File "shlex.pyo", line 96, in get_token
  File "shlex.pyo", line 172, in read_token
ValueError: No closing quotation

Any help much appreciated

Original issue reported on code.google.com by zeuscapt...@gmail.com on 29 Jun 2013 at 11:11

GoogleCodeExporter commented 9 years ago
I have the same issue. Mine gets to 500 messages, gives the same error. I 
deleted the backup that had started, and re-ran to command, same thing.. got to 
500 and errored. I was hoping it would get to more or less messages to help 
give some sort of troubleshooting help. 
gyb --email %user%@johnmarshall.edu --two-legged two-legged-key.txt
Running from Windows 7 desktop. 
As a side note, gyb worked fine 2 months ago, when I backed up a couple staff 
member email accounts, and had to do "GYB with search terms for a legal issue"

Thanks
Harold Bieber
hbieber at gmail.com

Original comment by hbie...@gmail.com on 21 Aug 2013 at 2:35

GoogleCodeExporter commented 9 years ago
Ok.. an update.. I thought maybe the issue was due to me using version 0.16 so 
I updated gyb, and configured to use the --service-account since --two-legged 
auth is gone in .20, I had no problem backing up a test account that only had 
74 messages, but when I went back to the other user with 49547 messages, it 
still fails at 500.

Thanks
Harold

Original comment by hbie...@gmail.com on 21 Aug 2013 at 3:30

GoogleCodeExporter commented 9 years ago
Having the same issue 100 messages into. 

Tested with and without --service-account on XP and MacOS (10.9) with GYB 0.20 
Alpha. Light googling points to how shlex.py mis-handles trailing spaces/line 
endings. Also tried w/o --search smaller:16M as I'm trying to migrate to group. 
No joy.

Using backup folder GYB-GMail-Backup-xxxxxxxxx@soundpublishing.com
GYB needs to examine 22450 messages
GYB already has a backup of 100 messages
GYB needs to backup 22350 messages
Traceback (most recent call last):
  File "gyb.py", line 1011, in <module>
    main(sys.argv[1:])
  File "gyb.py", line 596, in main
    labels = shlex.split(search_results.group(1))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 279, in split
    return list(lex)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 269, in next
    token = self.get_token()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 96, in get_token
    raw = self.read_token()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 172, in read_token
    raise ValueError, "No closing quotation"
ValueError: No closing quotation

Original comment by john.gli...@gmail.com on 19 Nov 2013 at 2:23

GoogleCodeExporter commented 9 years ago
See my comment on Issue #31

"I had this issue as well (Debian Wheezy) but it's an easy fix, in gyb.py there 
are 2 lines where the label names are split like this:

labels = shlex.split(search_results.group(1))

If you change to

labels = shlex.split(search_results.group(1), posix=False)

It works OK with single quotes at least. Maybe this should be updated in 
source? "

Original comment by pon...@pontusw.com on 11 Mar 2014 at 8:44

GoogleCodeExporter commented 9 years ago
I'm trying to get my Account back
frankup68@gmail.com
my password is frankcolon68
its telling me that the account
belongs to someone else
that's my account. only you could help me please

Original comment by francisc...@gmail.com on 27 Jun 2014 at 5:13