error in todo tasks #157
tdavis6
commented 2025-02-06 11:39:17 -08:00
(Migrated from github.com)
```
CRITICAL:root:Error sending email: '<' not supported between instances of 'NoneType' and 'datetime.datetime'
CRITICAL:root:Traceback: Traceback (most recent call last):
File "/app/src/main.py", line 378, in prepare_send_email
todo_string = get_todo() or ""
^^^^^^^^^^
File "/app/src/main.py", line 323, in get_todo
todo = get_todo_tasks(
^^^^^^^^^^^^^^^
File "/app/src/get_todo_tasks.py", line 30, in get_todo_tasks
tasks_text += process_tasks(
^^^^^^^^^^^^^^
File "/app/src/get_todo_tasks.py", line 94, in process_tasks
tasks.sort(key=lambda x: (x[1], -x[2]))
TypeError: '<' not supported between instances of 'NoneType' and 'datetime.datetime'
```
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tyler/dailySummaryEmail#157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?