Skip to content

AttributeError: NoneType object has no attribute get_parents when editing a task #1153

@jfoll31

Description

@jfoll31

While simply editing a task I got this message:

  File "/app/lib/python3.9/site-packages/GTG/gtk/editor/taskview.py", line 200, in process
    if self.detect_subtasks(text, start):
  File "/app/lib/python3.9/site-packages/GTG/gtk/editor/taskview.py", line 302, in detect_subtasks
    parents = task.get_parents()
AttributeError: 'NoneType' object has no attribute 'get_parents'

Software versions:

  • Getting Things GNOME! v0.6
  • CPython 3.9.9 (main, Nov 10 2011, 15:00:00) [GCC 11.3.0]
  • GTK 3.24.34, GLib 2.70.5
  • PyGLib 3.42.2, PyGObject 3.42.2
  • Linux-6.8.0-48-generic-x86_64-with-glibc2.33

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneedinfoWe need more info to solve the issue, or we can't fix it.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions