Windmill Windows Chrome/Firefox issue #69

Open
wernight opened this Issue Apr 5, 2011 · 12 comments

Projects

None yet

4 participants

@wernight

I've tried again Windmill on Windows. Here is the result...

> windmill shell firefox http://example.com

distutils.errors.DistutilsFileError: cannot copy tree 'C:\Program Files (x86)\Mozilla Firefox\defaults\profile': not a directory

He's right, it's not there. It's in the user's profile directory.

> windmill shell chrome http://example.com
File "D:\....\Windmill\django\Python27\lib\site-packages\windmill\browser\chrome.py", line 78, in __init__
self.chrome_binary = windmill.settings['CHROME_BINARY']
KeyError: 'CHROME_BINARY'

Both Firefox 4 and Chrome 12 are locally installed.

@admc

Will debug FF 4 support and chrome windows asap.

@admc

This is fixed and released.

@admc admc closed this Apr 9, 2011
@wernight

Firefox now working.
Chrome, not yet: KeyError: 'CHROME_BINARY'

@admc

What version of windows are you on? It sounds like you installed chrome in a non standard location, can you verify where the chrome binary is?

@wernight

Windows 7 x64. Chrome is installed in %LOCALAPPDATA%\Google\Chrome\Application\chrome.exe

@wernight wernight reopened this Apr 11, 2011
@wernight

It's even worse now: Firefox keeps the proxy settings used by Windmill and even changing the settings has no effect: After restarting Firefox, it returns to 127.0.0.1 Windmill proxy.

@admc

Will test on Windows 7 now.

@admc

Mine is a default install of chrome which is at: C:\Users\Adam Christian\AppData\Local\Google\Chrome\Application\chrome.exe and it is launching correctly on windows 7 x64. I also just updated to Firefox 4, made sure that when not running with windmill "no proxy" is checked. Then when I run windmill it works, and when I kill windmill and bring up FF 4 again "no proxy" is set.

Could you give me more repro steps? Because as of now everything in a clean environment appear to be working as expected.

@wernight

Hardly. I think the system stopped when installing some upgrades. A major difference may be the way I installed Windmill:

  1. Download Instant Django
  2. Install PIP on it
  3. pip install windmill

The major issue with the proxy is that even changing the settings didn't do any good. I had to delete the user profile directories. Pretty bad.

@admc

If you could get the latest source from github and install directly from there it would be useful to know if this problem goes away. Makes me worried that there is old code sitting in our python eggs causing problems.

@weisjohn

Are the settings in the Python eggs still there? I can't use Chrome and there are a bunch of issues with Firefox..

@themkn

Hi

I have the same issue. I just installed windmill over easy_install and when I start it with windmill chrome or firefox then I get the error message [CHROME_BINARY] respectively [MOZILLA_BINARY]. I was also looking for the prefs.py file to setup the proper path to those applications. However, I'm not able to find that file. I was looking for it under C:/Users/myUserName/Application Data but then there is no windmill folder. I'm running Windows 7 64bit.

I hope you can help me fast because I need a serious performance test for my application asap. I was testing it before on a macbook pro and macbook air with 12 instances running in total (I opened 12 terminals). Now I can use a Windows Computer with 3.8Ghz and 16GB RAM. I need somehow to simulate at least 40 clients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment