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

Problem With SConstruct file: TypeError: exceptions must be old-style classes or derived from BaseException, not str

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • Build
    • None
    • Linux

    Description

      > scons --staticlib=js_static all
      scons: Reading SConscript files ...
      scons version: 2.0.1
      python version: 2 7 1 'final' 0
      Checking whether the C++ compiler worksyes
      Checking for C library stdc++... yes
      Checking for C++ header file boost/filesystem/operations.hpp... yes
      Checking for C library boost_system-mt... yes
      Checking for C library boost_thread-mt... yes
      Checking for C library boost_filesystem-mt... yes
      Checking for C library boost_program_options-mt... yes
      Checking for C++ header file execinfo.h... yes
      Checking for C library pcap... yes
      TypeError: exceptions must be old-style classes or derived from BaseException, not str:
      File "/tmp/t/mongodb-src-r2.0.0/SConstruct", line 984:
      env = doConfigure( env )
      File "/tmp/t/mongodb-src-r2.0.0/SConstruct", line 951:
      raise "can't find a static %s" % l

      Attachments

        Activity

          People

            brandon Brandon Diamond
            jks Joseph Shraibman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: