-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Invalid label name ? #52
Comments
Hi, seems like you have a tag that is not allowed by GMail - have you
identified which one?
Regards, Gaute
|
Not sure how to find out exactly but I believe that it is syncing the
"todo" label:
```
~/projects/gmailieer/gmi sync ✖ ✹ ✭master
receiving metadata: 100%|████████████████████████████████████████████████████████████████████████████████████| 62/62 [00:00<00:00, 91.53it/s]
resolving changes: 98%|██████████████████████████████████████████████████████████████████████████████████▋ | 61/62 [00:00<00:00, 601.68it/s]push: creating label: todo..
TRACE HERE
```
|
Patrick Totzke writes on november 20, 2017 18:25:
Not sure how to find out exactly but I believe that it is syncing the
"todo" label:
```
~/projects/gmailieer/gmi sync ✖ ✹ ✭master
receiving metadata: 100%|████████████████████████████████████████████████████████████████████████████████████| 62/62 [00:00<00:00, 91.53it/s]
resolving changes: 98%|██████████████████████████████████████████████████████████████████████████████████▋ | 61/62 [00:00<00:00, 601.68it/s]push: creating label: todo..
TRACE HERE
```
Right, seems like `todo` is a reserved label by GMail and cannot be
created. Same for `mute` or `muted`. I've added the label to the list of
ignored tags, please try #53.
Label is not listed here: https://developers.google.com/gmail/api/guides/labels
|
That solves my problem, yes.
Unfortunately, blacklisting this tag also completely undermines the
necessity of syncing gmail and notmuch tags for me..
Anyways, syncing is nice and fast on my test account *thumbsup*
|
Patrick Totzke writes on november 20, 2017 18:38:
That solves my problem, yes.
Unfortunately, blacklisting this tag also completely undermines the
necessity of syncing gmail and notmuch tags for me..
That's too bad. I don't see a way around this at the moment, doesn't
seem to be any other API for marking a message as todo.
Anyways, syncing is nice and fast on my test account *thumbsup*
Thanks
|
Fixed in #53 |
Quoting Gaute Hope (2017-11-20 17:46:22)
Patrick Totzke writes on november 20, 2017 18:38:
> That solves my problem, yes.
> Unfortunately, blacklisting this tag also completely undermines the
> necessity of syncing gmail and notmuch tags for me..
That's too bad. I don't see a way around this at the moment, doesn't
seem to be any other API for marking a message as todo.
Not your fault of course. BTW: I did not spot the "todo" label among the
gmail blacklisted ones in their docs. But I might have overlooked it.
|
Patrick Totzke writes on november 20, 2017 18:50:
Quoting Gaute Hope (2017-11-20 17:46:22)
> Patrick Totzke writes on november 20, 2017 18:38:
> > That solves my problem, yes.
> > Unfortunately, blacklisting this tag also completely undermines the
> > necessity of syncing gmail and notmuch tags for me..
>
> That's too bad. I don't see a way around this at the moment, doesn't
> seem to be any other API for marking a message as todo.
Not your fault of course. BTW: I did not spot the "todo" label among the
gmail blacklisted ones in their docs. But I might have overlooked it.
No, it's not listed, along with a bunch of other undocumented
restrictions. See "caveats" in the README.
|
I've encountered the same issue with
|
Will Furnass writes on januar 30, 2018 20:39:
I've encountered the same issue with `Trash`:
I will add 'Trash' to ignored tags. If you use 'trash' (lowercase) it
will be translated to the TRASH label and should be applied accordingly.
|
I've encountered the same issue with tag
|
Weird, I was able to add the label in the web gui. Would you mind trying there as well? Or re-trying from gmi? |
It is weird. I am able to add the label in the web ui, and then assign tag |
I have had the same problem with the arxiv label. |
It is maybe a localized variation of archive? It can be added to the
ignored labels list in remote.py. it means it is not possible to
synchronize it.
tir. 28. jul. 2020, 16:00 skrev Arjun <[email protected]>:
… I have had the same problem with the arxiv label.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#52 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAN36YG22KF35AWEZDLJF3R53KZJANCNFSM4EER3SZQ>
.
|
I see this during
gmi sync
The text was updated successfully, but these errors were encountered: