xsleonard/sublime-MarkdownImages

Traceback

Opened this issue · 0 comments

Markdown Images worked for me for some time, but stopped working a couple of days ago in all of my markdown files that previously rendered the images perfectly.

All I get now is a traceback:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\Lib\python33\sublime_plugin.py", line 859, in on_load
    run_view_callbacks('on_load', view_id)
  File "C:\Program Files\Sublime Text 3\Lib\python33\sublime_plugin.py", line 708, in run_view_callbacks
    callback(v, *args)
  File "C:\Program Files\Sublime Text 3\Lib\python33\sublime_plugin.py", line 152, in profiler
    return event_handler(*args)
  File "C:\Users\uwe\AppData\Roaming\Sublime Text 3\Installed Packages\Markdown Images.sublime-package\md_image.py", line 35, in on_load
    if not self._should_run_for_extension(settings, view):
  File "C:\Users\uwe\AppData\Roaming\Sublime Text 3\Installed Packages\Markdown Images.sublime-package\md_image.py", line 61, in _should_run_for_extension
    _, ext = os.path.splitext(fn)
  File "./python3.3/ntpath.py", line 241, in splitext
  File "./python3.3/genericpath.py", line 92, in _splitext
AttributeError: 'NoneType' object has no attribute 'rfind'

This happens on Windows 10 with Sublime Text 4113. The issue is reproducible on the files in the qa-test-cases folder.