taskbutler
taskbutler copied to clipboard
Office Document can't be created - Path error
Looks like the "Create Office document"-Feature is broken:
File "/home/marvin/.local/lib/python3.5/site-packages/taskbutler/taskbutler.py", line 69, in createdropboxfile
with open('./' + templatefile, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: '././templates/briefvorlage_standardbriefe.docx'
Should be a regression since it worked at one point.. probably came with moving to $home/.taskbutler.
todo
- [ ] fix
- [ ] try to add tests
possible fixes:
- require absolute path in config.ini and remove .taskbutler/templates (would make .taskbutler/template obsolete.)
- better solution is to create absolute path inside taskbutler at
todoist_dropbox_templatefile = config.get('dropboxoffice', 'templatefile')
line: 377 + make sure the provided path in config.ini is a filename only