Comments (6)
Hey there,
The error is, that the config.schema.yaml
is not found in the working directory. I suspect your call to the virtual environment causes the app to use the wrong woring directory.
Instead of python c:\pyapps\k2tl\app\app.py
can you try
cd c:\pyapps\k2tl\app
python app.py
The easiest and most reliable way to start this as a service on any environment is using docker I think. For personal use you can install and use Docker Desktop for Windows for free and then use the command line to start the app with docker-compose (command is in the README). You don't need to understand everything about containers to be able to use this - so don't be afraid to try it :-)
from keep2todoist.
Thank you, that did it! I can manually start the script in a virtual environment and I've got the service running, but it's not outputting anything. I'll take your advice and try Docker.
Thanks for your time
from keep2todoist.
You're welcome! What do you mean by it's not outputting anything? Nothing on the console? And the sync does not work?
from keep2todoist.
I mentioned it not "outputting anything" in the context of having set up output and error logs with the service which the service wasn't updating. I've realized that for some reason as a service it makes enough Google authorization requests that it exceeds my per-minute limit (or it's possible I had another instance of keep2todoist running at the time...) and I keep getting signed out of my Google accounts. For one bright shining moment the service was working as expected, though! I might try increasing the update interval and see if I can get it working.
First though, Docker- Thanks, I've been trying to make it work- I've installed it and I've successfully imported your script into a container, I'm now just sorting through a few issues with the software requirements like turning on Windows 10 virtualization. Windows does NOT like it when I turn virtualization on in my BIOS... Ahh, the joys of DIY!
Thanks again for your time and attention.
from keep2todoist.
Hey again,
Being logged out of your google account indeed is a hint that the service is running parallel somewhere else or that the update interval maybe is too small. I got problems in the beginning of this development that I was logged out my Google account every other day and it was because google created a new device for every call to the keep api. I fixed those problems though by passing a fixed ID, so that google associates every call from this app with the same (virtual) device. This should not be a problem anymore.
What is your configured update interval? I suppose google has implemented some kind of rate limiting.
from keep2todoist.
closing this for now - don't hesitate to reopen if you continue to have problems
from keep2todoist.
Related Issues (14)
- Thanks HOT 1
- Help with YAML Formatting? HOT 6
- Feature Request: Add Labels HOT 9
- License HOT 1
- [Todo] Unit Tests for configManager
- Adding more automation features HOT 2
- Adding Keep tasks NOT in lists to Todoist? HOT 9
- Suddenly, Errors! HOT 3
- BadAuthentication HOT 6
- gkeepapi.exception.LoginException: ('BadAuthentication', None) HOT 4
- Keep notes not deleting. HOT 14
- gkeepapi error HOT 5
- Google Authentication issues HOT 10
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 keep2todoist.