Coder Social home page Coder Social logo

anticodeninja / michel2 Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 4.0 125 KB

Fully rewrittend and impoved script https://bitbucket.org/edgimar/michel-orgmode for Emacs Orgmode tasks synchronization with cloud based task trackers

License: Mozilla Public License 2.0

Python 100.00%
google-tasks gtd orgmode synchronization task-scheduler

michel2's People

Contributors

anticodeninja avatar y0d0gawaeuc11d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

michel2's Issues

Mail links lost

Hello @anticodeninja
The sync, pull and push work well for the basics. However, I seem to lose the linked mail if it is linked from Gmail.

It'll be great if you can keep the linked Gmail linked.

Thanks and have a great day!
Bala

Did not manage to make this work on my machine....

Not a very specific issue, but I did not get this to work at all, even after having read and fixed some code.

Things I needed to do so that it at least starts:

  • this only works with python3. Ubuntu 18.04 still ships with python2 as the default, so installing libs with pip or easy_install will make them go to the wrong place.
  • the '-h' options is lying. The commands have no dashes, and you need both an orgfile and a url parameter. From reading the code, I figured you need something like 'gtask:///' even though the profile is currently ignored. Also, you must provide a path with both, or it fails.
  • you need oauth2client as a dep as well (fails very late in the process)

After all that, I managed to get it to start, and went through the auth process, which worked. Now, I cannot sync any list, as it complains about a text without a task. I did not dig deeper here though:

$ michel sync google_tasks.org gtask://fleury/TheList
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/michel2-0.8.0-py3.6.egg/michel/tasktree.py", line 310, in parse_text
    indent_level = len(matches[0][0])
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/michel", line 11, in <module>
    load_entry_point('michel2==0.8.0', 'console_scripts', 'michel')()
  File "/usr/local/lib/python3.6/dist-packages/michel2-0.8.0-py3.6.egg/michel/__init__.py", line 157, in main
    sync_todolist(args.orgfile, args.url, args.only_todo)
  File "/usr/local/lib/python3.6/dist-packages/michel2-0.8.0-py3.6.egg/michel/__init__.py", line 81, in sync_todolist
    base_tree = TasksTree.parse_file(base_path) if os.path.exists(base_path) else None
  File "/usr/local/lib/python3.6/dist-packages/michel2-0.8.0-py3.6.egg/michel/tasktree.py", line 293, in parse_file
    return TasksTree.parse_text(file_text)
  File "/usr/local/lib/python3.6/dist-packages/michel2-0.8.0-py3.6.egg/michel/tasktree.py", line 329, in parse_text
    raise ValueError("Text without task is not permitted")
ValueError: Text without task is not permitted

Also questions for which I have no answer yet are:

  • can I sync all the task lists into a single file with sections ?
  • how to specify the default list ? (@default did not seem to work, maybe due to another problem as mentioned above)
  • I have a list with non-ascii chars (e.g. 'ร  faire') how is this represented in the 'url' ?

What I would do is to sync all to-do lists in the same file, with an additional level of structure (the power of org-mode). And also then just leave the whole url away, so the user only has to specify a token that she wants to sync with 'the Google' and let the script deal with the rest of the stuff.

Missing time and recurrence

Hello @anticodeninja,
Thank you for rewrite. Your package helps me integrate Gmail with Tasks with Orgmode! Hurrah!

I would like to make a request for 2 features:

  1. Support for time (which is a new addition to Google Tasks)
  2. Support for recurrence (which is also a new addition to Google Tasks)

Thanks for your wonderful work with this code
Bala

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.