aziz / BetterFindBuffer

Adds a couple of missing features to SublimeText 3 Find Results buffer
MIT License
107 stars 31 forks source link

Can not find "Find Results.hidden-tmLanguage" if installed via Package Control #5

Closed FichteFoll closed 10 years ago

FichteFoll commented 10 years ago
reloading plugin BetterFindBuffer.find_results
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3 Portable Beta\sublime_plugin.py", line 115, in reload_plugin
    m.plugin_loaded()
  File "find_results in C:\Program Files\Sublime Text 3 Portable Beta\Data\Installed Packages\BetterFindBuffer.sublime-package", line 86, in plugin_loaded
  File "./shutil.py", line 227, in copy
  File "./shutil.py", line 109, in copyfile
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files\\Sublime Text 3 Portable Beta\\Data\\Packages\\BetterFindBuffer\\Find Results.hidden-tmLanguage'
generating meta info summary

Package Control downloads packages as sublime-package archives, as you probably know. Thus you need to use sublime.binary_resource() and then write that into the target destination.

Btw, why would I need to restart ST in order to complete installation? I can't find any critical code.

bordaigorl commented 10 years ago

This problem affects the Linux version as well

c10l commented 10 years ago

OS X user here, same issue.

rahul-ramadas commented 10 years ago

Same here:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Programs\\Sublime\\Data\\Packages\\BetterFindBuffer\\Find Results.hidden-tmLanguage'
aziz commented 10 years ago

Fixed this in the latest commit