rem: server.use(restify.bodyParser({'uploadDir':config.engine.get('upload_dir')})); 
add: server.use(restify.bodyParser({'uploadDir':config.engine.get('upload_dir') || '/tmp'})); 
context:         function start_server(callback) {            log.info("Setting up the webserver...");            var server = restify.createServer({name:"FabMo Engine"});            this.server = server;            // Allow JSON over Cross-origin resource sharing             log.info("Configuring cross-origin requests...");            server.use(                function crossOrigin(req,res,next){                    res.header("Access-Control-Allow-Origin", "*");                    res.header("Access-Control-Allow-Headers", "X-Requested-With");                    return next();                }            );            server.on('uncaughtException', function(req, res, route, err) {                log.uncaught(err);                answer = {                    status:"error",                    message:err                };                res.json(answer)            });            // Configure local directory for uploading files            log.info("Cofiguring upload directory...");            server.use(restify.bodyParser({'uploadDir':config.engine.get('upload_dir')}));            server.pre(restify.pre.sanitizePath());            // Import the routes module and apply the routes to the server            log.info("Loading routes...");            server.io = socketio.listen(server.server);            var routes = require('./routes')(server);            // Kick off the server listening for connections            server.listen(config.engine.get('server_port'), function() {                log.info(server.name+ ' listening at '+ server.url);                callback(null, server);            });        }.bind(this),
meta: 4268	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4268/8ff721039acd30391eecae677ae81f3b6d09283e/engine.js/clean/engine.js