Version of Windmill which supports Python 2.7?

87 views
Skip to first unread message

Tom Morris

unread,
Oct 15, 2010, 3:53:30 PM10/15/10
to windmi...@googlegroups.com
When I attempt to use Windmill with Python 2.7 as the default Python
on the system, it fails with the traceback below. This seems very
similar to some reported problems that were traced back to changes
that Python made to xmlrpc between 2.6 and 2.7 (e.g.
https://bugzilla.redhat.com/show_bug.cgi?id=619276), so I'm suspecting
perhaps the same thing has bitten Windmill.

Is there a version of Windmill available which will work with Python 2.7?

Tom

Traceback (most recent call last):
File "/home/tfmorris/eclipse-workspace/grefine-all/tools/python/bin/windmill",
line 8, in <module>
load_entry_point('windmill==1.3', 'console_scripts', 'windmill')()
File "/home/tfmorris/eclipse-workspace/grefine-all/tools/python/lib/python2.7/site-packages/windmill-1.3-py2.7.egg/windmill/bin/windmill_bin.py",
line 33, in main
admin_lib.command_line_startup()
File "/home/tfmorris/eclipse-workspace/grefine-all/tools/python/lib/python2.7/site-packages/windmill-1.3-py2.7.egg/windmill/bin/admin_lib.py",
line 357, in command_line_startup
shell_objects = setup()
File "/home/tfmorris/eclipse-workspace/grefine-all/tools/python/lib/python2.7/site-packages/windmill-1.3-py2.7.egg/windmill/bin/admin_lib.py",
line 171, in setup
windmill.settings['JAVASCRIPT_TEST_PHASE'])
File "/home/tfmorris/eclipse-workspace/grefine-all/tools/python/lib/python2.7/site-packages/windmill-1.3-py2.7.egg/windmill/bin/shell_objects.py",
line 168, in run_js_tests
xmlrpc_client.add_command({'method':'commands.jsTests', 'params':kwargs})
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1570, in __request
verbose=self.__verbose
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/local/lib/python2.7/xmlrpclib.py", line 1294, in single_request
response = h.getresponse(buffering=True)
AttributeError: HTTP instance has no attribute 'getresponse'

Adam Christian

unread,
Oct 15, 2010, 5:20:16 PM10/15/10
to windmi...@googlegroups.com
Hi Tim,

I have had a lot of people complain about python 2.7 and not being a python guy I'm not really sure where to start with debugging this...

If anyone out there is interested in helping me fix things with py 2.7 I would really appreciate it!

Adam

> --
> You received this message because you are subscribed to the Google Groups "Windmill Developers" group.
> To post to this group, send email to windmi...@googlegroups.com.
> To unsubscribe from this group, send email to windmill-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/windmill-dev?hl=en.
>

Reply all
Reply to author
Forward
0 new messages