gcollazo/BrowserRefresh-Sublime

TypeError: 'float' object cannot be interpreted as an integer

kimberleyhansen opened this issue · 6 comments

OS: Windows 8
ST Version: 3059

Behaviour: On pressing ctrl+shift+r, current file is saved, but browser does not refresh. Observe the following error in console.

TypeError: 'float' object cannot be interpreted as an integer
Writing file /C/Users/Kimberley/Dropbox/soclogwip/TheFour/Assets/email/email.html with encoding UTF-8 with BOM (atomic)
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 543, in run_
return self.run(edit, **args)
File "BrowserRefresh in C:\Users\Kimberley\AppData\Roaming\Sublime Text 3\Installed Packages\Browser Refresh.sublime-package", line 84, in run
File "C:\Users\Kimberley\AppData\Roaming\Sublime Text 3\Installed Packages\Browser Refresh.sublime-package\win__init__.py", line 29, in safari
File "C:\Users\Kimberley\AppData\Roaming\Sublime Text 3\Installed Packages\Browser Refresh.sublime-package\win\pywinauto\application.py", line 927, in connect_
File "C:\Users\Kimberley\AppData\Roaming\Sublime Text 3\Installed Packages\Browser Refresh.sublime-package\win\pywinauto\application.py", line 1192, in process_from_module

Uuuggh! I don't have a Windows setup. I really need help testing on Win machines. Are you up to that? I think @enriquein might be able to answer questions.

Sure, if you have an idea re: what's broken, I can absolutely test a release.

Unfortunately, I'm not much for python :(

I'll take a look at it over the weekend.

@kimberleyhansen I just submitted pull request #58 to solve the issue.