Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"urgency_color" plugin tracebacks when you go into its preferences #267

Closed
nekohayo opened this issue Apr 3, 2020 · 0 comments
Closed
Assignees
Labels
bug low-hanging-fruit "Easy picks" suitable for new contributors to tackle plugins Plugins and extra backends priority:low reproducible-in-git Issues that affect the current dev version

Comments

@nekohayo
Copy link
Member

nekohayo commented Apr 3, 2020

If you go into the plugins, enable the "Urgency Color" plugin, then click Configure, you get this:

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 1254, in run
    self.function(*self.args, **self.kwargs)
  File "/home/jeff/gtg/GTG/backends/generic_backend.py", line 649, in launch_setting_thread
    self.set_task(task)
  File "/home/jeff/gtg/GTG/backends/backend_localfile.py", line 166, in set_task
    t_xml = taskxml.task_to_xml(self.doc, task)
  File "/home/jeff/gtg/GTG/core/taskxml.py", line 129, in task_to_xml
    cleanxml.addTextNode(doc, t_xml, "addeddate", task.get_added_date_string())
  File "/home/jeff/gtg/GTG/core/cleanxml.py", line 80, in addTextNode
    element.appendChild(doc.createTextNode(content))
  File "/usr/lib/python3.8/xml/dom/minidom.py", line 1659, in createTextNode
    raise TypeError("node contents must be a string")
TypeError: node contents must be a string

Ideally ought to be fixed for 0.4 for #222.

@nekohayo nekohayo added bug priority:low low-hanging-fruit "Easy picks" suitable for new contributors to tackle reproducible-in-git Issues that affect the current dev version labels Apr 3, 2020
@nekohayo nekohayo added this to the 0.4 "Work of love" milestone Apr 3, 2020
@nekohayo nekohayo added the plugins Plugins and extra backends label May 12, 2020
johnnybubonic pushed a commit to johnnybubonic/gtg that referenced this issue Jul 20, 2020
Hopefully this is the last problem we get from added date

fixes getting-things-gnome#267
fixes getting-things-gnome#257
fixes getting-things-gnome#256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug low-hanging-fruit "Easy picks" suitable for new contributors to tackle plugins Plugins and extra backends priority:low reproducible-in-git Issues that affect the current dev version
Projects
None yet
Development

No branches or pull requests

2 participants