gmi push raises an error "Invalid label name"
eunchan opened this issue · 6 comments
eunchan commented
After initial pull works, sync
or push
failed with below error.
Looks like it tries to creat archive label ? It is reserved label so that it may fail.
Is there any way to solve this?
push: creating label: archive..
Traceback (most recent call last):
File "/Users/eunchan/homebrew/bin/gmi", line 4, in <module>
__import__('pkg_resources').run_script('lieer==0.10', 'gmi')
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py", line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1460, in run_script
exec(script_code, namespace, namespace)
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/EGG-INFO/scripts/gmi", line 8, in <module>
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py", line 155, in main
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py", line 274, in push
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 536, in update
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 552, in __push_tags__
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 669, in __create_label__
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/http.py", line 851, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/gmail/v1/users/me%40eunchan.kim/labels?alt=json returned "Invalid label name">
resolving changes: 3%|███▏ | 18/618 [00:00<00:10, 56.49it/s]
gauteh commented
Yes, archive is probably reserved. You should get email to show up in
archived in Gmail by just removing the inbox label.
fre. 28. jun. 2019 kl. 22:34 skrev Eunchan Kim <notifications@github.com>:
… After initial pull works, sync or push failed with below error.
Looks like it tries to creat archive label ? It is reserved label so that
it may fail.
Is there any way to solve this?
push: creating label: archive..
Traceback (most recent call last):
File "/Users/eunchan/homebrew/bin/gmi", line 4, in <module>
__import__('pkg_resources').run_script('lieer==0.10', 'gmi')
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py", line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1460, in run_script
exec(script_code, namespace, namespace)
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/EGG-INFO/scripts/gmi", line 8, in <module>
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py", line 155, in main
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py", line 274, in push
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 536, in update
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 552, in __push_tags__
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 669, in __create_label__
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/_helpers.py", line 130, in positional_wrapper
return wrapped(*args, **kwargs)
File "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/http.py", line 851, in execute
raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/gmail/v1/users/me%40eunchan.kim/labels?alt=json returned "Invalid label name">
resolving changes: 3%|███▏ | 18/618 [00:00<00:10, 56.49it/s]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#109?email_source=notifications&email_token=AAAN363727E22YE5CKITQJLP4ZRUVA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4MJPJQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAN365KQEMYOIFSRYBFIQTP4ZRUVANCNFSM4H4H74VQ>
.
eunchan commented
Oh, so,, the reason of the error was that I did "+archive" on any emails?
OK. Thanks for the info. I will try not to do that
…On Fri, Jun 28, 2019 at 01:29:53PM -0700, Gaute Hope wrote:
Yes, archive is probably reserved. You should get email to show up in
archived in Gmail by just removing the inbox label.
fre. 28. jun. 2019 kl. 22:34 skrev Eunchan Kim ***@***.***>:
> After initial pull works, sync or push failed with below error.
>
> Looks like it tries to creat archive label ? It is reserved label so that
> it may fail.
> Is there any way to solve this?
>
> push: creating label: archive..
>
> Traceback (most recent call last):
>
> File "/Users/eunchan/homebrew/bin/gmi", line 4, in <module>
>
> __import__('pkg_resources').run_script('lieer==0.10', 'gmi')
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py", line 666, in run_script
>
> self.require(requires)[0].run_script(script_name, ns)
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1460, in run_script
>
> exec(script_code, namespace, namespace)
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/EGG-INFO/scripts/gmi", line 8, in <module>
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py", line 155, in main
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py", line 274, in push
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 536, in update
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 552, in __push_tags__
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 669, in __create_label__
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/_helpers.py", line 130, in positional_wrapper
>
> return wrapped(*args, **kwargs)
>
> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/http.py", line 851, in execute
>
> raise HttpError(resp, content, uri=self.uri)
>
> googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/gmail/v1/users/me%40eunchan.kim/labels?alt=json returned "Invalid label name">
>
> resolving changes: 3%|███▏ | 18/618 [00:00<00:10, 56.49it/s]
>
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#109?email_source=notifications&email_token=AAAN363727E22YE5CKITQJLP4ZRUVA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4MJPJQ>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAAN365KQEMYOIFSRYBFIQTP4ZRUVANCNFSM4H4H74VQ>
> .
>
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#109 (comment)
gauteh commented
Yes, or at least partly, since lieer should have ignored that label without
crashing. But either way you will not be able to sync it.
fre. 28. jun. 2019 kl. 23:39 skrev Eunchan Kim <notifications@github.com>:
… Oh, so,, the reason of the error was that I did "+archive" on any emails?
OK. Thanks for the info. I will try not to do that
On Fri, Jun 28, 2019 at 01:29:53PM -0700, Gaute Hope wrote:
>Yes, archive is probably reserved. You should get email to show up in
>archived in Gmail by just removing the inbox label.
>
>fre. 28. jun. 2019 kl. 22:34 skrev Eunchan Kim ***@***.***
>:
>
>> After initial pull works, sync or push failed with below error.
>>
>> Looks like it tries to creat archive label ? It is reserved label so
that
>> it may fail.
>> Is there any way to solve this?
>>
>> push: creating label: archive..
>>
>> Traceback (most recent call last):
>>
>> File "/Users/eunchan/homebrew/bin/gmi", line 4, in <module>
>>
>> __import__('pkg_resources').run_script('lieer==0.10', 'gmi')
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 666, in run_script
>>
>> self.require(requires)[0].run_script(script_name, ns)
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 1460, in run_script
>>
>> exec(script_code, namespace, namespace)
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/EGG-INFO/scripts/gmi",
line 8, in <module>
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py",
line 155, in main
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py",
line 274, in push
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 116, in func_wrap
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 536, in update
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 116, in func_wrap
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 552, in __push_tags__
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 116, in func_wrap
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 669, in __create_label__
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/_helpers.py",
line 130, in positional_wrapper
>>
>> return wrapped(*args, **kwargs)
>>
>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/http.py",
line 851, in execute
>>
>> raise HttpError(resp, content, uri=self.uri)
>>
>> googleapiclient.errors.HttpError: <HttpError 400 when requesting
https://www.googleapis.com/gmail/v1/users/me%40eunchan.kim/labels?alt=json
returned "Invalid label name">
>>
>> resolving changes: 3%|███▏ | 18/618 [00:00<00:10, 56.49it/s]
>>
>>
>> —
>> You are receiving this because you are subscribed to this thread.
>> Reply to this email directly, view it on GitHub
>> <
#109?email_source=notifications&email_token=AAAN363727E22YE5CKITQJLP4ZRUVA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4MJPJQ
>,
>> or mute the thread
>> <
https://github.com/notifications/unsubscribe-auth/AAAN365KQEMYOIFSRYBFIQTP4ZRUVANCNFSM4H4H74VQ
>
>> .
>>
>
>
>--
>You are receiving this because you authored the thread.
>Reply to this email directly or view it on GitHub:
>#109 (comment)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#109?email_source=notifications&email_token=AAAN367DFSPJBLBBEMEHA2LP4ZZHDA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3DQBQ#issuecomment-506869766>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAN365ZOPV2CJOY27QH3MLP4ZZHDANCNFSM4H4H74VQ>
.
eunchan commented
Then, does gmi have a way to get the archive ("All Mail") with notmuch?
Thanks for the help.
…On Fri, Jun 28, 2019 at 01:39:04PM -0700, Eunchan Kim wrote:
Oh, so,, the reason of the error was that I did "+archive" on any emails?
OK. Thanks for the info. I will try not to do that
On Fri, Jun 28, 2019 at 01:29:53PM -0700, Gaute Hope wrote:
>Yes, archive is probably reserved. You should get email to show up in
>archived in Gmail by just removing the inbox label.
>
>fre. 28. jun. 2019 kl. 22:34 skrev Eunchan Kim ***@***.***>:
>
>>After initial pull works, sync or push failed with below error.
>>
>>Looks like it tries to creat archive label ? It is reserved label so that
>>it may fail.
>>Is there any way to solve this?
>>
>>push: creating label: archive..
>>
>>Traceback (most recent call last):
>>
>> File "/Users/eunchan/homebrew/bin/gmi", line 4, in <module>
>>
>> __import__('pkg_resources').run_script('lieer==0.10', 'gmi')
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py", line 666, in run_script
>>
>> self.require(requires)[0].run_script(script_name, ns)
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1460, in run_script
>>
>> exec(script_code, namespace, namespace)
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/EGG-INFO/scripts/gmi", line 8, in <module>
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py", line 155, in main
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py", line 274, in push
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 536, in update
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 552, in __push_tags__
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 116, in func_wrap
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py", line 669, in __create_label__
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/_helpers.py", line 130, in positional_wrapper
>>
>> return wrapped(*args, **kwargs)
>>
>> File "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/http.py", line 851, in execute
>>
>> raise HttpError(resp, content, uri=self.uri)
>>
>>googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/gmail/v1/users/me%40eunchan.kim/labels?alt=json returned "Invalid label name">
>>
>>resolving changes: 3%|███▏ | 18/618 [00:00<00:10, 56.49it/s]
>>
>>
>>—
>>You are receiving this because you are subscribed to this thread.
>>Reply to this email directly, view it on GitHub
>><#109?email_source=notifications&email_token=AAAN363727E22YE5CKITQJLP4ZRUVA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4MJPJQ>,
>>or mute the thread
>><https://github.com/notifications/unsubscribe-auth/AAAN365KQEMYOIFSRYBFIQTP4ZRUVANCNFSM4H4H74VQ>
>>.
>>
>
>
>--
>You are receiving this because you authored the thread.
>Reply to this email directly or view it on GitHub:
>#109 (comment)
gauteh commented
What do you mean? I think the all mail/archive just corresponds to all mail
or with any tag. Notmuch search for “*”. Pressing archive in gmail is the
same as removing the inbox tag in notmuch.
fre. 28. jun. 2019 kl. 23:49 skrev Eunchan Kim <notifications@github.com>:
… Then, does gmi have a way to get the archive ("All Mail") with notmuch?
Thanks for the help.
On Fri, Jun 28, 2019 at 01:39:04PM -0700, Eunchan Kim wrote:
>Oh, so,, the reason of the error was that I did "+archive" on any emails?
>
>OK. Thanks for the info. I will try not to do that
>
>On Fri, Jun 28, 2019 at 01:29:53PM -0700, Gaute Hope wrote:
>>Yes, archive is probably reserved. You should get email to show up in
>>archived in Gmail by just removing the inbox label.
>>
>>fre. 28. jun. 2019 kl. 22:34 skrev Eunchan Kim ***@***.***
>:
>>
>>>After initial pull works, sync or push failed with below error.
>>>
>>>Looks like it tries to creat archive label ? It is reserved label so
that
>>>it may fail.
>>>Is there any way to solve this?
>>>
>>>push: creating label: archive..
>>>
>>>Traceback (most recent call last):
>>>
>>> File "/Users/eunchan/homebrew/bin/gmi", line 4, in <module>
>>>
>>> __import__('pkg_resources').run_script('lieer==0.10', 'gmi')
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 666, in run_script
>>>
>>> self.require(requires)[0].run_script(script_name, ns)
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 1460, in run_script
>>>
>>> exec(script_code, namespace, namespace)
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/EGG-INFO/scripts/gmi",
line 8, in <module>
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py",
line 155, in main
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py",
line 274, in push
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 116, in func_wrap
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 536, in update
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 116, in func_wrap
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 552, in __push_tags__
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 116, in func_wrap
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
line 669, in __create_label__
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/_helpers.py",
line 130, in positional_wrapper
>>>
>>> return wrapped(*args, **kwargs)
>>>
>>> File
"/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/http.py",
line 851, in execute
>>>
>>> raise HttpError(resp, content, uri=self.uri)
>>>
>>>googleapiclient.errors.HttpError: <HttpError 400 when requesting
https://www.googleapis.com/gmail/v1/users/me%40eunchan.kim/labels?alt=json
returned "Invalid label name">
>>>
>>>resolving changes: 3%|███▏ | 18/618 [00:00<00:10, 56.49it/s]
>>>
>>>
>>>—
>>>You are receiving this because you are subscribed to this thread.
>>>Reply to this email directly, view it on GitHub
>>><
#109?email_source=notifications&email_token=AAAN363727E22YE5CKITQJLP4ZRUVA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4MJPJQ
>,
>>>or mute the thread
>>><
https://github.com/notifications/unsubscribe-auth/AAAN365KQEMYOIFSRYBFIQTP4ZRUVANCNFSM4H4H74VQ
>
>>>.
>>>
>>
>>
>>--
>>You are receiving this because you authored the thread.
>>Reply to this email directly or view it on GitHub:
>>#109 (comment)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#109?email_source=notifications&email_token=AAAN365X7YS2CMCGXCRM4G3P4Z2MLA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3EEYA#issuecomment-506872416>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAN367GUAMGBI3R5UOW563P4Z2MLANCNFSM4H4H74VQ>
.
eunchan commented
Oh... Sorry for my ignorance. I am not familiar with notmuch also.
Thanks for the tip.
You can close the ticket.
…On Sat, Jun 29, 2019 at 12:43:14AM -0700, Gaute Hope wrote:
What do you mean? I think the all mail/archive just corresponds to all mail
or with any tag. Notmuch search for “*”. Pressing archive in gmail is the
same as removing the inbox tag in notmuch.
fre. 28. jun. 2019 kl. 23:49 skrev Eunchan Kim ***@***.***>:
> Then, does gmi have a way to get the archive ("All Mail") with notmuch?
>
> Thanks for the help.
> On Fri, Jun 28, 2019 at 01:39:04PM -0700, Eunchan Kim wrote:
> >Oh, so,, the reason of the error was that I did "+archive" on any emails?
> >
> >OK. Thanks for the info. I will try not to do that
> >
> >On Fri, Jun 28, 2019 at 01:29:53PM -0700, Gaute Hope wrote:
> >>Yes, archive is probably reserved. You should get email to show up in
> >>archived in Gmail by just removing the inbox label.
> >>
> >>fre. 28. jun. 2019 kl. 22:34 skrev Eunchan Kim ***@***.***
> >:
> >>
> >>>After initial pull works, sync or push failed with below error.
> >>>
> >>>Looks like it tries to creat archive label ? It is reserved label so
> that
> >>>it may fail.
> >>>Is there any way to solve this?
> >>>
> >>>push: creating label: archive..
> >>>
> >>>Traceback (most recent call last):
> >>>
> >>> File "/Users/eunchan/homebrew/bin/gmi", line 4, in <module>
> >>>
> >>> __import__('pkg_resources').run_script('lieer==0.10', 'gmi')
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py",
> line 666, in run_script
> >>>
> >>> self.require(requires)[0].run_script(script_name, ns)
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/pkg_resources/__init__.py",
> line 1460, in run_script
> >>>
> >>> exec(script_code, namespace, namespace)
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/EGG-INFO/scripts/gmi",
> line 8, in <module>
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py",
> line 155, in main
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/gmailieer.py",
> line 274, in push
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
> line 116, in func_wrap
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
> line 536, in update
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
> line 116, in func_wrap
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
> line 552, in __push_tags__
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
> line 116, in func_wrap
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/lieer-0.10-py3.7.egg/lieer/remote.py",
> line 669, in __create_label__
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/_helpers.py",
> line 130, in positional_wrapper
> >>>
> >>> return wrapped(*args, **kwargs)
> >>>
> >>> File
> "/Users/eunchan/homebrew/lib/python3.7/site-packages/google_api_python_client-1.7.9-py3.7.egg/googleapiclient/http.py",
> line 851, in execute
> >>>
> >>> raise HttpError(resp, content, uri=self.uri)
> >>>
> >>>googleapiclient.errors.HttpError: <HttpError 400 when requesting
> https://www.googleapis.com/gmail/v1/users/me%40eunchan.kim/labels?alt=json
> returned "Invalid label name">
> >>>
> >>>resolving changes: 3%|███▏ | 18/618 [00:00<00:10, 56.49it/s]
> >>>
> >>>
> >>>—
> >>>You are receiving this because you are subscribed to this thread.
> >>>Reply to this email directly, view it on GitHub
> >>><
> #109?email_source=notifications&email_token=AAAN363727E22YE5CKITQJLP4ZRUVA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4MJPJQ
> >,
> >>>or mute the thread
> >>><
> https://github.com/notifications/unsubscribe-auth/AAAN365KQEMYOIFSRYBFIQTP4ZRUVANCNFSM4H4H74VQ
> >
> >>>.
> >>>
> >>
> >>
> >>--
> >>You are receiving this because you authored the thread.
> >>Reply to this email directly or view it on GitHub:
> >>#109 (comment)
>
>
> —
> You are receiving this because you commented.
>
>
> Reply to this email directly, view it on GitHub
> <#109?email_source=notifications&email_token=AAAN365X7YS2CMCGXCRM4G3P4Z2MLA5CNFSM4H4H74V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY3EEYA#issuecomment-506872416>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAAN367GUAMGBI3R5UOW563P4Z2MLANCNFSM4H4H74VQ>
> .
>
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#109 (comment)