revl / todotxt_import Goto Github PK
View Code? Open in Web Editor NEWConvert iCalendar or Remember The Milk tasks to a text file in todo.txt format
License: MIT License
Convert iCalendar or Remember The Milk tasks to a text file in todo.txt format
License: MIT License
thanks for this handy tool!
when i started the conversion it gave this error:
Traceback (most recent call last):
File "ics_to_todotxt.py", line 188, in <module>
sys.exit(main(sys.argv))
File "ics_to_todotxt.py", line 155, in main
todos = ICSParser(codecs.open(input_file_name,
File "ics_to_todotxt.py", line 53, in __init__
if line[0] == ' ':
IndexError: string index out of range
In my case it was due to an empty line in the description of an event or a line with just spaces in it.
Filtering out all "empty" lines before parsing should fix the problem.
Hi, I tried the ics converter, but things must have changed since you wrote it, and it gave an error. (On the other hand, the atom converter worked with no problem, thanks for sharing it.)
I downloaded the "All tasks" list with the "iCalendar" link the RTM page provides on the right-hand side.
wget "wget "https://www.rememberthemilk.com/icalendar/USER_NAME/LIST_ID/?tok=NNNN" -O all-tasks.ical"
And then, "rtm_ics_to_todotxt.py" gave the following error message:
Traceback (most recent call last):
File "./rtm_ics_to_todotxt.py", line 172, in <module>
sys.exit(main(sys.argv))
File "./rtm_ics_to_todotxt.py", line 142, in main
'r', 'utf-8')).get_root()['VTODO']
File "./rtm_ics_to_todotxt.py", line 59, in get_root
return self.__node['VCALENDAR'][0]
KeyError: 'VCALENDAR'
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.