gcollazo / BrowserRefresh-Sublime

This plugin will switch from ST2 and ST3 to Google Chrome, Google Chrome Canary, Safari, Firefox or Opera and reload the active tab
http://gcollazo.github.com/BrowserRefresh-Sublime
565 stars 61 forks source link

Not working in ST3 under OS X 10.10.1 #69

Closed TrevorBurnham closed 9 years ago

TrevorBurnham commented 9 years ago

I'm running Sublime Text stable build 3065 on a Mac with the latest stable OS. My trusty Browser Refresh keyboard shortcut stopped working recently, instead generating this error in the console:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 543, in run_
    return self.run(edit, **args)
  File "BrowserRefresh in /Users/trevor/Library/Application Support/Sublime Text 3/Installed Packages/Browser Refresh.sublime-package", line 34, in run
zipimport.ZipImportError: bad local file header in /Users/trevor/Library/Application Support/Sublime Text 3/Installed Packages/Browser Refresh.sublime-package

I tried removing the Package Control-installed package and installing the latest master instead. That yielded a more specific error message:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 543, in run_
    return self.run(edit, **args)
  File "/Users/trevor/Library/Application Support/Sublime Text 3/Packages/Browser Refresh/BrowserRefresh.py", line 34, in run
    from mac import MacBrowserRefresh
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
OSError: zipimport: can not open file /Users/trevor/Library/Application Support/Sublime Text 3/Installed Packages/Browser Refresh.sublime-package

Any idea why this error is occurring?

TrevorBurnham commented 9 years ago

Restarting Sublime Text seems to have resolved this issue for me.