PlainTasks icon indicating copy to clipboard operation
PlainTasks copied to clipboard

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

Open unifreak opened this issue 2 years ago • 0 comments

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

unifreak avatar Feb 14 '23 23:02 unifreak