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 62 forks source link

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

Closed kimberleyhansen closed 10 years ago

kimberleyhansen commented 10 years ago

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\sublimeplugin.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\wininit.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

gcollazo commented 10 years ago

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.

kimberleyhansen commented 10 years ago

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

kimberleyhansen commented 10 years ago

Unfortunately, I'm not much for python :(

enriquein commented 10 years ago

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

kimberleyhansen commented 10 years ago

:D

enriquein commented 10 years ago

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