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

Unread articles marked as read and deleted #23

Open
francoissabot opened this issue Feb 8, 2023 · 12 comments
Open

Unread articles marked as read and deleted #23

francoissabot opened this issue Feb 8, 2023 · 12 comments

Comments

@francoissabot
Copy link

I have a "minor" issue in which some of my pocket saves are correctly transferred (I can see the log for sending is ok), but are removed during the next sync (thus an hour) after having being marked as read... while I haven't read them 😢

No errors in the logs and so on.

My RM was off or "in pause", not working, at this time

Any idea ?

@francoissabot
Copy link
Author

BTW, outside of that, I love this tool

@nov1n
Copy link
Owner

nov1n commented Feb 8, 2023

I have never experienced this myself. Could you post a link of an article for which this happened?

@francoissabot
Copy link
Author

For instance this one:
https://www.historydefined.net/ghost-ship-octavius

It is send then removed...

[2023-02-09 09:37:51] (4/4) Marking 'The ghost ship Octavius - adrift at sea for 13 years' as read on Pocket...
[2023-02-09 09:37:52] (4/4) Deleting 'The ghost ship Octavius - adrift at sea for 13 years' from Remarkable...

And I did not read it...

@nov1n
Copy link
Owner

nov1n commented Feb 14, 2023

I tried to reproduce your problem, but couldn't:

[2023-02-14 10:25:02] Starting sync...
[2023-02-14 10:25:14] Found 0 read article(s) on Remarkable.
[2023-02-14 10:25:17] Found 8 unread article(s) on Remarkable. Downloading 2 more from Pocket.
[2023-02-14 10:25:17] (1/2) Downloading: 'The ghost ship Octavius - adrift at sea for 13 years'.
[2023-02-14 10:25:23] Download successful.
[2023-02-14 10:25:23] (2/2) Downloading: 'Tech's Elite Hates Labor'.
[2023-02-14 10:25:29] Download successful.
[2023-02-14 10:25:29] Uploading 2 article(s) to Remarkable.
[2023-02-14 10:25:29] (1/2) Uploading: 'The ghost ship Octavius - adrift at sea for 13 years.epub'.
[2023-02-14 10:25:31] (2/2) Uploading: 'Tech's Elite Hates Labor.epub'.
[2023-02-14 10:25:32] Completed sync in 30s.
[2023-02-14 10:25:32] Next sync in 1h.
[2023-02-14 11:25:32] Starting sync...
[2023-02-14 11:25:46] Found 0 read article(s) on Remarkable.
[2023-02-14 11:25:46] No new articles synced. Remarkable already has 10 article(s).
[2023-02-14 11:25:46] Next sync in 1h.

Could you add -v to your docker run command for verbose logging, and share the output if it happens again? I'm not really sure what is happening here :/

@francoissabot
Copy link
Author

Here it is
`2023-02-15 07:57:17] User: ********, SyncVersion: 15
[2023-02-15 07:57:18] Starting sync...
[2023-02-15 07:57:28] Found 0 read article(s) on Remarkable.
[2023-02-15 07:57:29] Found 9 unread article(s) on Remarkable. Downloading 1 more from Pocket.
[2023-02-15 07:57:29] (1/1) Downloading: 'Exploiter et partager les données scientifiques, moteur de la recherche'.
[2023-02-15 07:57:41] Download successful.
[2023-02-15 07:57:41] Uploading 1 article(s) to Remarkable.
[2023-02-15 07:57:41] (1/1) Uploading: 'Exploiter et partager les données scientifiques, moteur de la recherche.epub'.
[2023-02-15 07:57:42] Completed sync in 24s.
[2023-02-15 07:57:42] Next sync in 1h.

[2023-02-15 08:57:42] Starting sync...
[2023-02-15 08:57:53] Found 1 read article(s) on Remarkable.
[2023-02-15 08:57:53] (1/1) Marking 'Exploiter et partager les données scientifiques, moteur de la recherche' as read on Pocket...
[2023-02-15 08:57:54] (1/1) Deleting 'Exploiter et partager les données scientifiques, moteur de la recherche' from Remarkable...
[2023-02-15 08:57:55] All Pocket articles are synced with Remarkable.
[2023-02-15 08:57:55] Next sync in 1h.

[2023-02-15 09:57:55] Starting sync...
[2023-02-15 09:58:04] Found 0 read article(s) on Remarkable.
[2023-02-15 09:58:05] All Pocket articles are synced with Remarkable.
[2023-02-15 09:58:05] Next sync in 1h.
`

And I did not read this one...

@nov1n
Copy link
Owner

nov1n commented Feb 22, 2023

Can you please add the -v flag at the end of your docker run command? That will print debug output to the logs that will be necessary to debug this issue.

@francoissabot

This comment was marked as outdated.

@nov1n
Copy link
Owner

nov1n commented Feb 22, 2023

That looks normal. I'd need the logs of when the bug occurs. If it ever happens again feel free to paste them here and I'll take a look.

@apeeters
Copy link

apeeters commented Mar 2, 2023

I just had the same issue, will try to reproduce.
FWIW: It happened after restarting the docker-compose service...

@apeeters
Copy link

apeeters commented Mar 6, 2023

Figured out the cause using debug logging. For the affected documents, the log reports Current page: 1, page count: 1. although the document was never opened (and also consists of more than 1 page). The JSON on the other hand correctly reports "CurrentPage": 0,

@nov1n
Copy link
Owner

nov1n commented Mar 10, 2023

Thanks for the investigation. Would you mind posting the debug output? I'll try to have a look when I can find some time.

@mtvan
Copy link

mtvan commented Jul 7, 2023

@nov1n hey just ran into this and I'm fresh to the install.

To reproduce:

  • install docker
  • run "touch ~/.remarkable-pocket ~/.rmapi && mkdir -p ~/.rmapi-cache && docker run -it --env TZ=Europe/Amsterdam -p 65112:65112 -v ~/.remarkable-pocket:/root/.remarkable-pocket -v ~/.rmapi:/root/.rmapi -v ~/.rmapi-cache:/root/.cache/rmapi ghcr.io/nov1n/remarkable-pocket:0.4.0"
  • finish setup and it will sync 10 articles
  • ctrl+c
  • run "touch ~/.remarkable-pocket ~/.rmapi && mkdir -p ~/.rmapi-cache && docker run -it --env TZ=Europe/Amsterdam -p 65112:65112 -v ~/.remarkable-pocket:/root/.remarkable-pocket -l 100 -v ~/.rmapi:/root/.rmapi -v ~/.rmapi-cache:/root/.cache/rmapi ghcr.io/nov1n/remarkable-pocket:0.4.0"
  • and voila "[2023-07-07 02:43:38] Found 5 read article(s) on Remarkable"

even though I didn't open a single article. I was just trying to get it to sync 100 articles

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

4 participants