[SERVER-3821] Problem With SConstruct file: TypeError: exceptions must be old-style classes or derived from BaseException, not str Created: 12/Sep/11  Updated: 11/Jul/16  Resolved: 28/Sep/11

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.0.0
Fix Version/s: 2.1.0

Type: Bug Priority: Minor - P4
Reporter: Joseph Shraibman Assignee: Brandon Diamond
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

> scons -v
SCons by Steven Knight et al.:
script: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog
engine: v2.0.1.r5134, 2010/08/16 23:02:40, by bdeegan on cooldog
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation

> lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch
Distributor ID: Fedora
Description: Fedora release 15 (Lovelock)
Release: 15
Codename: Lovelock


Operating System: Linux
Participants:

 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



 Comments   
Comment by Brandon Diamond [ 28/Sep/11 ]

Simple syntax error fixed.

Comment by auto [ 28/Sep/11 ]

Author:

{u'login': u'', u'name': u'Brandon Diamond', u'email': u'brandon@10gen.com'}

Message: SERVER-3821: fixed syntax error in SConstruct file
Branch: master
https://github.com/mongodb/mongo/commit/fd8e560143f5f6a38dcf2b3648f7c43d73724dd3

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