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

Lieer added tags incorrectly, with no action from me #297

Open
jbarbero1 opened this issue Feb 1, 2025 · 1 comment
Open

Lieer added tags incorrectly, with no action from me #297

jbarbero1 opened this issue Feb 1, 2025 · 1 comment

Comments

@jbarbero1
Copy link

Hi,

I set up notmuch and lieer as per the respective documentation, then performed an initial pull:

$ gmi pull

It hung once, so I killed it and resumed with

$ gmi pull --resume

During this process, I opened the mail with notmuch-emacs, and read a message, but otherwise did not manually change any tags or do any destructive operations.

Once the pull was over, I performed a sync

$ gmi sync

At this point, lieer applied the INBOX tags to my most recent 150-200 odd messages, causing messages that my gmail filters normally skip from my inbox altogether to appear in my inbox. It also caused messages which I had deleted in Gmail to appear in my inbox all over again. This is very annoying and surprising.

Is this a bug or a known issue?

Thanks.

Below is the output of my gmi sync:

$ gmi sync
receiving metadata: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 485/485 [00:03<00:00, 161.03it/s]
resolving changes: 67%|███████████████████████████████████████████████████████████████████████████████████████████████████▏ | 325/485 [00:00<00:00, 3234.40it/s]
update: remote has changed, will not update: 194ba30ff8b95141 (add: ['INBOX'], rem: []) (41178899 > 41175335)
update: remote has changed, will not update: 194bae4ad6b7c937 (add: ['INBOX'], rem: []) (41178899 > 41175335)
update: remote has changed, will not update: 194bb39174c75d0e (add: ['INBOX'], rem: []) (41178899 > 41175335) update: remote has changed, will not update: 194bb488da52d031 (add: ['INBOX'], rem: []) (41178899 > 41175335)
update: remote has changed, will not update: 194bc4db12e86d5f (add: ['UNREAD', 'INBOX'], rem: []) (41181876 > 41175335) update: remote has changed, will not update: 194bd2205afd157a (add: ['UNREAD', 'INBOX'], rem: ['TRASH']) (41181819 > 41175335)
update: remote has changed, will not update: 194bd267168f0f09 (add: ['INBOX'], rem: []) (41181682 > 41175335)
update: remote has changed, will not update: 194bd294915cd1be (add: ['INBOX'], rem: ['TRASH']) (41181588 > 41175335)
update: remote has changed, will not update: 194bd358a168a1e4 (add: ['INBOX'], rem: ['TRASH']) (41181593 > 41175335)
update: remote has changed, will not update: 194bd3b5b00cedc2 (add: ['INBOX'], rem: ['TRASH']) (41181515 > 41175335)
update: remote has changed, will not update: 194bd3e44c7e896a (add: ['INBOX'], rem: ['TRASH']) (41181520 > 41175335)
update: remote has changed, will not update: 194bd4e3b92e5506 (add: ['UNREAD', 'INBOX'], rem: []) (41181488 > 41175335)
update: remote has changed, will not update: 194bd52e37424bc0 (add: ['INBOX'], rem: ['TRASH']) (41181343 > 41175335)
update: remote has changed, will not update: 194bd52e1dd8bb21 (add: ['INBOX'], rem: ['TRASH']) (41181431 > 41175335)
update: remote has changed, will not update: 194bd535fa4ecdb9 (add: ['INBOX'], rem: []) (41181348 > 41175335)
update: remote has changed, will not update: 194bd5857865b357 (add: ['INBOX'], rem: ['TRASH']) (41181264 > 41175335)
update: remote has changed, will not update: 194bd5a7c2c81628 (add: ['INBOX'], rem: ['TRASH']) (41181209 > 41175335)
update: remote has changed, will not update: 194bd5e32dbc722d (add: ['INBOX'], rem: ['TRASH']) (41181150 > 41175335)
update: remote has changed, will not update: 194bd5f9d5527c81 (add: ['INBOX'], rem: ['TRASH']) (41181093 > 41175335)
update: remote has changed, will not update: 194bd67425f6213f (add: ['INBOX'], rem: ['TRASH']) (41181006 > 41175335)
update: remote has changed, will not update: 194bd6e17aafbd41 (add: ['INBOX'], rem: []) (41178899 > 41175335)
update: remote has changed, will not update: 194bd75afcf83240 (add: ['INBOX'], rem: ['TRASH']) (41181011 > 41175335)
update: remote has changed, will not update: 194bd800ea7ea24b (add: ['INBOX'], rem: ['TRASH']) (41180950 > 41175335)
update: remote has changed, will not update: 194bd8ced8d4b203 (add: ['INBOX'], rem: ['TRASH']) (41180892 > 41175335)
update: remote has changed, will not update: 194bd93b865a90d5 (add: ['INBOX'], rem: ['TRASH']) (41180804 > 41175335)
update: remote has changed, will not update: 194bd957762238e7 (add: ['UNREAD', 'INBOX'], rem: []) (41182144 > 41175335)
update: remote has changed, will not update: 194bda475d5db3d2 (add: ['INBOX'], rem: ['TRASH']) (41180747 > 41175335)
update: remote has changed, will not update: 194bda7dc2e4a655 (add: ['INBOX'], rem: ['TRASH']) (41180690 > 41175335)
update: remote has changed, will not update: 194bdae8cc7e4bed (add: ['UNREAD', 'INBOX'], rem: []) (41182001 > 41175335)
resolving changes: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 485/485 [00:00<00:00, 1630.72it/s]
pushing, 0 changed: 0%| | 0/180 [00:00<?, ?it/s]reducing batch request size to: 25
pushing, 1 changed: 1%|▊ | 1/180 [00:16<49:58, 16.75s/it]reducing batch request size to: 12
pushing, 180 changed: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 180/180 [01:25<00:00, 2.12it/s]
push: not all changes could be pushed, will re-try at next push.
remote historyId: 41189256
pull: partial synchronization.. (hid: 41175335)
fetching changes: 100it [00:00, 496.96it/s]
fetching changes: 100it [00:00, 606.75it/s]
fetching changes: 100it [00:00, 640.78it/s]
fetching changes: 100it [00:00, 659.07it/s]
fetching changes: 100it [00:00, 383.37it/s]
fetching changes: 100it [00:00, 730.23it/s]
fetching changes: 100it [00:00, 678.07it/s]
fetching changes: 100it [00:00, 679.31it/s]
fetching changes: 76it [00:00, 109316.57it/s]
resolving changes: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 876/876 [00:00<00:00, 44333.29it/s]
remote: could not find remote message: 194bdf4b0f4961dc!
remote: could not find remote message: 194be2859061cb7a!
receiving content: 96%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▌ | 54/56 [00:58<00:02, 1.08s/it]
updating tags (149): 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 205/205 [00:02<00:00, 95.50it/s]
current historyId: 41189256

@hsanson
Copy link

hsanson commented Mar 4, 2025

There is a long issue about this problem:

Solutions is to set tags for new emails directly in the notmuch database:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants