[SERVER-40542] buildscripts\make_vcxproj.py does not work with Python 3 Created: 08/Apr/19  Updated: 29/Oct/23  Resolved: 10/Apr/19

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 4.1.11

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2019-04-22
Participants:

 Description   

It needs to be converted to Python 3. It currently produces the following error.

c:\python37\python.exe buildscripts\make_vcxproj.py mongodb
 Traceback (most recent call last):
 File "buildscripts\make_vcxproj.py", line 351, in <module>
 main()
 File "buildscripts\make_vcxproj.py", line 348, in main
 projfile.parse_line(command_str)
 File "buildscripts\make_vcxproj.py", line 160, in __exit__
 self.vcxproj.write(header_str)
 TypeError: a bytes-like object is required, not 'str'
 



 Comments   
Comment by Luke Chen [ 11/Apr/19 ]

Fixing up the fixVersion as this ticket was not included as part of 4.1.10 release.

Comment by Githook User [ 10/Apr/19 ]

Author:

{'name': 'Mathew Robinson', 'username': 'chasinglogic', 'email': 'chasinglogic@gmail.com'}

Message: SERVER-40542 Remove references to pip2
Branch: master
https://github.com/mongodb/mongo/commit/f4feba485b6620518d6569c2bcfda2d2dd12d050

Comment by Githook User [ 09/Apr/19 ]

Author:

{'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto', 'username': 'markbenvenuto'}

Message: SERVER-40542 buildscripts\make_vcxproj.py does not work with Python 3
Branch: master
https://github.com/mongodb/mongo/commit/185ca5939021fc16d393ca99bf5bb030fe9eb4b3

Generated at Thu Feb 08 04:55:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.