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

MongoDB 2.0.2 fails to build: 'str' object has no attribute 'rpartition'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3, 2.1.0
    • Component/s: Build
    • Labels:
    • Environment:
      RHEL 5, Python 2.4
    • Operating System:
      Linux

      Description

      2.0.2 fails to build on RHEL5 with python 2.4 due to missing str.rpartition on python < 2.5:

      + scons -j3 --extralib=ncurses,termcap --sharedclient .
      scons: Reading SConscript files ...
      AttributeError: 'str' object has no attribute 'rpartition':
      File "/home/vrusinov/muranorepo/BUILD/mongodb-src-r2.0.2/SConstruct", line 185:
      for shortName in getThirdPartyShortNames():
      File "/home/vrusinov/muranorepo/BUILD/mongodb-src-r2.0.2/SConstruct", line 41:
      lst.append( x.rpartition( "." )[0] )

        Attachments

          Activity

            People

            Assignee:
            dcrosta Daniel Crosta
            Reporter:
            vrusinov Vladimir Rusinov
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: