Issue #277: 'gearbox install-iis' doesn't work
Reported by: | domruf |
State: | new |
Created on: | 2017-05-11 12:14 |
Updated on: | 2017-05-12 11:11 |
Description
found by pylint
Instance of 'Command' has no 'ensure_file' member
when calling
gearbox install-iis -c development.ini
you'll get
AttributeError: 'Command' object has no attribute 'ensure_file'
Attachments
Comments
Comment by Mads Kiilerich, on 2017-05-12 00:43
Right. That is a fall-out from the conversion to gearbox. I only tested on Linux and only got as far as the "isapi-wsgi not installed"?
Gearbox doesn't have a "clever" ensure_file. I think it would be fine to just overwrite any existing file. Can you do that and verify that it actually works on Windows?
(Bonus points for renaming the 'file' variable to 'template' ;-) )
Comment by domruf, on 2017-05-12 08:00
Well I currently have no IIS (and know really little about it) so I can't really test this.
Comment by Mads Kiilerich, on 2017-05-12 11:11
Running on Windows you can install the python module and get further than I can on Linux.