gcollazo/BrowserRefresh-Sublime

FIle is auto saved but browser not refreshing.

Elancore opened this issue · 8 comments

I press ctrl+shift+r the file get saved but browser doesn't refresh.

{
"keys": ["ctrl+shift+r"], "command": "browser_refresh", "args": {
"auto_save": true,
"delay": 0.5,
"activate_browser": false,
"browser_name" : "all"
}
}

Windows 7 64-bit / 2 Monitors / Sublime 2 / Chrome Browser

Same. This is the trace from the console when trying to refresh the browser:

Traceback (most recent call last):
File ".\sublime_plugin.py", line 356, in run_
File ".\BrowserRefresh.py", line 38, in run
from win import WinBrowserRefresh
File "C:\Users\username\AppData\Roaming\Sublime Text 2\Packages\Browser Refresh\win__init__.py", line 1, in
from .pywinauto.application import Application, ProcessNotFoundError
File "C:\Users\username\AppData\Roaming\Sublime Text 2\Packages\Browser Refresh\win\pywinauto__init__.py", line 28, in
from . import findwindows
File "C:\Users\username\AppData\Roaming\Sublime Text 2\Packages\Browser Refresh\win\pywinauto\findwindows.py", line 31, in
from . import win32functions
ImportError: cannot import name win32functions

Hi.
Short: wrapp the object in square brackets.
Long: Talking about sublime's version 3 here. Most likely this is not the case (mostly if you have already more personalized key bindings working) but just in case (allow me the redundancy)... Had the same behaviour as Elancore and looking into sublime's console (as lindsave did) when pressing the keys combination (ctrl+shift+r) it traced: top level value must be an array. So I went and wrapped the object with square brackets and it started working. As many pepole say in this cases: hope it's usefull to someone ou there.

I had the same problem with ST2 but with ST3 plugin works correctly. I was trying to Install Python 2.6 and pywin32 then copy to some files to plugin directory but without any result

Same problem here: cannot import name win32functions.

Same issue with OP

Windows 7 64-bit / Sublime 2 / Chrome Browser

Same issue.

Windows 8.1 64-bit / Sublime 3 / Chrome Browser

Hi,
did someone find a solution for this issue? I have the same.

Windows 7 32 bit/ On a Virtual Machine/ 1 Monitor/ Sublime Text 2/ Firefox 35.0.1

Sorry about this. I have no access to a Win machine to debug in, also I have no need for the package on WIN. I would love to have some help on this. Any volunteers?