Skip to content

Instantly share code, notes, and snippets.

@yeled
Created May 23, 2017 18:15
Show Gist options
  • Save yeled/abc1b98e69c39b871d5f66744bded704 to your computer and use it in GitHub Desktop.
Save yeled/abc1b98e69c39b871d5f66744bded704 to your computer and use it in GitHub Desktop.
gmi broken
(venv) 19:12 YELP-CHARLIE~/Maildir/[email protected][[email protected]] % PYTHONPATH=~/src/notmuch/bindings/python/ ~/src/gmailieer/gmi sync
receiving metadata: 0%|▏ | 1/283 [00:01<08:57, 1.91s/it]remote: could not find remote message: 15c1a7da7a8b9360!
receiving metadata: 100%|███████████████████████████████████████████▊| 282/283 [00:02<00:00, 99.54it/s]
resolving changes: 0%| | 0/283 [00:00<?, ?it/s]Traceback (most recent call last):
File "/Users/charlie/src/gmailieer/gmi", line 8, in <module>
g.main ()
File "/Users/charlie/src/gmailieer/lieer/gmailieer.py", line 136, in main
args.func (args)
File "/Users/charlie/src/gmailieer/lieer/gmailieer.py", line 186, in sync
self.push (args, True)
File "/Users/charlie/src/gmailieer/lieer/gmailieer.py", line 238, in push
actions.append (self.remote.update (rm, nm, self.local.state.last_historyId, self.force))
File "/Users/charlie/src/gmailieer/lieer/remote.py", line 89, in func_wrap
return func (self, *args, **kwargs)
File "/Users/charlie/src/gmailieer/lieer/remote.py", line 363, in update
assert found == True, "remote: update: gid does not match any file name of message"
AssertionError: remote: update: gid does not match any file name of message
resolving changes: 16%|███████▏ | 45/283 [00:00<00:00, 775.98it/s]
(venv) 19:13 YELP-CHARLIE~/Maildir/[email protected][[email protected]] % PYTHONPATH=~/src/notmuch/bindings/python/ ~/src/gmailieer/gmi pull
pull: partial synchronization.. (hid: 17313386)
fetching changes: 2it [00:00, 43690.67it/s]
resolving changes: 100%|██████████████████████████████████████████████| 2/2 [00:00<00:00, 32140.26it/s]
receiving content: 100%|█████████████████████████████████████████████████| 1/1 [00:00<00:00, 2.82it/s]
current historyId: 17313444
(venv) 19:13 YELP-CHARLIE~/Maildir/[email protected][[email protected]] % PYTHONPATH=~/src/notmuch/bindings/python/ ~/src/gmailieer/gmi pull -f
pull: full synchronization (forced)
fetching messages: 33700it [00:29, 850.15it/s] Traceback (most recent call last):
File "/Users/charlie/src/gmailieer/gmi", line 8, in <module>
g.main ()
File "/Users/charlie/src/gmailieer/lieer/gmailieer.py", line 136, in main
args.func (args)
File "/Users/charlie/src/gmailieer/lieer/gmailieer.py", line 303, in pull
self.full_pull ()
File "/Users/charlie/src/gmailieer/lieer/gmailieer.py", line 491, in full_pull
for mset in self.remote.all_messages ():
File "/Users/charlie/src/gmailieer/lieer/remote.py", line 179, in all_messages
yield (results['resultSizeEstimate'], results['messages'])
KeyError: 'messages'
(venv) 19:13 YELP-CHARLIE~/Maildir/[email protected][[email protected]] % PYTHONPATH=~/src/notmuch/bindings/python/ ~/src/gmailieer/gmi push
receiving metadata: 0%|▏ | 1/284 [00:02<10:11, 2.16s/it]remote: could not find remote message: 15c1a7da7a8b9360!
receiving metadata: 100%|███████████████████████████████████████████▊| 283/284 [00:03<00:00, 91.31it/s]
resolving changes: 0%| | 0/284 [00:00<?, ?it/s]Traceback (most recent call last):
File "/Users/charlie/src/gmailieer/gmi", line 8, in <module>
g.main ()
File "/Users/charlie/src/gmailieer/lieer/gmailieer.py", line 136, in main
args.func (args)
File "/Users/charlie/src/gmailieer/lieer/gmailieer.py", line 238, in push
actions.append (self.remote.update (rm, nm, self.local.state.last_historyId, self.force))
File "/Users/charlie/src/gmailieer/lieer/remote.py", line 89, in func_wrap
return func (self, *args, **kwargs)
File "/Users/charlie/src/gmailieer/lieer/remote.py", line 363, in update
assert found == True, "remote: update: gid does not match any file name of message"
AssertionError: remote: update: gid does not match any file name of message
resolving changes: 16%|███████▎ | 46/284 [00:00<00:00, 899.12it/s]
(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment