Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser Doesn't reload. (bad local file header in Browser Refresh.sublime-package) #78

Open
ghost opened this issue Jul 27, 2015 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 27, 2015

When using the plugin, the file will save, but the browser won't actually reload.

Err from the console at every reload attempt:

Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 550, in run_
return self.run(edit, **args)
File "BrowserRefresh in /home/michael/.config/sublime-text-3/Installed Packages/Browser >Refresh.sublime-package", line 39, in run
zipimport.ZipImportError: bad local file header in /home/username/.config/sublime-text-3/Installed >Packages/Browser Refresh.sublime-package

Running on Linux, ST3.

@ghost ghost changed the title Browser Doesn't reload. Browser Doesn't reload. (bad local file header in Browser Refresh.sublime-package) Jul 27, 2015
@aheissenberger
Copy link

stopped working for me too - same error in local console

@aheissenberger
Copy link

The problem starts when plugin gets installed (Package Manager or GIT):

reloading plugin Browser Refresh.BrowserRefresh
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  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/ah/Library/Application Support/Sublime Text 3/Installed Packages/Browser Refresh.sublime-package

@aheissenberger
Copy link

after installing directly from git I reloaded as suggest #69 and it worked again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant