[Windmill-dev] Mikeal - Having some problems running Windmill in
Windows
Mikeal Rogers
mikeal at osafoundation.org
Mon Jan 7 13:00:58 PST 2008
I wanted to drop in to windows and debug this but I'm having some
issues with my VM at the moment.
My guess here is that you're running from cygwin python rather than
windows python. You can run windows python from cygwin, but if cygwin
python is installed it's going to default to using that.
You need to use windows python in order to use the IE launcher since
cygwin python doesn't have the module for manipulating the windows
registry.
If you are running Windows Python 2.5 and I'm wrong, I really don't
know why the environment variable isn't being set by windows. You
should be able to fix this by running
$ export ProgramFiles = "c:\\ProgramFiles"
before you run windmill.
If you're still stuck or that doesn't work please hop on IRC,
irc.freenode.net, #windmill and I should be there to debug this with
you.
-Mikeal
On Jan 4, 2008, at January 4, 20085:45 PM, Steven Garcia wrote:
> The program has downloaded correctly and has been compiled in CYGWIN.
>
> The compiling creates folders and files correctly and looks like if
> everything is perfect so far; but when I try to run windmill from
> the command line of CYGWIN I receive errors.
>
> #
> $windmill
> Traceback (most recent call last):
> File "/usr/bin/windmill", line 5, in (module)
>
> ..
> ..
>
> IE_BINARY = os.path.join(os.environ['ProgramFiles'], 'Internet
> Explorer', ' iexplore.exe')
> File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__ raise
> KeyError(key)
> KeyError: 'ProgramFiles'
> #
>
> While reading the instructions I remember coming across a warning
> about compiling in the CYGWIN version of Python, I opted for MinGW
> through the command line of Windows; but nevertheless, that came up
> erroneous as well.
>
> Maybe I'm slipping somewhere and missing a very easy step. Any help
> is appreciated, thanks and hope to hear from you soon. =)
>
> --
> Steven Garcia - GarageGames
> http://www.InstantAction.com/
> Sign up at to be notified when the beta starts.
> _______________________________________________
> Windmill-dev mailing list
> Windmill-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/windmill-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osafoundation.org/pipermail/windmill-dev/attachments/20080107/398aafd6/attachment.html
More information about the Windmill-dev
mailing list