foobuzz / todo Goto Github PK
View Code? Open in Web Editor NEWA simple command line todo list manager which can be as powerful as you want it to be.
License: MIT License
A simple command line todo list manager which can be as powerful as you want it to be.
License: MIT License
not passing YYYY-MM-DD HH:MM:SS format as a MOMENT argument because of the space between the date part and the time part.
After I updated from version 3.1.3 to 3.2.1 I get this error on todo edit ..
:
Traceback (most recent call last):
File "/Users/blaw_blaw/Library/Python/3.7/bin/todo", line 8, in <module>
sys.exit(main())
File "/Users/blaw_blaw/Library/Python/3.7/lib/python/site-packages/todo/todo.py", line 128, in main
result = dispatch(args, daccess)
File "/Users/blaw_blaw/Library/Python/3.7/lib/python/site-packages/todo/todo.py", line 396, in dispatch
return DISPATCHER[args['command']](args, daccess)
File "/Users/blaw_blaw/Library/Python/3.7/lib/python/site-packages/todo/todo.py", line 218, in edit_task
can_edit = daccess.take_editing_lock(tid)
File "/Users/blaw_blaw/Library/Python/3.7/lib/python/site-packages/todo/data_access.py", line 653, in take_editing_lock
""", (tid,))
sqlite3.OperationalError: no such column: editing
It seems that the schema of data.sqlite is changed in the new version without updating the old database.
Is there a way to set a task as recurring? I checked the user guide and could not find anything about this.
This popped up in my github copilot ๐คฃ
It would be nice if something like this works:
$ todo add Install Squid
$ todo add Install Nginx' -c django
Traceback (most recent call last):
File "/home/juliano/.local/bin/todo", line 11, in <module>
sys.exit(main())
File "/home/juliano/.local/lib/python3.6/site-packages/todo/todo.py", line 154, in main
current_version = get_installed_version()
File "/home/juliano/.local/lib/python3.6/site-packages/todo/todo.py", line 168, in get_installed_version
with open(VERSION_PATH, 'w') as version_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/juliano/.toduh/version'
after installing via pip, pip give me this error message:
WARNING: The script todo is installed in '/home/integral/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
im fairly new to linux and im a bit confused right now if its a mistake from me or a bug i dont know. Is this the right place to ask stuff ? Do i only need to move the installation to an place where my bash looks for it ?
thanks in advance.
greetings
Installed via pip
and when typing in todo
I get the below error.
Traceback (most recent call last):
File "/usr/local/bin/todo", line 7, in <module>
from todo import main
File "/Library/Python/2.7/site-packages/todo.py", line 5, in <module>
from datetime import datetime, timezone, timedelta
ImportError: cannot import name timezone
Todo history (132x24 terminal size) if there are some details attached.
$ todo history
id title created start deadline priority context status
-- ------------------------------------ ------------------- ------------------- ------------------- -------- --------------- -------
1 Install Webmin
Some details about... 2018-08-23 22:06:08
2 Install Samba 2018-08-23 22:06:11
3 Install Squid
Or another proxy se... 2018-08-23 22:13:32 web DONE
And if there is no detail text:
$ todo history
id title created start deadline priority context status
-- ------------------------------------ ------------------- ------------------- ------------------- -------- --------------- -------
1 Install Webmin 2018-08-23 22:06:08
2 Install Samba 2018-08-23 22:06:11
3 Install Squid 2018-08-23 22:13:32 web DONE
Just don't print details on the same line as a title and everything will be OK.
Just cloned todo, installed python3, test.py got no error, but when I tried to add one todo item, it complains "no column named content".
Do you know how should I fix this? Thanks.
WangXus-MacBook-Pro:source wangxu$ ./test.py
* Unit tests
..............
----------------------------------------------------------------------
Ran 14 tests in 0.010s
OK
WangXus-MacBook-Pro:source wangxu$ ./todo.py
WangXus-MacBook-Pro:source wangxu$ ./todo.py add "fix the stuff"
Traceback (most recent call last):
File "./todo.py", line 5, in <module>
main()
File "/Users/wangxu/Documents/github/todo/source/todo/todo.py", line 128, in main
result = dispatch(args, daccess)
File "/Users/wangxu/Documents/github/todo/source/todo/todo.py", line 396, in dispatch
return DISPATCHER[args['command']](args, daccess)
File "/Users/wangxu/Documents/github/todo/source/todo/todo.py", line 173, in add_task
id_ = daccess.add_task(title, content, context, options)
File "/Users/wangxu/Documents/github/todo/source/todo/data_access.py", line 226, in add_task
c.execute(query, values)
sqlite3.OperationalError: table Task has no column named content
WangXus-MacBook-Pro:source wangxu$ ls -al .toduh
total 64
drwxr-xr-x 4 wangxu staff 128 Jul 7 12:23 .
drwxr-xr-x 10 wangxu staff 320 Jul 6 21:40 ..
-rw-r--r-- 1 wangxu staff 28672 Jul 7 12:18 data.sqlite
-rw-r--r-- 1 wangxu staff 3 Jul 7 12:18 version
WangXus-MacBook-Pro:source wangxu$
I use :x to exit vim, but the modified todo item is not reflected in the list.
I'm getting the current error when trying to use the todo
cli:
Python 2.7.11
Traceback (most recent call last):
File "/usr/local/bin/todo", line 7, in <module>
from todo import main
File "/usr/local/lib/python2.7/site-packages/todo.py", line 5, in <module>
from datetime import datetime, timezone, timedelta
ImportError: cannot import name timezone
In version 3.1.2 i get this errors if there are only two IDs:
[dramon@centos7 ~]$ todo edit
Traceback (most recent call last):
File "/usr/local/bin/todo", line 9, in <module>
load_entry_point('todocli==3.1.2', 'console_scripts', 'todo')()
File "/usr/local/lib/python3.6/site-packages/todo/todo.py", line 156, in main
result = dispatch(args, daccess)
File "/usr/local/lib/python3.6/site-packages/todo/todo.py", line 530, in dispatch
return handler(args, daccess)
File "/usr/local/lib/python3.6/site-packages/todo/todo.py", line 361, in edit_task
tid = args['<id>'][0]
IndexError: list index out of range
[dramon@centos7 ~]$ todo edit 5
Traceback (most recent call last):
File "/usr/local/bin/todo", line 9, in <module>
load_entry_point('todocli==3.1.2', 'console_scripts', 'todo')()
File "/usr/local/lib/python3.6/site-packages/todo/todo.py", line 156, in main
result = dispatch(args, daccess)
File "/usr/local/lib/python3.6/site-packages/todo/todo.py", line 530, in dispatch
return handler(args, daccess)
File "/usr/local/lib/python3.6/site-packages/todo/todo.py", line 363, in edit_task
new_content = utils.input_from_editor(task['title'], EDITOR)
TypeError: 'NoneType' object is not subscriptable
I suggest to check if ID is present and valid :)
Consider repeatedly running:
todo rmctx pizza_list --force
todo add "Pepperoni" --context pizza_list
todo add "Margarita" --context pizza_list
todo add "Veggie" --context pizza_list
todo add "Supreme" --context pizza_list
todo pizza_list
The todo item counter keeps incrementing forever.
Small note from when I tried using this: There doesn't seem to be a way to unmark a task as done.
I did a typo and marked the wrong task as done. Would be nice if todo done
toggled the status of the task, or if there was a command such as todo undone
Does the project support Python 2? Or python 3 only?
Thanks!
Does todo work on multiple machines? Can the database be shared in Dropbox?
Hi, great app.
Would you coonsider to add or change the existing way to add and delete tasks from the current one todo -a foobar
to something that feels more natural todo add foobar
? Possibly, both formats can be supported out of the box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.