Comments (15)
@shymega please have a look at the latest state of the master branch. it should resolve both the PyYAML installation exception and, for tw_gtasks_sync it should add a few different flags to the executable one of which is the --all
--all, --taskwarrior-all-tasks Sync all taskwarrior tasks [potentially very
slow]
Let me know if that doesn't work for you. It will make its way into an actual PyPI release in the next few weeks.
from syncall.
Hey @bergercookie - I just cloned, and I can't see any commits that add --all
. Not sure if you pushed, or if I'm being stupid.
from syncall.
Sorry, typed this too fast and haven't merged to master yet. Have a look at branch 59-virtual-tags instead :)
from syncall.
After I install with pipx install --force ".[google,tw]"
, I get the following error:
syncall on 59-virtual-tags is 📦 v0.0.0 via 🐍 v3.11.7 on ☁️ (eu-west-2) took 10s
❯ tw_gtasks_sync --help
2024-01-20 22:03:22.769 | ERROR | syncall.app_utils:inform_about_app_extras:235 -
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.
I'm on NixOS, so I have to use virtualenvs until I get around to packaging syncall
. But this did work on master
, so I suspect a regression.
from syncall.
Probably a dependency issue
What do the following lines say?
python3 -c 'from syncall import GTasksSide, TaskWarriorSide'
python3 -c 'from syncall.taskwarrior.taskwarrior_side import TaskWarriorSide'
python3 -c 'from syncall.google.gtasks_side import GTasksSide'
from syncall.
This should now be supported across all the apps in this repo that interact with Taskwarrior. Use the following flag to specify that you want all your taskwarrior tasks to be synchronized.
--all, --taskwarrior-all-tasks Sync all taskwarrior tasks (potentially very slow).
This feature should work on latest master - commit 0893f12 - and should make its way to a pypi release in the coming week(s)
@shymega let me know if this still doesn't work and I can help debug this.
from syncall.
python3 -c 'from syncall import GTasksSide, TaskWarriorSide'
python3 -c 'from syncall.taskwarrior.taskwarrior_side import TaskWarriorSide'
python3 -c 'from syncall.google.gtasks_side import GTasksSide'
Hey, sorry for the late reply.
I use pipx
to install packages, but when I activate the venv
and run your commands inside, on latest master
, this is the output:
$ python3 -c 'from syncall import GTasksSide, TaskWarriorSide'
python3 -c 'from syncall.taskwarrior.taskwarrior_side import TaskWarriorSide'
python3 -c 'from syncall.google.gtasks_side import GTasksSide'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name 'GTasksSide' from 'syncall' (/home/dzrodriguez/.local/share/pipx/venvs/syncall/lib/python3.11/site-packages/syncall/__init__.py)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/dzrodriguez/.local/share/pipx/venvs/syncall/lib/python3.11/site-packages/syncall/taskwarrior/taskwarrior_side.py", line 7, in <module>
from taskw_ng import TaskWarrior
File "/home/dzrodriguez/.local/share/pipx/venvs/syncall/lib/python3.11/site-packages/taskw_ng/__init__.py", line 1, in <module>
from taskw_ng.utils import clean_task, decode_task, encode_task, encode_task_experimental
File "/home/dzrodriguez/.local/share/pipx/venvs/syncall/lib/python3.11/site-packages/taskw_ng/utils.py", line 9, in <module>
import packaging.version
ModuleNotFoundError: No module named 'packaging'
I think you've got it right about the dep issue. Funny thing is, I've been able to install with pipx
before - it's only since the latest changes that I'm getting this error:
$ tw_gtasks_sync
2024-01-22 17:17:04.061 | ERROR | syncall.app_utils:inform_about_app_extras:228 -
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.
This is the command I use to install, inside the root Git repo of syncall
:
pipx install ".[google,tw]"
from syncall.
This should now be supported across all the apps in this repo that interact with Taskwarrior. Use the following flag to specify that you want all your taskwarrior tasks to be synchronized.
--all, --taskwarrior-all-tasks Sync all taskwarrior tasks (potentially very slow).
This feature should work on latest master - commit 0893f12 - and should make its way to a pypi release in the coming week(s)
@shymega let me know if this still doesn't work and I can help debug this.
Thank you for implementing my feature request! Appreciated. Just replied with the output for troubleshooting you requested, too.
Cheers.
from syncall.
ModuleNotFoundError: No module named 'packaging'
Yeah, that's a missing dependency. You can pip install packaging
and that should do it.
That dependency comes from the newly added taskw-ng package. I'll bump its version and it should go away
from syncall.
Thanks! I'm just having to create a new OAuth app, as the bundled client ID is blocked by Google now.
from syncall.
Thanks! I'm just having to create a new OAuth app, as the bundled client ID is blocked by Google now.
You're using the google tasks <> TW integration and it's blocked ?
That 's not expected. What does the error message say?
from syncall.
@bergercookie Yes, so when I click to authorize the application with Google Calendar, not Tasks (long story), I get the following error:
This app is blocked
This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.
I'm on mobile, so can't attach a screenshot from the browser at this time.
The client ID, I believe, is the one bundled with this repository.
The command I'm using is tw_gcal_sync -f "pending" -c "Dom's Tasks"
.
Thanks.
from syncall.
Related Issues (20)
- Go through the verification process for using the Google Tasks API HOT 1
- Feature request: Sync with Remember the Milk HOT 2
- TW <> Notion database integration
- [BUG] tw_gtasks_sync Quota Exceeded HOT 11
- "You have to install the google,tw extras for tw_gtasks_sync to work." But I have already installed it HOT 7
- "You have to install the google,tw extras for tw_gtasks_sync to work." But I have already installed it HOT 1
- [BUG] tw_gtasks_sync syncing waiting tasks from other project HOT 2
- a newly created task in taskwarrior is not synchronized HOT 1
- [BUG] Missing pkg_resources for Python >= 3.12 HOT 1
- [BUG] `twgcalsyncduration` UDA has no effect on google calendar event duration HOT 1
- [BUG] filtering on task or project for `tw_gcal_sync` seems to have no effect HOT 2
- Sync between Google Tasks and Obsidian HOT 1
- Tw<->Gcal: Ignoring tasks with a particular tag for sync HOT 2
- [BUG] Subprojects are not synced HOT 1
- [BUG] Can't finish auth process for google calendar HOT 2
- [BUG] No sync between TW status:deleted and CalDAV STATUS:CANCELLED HOT 8
- [BUG] Failed to parse UUID for task HOT 3
- [BUG] Unable to install HOT 7
- [BUG] Cannot run sync twice on TW<->CalDAV HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syncall.