Hello, I would like to know what is the preferred version of Python for running buildbot-worker on Windows?
Currently I'm trying 0.9.3 on Python 3.6, but it fails with an error: File "C:\python36\lib\site-packages\twisted\spread\pb.py", line 1076 [...] m.update(password) builtins.TypeError: Unicode-objects must be encoded before hashing I've also tried 0.9.2 and 0.9.1, same error. I've tried to install 0.9.3 on Python 2.7, but it failed with this error: File "c:\python27\lib\site-packages\buildbot_worker\base.py", line 315[...] self.numcpus = multiprocessing.cpu_count() File "c:\python27\lib\multiprocessing\__init__.py", line 136, in cpu_count raise NotImplementedError('cannot determine number of cpus') exceptions.NotImplementedError: cannot determine number of cpus I've checked the documentation for `multiprocessing.cpu_count`, and it says that this function can throw NotImplementedError, as it happens on my machine. I've added a simple patch to catch this exception in `base.py` around line 315, the error was gone and the worker started successfully, but now I'm having some problems installing `pywin32` (which are not related to this mailing list) so the worker is still not fully operational. So I'm wondering, what is the Python setup of the developers? Which version of Python is known to work on Windows without any patches? Regards, Grzegorz Antoniak _______________________________________________ users mailing list users@buildbot.net https://lists.buildbot.net/mailman/listinfo/users