aziz / PlainTasks

An opinionated todo-list plugin for Sublime Text editor (version 2 and 3)
MIT License
3.29k stars 287 forks source link

Open Link/File (Alt+O) does not work and throw errors #436

Open unifreak opened 1 year ago

unifreak commented 1 year ago

I'm on Ubuntu 22.10 and using Sublime Text 4143. Alt-O is triggering switch_file command, so I have to manually run plaintask's command via command palate, but this has no effect and trigger errors inside the console. Here is the trackback:

Traceback (most recent call last):
  File "/opt/sublime_text/Lib/python33/sublime_plugin.py", line 1494, in run_
    return self.run(edit)
  File "/home/me/.config/sublime-text/Packages/PlainTasks/PlainTasks.py", line 722, in run
    fn, sym, line, col, text = self.parse_link(line)
  File "/home/me/.config/sublime-text/Packages/PlainTasks/PlainTasks.py", line 799, in parse_link
    return fn, sym, line or 0, col or 0, text
UnboundLocalError: local variable 'fn' referenced before assignment