syncall icon indicating copy to clipboard operation
syncall copied to clipboard

[BUG] Faulty Install

Open heywinit opened this issue 8 months ago • 6 comments

Describe the bug

I wanted to setup taskwarrior <-> gcal/gtask sync. I used pipx install syncall[google,tw] to install it and then did tw_gcal_sync. Output:

$ tw_gcal_sync
2025-06-21 20:08:51.513 | ERROR    | syncall.app_utils:inform_about_app_extras:242 - 
You have to install the google,tw extras for tw_gcal_sync to work.
With pip, you can do it with something like: "pip3 install syncall[google,tw]"
Exiting.

To Reproduce

  • use pipx to install syncall[google,tw]
  • run tw_gcal_sync

Environment

I am on a arch machine running python 3.13.3 with syncall 1.8.6. The installation was successful

$ pipx install syncall[google,tw]
  installed package syncall 1.8.6, installed using Python 3.13.3
  These apps are now globally available
    - fs_gkeep_sync
    - tw_asana_sync
    - tw_caldav_sync
    - tw_gcal_sync
    - tw_gkeep_sync
    - tw_gtasks_sync
    - tw_notion_sync
done! ✨ 🌟 ✨

heywinit avatar Jun 21 '25 14:06 heywinit

Used the aur package and it said

tw_gtasks_sync 
/usr/lib/python3.13/site-packages/syncall/google/gtasks_side.py:7: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
2025-06-22 12:48:58.075 | ERROR    | syncall.app_utils:inform_about_app_extras:250 - 
You have to install the google,tw extras for tw_gtasks_sync to work.
With pip, you can do it with something like: "pip3 install syncall[google,tw]"
Exiting.

heywinit avatar Jun 22 '25 07:06 heywinit

Hi,

Did you find a solution to this please? Just hit the same starter, newbie problem.

thanks in advance


EDIT: seems related to: https://github.com/bergercookie/syncall/issues/113


EDIT: and also related to #108 :: but (a) pipx install setuptools returned: No apps associated with package setuptools or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead. (b) and then sudo apt install python3-setuptools returned python3-setuptools is already the newest version (78.1.1-0.1).

Whyglobaleyes avatar Jul 05 '25 16:07 Whyglobaleyes

@Whyglobaleyes You need to install setuptools in the Python venv containing syncall.

E.x:

pipx inject syncall setuptools

shymega avatar Jul 23 '25 23:07 shymega

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Sep 22 '25 15:09 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Sep 28 '25 15:09 github-actions[bot]

This isn't stale, we need setuptools added as a dep to the Python spec.

shymega avatar Sep 28 '25 22:09 shymega