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

Broken with ST3 (latest) & Win7 : No module named 'findwindows' #35

Closed younes0 closed 10 years ago

younes0 commented 11 years ago

This is what I get in the console :

Traceback (most recent call last):
  File "E:\Programs\Sublime Text 3\sublime_plugin.py", line 543, in run_
    return self.run(edit, **args)
  File "E:\Programs\Sublime Text 3\Data\Packages\BrowserRefresh-Sublime-master\BrowserRefresh.py", line 38, in run
    from win import WinBrowserRefresh
  File "E:\Programs\Sublime Text 3\Data\Packages\BrowserRefresh-Sublime-master\win\__init__.py", line 1, in <module>
    from pywinauto.application import Application, ProcessNotFoundError
  File "E:\Programs\Sublime Text 3\Data\Packages\BrowserRefresh-Sublime-master\win\pywinauto\__init__.py", line 28, in <module>
    import findwindows
ImportError: No module named 'findwindows'
younes0 commented 11 years ago

we may need to setup the win32 extensions: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/

I'm not sure since I didn't figure out how to setup these with the ST built-in python version

Too bad

s-trooper commented 11 years ago

same problem. and i don't know how to install pywin for st3 runtime too.

ghost commented 10 years ago

same here, both on win7 and win8 64bit

gcollazo commented 10 years ago

I would really like some help to fix this on windows since I only use sublime on the mac. Any volunteers?

gcollazo commented 10 years ago

Just submit a pull request with a fix and I'll set up a VM to test it. If it works it ships.

dazzyweb commented 10 years ago

Hi

Same problem for me on win7 64bit Any luck sorting this out?

AndreasBackx commented 10 years ago

Same problem here on Win8 64-bit.

gcollazo commented 10 years ago

Thanks for the report guys. I would really appreciate some help on this issue. I'm not a windows user.

omar-g commented 10 years ago

Same problem here on Win7 64-bit.

ImportError: No module named 'findwindows'
gcollazo commented 10 years ago

I won't be doing any more development on the windows stuff. Mainly because I don't use win and I'm not familiar with the packages for it. I would love for someone to submit a patch to fix this. In the meantime I'm labeling this wontfix.

darrennolan commented 10 years ago

From what I can work out (Python noob here), the issue is that Sublime Text 3 uses Python 3.3, whereas Sublime Text 2 uses Python 2.6. This is a problem for pywinauto as it only supports python versions less than 3. Everyone else has been suggesting to use swapy as an alternative? (I don't know how swapy works... seems like an install rather than just a package to be used)

I'm going to try and look into this for us (because I miss this plugin dreadfully) but again, Python noob. Which check sometime over the weekend.

slifin commented 10 years ago

wasted time trying this plugin only to discover it doesn't work because of the above, if it doesn't work on windows ST3 then please note it in the documentation

younes0 commented 10 years ago

@slifin then make a PR