liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
515 stars 78 forks source link

Missing image files #79

Open pedrorijo91 opened 9 years ago

pedrorijo91 commented 9 years ago

Using AutoFileName in sublime text 3, mac os yosemite I can't get full auto complete on images. With css/js/fonts/sass files the auto complete provides the files, but when I'm looking for an image it doesn't provides any option in the droplist.

Here's the console output:

startup, version: 3083 osx x64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text
working dir: /
packages path: /Users/pedrorijo/Library/Application Support/Sublime Text 3/Packages
state path: /Users/pedrorijo/Library/Application Support/Sublime Text 3/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.23008
first paint time: 0.300768
startup time: 0.319233
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.quick_panel
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.02-bz2
reloading plugin AutoFileName.autofilename
reloading plugin AutoFileName.getimageinfo
reloading plugin Package Control.bootstrap
reloading plugin Package Control.Package Control
plugins loaded
Package Control: Skipping automatic upgrade, last run at 2015-04-05 14:17:39, next run at 2015-04-05 15:17:39 or after
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 359, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 256, in on_query_completions
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 191, in fix_dir
  File "getimageinfo in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 55, in getImageInfo
UnboundLocalError: local variable 'w' referenced before assignment
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 359, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 256, in on_query_completions
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 191, in fix_dir
  File "getimageinfo in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 55, in getImageInfo
UnboundLocalError: local variable 'w' referenced before assignment
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 359, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 256, in on_query_completions
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 191, in fix_dir
  File "getimageinfo in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 55, in getImageInfo
UnboundLocalError: local variable 'w' referenced before assignment
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 359, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 256, in on_query_completions
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 191, in fix_dir
  File "getimageinfo in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 55, in getImageInfo
UnboundLocalError: local variable 'w' referenced before assignment
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 359, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 256, in on_query_completions
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 191, in fix_dir
  File "getimageinfo in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 55, in getImageInfo
UnboundLocalError: local variable 'w' referenced before assignment
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 359, in on_query_completions
    res = callback.on_query_completions(v, prefix, locations)
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 256, in on_query_completions
  File "autofilename in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 191, in fix_dir
  File "getimageinfo in /Users/pedrorijo/Library/Application Support/Sublime Text 3/Installed Packages/AutoFileName.sublime-package", line 55, in getImageInfo
UnboundLocalError: local variable 'w' referenced before assignment