Giter Site home page Giter Site logo

Comments (6)

flecmart avatar flecmart commented on May 25, 2024

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.

BusterMcGeee avatar BusterMcGeee commented on May 25, 2024

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.

flecmart avatar flecmart commented on May 25, 2024

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.

BusterMcGeee avatar BusterMcGeee commented on May 25, 2024

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.

flecmart avatar flecmart commented on May 25, 2024

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.

flecmart avatar flecmart commented on May 25, 2024

closing this for now - don't hesitate to reopen if you continue to have problems

from keep2todoist.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.