Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmi push raises an error "Invalid label name" #109

Closed
eunchan opened this issue Jun 28, 2019 · 6 comments

Comments

@eunchan
Copy link

commented Jun 28, 2019

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

This comment has been minimized.

Copy link
Owner

commented Jun 28, 2019

@eunchan

This comment has been minimized.

Copy link
Author

commented Jun 28, 2019

@gauteh

This comment has been minimized.

Copy link
Owner

commented Jun 28, 2019

@eunchan

This comment has been minimized.

Copy link
Author

commented Jun 28, 2019

@gauteh

This comment has been minimized.

Copy link
Owner

commented Jun 29, 2019

@eunchan

This comment has been minimized.

Copy link
Author

commented Jun 30, 2019

@gauteh gauteh closed this in ad431ee Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.