Skip to content

[BUG] tw_gcal_sync events when run on a second machine #152

@clobrano

Description

@clobrano

Describe the bug

I installed and configured tw_gcal_sync on a first computer to run as a systemd service with a timer. It correctly sync-ed all the tasks and it was working fine.
I then tried to move the same configuration on another machine (so both the tw_gcal_sync and the Taskwarrior data), stopped the service on the first machine and run on the second, it duplicated all the events on both google calendar and in Taskwarrior database.

To Reproduce

Configure tw_cal_sync on two computers and run the synchronization

Expected Behavior

The tasks already synchronized should not be duplicated

📸 Screenshots

If applicable, add screenshots to help explain your problem.

Versions

OS Version (cat /etc/*-release; uname -a)

Linux username 6.14.9-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 29 14:33:20 UTC 2025 x86_64 GNU/Linux

NAME="Fedora Linux"
VERSION="41 (KDE Plasma)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=41
VERSION_CODENAME=""
PLATFORM_ID="platform:f41"
PRETTY_NAME="Fedora Linux 41 (KDE Plasma)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:41"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f41/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=41
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=41
SUPPORT_END=2025-12-15
VARIANT="KDE Plasma"
VARIANT_ID=kde

Python version (python --version; python3 --version)

Python 3.13.3

--version of your executable

E.g., with tw_gcal_sync, provide the output of tw_gcal_sync --version:

tw_gcal_sync, version <module 'syncall.__version__' from '/home/clobrano/.local/lib/python3.13/site-packages/syncall/__version__.py'>

(that doesn't look right)

tasklib 2.5.1
taskw-ng 0.2.7

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions