Skip to content

Bug: trsync_manager crashes when doing a permanent delete #85

@yvan-algoo

Description

@yvan-algoo

Hi,

When I do a "permanent delete" (introduced in Tracim 4.9.0) from the web interface, trsync_manager crashes with the following messages:

[2024-10-17T20:24:33Z INFO  trsync::remote::watcher] remote event : content.deleted.html-document (14642)
[2024-10-17T20:24:33Z INFO  trsync::run2] Proceed event Remote(Deleted(ContentId(14642)))
[2024-10-17T20:24:33Z INFO  trsync::remote::watcher] remote event : content.deleted.html-document (14642)
[2024-10-17T20:24:33Z INFO  trsync::run2] [my.tracim.fr::682] Set activity to ☁❌ ?
[2024-10-17T20:24:33Z INFO  trsync::operation::operator] Proceed event : Remote(Deleted(ContentId(14642)))
[2024-10-17T20:24:33Z INFO  trsync::run2] [my.tracim.fr::682] Set activity to En veille
[2024-10-17T20:24:33Z INFO  trsync::run2] Proceed event Remote(Deleted(ContentId(14642)))
[2024-10-17T20:24:33Z INFO  trsync::run2] [my.tracim.fr::682] Set activity to ☁❌ ?
[2024-10-17T20:24:33Z INFO  trsync::operation::operator] Proceed event : Remote(Deleted(ContentId(14642)))
[2024-10-17T20:24:33Z ERROR trsync::run2] Operate error : Operator error: Executor error: Unexpected error: Expect content 14642
[2024-10-17T20:24:33Z INFO  trsync::run2] [my.tracim.fr::682] Set activity to Erreur

To be precise, It does not really crashes (because the process stays running), but it can not sync anything until being restarted.

It does not happen when I do a "classical delete" from the web interface:

[2024-10-17T20:32:58Z INFO  trsync::remote::watcher] remote event : content.deleted.file (143299)
[2024-10-17T20:32:58Z INFO  trsync::run2] Proceed event Remote(Deleted(ContentId(143299)))
[2024-10-17T20:32:59Z INFO  trsync::run2] [my.tracim.fr::682] Set activity to ☁❌ my_file-deleted-2024-10-17T20.32.58.657309.ods
[2024-10-17T20:32:59Z INFO  trsync::operation::operator] Proceed event : Remote(Deleted(ContentId(143299)))
[2024-10-17T20:32:59Z INFO  trsync::run2] [my.tracim.fr::682] Set activity to En veille
[2024-10-17T20:33:00Z INFO  trsync::run2] Proceed event Local(DiskEventWrap("test.ods", Deleted("test.ods")))
[2024-10-17T20:33:00Z INFO  trsync::run2] [my.tracim.fr::682] Set activity to 🖴❌ test.ods
[2024-10-17T20:33:00Z INFO  trsync::operation::operator] Ignore event (planned ignore) : Local(DiskEventWrap("test.ods", Deleted("test.ods")))
[2024-10-17T20:33:00Z INFO  trsync::run2] [algoo.tracim.fr::682] Set activity to En veille

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions