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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1.0
    • Affects Version/s: 2.0.0
    • Component/s: Build
    • None
    • Environment:
    • Linux

      > 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

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

              Created:
              Updated:
              Resolved: