Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40542

buildscripts\make_vcxproj.py does not work with Python 3

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • Security 2019-04-22

      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'
       

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: