I think maybe I have a corrupted db but I'm at a loss on ideas to fix it. I'm using OmniFocus 2 with a database that migrated with me through the various betas of OmniFocus 2.
Only some of my folders are seen but many are not. I get the following trace back in terminal when trying to run ofexport without any parameters:
Traceback (most recent call last):
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/ofexport.py", line 239, in <module>
m.generate(out, root_project, root_context, project_mode, template_dir, type_config)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/plugin_text.py", line 24, in generate
format_document (subject, visitor, project_mode)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/fmt_template.py", line 166, in format_document
traverse_list (formatter, root.children, project_mode=project_mode)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 260, in traverse_list
traverse (visitor, item, ignore_marked=ignore_marked, project_mode=project_mode)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 265, in traverse
traverse_folder (visitor, item, ignore_marked=ignore_marked)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 319, in traverse_folder
traverse_list (visitor, folder.children, ignore_marked=ignore_marked)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 260, in traverse_list
traverse (visitor, item, ignore_marked=ignore_marked, project_mode=project_mode)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 270, in traverse
traverse_project (visitor, item, ignore_marked=ignore_marked, project_mode=project_mode)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 307, in traverse_project
traverse_list (visitor, project.children, ignore_marked=ignore_marked, project_mode=project_mode)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 260, in traverse_list
traverse (visitor, item, ignore_marked=ignore_marked, project_mode=project_mode)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 272, in traverse
traverse_task (visitor, item, ignore_marked=ignore_marked, project_mode=project_mode)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/treemodel.py", line 291, in traverse_task
visitor.begin_task (task)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/fmt_template.py", line 97, in begin_task
self.update_attribs(task, 'task')
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/fmt_template.py", line 147, in update_attribs
attribs = self.template.attrib_map_builder.get_values (item)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/attrib_convert.py", line 91, in get_values
value = conversion.value (x, self.type_fns)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/attrib_convert.py", line 49, in value
value = type_fns[self.type] (value)
File "/Users/manthei/Dropbox/scripts/ofexport/src/main/python/attrib_convert.py", line 63, in <lambda>
self.type_fns['date'] = lambda x: x.strftime(self.date_format)
ValueError: year=800 is before 1900; the datetime strftime() methods require year >= 1900
Any thoughts on how I can understand what is broken and fix it? I'm trying to come up with a query that can find the tasks with the offending date prior to 1900 but no joy so far.
I think maybe I have a corrupted db but I'm at a loss on ideas to fix it. I'm using OmniFocus 2 with a database that migrated with me through the various betas of OmniFocus 2.
Only some of my folders are seen but many are not. I get the following trace back in terminal when trying to run ofexport without any parameters:
Any thoughts on how I can understand what is broken and fix it? I'm trying to come up with a query that can find the tasks with the offending date prior to 1900 but no joy so far.